New SAVE_TO option
[jvcard.git] / src / be / nikiroo / jvcard / resources / StringId.java
1 package be.nikiroo.jvcard.resources;
2
3 import be.nikiroo.utils.resources.Meta;
4
5 /**
6 * The enum representing textual information to be translated to the user as a
7 * key.
8 *
9 * Note that each key that should be translated MUST be annotated with a
10 * {@link Meta} annotation.
11 *
12 * @author niki
13 *
14 */
15 public enum StringId {
16 DUMMY, // <-- TODO : remove
17 NULL, // Special usage, no annotations so it is not visible in
18 // .properties files
19 @Meta(info = "MUST BE 3 chars long", description = "Tab key")
20 KEY_TAB, // keys
21 @Meta(info = "MUST BE 3 chars long", description = "Enter key")
22 KEY_ENTER, //
23 @Meta(description = "Go back to previous screen")
24 KEY_ACTION_BACK, //
25 @Meta(description = "Get help text")
26 KEY_ACTION_HELP, //
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")
40 KEY_ACTION_DELETE, //
41 @Meta(description = "Filter the displayed contacts")
42 KEY_ACTION_SEARCH, //
43 @Meta(info = "we could use: ' ', ┃, │...", description = "Field separator")
44 DEAULT_FIELD_SEPARATOR, // MainContentList
45 @Meta(description = "Invert the photo's colours")
46 KEY_ACTION_INVERT, //
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")
52 KEY_ACTION_ADD, //
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")
60 CLI_HELP, //
61 @Meta(description = "The Help message line before explaining the different modes")
62 CLI_HELP_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 --save-to usage")
76 CLI_HELP_MODE_SAVE_TO, //
77 @Meta(description = "The Help message line for config save usage")
78 CLI_HELP_MODE_SAVE_CONFIG, //
79 @Meta(description = "The Help message line before the list of options")
80 CLI_HELP_OPTIONS, //
81 @Meta(description = "The Help message line for: --")
82 CLI_HELP_DD, //
83 @Meta(description = "The Help message line for: --")
84 CLI_HELP_LANG, //
85 @Meta(description = "The Help message line for: --")
86 CLI_HELP_GUI, //
87 @Meta(description = "The Help message line for: --")
88 CLI_HELP_TUI, //
89 @Meta(description = "The Help message line for: --")
90 CLI_HELP_NOUTF_OPTION, //
91 @Meta(description = "The Help message line for: --")
92 CLI_HELP_CONFIG, //
93 @Meta(description = "The Help message footer about files and jvcard:// links")
94 CLI_HELP_FOOTER, //
95 @Meta(info = "%s = the error", description = "Syntax error: SOME TEXT")
96 CLI_SERR, //
97 @Meta(description = "More than one mode given")
98 CLI_SERR_MODES, //
99 @Meta(description = "--lang is required")
100 CLI_SERR_NOLANG, //
101 @Meta(description = "The dir is required")
102 CLI_SERR_NODIR, //
103 @Meta(description = "The port is required")
104 CLI_SERR_NOPORT, //
105 @Meta(description = "The format is required")
106 CLI_SERR_NOFORMAT, //
107 @Meta(info = "%s = bad port", description = "The port is not valid")
108 CLI_SERR_BADPORT, //
109 @Meta(info = "%s = mode", description = "Card files are not supported in mode %s")
110 CLI_SERR_CANNOT_CARDS, //
111 @Meta(info = "%s = the error", description = "Error: SOME TEXT")
112 CLI_ERR, //
113 @Meta(description = "No files given")
114 CLI_ERR_NOFILES, //
115 @Meta(info = "%s = dir", description = "Cannot create conf dir %s")
116 CLI_ERR_CANNOT_CREATE_CONFDIR, //
117 @Meta(description = "Remoting not available")
118 CLI_ERR_NO_REMOTING, //
119 @Meta(description = "TUI not available")
120 CLI_ERR_NO_TUI, //
121 @Meta(info = "%s = dir", description = "Cannot create/update language in dir %s")
122 CLI_ERR_CANNOT_CREATE_LANG, //
123 @Meta(info = "%s = card", description = "Cannot open card %s")
124 CLI_ERR_CANNOT_OPEN, //
125 @Meta(info = "%s = contact FN", description = "Cannot save photo of contact %s")
126 CLI_ERR_CANNOT_SAVE_PHOTO, //
127 @Meta(description = "Cannot start the program with the given cards")
128 CLI_ERR_CANNOT_START, //
129 }