diff --git a/locales/en/main.json b/locales/en/main.json index b556186415..76d222a6c3 100644 --- a/locales/en/main.json +++ b/locales/en/main.json @@ -377,26 +377,41 @@ "buyMoreGems" : "Buy More Gems", "notEnoughGems" : "Not enough Gems", "petsOutOfGems" : "Oops, out of Gems, which are used to buy special items! Habit is an open source project, and can use all the help it can get - buy more Gems to receive this pet, and consider it a donation to the contributors", - "gemsWhatFor" : "Used for buying special items (reroll, eggs, hatching potions, etc). You'll need to unlock those features before being able to use Gems.", + "gemsWhatFor" : "Used for buying special items and services (eggs, hatching potions, Fortify, etc.). You'll need to unlock those features before being able to use Gems.", -"_commentfooter": "FOOTER", +"_comment": "FOOTER", + "footerMobile" : "Mobile", + "mobileIOS" : "iOS", + "mobileAndroid" : "Android", "footerCompany" : "Company", + "companyDonate" : " Donate", "companyAbout" : "About", "companyBlog" : "Blog", "companyTeam" : "Team", "companyExtensions" : "Extensions", "companyFAQ" : "FAQ", - "footerLegal" : "Legal", - "legalPrivacy" : "Privacy", - "legalTerms" : "Terms", + "companyPrivacy" : "Privacy", + "companyTerms" : "Terms", "footerCommunity" : "Community", - "communityBugs" : "Submit Bugs", - "communityFeatures" : "Request Features", - "communityExtensions" : "Add-ons / Extensions", - "communityForum" : "Community Forum", + "communityBug" : "Submit Bug", + "communityFeature" : "Request Feature", + "communityAPI" : "API", + "communityExtensions" : "Add-ons & Extensions", + "communityForum" : "Forum", + "communityKickstarter" : "Kickstarter", + "communityFacebook" : "Facebook", + "communityReddit" : "Reddit", "footerSocial" : "Social", + "socialTitle" : "HabitRPG - Gamify Your Life", + "footerDebug" : "Debug", + "debugMissed" : "+1 Missed Day", + "debugGems" : "+10 Gems", + "debugLevel" : "+Exp +GP", +"_commentformatting" : "FORMATTING", + "formattingMarkdown" : "Markdown formatting allowed", + "_commentmisc": "MISC & GLOBAL", "removeAds": "Remove Ads", @@ -426,4 +441,8 @@ "yesterday":"Yesterday", "daysAgo":"days ago", + + + "":"" + } diff --git a/views/shared/footer.jade b/views/shared/footer.jade index 224159f7d3..d1558e502a 100644 --- a/views/shared/footer.jade +++ b/views/shared/footer.jade @@ -2,55 +2,55 @@ footer.footer(ng-controller='FooterCtrl') .container .row .span3 - h4 Mobile + h4=env.t('footerMobile') ul.unstyled li - a(href='https://itunes.apple.com/us/app/habitrpg/id689569235?mt=8', target='_blank') iOS + a(href='https://itunes.apple.com/us/app/habitrpg/id689569235?mt=8', target='_blank')=env.t('mobileIOS') li - a(href='https://play.google.com/store/apps/details?id=com.ocdevel.habitrpg', target='_blank') Android + a(href='https://play.google.com/store/apps/details?id=com.ocdevel.habitrpg', target='_blank')=env.t('mobileAndroid') .span3 - h4 Company + h4=env.t('footerCompany') ul.unstyled if (!env.isFrontPage) li .btn.btn-small.btn-success(ng-click='modals.buyGems = true') i.icon-heart.icon-white - | Donate + text=env.t('companyDonate') li - a(href='/static/about') About + a(href='/static/about')=env.t('companyAbout') li - a(target='_blank', href='http://blog.habitrpg.com/') Blog + a(target='_blank', href='http://blog.habitrpg.com/')=env.t('companyBlog') li - a(href='/static/extensions') Extensions + a(href='/static/extensions')=env.t('companyExtensions') li - a(target='_blank', href='http://habitrpg.wikia.com/wiki/FAQ') FAQ + a(target='_blank', href='http://habitrpg.wikia.com/wiki/FAQ')=env.t('companyFAQ') li - a(href='/static/privacy') Privacy + a(href='/static/privacy')=env.t('companyPrivacy') li - a(href='/static/terms') Terms + a(href='/static/terms')=env.t('companyTerms') .span3 - h4 Community + h4=env.t('footerCommunity') ul.unstyled li - a(target='_blank', href='https://github.com/HabitRPG/habitrpg/issues') Submit Bug + a(target='_blank', href='https://github.com/HabitRPG/habitrpg/issues')=env.t('communityBug') li - a(target='_blank', href='https://trello.com/c/8gzGlle8') Request Feature + a(target='_blank', href='https://trello.com/c/8gzGlle8')=env.t('communityFeature') li - a(target='_blank', href='https://github.com/lefnire/habitrpg/wiki/API') API + a(target='_blank', href='https://github.com/lefnire/habitrpg/wiki/API')=env.t('communityAPI') li - a(href='/static/extensions') Add-ons & Extensions + a(href='/static/extensions')=env.t('communityExtensions') li - a(target='_blank', href='http://community.habitrpg.com/forum') Forum + a(target='_blank', href='http://community.habitrpg.com/forum')=env.t('communityForum') li - a(target='_blank', href='http://www.kickstarter.com/projects/lefnire/habitrpg-mobile') Kickstarter + a(target='_blank', href='http://www.kickstarter.com/projects/lefnire/habitrpg-mobile')=env.t('communityKickstarter') li - a(target='_blank', href='https://www.facebook.com/Habitrpg') Facebook + a(target='_blank', href='https://www.facebook.com/Habitrpg')=env.t('communityFacebook') li - a(target='_blank', href='http://www.reddit.com/r/habitrpg/') Reddit + a(target='_blank', href='http://www.reddit.com/r/habitrpg/')=env.t('communityReddit') .span3 if (env.NODE_ENV=='production') - h4 Social - .addthis_toolbox.addthis_default_style(addthis:url='https://habitrpg.com', addthis:title='HabitRPG - Gamify Your Life') + h4=env.t('footerSocial') + .addthis_toolbox.addthis_default_style(addthis:url='https://habitrpg.com', addthis:title=env.t('socialTitle')) table tr td @@ -65,13 +65,13 @@ footer.footer(ng-controller='FooterCtrl') td a.addthis_button_google_plusone(g:plusone:size='medium') else - h4 Debug + h4=env.t('footerDebug') ul.unstyled li - a.btn(ng-click='addMissedDay()') +1 Missed Day + a.btn(ng-click='addMissedDay()')=env.t('debugMissed') li - a.btn(ng-click='addTenGems()') +10 Gems + a.btn(ng-click='addTenGems()')=env.t('debugGems') li - a.btn(ng-click='addLevelsAndGold()') +Exp +GP + a.btn(ng-click='addLevelsAndGold()')=env.t('debugLevel') div(ng-init='deferredScripts()') diff --git a/views/shared/formatting-help.jade b/views/shared/formatting-help.jade index 80c74be7c3..80ef0633df 100644 --- a/views/shared/formatting-help.jade +++ b/views/shared/formatting-help.jade @@ -1,2 +1,2 @@ small - a(target='_blank', href='http://habitrpg.wikia.com/wiki/Markdown_Cheat_Sheet') Markdown formatting allowed \ No newline at end of file + a(target='_blank', href='http://habitrpg.wikia.com/wiki/Markdown_Cheat_Sheet')=env.t('formattingMarkdown') \ No newline at end of file diff --git a/views/shared/gems.jade b/views/shared/gems.jade index fc41724843..f862c7186b 100644 --- a/views/shared/gems.jade +++ b/views/shared/gems.jade @@ -1,5 +1,6 @@ -a.pull-right.gem-wallet(ng-click='modals.buyGems = true', popover-trigger='mouseenter', popover-title='Gems', popover="Used for buying special items and services (eggs, hatching potions, Fortify, etc.). You'll need to unlock those features before being able to use Gems.", popover-placement='bottom') +a.pull-right.gem-wallet(ng-click='modals.buyGems = true', popover-trigger='mouseenter', popover-title=env.t('gems'), popover=env.t('gemsWhatFor'), popover-placement='bottom') span.task-action-btn.tile.flush.bright.add-gems-btn + span.task-action-btn.tile.flush.neutral .Pet_Currency_Gem2x.Gems - | {{user.balance * 4 | number:0}} Gems \ No newline at end of file + | {{user.balance * 4 | number:0}} + text=env.t('gems') \ No newline at end of file