Made strings in Home tab translatable for "Explore Bitcoin.com", "Services", and "Community".

This commit is contained in:
Brendon Duncan 2018-07-17 11:00:33 +12:00
commit 63d0ed39ad
5 changed files with 55 additions and 10 deletions

View file

@ -428,6 +428,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 ""
@ -3626,3 +3627,47 @@ msgstr ""
#: www/views/includes/walletInfo.html:18 #: www/views/includes/walletInfo.html:18
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 ""

View file

@ -18,42 +18,42 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
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: 'http://cashgames.bitcoin.com' href: 'http://cashgames.bitcoin.com'
}; };
var newsItem = { var newsItem = {
name: 'news', name: 'news',
title: 'News', title: gettextCatalog.getString('News'),
icon: 'icon-news', icon: 'icon-news',
href: 'http://news.bitcoin.com' href: 'http://news.bitcoin.com'
}; };
var poolItem = { var poolItem = {
name: 'pool', name: 'pool',
title: 'Mining Pool', title: gettextCatalog.getString('Mining Pool'),
icon: 'icon-mining', icon: 'icon-mining',
href: 'http://pool.bitcoin.com' href: 'http://pool.bitcoin.com'
}; };
var toolsItem = { var toolsItem = {
name: 'tools', name: 'tools',
title: 'Tools', title: gettextCatalog.getString('Tools'),
icon: 'icon-tools', icon: 'icon-tools',
href: 'http://tools.bitcoin.com' href: 'http://tools.bitcoin.com'
}; };
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/' href: 'https://free.bitcoin.com/'
}; };

View file

@ -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',

View file

@ -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'
}; };

View file

@ -5,7 +5,7 @@ angular.module('copayApp.services').factory('shapeshiftService', function($http,
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',
}; };