gui, script: Translate discovery popover and detect it in translate script

Skip-check: pr-solaris

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4061
This commit is contained in:
Simon Frei authored and Jakob Borg committed 2017-03-25 11:56:51 +00:00
1 parent ac46db78d7
commit 1ad547fb65
3 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -511,7 +511,7 @@
<span>{{discoveryTotal}}/{{discoveryTotal}}</span>
</span>
<span ng-if="discoveryFailed.length != 0" class="data" ng-class="{'text-danger': discoveryFailed.length == discoveryTotal}">
<span popover data-trigger="hover" data-placement="bottom" data-content="Click to see discovery failures.">
<span popover data-trigger="hover" data-placement="bottom" data-content="{{'Click to see discovery failures' | translate}}.">
<a href="" style="color:inherit" ng-click="showDiscoveryFailures()">{{discoveryTotal-discoveryFailed.length}}/{{discoveryTotal}}</a>
</span>
</span>