fix: clean up duplicate translation keys

This commit is contained in:
Blade Barringer
2016-09-12 21:04:05 -05:00
parent 78d5f8c4f5
commit 3f03aab4ee
8 changed files with 5 additions and 10 deletions

View File

@@ -20,7 +20,6 @@
"hows": "How's Everyone Doing?", "hows": "How's Everyone Doing?",
"filter": "Filter", "filter": "Filter",
"groups": "Groups", "groups": "Groups",
"all": "All",
"noNone": "None", "noNone": "None",
"membership": "Membership", "membership": "Membership",
"participating": "Participating", "participating": "Participating",

View File

@@ -49,8 +49,6 @@
"equipment": "Equipment", "equipment": "Equipment",
"equipmentBonus": "Equipment", "equipmentBonus": "Equipment",
"equipmentBonusText": "Attribute bonuses provided by your equipped battle gear. See the Equipment tab under Inventory to select your battle gear.", "equipmentBonusText": "Attribute bonuses provided by your equipped battle gear. See the Equipment tab under Inventory to select your battle gear.",
"classBonus": "Class Equipment Bonus",
"classBonusText": "Your class (Warrior, if you haven't unlocked or selected another class) uses its own equipment more effectively than gear from other classes. Equipped gear from your current class gets a 50% boost to the attribute bonus it grants.",
"classEquipBonus": "Class Bonus", "classEquipBonus": "Class Bonus",
"battleGear": "Battle Gear", "battleGear": "Battle Gear",
"battleGearText": "This is the gear you wear into battle; it affects numbers when interacting with your tasks.", "battleGearText": "This is the gear you wear into battle; it affects numbers when interacting with your tasks.",

View File

@@ -38,7 +38,6 @@
"dragonsilverQuote": "I can't tell you how many time and task tracking systems I've tried over the decades... [Habitica] is the only thing I've used that actually helps me get things done rather than just list them.", "dragonsilverQuote": "I can't tell you how many time and task tracking systems I've tried over the decades... [Habitica] is the only thing I've used that actually helps me get things done rather than just list them.",
"dreimQuote": "When I discovered [Habitica] last summer, I had just failed about half of my exams. Thanks to the Dailies... I was able to organize and discipline myself, and I actually passed all my exams with really good grades a month ago.", "dreimQuote": "When I discovered [Habitica] last summer, I had just failed about half of my exams. Thanks to the Dailies... I was able to organize and discipline myself, and I actually passed all my exams with really good grades a month ago.",
"elmiQuote": "Every morning I'm looking forward to getting up so I can earn some gold!", "elmiQuote": "Every morning I'm looking forward to getting up so I can earn some gold!",
"email": "Email",
"emailNewPass": "Email New Password", "emailNewPass": "Email New Password",
"evagantzQuote": "My very first dentist appointment where the hygienist was actually excited about my flossing habits. Thanks [Habitica]!", "evagantzQuote": "My very first dentist appointment where the hygienist was actually excited about my flossing habits. Thanks [Habitica]!",
"examplesHeading": "Players use Habitica to manage...", "examplesHeading": "Players use Habitica to manage...",
@@ -68,7 +67,7 @@
"goalSample5": "Read an Informative Article", "goalSample5": "Read an Informative Article",
"goals": "Goals", "goals": "Goals",
"guidanceForBlacksmiths": "Guidance for Blacksmiths", "guidanceForBlacksmiths": "Guidance for Blacksmiths",
"health": "Health", "wellness": "Health",
"healthSample1": "Drink Water/Soda", "healthSample1": "Drink Water/Soda",
"healthSample2": "Chew Gum/Smoke", "healthSample2": "Chew Gum/Smoke",
"healthSample3": "Take Stairs/Elevator", "healthSample3": "Take Stairs/Elevator",

View File

@@ -1,6 +1,6 @@
{ {
"npc": "NPC", "npc": "NPC",
"npcText": "Backed the Kickstarter project at the maximum level!", "npcAchievementText": "Backed the Kickstarter project at the maximum level!",
"mattBoch": "Matt Boch", "mattBoch": "Matt Boch",
"mattShall": "Shall I bring you your steed, <%= name %>? Once you've fed a pet enough food to turn it into a mount, it will appear here. Click a mount to saddle up!", "mattShall": "Shall I bring you your steed, <%= name %>? Once you've fed a pet enough food to turn it into a mount, it will appear here. Click a mount to saddle up!",
"mattBochText1": "Welcome to the Stable! I'm Matt, the beast master. Starting at level 3, you can hatch pets using eggs and potions. When you hatch a pet in the Market, it will appear here! Click a pet's image to add it to your avatar. Feed them with the food you find after level 3, and they'll grow into hardy mounts.", "mattBochText1": "Welcome to the Stable! I'm Matt, the beast master. Starting at level 3, you can hatch pets using eggs and potions. When you hatch a pet in the Market, it will appear here! Click a pet's image to add it to your avatar. Feed them with the food you find after level 3, and they'll grow into hardy mounts.",

View File

@@ -160,7 +160,6 @@
"pushDeviceAlreadyAdded": "The user already has the push device", "pushDeviceAlreadyAdded": "The user already has the push device",
"pushDeviceNotFound": "The user has no push device with this id.", "pushDeviceNotFound": "The user has no push device with this id.",
"pushDeviceRemoved": "Push device removed successfully.", "pushDeviceRemoved": "Push device removed successfully.",
"add": "Add",
"buyGemsGoldCap": "Cap raised to <%= amount %>", "buyGemsGoldCap": "Cap raised to <%= amount %>",
"mysticHourglass": "<%= amount %> Mystic Hourglass", "mysticHourglass": "<%= amount %> Mystic Hourglass",
"mysticHourglassText": "Mystic Hourglasses allow purchasing a previous month's Mystery Item set.", "mysticHourglassText": "Mystic Hourglasses allow purchasing a previous month's Mystery Item set.",

View File

@@ -3,7 +3,7 @@
let glob = require('glob').sync; let glob = require('glob').sync;
describe('Locales files', () => { describe('Locales files', () => {
it.skip('do not contain duplicates of any keys', () => { it('do not contain duplicates of any keys', () => {
let translationFiles = glob('./common/locales/en/*.json'); let translationFiles = glob('./common/locales/en/*.json');
if (translationFiles.length === 0) { if (translationFiles.length === 0) {

View File

@@ -17,7 +17,7 @@ div(ng-if='::profile.backer.npc')
span.label.label-npc span.label.label-npc
| {{::profile.backer.npc}} | {{::profile.backer.npc}}
=env.t('npc') =env.t('npc')
small=env.t('npcText') small=env.t('npcAchievementText')
hr hr
div(ng-if='::profile.contributor.level || user._id == profile._id') div(ng-if='::profile.contributor.level || user._id == profile._id')

View File

@@ -174,7 +174,7 @@ html(ng-app='habitrpg', ng-controller='RootCtrl')
li.active(data-target='#myCarousel', data-slide-to='0') li.active(data-target='#myCarousel', data-slide-to='0')
a(href='#')=env.t('work') a(href='#')=env.t('work')
li(data-target='#myCarousel', data-slide-to='1') li(data-target='#myCarousel', data-slide-to='1')
a(href='#')=env.t('health') a(href='#')=env.t('wellness')
li(data-target='#myCarousel', data-slide-to='2') li(data-target='#myCarousel', data-slide-to='2')
a(href='#')=env.t('teams') a(href='#')=env.t('teams')
li(data-target='#myCarousel', data-slide-to='3') li(data-target='#myCarousel', data-slide-to='3')