-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"help": "HELP", | ||
"exit": "EXIT", | ||
"error": "ERROR:", | ||
"completed": "[COMPLETED]", | ||
"solution-incorrect": "YOUR SOLUTION IS NOT CORRECT!", | ||
"unrecognized-command": "unrecognized command:", | ||
"no-adventure-selected": "No adventure is currently selected. Select an adventure from the menu.", | ||
"solution-correct": "YOUR SOLUTION IS CORRECT!", | ||
"no-solution": "No reference solution available for this adventure.", | ||
"no-run-function": "This problem doesn't have a .run function.", | ||
"no-verify-function": "This problem doesn't have a .verify function yet!" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var lang = require('./en.json'); | ||
|
||
module.exports = function (i18n) { | ||
i18n = i18n || {} | ||
Object.keys(lang).forEach(function (key) { | ||
lang[key] = i18n[key] || lang[key] | ||
}) | ||
return lang | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters