- Localization of CmdEdit.cpp, which means L10N is complete.
This commit is contained in:
Paul Beckingham
2011-12-01 00:46:54 -05:00
parent c25bb6404f
commit 1d9a11f8ea
2 changed files with 132 additions and 62 deletions

View File

@@ -582,8 +582,76 @@
#define STRING_E9_INSUFFICIENT_OP "There are not enough operands for the '{1}' operator."
#define STRING_E9_MORE_OP "Found extra operands."
// edit
#define STRING_EDIT_NO_CHANGES "No edits were detected."
#define STRING_EDIT_NO_EDITS "No editing performed."
#define STRING_EDIT_COMPLETE "Editing complete."
#define STRING_EDIT_LAUNCHING "Launching '{1}' now..."
#define STRING_EDIT_CHANGES "Edits were detected."
#define STRING_EDIT_UNPARSEABLE "Taskwarrior couldn't handle your edits. Would you like to try again?"
#define STRING_EDIT_UNWRITABLE "Your data.location directory is not writable."
#define STRING_EDIT_TAG_SEP "Separate the tags with spaces, like this: tag1 tag2"
#define STRING_EDIT_DEP_SEP "Dependencies should be a comma-separated list of task IDs, with no spaces."
#define STRING_EDIT_END "End"
#define STRING_EDIT_PROJECT_MOD "Project modified."
#define STRING_EDIT_PROJECT_DEL "Project deleted."
#define STRING_EDIT_PRIORITY_MOD "Priority modified."
#define STRING_EDIT_PRIORITY_DEL "Priority deleted."
#define STRING_EDIT_DESC_MOD "Description modified."
#define STRING_EDIT_DESC_REMOVE_ERR "Cannot remove description."
#define STRING_EDIT_ENTRY_REMOVE_ERR "Cannot remove creation date."
#define STRING_EDIT_ENTRY_MOD "Creation date modified."
#define STRING_EDIT_START_MOD "Start date modified."
#define STRING_EDIT_START_DEL "Start date removed."
#define STRING_EDIT_END_MOD "End date modified."
#define STRING_EDIT_END_DEL "End date removed."
#define STRING_EDIT_END_SET_ERR "Cannot set a done date on a pending task."
#define STRING_EDIT_DUE_MOD "Due date modified."
#define STRING_EDIT_DUE_DEL "Due date removed."
#define STRING_EDIT_DUE_DEL_ERR "Cannot remove a due date from a recurring task."
#define STRING_EDIT_UNTIL_MOD "Until date modified."
#define STRING_EDIT_UNTIL_DEL "Until date removed."
#define STRING_EDIT_RECUR_MOD "Recurrence modified."
#define STRING_EDIT_RECUR_DEL "Recurrence removed."
#define STRING_EDIT_RECUR_DUE_ERR "A recurring task must have a due date."
#define STRING_EDIT_RECUR_ERR "Not a valid recurrence duration."
#define STRING_EDIT_WAIT_MOD "Wait date modified."
#define STRING_EDIT_WAIT_DEL "Wait date removed."
#define STRING_EDIT_PARENT_MOD "Parent UUID modified."
#define STRING_EDIT_PARENT_DEL "Parent UUID removed."
#define STRING_EDIT_FG_MOD "Foreground color modified."
#define STRING_EDIT_FG_DEL "Foreground color removed."
#define STRING_EDIT_BG_MOD "Background color modified."
#define STRING_EDIT_BG_DEL "Background color removed."
// These four blocks can be replaced, but the number of lines must not change.
#define STRING_EDIT_HEADER_1 "The 'task edit <id>' command allows you to modify all aspects of a task"
#define STRING_EDIT_HEADER_2 "using a text editor. Below is a representation of all the task details."
#define STRING_EDIT_HEADER_3 "Modify what you wish, and when you save and quit your editor,"
#define STRING_EDIT_HEADER_4 "taskwarrior will read this file, determine what changed, and apply"
#define STRING_EDIT_HEADER_5 "those changes. If you exit your editor without saving or making"
#define STRING_EDIT_HEADER_6 "modifications, taskwarrior will do nothing."
#define STRING_EDIT_HEADER_7 "Lines that begin with # represent data you cannot change, like ID."
#define STRING_EDIT_HEADER_8 "If you get too creative with your editing, taskwarrior will send you"
#define STRING_EDIT_HEADER_9 "back to the editor to try again."
#define STRING_EDIT_HEADER_10 "Should you find yourself in an endless loop, re-editing the same file,"
#define STRING_EDIT_HEADER_11 "just quit the editor without making any changes. Taskwarrior will"
#define STRING_EDIT_HEADER_12 "notice this and stop the editing."
#define STRING_EDIT_HEADER_13 "Annotations look like this: <date> -- <text> and there can be any number of them."
#define STRING_EDIT_HEADER_14 "The ' -- ' separator between the date and text field should not be removed."
#define STRING_EDIT_HEADER_15 "A \"blank slot\" for adding an annotation follows for your convenience."
// Maintain the same spacing.
#define STRING_EDIT_TABLE_HEADER_1 "Name Editable details"
#define STRING_EDIT_TABLE_HEADER_2 "----------------- ----------------------------------------------------"
// Errors
// TODO Move each of these to appropriate section.
#define STRING_ERROR_PREFIX "Error: "
#define STRING_UNKNOWN_ERROR "Unknown error."
#define STRING_NO_HOME "Could not read home directory from the passwd file."
#define STRING_TRIVIAL_INPUT "You must specify a command or a task to modify."