Merge pull request #5749 from gabrielbazan7/fix/copaystrings

fix translations and update pot file
This commit is contained in:
Gustavo Maximiliano Cortez 2017-03-10 11:46:36 -03:00 committed by GitHub
commit aace2f39f8
2 changed files with 119 additions and 120 deletions

View file

@ -42,12 +42,8 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
var appName = appConfigService.name;
var url = appName == 'copay' ? 'https://github.com/bitpay/copay/issues' : 'https://help.bitpay.com/bitpay-app';
var optIn = true;
var title = gettextCatalog.getString('{{msg}}', {
msg: appName == 'copay' ? 'Copay Github Issues' : 'BitPay Help Center'
});
var message = gettextCatalog.getString('Help and support information is available at the {{msg}} website.', {
msg: appName == 'copay' ? 'Copay Github Issues' : 'BitPay Help Center'
});
var title = null;
var message = gettextCatalog.getString('Help and support information is available at the website.');
var okText = gettextCatalog.getString('Open');
var cancelText = gettextCatalog.getString('Go Back');
externalLinkService.open(url, optIn, title, message, okText, cancelText);