Skip to content

Commit

Permalink
Merge branch 'master' into feature/client-alma8
Browse files Browse the repository at this point in the history
  • Loading branch information
mgallien authored Jan 24, 2025
2 parents e178bd5 + 2997388 commit bc46592
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions src/libsync/syncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1216,12 +1216,14 @@ void SyncEngine::setLocalDiscoveryOptions(LocalDiscoveryStyle style, std::set<QS
_localDiscoveryStyle = style;
_localDiscoveryPaths = std::move(paths);

const auto allPaths = std::accumulate(_localDiscoveryPaths.begin(), _localDiscoveryPaths.end(), QString{}, [] (auto first, auto second) -> QString {
first += ", " + second;
return first;
});

qCInfo(lcEngine()) << "paths to discover locally" << allPaths;
if (lcEngine().isInfoEnabled() && !_localDiscoveryPaths.empty()) {
// only execute if logging is enabled
auto debug = qInfo(lcEngine);
debug << "paths to discover locally";
for (auto path : _localDiscoveryPaths) {
debug << path;
}
}

// Normalize to make sure that no path is a contained in another.
// Note: for simplicity, this code consider anything less than '/' as a path separator, so for
Expand Down
8 changes: 4 additions & 4 deletions translations/client_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ This can be an issue with your OpenSSL libraries.</source>
<message>
<location filename="../src/gui/wizard/flow2authwidget.cpp" line="222"/>
<source>Open Browser</source>
<translation type="unfinished"/>
<translation>Открыть проводник</translation>
</message>
<message>
<location filename="../src/gui/wizard/flow2authwidget.cpp" line="224"/>
Expand Down Expand Up @@ -4390,7 +4390,7 @@ This is a new, experimental mode. If you decide to use it, please report any iss
<location filename="../src/libsync/owncloudpropagator.cpp" line="1485"/>
<location filename="../src/libsync/owncloudpropagator.cpp" line="1519"/>
<source>unknown exception</source>
<translation type="unfinished"/>
<translation>Неизвестное исключение</translation>
</message>
<message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="1387"/>
Expand Down Expand Up @@ -4524,7 +4524,7 @@ This is a new, experimental mode. If you decide to use it, please report any iss
<message>
<location filename="../src/libsync/propagatorjobs.cpp" line="259"/>
<source>unknown exception</source>
<translation type="unfinished"/>
<translation>Неизвестное исключение</translation>
</message>
<message>
<location filename="../src/libsync/propagatorjobs.cpp" line="200"/>
Expand Down Expand Up @@ -6490,7 +6490,7 @@ Server replied with error: %2</source>
<message>
<location filename="../src/gui/filedetails/ShareDetailsPage.qml" line="469"/>
<source>Password protection</source>
<translation type="unfinished"/>
<translation>Защита пароля</translation>
</message>
<message>
<location filename="../src/gui/filedetails/ShareDetailsPage.qml" line="516"/>
Expand Down
2 changes: 1 addition & 1 deletion translations/client_sk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3441,7 +3441,7 @@ Položky, pri ktorých je povolené odstraňovanie budú vymazané, ak bránia o
<message>
<location filename="../src/gui/legalnotice.cpp" line="55"/>
<source>&lt;p&gt;Copyright 2017-2025 Nextcloud GmbH&lt;br /&gt;Copyright 2012-2023 ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/>
<translation>&lt;p&gt;Copyright 2017-2025 Nextcloud GmbH&lt;br /&gt;Copyright 2012-2023 ownCloud GmbH&lt;/p&gt;</translation>
</message>
<message>
<location filename="../src/gui/legalnotice.cpp" line="55"/>
Expand Down

0 comments on commit bc46592

Please sign in to comment.