Merge pull request #224 from Bitcoin-com/wallet/task/441
441 - Translatable strings for the "Home" tab
This commit is contained in:
commit
5048bc135b
5 changed files with 63 additions and 15 deletions
|
|
@ -442,6 +442,7 @@ msgid "Buy & Sell Bitcoin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: www/views/tab-send.html:35
|
#: www/views/tab-send.html:35
|
||||||
|
#: src/js/services/buyAndSellService.js:26
|
||||||
msgid "Buy Bitcoin"
|
msgid "Buy Bitcoin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
@ -3719,6 +3720,54 @@ msgstr ""
|
||||||
msgid "{{wallet.m}}-of-{{wallet.n}}"
|
msgid "{{wallet.m}}-of-{{wallet.n}}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/shapeshiftService.js:8
|
||||||
|
msgid "Shapeshift"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/includes/community.html:3
|
||||||
|
msgid "Community"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/communityService.js:40
|
||||||
|
msgid "Bitcoin Cash Reddit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/communityService.js:47
|
||||||
|
msgid "Bitcoin.com Twitter"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/includes/nextSteps.html:3
|
||||||
|
msgid "Explore Bitcoin.com"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:21
|
||||||
|
msgid "Bitcoin Cash Games"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:28
|
||||||
|
msgid "News"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:35
|
||||||
|
msgid "Mining Pool"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:42
|
||||||
|
msgid "Tools"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:49
|
||||||
|
msgid "Bitcoin Price Charts"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/js/services/bitcoincomService.js:56
|
||||||
|
msgid "Free Bitcoin Cash"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: www/views/tab-home.html:30
|
||||||
|
msgid "Your Bitcoin Wallets are ready!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/js/controllers/amount.js:49
|
#: src/js/controllers/amount.js:49
|
||||||
msgid "Address doesn\'t contain currency information, please make sure you are sending the correct currency."
|
msgid "Address doesn\'t contain currency information, please make sure you are sending the correct currency."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
angular.module('copayApp.services').factory('bitcoincomService', function(platformInfo, nextStepsService) {
|
angular.module('copayApp.services').factory('bitcoincomService', function(gettextCatalog, nextStepsService, platformInfo) {
|
||||||
var root = {};
|
var root = {};
|
||||||
var credentials = {};
|
var credentials = {};
|
||||||
|
|
||||||
|
|
@ -19,42 +19,42 @@ angular.module('copayApp.services').factory('bitcoincomService', function(platfo
|
||||||
|
|
||||||
var cashGamesItem = {
|
var cashGamesItem = {
|
||||||
name: 'games',
|
name: 'games',
|
||||||
title: 'Bitcoin Cash Games',
|
title: gettextCatalog.getString('Bitcoin Cash Games'),
|
||||||
icon: 'icon-games',
|
icon: 'icon-games',
|
||||||
href: 'https://cashgames.bitcoin.com'
|
href: 'https://cashgames.bitcoin.com'
|
||||||
};
|
};
|
||||||
|
|
||||||
var newsItem = {
|
var newsItem = {
|
||||||
name: 'news',
|
name: 'news',
|
||||||
title: 'News',
|
title: gettextCatalog.getString('News'),
|
||||||
icon: 'icon-news',
|
icon: 'icon-news',
|
||||||
href: 'https://news.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=News'
|
href: 'https://news.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=News'
|
||||||
};
|
};
|
||||||
|
|
||||||
var poolItem = {
|
var poolItem = {
|
||||||
name: 'pool',
|
name: 'pool',
|
||||||
title: 'Mining Pool',
|
title: gettextCatalog.getString('Mining Pool'),
|
||||||
icon: 'icon-mining',
|
icon: 'icon-mining',
|
||||||
href: 'https://pool.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Pool'
|
href: 'https://pool.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Pool'
|
||||||
};
|
};
|
||||||
|
|
||||||
var toolsItem = {
|
var toolsItem = {
|
||||||
name: 'tools',
|
name: 'tools',
|
||||||
title: 'Tools',
|
title: gettextCatalog.getString('Tools'),
|
||||||
icon: 'icon-tools',
|
icon: 'icon-tools',
|
||||||
href: 'https://tools.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Tools'
|
href: 'https://tools.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Tools'
|
||||||
};
|
};
|
||||||
|
|
||||||
var priceChartItem = {
|
var priceChartItem = {
|
||||||
name: 'pricechart',
|
name: 'pricechart',
|
||||||
title: 'Bitcoin Price Charts',
|
title: gettextCatalog.getString('Bitcoin Price Charts'),
|
||||||
icon: 'icon-chart',
|
icon: 'icon-chart',
|
||||||
sref: 'tabs.pricechart',
|
sref: 'tabs.pricechart',
|
||||||
};
|
};
|
||||||
|
|
||||||
var faucetItem = {
|
var faucetItem = {
|
||||||
name: 'faucet',
|
name: 'faucet',
|
||||||
title: 'Free Bitcoin Cash',
|
title: gettextCatalog.getString('Free Bitcoin Cash'),
|
||||||
icon: 'icon-faucet',
|
icon: 'icon-faucet',
|
||||||
href: 'https://free.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Faucet'
|
href: 'https://free.bitcoin.com/?utm_source=WalletApp&utm_medium=' + os + '&utm_campaign=Faucet'
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.services').factory('buyAndSellService', function($log, servicesService, lodash, $ionicScrollDelegate, $timeout) {
|
angular.module('copayApp.services').factory('buyAndSellService', function(gettextCatalog, $log, servicesService, lodash, $ionicScrollDelegate, $timeout) {
|
||||||
var root = {};
|
var root = {};
|
||||||
var services = [];
|
var services = [];
|
||||||
var linkedServices = [];
|
var linkedServices = [];
|
||||||
|
|
@ -23,7 +23,7 @@ angular.module('copayApp.services').factory('buyAndSellService', function($log,
|
||||||
|
|
||||||
if (linkedServices.length == 0) {
|
if (linkedServices.length == 0) {
|
||||||
servicesService.register({
|
servicesService.register({
|
||||||
title: 'Buy Bitcoin',
|
title: gettextCatalog.getString('Buy Bitcoin'),
|
||||||
name: 'buyandsell',
|
name: 'buyandsell',
|
||||||
icon: 'icon-buy-bitcoin2',
|
icon: 'icon-buy-bitcoin2',
|
||||||
sref: 'tabs.buyandsell',
|
sref: 'tabs.buyandsell',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
'use strict'
|
'use strict'
|
||||||
angular.module('copayApp.services').factory('communityService', function(configService, $log, lodash) {
|
angular.module('copayApp.services').factory('communityService', function(configService, gettextCatalog, $log, lodash) {
|
||||||
var root = {};
|
var root = {};
|
||||||
var services = [];
|
var services = [];
|
||||||
|
|
||||||
|
|
@ -37,14 +37,14 @@ angular.module('copayApp.services').factory('communityService', function(configS
|
||||||
|
|
||||||
var bchRedditItem = {
|
var bchRedditItem = {
|
||||||
name: 'bchreddit',
|
name: 'bchreddit',
|
||||||
title: 'Bitcoin Cash Reddit',
|
title: gettextCatalog.getString('Bitcoin Cash Reddit'),
|
||||||
icon: 'icon-reddit-white',
|
icon: 'icon-reddit-white',
|
||||||
href: 'http://reddit.com/r/btc'
|
href: 'http://reddit.com/r/btc'
|
||||||
};
|
};
|
||||||
|
|
||||||
var bitcoincomTwitterItem = {
|
var bitcoincomTwitterItem = {
|
||||||
name: 'bitcoincomTwitter',
|
name: 'bitcoincomTwitter',
|
||||||
title: 'Bitcoin.com Twitter',
|
title: gettextCatalog.getString('Bitcoin.com Twitter'),
|
||||||
icon: 'icon-twitter-white',
|
icon: 'icon-twitter-white',
|
||||||
href: 'https://twitter.com/BTCTN'
|
href: 'https://twitter.com/BTCTN'
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
angular.module('copayApp.services').factory('shapeshiftService', function($http, $log, lodash, moment, storageService, configService, platformInfo, servicesService) {
|
angular.module('copayApp.services').factory('shapeshiftService', function(gettextCatalog, servicesService) {
|
||||||
var root = {};
|
var root = {};
|
||||||
var credentials = {};
|
|
||||||
|
|
||||||
var servicesItem = {
|
var servicesItem = {
|
||||||
name: 'shapeshift',
|
name: 'shapeshift',
|
||||||
title: 'Shapeshift',
|
title: gettextCatalog.getString('Shapeshift'),
|
||||||
icon: 'icon-shapeshift',
|
icon: 'icon-shapeshift',
|
||||||
sref: 'tabs.shapeshift',
|
sref: 'tabs.shapeshift',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue