fix external link translations

This commit is contained in:
Gabriel Bazán 2016-12-12 17:29:11 -03:00
commit 80863a7f4d
28 changed files with 82 additions and 52 deletions

View file

@ -12,7 +12,7 @@
</ion-content>
<div id="agree-to-terms">
<div class="text-center">
<a ng-click="openExternalLink('https://copay.io/disclaimer', true, 'View Terms of Service', 'The official English Terms of Service are available on the BitPay website. Would you like to view them?', 'Open Website', 'Go Back')" ng-show="lang != 'en'" translate>Official English Disclaimer</a>
<a ng-click="openExternalLink()" ng-show="lang != 'en'" translate>Official English Disclaimer</a>
</div>
<div class="row">
<div class="col col-20">

View file

@ -16,7 +16,7 @@
v{{version}}
</span>
</div>
<div class="item item-icon-left" ng-click="openExternalLink('https://github.com/bitpay/'+name+'/tree/'+commitHash+'', true, 'Open GitHub Project', 'You can see the latest developments and contribute to this open source app by visiting our project on GitHub.', 'Open GitHub', 'Go Back')">
<div class="item item-icon-left" ng-click="openExternalLink()">
<i class="icon ion-social-github-outline"></i>
<span translate>Commit hash</span>
<span class="item-note">

View file

@ -23,7 +23,7 @@
</div>
</div>
<div class="padding">
<a class="button button-standard button-primary" ng-click="openExternalLink('https://crowdin.com/project/copay', true, 'Open Translation Community', 'You can make contributions by signing up on our Crowdin community translation website. Were looking forward to hearing from you!', 'Open Crowdin', 'Go Back')" translate>Contribute Translations</a>
<a class="button button-standard button-primary" ng-click="openExternalLink()" translate>Contribute Translations</a>
<div>
</ion-content>
</ion-view>

View file

@ -10,7 +10,7 @@
spinner="ios-small"
on-refresh="onRefresh()">
</ion-refresher>
<div class="release ng-hide" ng-show="newRelease" ng-click="openExternalLink('https://github.com/bitpay/copay/releases/latest', true, 'Update Available', 'An update to this app is available. For your security, please update to the latest version.', 'View Update', 'Go Back')">
<div class="release ng-hide" ng-show="newRelease" ng-click="openExternalLink()">
<span translate>An update to this app is available</span><span><i class="icon bp-arrow-right"></i></span>
</div>
<div class="ng-hide" ng-show="showRateCard.value" ng-include="'views/feedback/rateCard.html'"></div>

View file

@ -20,7 +20,7 @@
<span translate>Address Book</span>
<i class="icon bp-arrow-right"></i>
</a>
<a class="item item-icon-left item-icon-right" ng-click="openExternalLink('https://help.bitpay.com/bitpay-app', true, 'BitPay Help Center', 'Help and support information is available at the BitPay Help Center website. Would you like to go there now?', 'Open Help Center', 'Go Back')">
<a class="item item-icon-left item-icon-right" ng-click="openExternalLink()">
<i class="icon big-icon-svg">
<img src="img/icon-help-support.svg" class="bg"/>
</i>

View file

@ -11,7 +11,7 @@
</div>
<button class="button button-standard button-primary"
ng-show="lang != 'en'"
ng-click="openExternalLink(disclaimerUrl, true, 'View Terms of Service', 'The official English Terms of Service are available on the BitPay website. Would you like to view them?', 'Open Website', 'Go Back')" translate>
ng-click="openExternazlLink()" translate>
Official English Disclaimer
</button>
</ion-content>

View file

@ -30,7 +30,7 @@
</div>
</div>
<div class="padding">
<a class="button button-standard button-primary" ng-click="openExternalLink('https://crowdin.com/project/copay', true, 'Open Translation Community', 'You can make contributions by signing up on our Crowdin community translation website. Were looking forward to hearing from you!', 'Open Crowdin', 'Go Back')" translate>Contribute Translations</a>
<a class="button button-standard button-primary" ng-click="openExternalLink()" translate>Contribute Translations</a>
</div>
</ion-content>
</ion-view>