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