- Localized a few strings, for fun.
This commit is contained in:
Paul Beckingham 2011-05-25 01:13:19 -04:00
parent 62203a45f8
commit 02065c3cdc
8 changed files with 50 additions and 232 deletions

View file

@ -28,11 +28,16 @@
////////////////////////////////////////////////////////////////////////////////
//
// Strings that should be localized:
// - All text output that the user sees or types
// - text output that the user sees or types
//
// Strings that should NOT be localized:
// - ./taskrc configuration variable names
// - command names
// - extension function names
// - certain literals associated with parsing
// - debug strings
// - attribute names
// - modifier names
//
////////////////////////////////////////////////////////////////////////////////
@ -41,7 +46,26 @@
// To localize, clone and rename this file, then change all the defines below.
#define STRING_UNKNOWN_ERROR "Unknown error."
// Errors
#define STRING_UNKNOWN_ERROR "Unknown error."
#define STRING_NO_HOME "Could not read home directory from the passwd file."
#define STRING_TAGS_NO_COMMAS "Tags are not permitted to contain commas."
#define STRING_TRIVIAL_INPUT "You must specify a command, or a task ID to modify."
#define STRING_ASSUME_INFO "No command - assuming 'info'"
// 'show' command
#define STRING_CMD_SHOW "Shows the entire task configuration variables or the ones containing substring."
#define STRING_CMD_SHOW_ARGS "You can only specify 'all' or a search string."
#define STRING_CMD_SHOW_NONE "No matching configuration variables."
#define STRING_CMD_SHOW_UNREC "Your .taskrc file contains these unrecognized variables:"
#define STRING_CMD_SHOW_DIFFER "Some of your .taskrc variables differ from the default values."
#define STRING_CMD_SHOW_HOOKS "Your .taskrc file contains these missing or unreadable hook scripts:"
#define STRING_CMD_SHOW_EMPTY "Configuration error: .taskrc contains no entries."
// DOM
#define STRING_DOM_UNKNOWN "<unknown>"
#define STRING_DOM_UNREC "DOM: Cannot get unrecognized name '{1}'."
#define STRING_DOM_CANNOT_SET "DOM: Cannot set '{1}'."
#endif