1 package be
.nikiroo
.jvcard
.resources
;
3 import be
.nikiroo
.utils
.resources
.Meta
;
6 * The enum representing textual information to be translated to the user as a
9 * Note that each key that should be translated MUST be annotated with a
10 * {@link Meta} annotation.
15 public enum StringId
{
16 DUMMY
, // <-- TODO : remove
17 NULL
, // Special usage, no annotations so it is not visible in
19 @Meta(info
= "MUST BE 3 chars long", description
= "Tab key")
21 @Meta(info
= "MUST BE 3 chars long", description
= "Enter key")
23 @Meta(description
= "Go back to previous screen")
25 @Meta(description
= "Get help text")
27 @Meta(description
= "View the selected card")
28 KEY_ACTION_VIEW_CARD
, //
29 @Meta(description
= "View the selected contact")
30 KEY_ACTION_VIEW_CONTACT
, //
31 @Meta(description
= "Edit the contact")
32 KEY_ACTION_EDIT_CONTACT
, //
33 @Meta(description
= "Edit the contact in RAW mode")
34 KEY_ACTION_EDIT_CONTACT_RAW
, //
35 @Meta(description
= "Edit the RAW field")
36 KEY_ACTION_EDIT_FIELD
, //
37 @Meta(description
= "Save the whole card")
38 KEY_ACTION_SAVE_CARD
, //
39 @Meta(description
= "Delete the selected element")
41 @Meta(description
= "Filter the displayed contacts")
43 @Meta(info
= "we could use: ' ', ┃, │...", description
= "Field separator")
44 DEAULT_FIELD_SEPARATOR
, // MainContentList
45 @Meta(description
= "Invert the photo's colours")
47 @Meta(description
= "Show the photo in 'fullscreen'")
48 KEY_ACTION_FULLSCREEN
, //
49 @Meta(description
= "Switch between the available display formats")
50 KEY_ACTION_SWITCH_FORMAT
, // multi-usage
51 @Meta(description
= "Add a new contact/field")
53 @Meta(description
= "New contact")
54 ASK_USER_CONTACT_NAME
, //
55 @Meta(info
= "%s = contact name", description
= "Delete contact")
56 CONFIRM_USER_DELETE_CONTACT
, //
57 @Meta(info
= "%s = contact name", description
= "cannot delete a contact")
58 ERR_CANNOT_DELETE_CONTACT
, //
59 @Meta(description
= "The Help message header line")
61 @Meta(description
= "The Help message line before explaining the different modes")
63 @Meta(description
= "The Help message line for help usage")
64 CLI_HELP_MODE_HELP
, //
65 @Meta(description
= "The Help message line for contact manager usage")
66 CLI_HELP_MODE_CONTACT_MANAGER
, //
67 @Meta(description
= "The Help message line for contact manager usage")
68 CLI_HELP_MODE_I18N
, //
69 @Meta(description
= "The Help message line for jVCard server usage")
70 CLI_HELP_MODE_SERVER
, //
71 @Meta(description
= "The Help message line for --load-photo usage")
72 CLI_HELP_MODE_LOAD_PHOTO
, //
73 @Meta(description
= "The Help message line for --save-photo usage")
74 CLI_HELP_MODE_SAVE_PHOTO
, //
75 @Meta(description
= "The Help message line for config save usage")
76 CLI_HELP_MODE_SAVE_CONFIG
, //
77 @Meta(description
= "The Help message line before the list of options")
79 @Meta(description
= "The Help message line for: --")
81 @Meta(description
= "The Help message line for: --")
83 @Meta(description
= "The Help message line for: --")
85 @Meta(description
= "The Help message line for: --")
87 @Meta(description
= "The Help message line for: --")
88 CLI_HELP_NOUTF_OPTION
, //
89 @Meta(description
= "The Help message line for: --")
91 @Meta(description
= "The Help message footer about files and jvcard:// links")
93 @Meta(info
= "%s = the error", description
= "Syntax error: SOME TEXT")
95 @Meta(description
= "More than one mode given")
97 @Meta(description
= "--lang is required")
99 @Meta(description
= "The dir is required")
101 @Meta(description
= "The port is required")
103 @Meta(description
= "The format is required")
104 CLI_SERR_NOFORMAT
, //
105 @Meta(info
= "%s = bad port", description
= "The port is not valid")
107 @Meta(info
= "%s = mode", description
= "Card files are not supported in mode %s")
108 CLI_SERR_CANNOT_CARDS
, //
109 @Meta(info
= "%s = the error", description
= "Error: SOME TEXT")
111 @Meta(description
= "No files given")
113 @Meta(info
= "%s = dir", description
= "Cannot create conf dir %s")
114 CLI_ERR_CANNOT_CREATE_CONFDIR
, //
115 @Meta(description
= "Remoting not available")
116 CLI_ERR_NO_REMOTING
, //
117 @Meta(description
= "TUI not available")
119 @Meta(info
= "%s = dir", description
= "Cannot create/update language in dir %s")
120 CLI_ERR_CANNOT_CREATE_LANG
, //
121 @Meta(info
= "%s = card", description
= "Cannot open card %s")
122 CLI_ERR_CANNOT_OPEN
, //
123 @Meta(info
= "%s = contact FN", description
= "Cannot save photo of contact %s")
124 CLI_ERR_CANNOT_SAVE_PHOTO
, //
125 @Meta(description
= "Cannot start the program with the given cards")
126 CLI_ERR_CANNOT_START
, //