gui: Extract URL from translated string (fixes #3204)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3224
This commit is contained in:
Jakob Borg
2016-05-31 07:24:42 +00:00
committed by Audrius Butkevicius
parent 6361172bea
commit 9d756525ce
2 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
</div>
<div class="modal-body">
<p translate>The encrypted usage report is sent daily. It is used to track common platforms, folder sizes and app versions. If the reported data set is changed you will be prompted with this dialog again.</p>
<p translate translate-value-url="<a href=&quot;https://data.syncthing.net&quot; target=&quot;_blank&quot;>https://data.syncthing.net</a>">The aggregated statistics are publicly available at {%url%}.</p>
<p translate>The aggregated statistics are publicly available at the URL below.</p>
<p><a href="https://data.syncthing.net/" target="_blank">https://data.syncthing.net/</a></p>
<button type="button" class="btn btn-default btn-sm" ng-click="showReportPreview()" ng-show="!reportPreview">
<span class="fa fa-file-text-o"></span>&nbsp;<span translate>Preview Usage Report</span>
</button>