Added i18n to the options page (bug #1) and fixed bugs with dialogs
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index fd9fb40..8e36f91 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -15,7 +15,7 @@
"message": "Translate selection into...",
"description": "Title of the context menu that appears when a right click is done. Inside this parent menu there are the menus"
},
- "contextmenu_title2" : {
+ "contextmenu_title2": {
"message": "Translate selection into '$language$'",
"description": "Title of the context menu that appears when a right click is done and there's only one language available.",
"placeholders": {
@@ -61,6 +61,38 @@
"message": "Save",
"description": "Save button in the settings page"
},
+ "options_addlanguage": {
+ "message": "Add language",
+ "description": "Title for the 'Add language' dialog"
+ },
+ "options_addlanguage_addbutton": {
+ "message": "Add",
+ "description": "Add button in the footer of the languages list"
+ },
+ "options_language_label": {
+ "message": "Language:",
+ "description": "Label for the language selector in the 'Add language' dialog"
+ },
+ "options_credits": {
+ "message": "Credits",
+ "description": "Title for the credits link and dialog"
+ },
+ "options_credits_homepage": {
+ "message": "homepage",
+ "description": "Homepage link for an item in the credits. NOTE: put in in lowercase letters"
+ },
+ "options_credits_by": {
+ "message": "by",
+ "description": "Fragment of the author statement in an item of the credits. NOTE: put in in lowercase letters. EXAMPLE: '{{options_credits_by}} Adrià Vilanova Martínez'"
+ },
+ "options_ok": {
+ "message": "OK",
+ "description": "OK button in the dialogs"
+ },
+ "options_cancel": {
+ "message": "Cancel",
+ "description": "Cancel button in the dialogs"
+ },
"notification_install_title": { "message": "Thanks for installing 'Translate Selected Text'" },
"notification_install_message": { "message": "Click this notification to set it up." },
"notification_upgradedtostorage_title": { "message": "'Translate Selected Text' was updated to v0.6!" },