fix external link translations
This commit is contained in:
parent
b413303c85
commit
80863a7f4d
28 changed files with 82 additions and 52 deletions
|
|
@ -1,8 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('translatorsController',
|
||||
function($scope, externalLinkService) {
|
||||
$scope.openExternalLink = function(url, optIn, title, message, okText, cancelText) {
|
||||
function($scope, externalLinkService, gettextCatalog) {
|
||||
$scope.openExternalLink = function() {
|
||||
var url = 'https://crowdin.com/project/copay';
|
||||
var optIn = true;
|
||||
var title = gettextCatalog.getString('Open Translation Community');
|
||||
var message = gettextCatalog.getString('You can make contributions by signing up on our Crowdin community translation website. We’re looking forward to hearing from you!');
|
||||
var okText = gettextCatalog.getString('Open Crowdin');
|
||||
var cancelText = gettextCatalog.getString('Go Back');
|
||||
externalLinkService.open(url, optIn, title, message, okText, cancelText);
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue