Not fully functional yet, so this won't/shouldn't be pushed onto the site yet (no language dropdown, there are still quite a few hardcoded strings that need to become string keys ...) but it works more than well enough to at least test and add more things as string keys that are currently hardcoded. There are two languages provided, "en-us" and "pirate". Pirate is a test language to make sure all string keys are applying properly and all that. As a bonus the new I18n system also offers a slightly less boneheaded way to do replacements, which is much more flexible than blind replace calls, and can take any type which is able to be stringified. The parsing code for this is far from my best work, but it'll do for now, and seems to work okay (and has basic idiot proofing), so eh. Supersedes #13.
29 lines
1.2 KiB
JSON
29 lines
1.2 KiB
JSON
{
|
|
"languageName": "Pirate",
|
|
"translatedLanguageName": "Arrrghh, matey!",
|
|
"author": "Computernewb",
|
|
|
|
"stringKeys": {
|
|
"kSiteName": "Argh, matey, it's CollabVM!",
|
|
"kHomeButton": "Arrrghh, set sail",
|
|
"kFAQButton": "Arrrgh, get your Map",
|
|
"kRulesButton": "Arrrrghh, get the Etiquette Book",
|
|
"kVMResetTitle": "Argh, matey, this VM is broken. Would you like to particpate in the VM War?",
|
|
"kGenericYes": "Arrrghh, yay!",
|
|
"kGenericNo": "Arrrrgh, nay!",
|
|
"kVMVoteTime": "Argghh, the cannon fight ends in {0} seconds",
|
|
"kPassVoteButton": "Rig the vote",
|
|
"kCancelVoteButton": "Ignore the vote",
|
|
"kTakeTurnButton": "Take the Wheel",
|
|
"kEndTurnButton": "Give Up the Wheel",
|
|
"kChangeUsernameButton": "Argh, select a new pirate name",
|
|
"kVoteButton": "Argh, my matey, it's broken...",
|
|
"kScreenshotButton": "Take a Polaroid",
|
|
"kUsersOnlineHeading": "Pirate Friends Online:",
|
|
"kTurnTime": "Arrrrgh, your wheel rights expire in {0} seconds.",
|
|
"kWaitingTurnTime": "Waiting for the wheel in {0} seconds.",
|
|
"kVoteCooldown": "Arrgh matey, you need to wait {0} seconds to vote again.",
|
|
"kEnterNewUsername": "Arggghh, matey, what would you like to be known as?"
|
|
}
|
|
}
|