Update lanterna, fix bugs, implement save...
[jvcard.git] / src / be / nikiroo / jvcard / i18n / Trans.java
index 3ea95625ca177182d75a0ddce0be5fcd68cd1a63..603050489461412f11c9a9c6a1dc30fd8fc1d1e2 100644 (file)
@@ -23,7 +23,11 @@ public class Trans {
         * 
         */
        public enum StringId {
-               KEY_ACTION_BACK, KEY_ACTION_HELP, KEY_ACTION_VIEW_CONTACT, KEY_ACTION_EDIT_CONTACT, KEY_ACTION_SWITCH_FORMAT, TITLE, NULL;
+               DUMMY, // <-- TODO : remove
+               KEY_ACTION_BACK, KEY_ACTION_HELP, // MainWindow
+               KEY_ACTION_VIEW_CARD, // FileList
+               KEY_ACTION_VIEW_CONTACT, KEY_ACTION_EDIT_CONTACT, KEY_ACTION_SAVE_CARD, KEY_ACTION_DELETE_CONTACT, KEY_ACTION_SWITCH_FORMAT, // ContactList
+               NULL; // Special usage
 
                public String trans() {
                        return Trans.getInstance().trans(this);
@@ -57,10 +61,13 @@ public class Trans {
 
                // TODO: get from a file instead?
                map.put(StringId.NULL, "");
+               map.put(StringId.DUMMY, "[dummy]");
                map.put(StringId.KEY_ACTION_BACK, "Back");
-               map.put(StringId.TITLE, "[ jVcard: version 0.9 ]");
-               map.put(StringId.KEY_ACTION_VIEW_CONTACT, "view");
-               map.put(StringId.KEY_ACTION_EDIT_CONTACT, "edit");
-               map.put(StringId.KEY_ACTION_SWITCH_FORMAT, "Change view");      
+               map.put(StringId.KEY_ACTION_HELP, "Help");
+               map.put(StringId.KEY_ACTION_VIEW_CONTACT, "Open");
+               map.put(StringId.KEY_ACTION_VIEW_CARD, "Open");
+               map.put(StringId.KEY_ACTION_EDIT_CONTACT, "Edit");
+               map.put(StringId.KEY_ACTION_DELETE_CONTACT, "Delete");
+               map.put(StringId.KEY_ACTION_SWITCH_FORMAT, "Change view");
        }
 }