forked from balderdashy/sails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up locales to house stringfiles for future use in internationaliz…
…ing built-in log messages from core+cli.
- Loading branch information
1 parent
a4cd422
commit aad3b33
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
# Errors | ||
|
||
|
||
> TODO: | ||
> 1. move messages into locales | ||
> 2. Ideally we don't call `process.exit()` at all- instead, consistently call sails.lower(). See comment at bottom of `fatal.js`. |
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 @@ | ||
/** | ||
* English stringfile | ||
* @type {Object} | ||
*/ | ||
module.exports = { | ||
|
||
cli: { | ||
invalid: 'Sorry, I don\'t understand what that means.', | ||
toGetHelp: 'To get help using the Sails command-line tool, run:\n` $ sails --help `' | ||
}, | ||
|
||
core: {} | ||
}; |