Update lanterna, fix bugs, implement save...
[jvcard.git] / src / be / nikiroo / jvcard / i18n / Trans.java
index cea5df4c1ba0eb5f53bb7eb574611d61cb5a4172..603050489461412f11c9a9c6a1dc30fd8fc1d1e2 100644 (file)
@@ -23,8 +23,11 @@ public class Trans {
         * 
         */
        public enum StringId {
-               DUMMY, // <-- TODO : remove 
-               KEY_ACTION_BACK, KEY_ACTION_HELP, KEY_ACTION_VIEW_CONTACT, KEY_ACTION_VIEW_CARD, KEY_ACTION_EDIT_CONTACT, KEY_ACTION_SWITCH_FORMAT, 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);
@@ -60,8 +63,11 @@ public class Trans {
                map.put(StringId.NULL, "");
                map.put(StringId.DUMMY, "[dummy]");
                map.put(StringId.KEY_ACTION_BACK, "Back");
-               map.put(StringId.KEY_ACTION_VIEW_CONTACT, "view");
-               map.put(StringId.KEY_ACTION_EDIT_CONTACT, "edit");
+               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");
        }
 }