diff --git a/doc/localization.md b/doc/localization.md index 182197d9f..6c99ecf1d 100644 --- a/doc/localization.md +++ b/doc/localization.md @@ -19,9 +19,9 @@ Translations will be send back to us regularly and will eventually appear in the `/src/locales` contains files for all supported languages which contain the translated strings. Translation files are simple `*.json` files and look like this: ```json -{ "pad.modals.connected": "Connecté." -, "pad.modals.uderdup": "Ouvrir dans une nouvelle fenêtre." -, "pad.toolbar.unindent.title": "Désindenter" +{ "pad.modals.connected": "Connecté." +, "pad.modals.uderdup": "Ouvrir dans une nouvelle fenêtre." +, "pad.toolbar.unindent.title": "Dèsindenter" , "pad.toolbar.undo.title": "Annuler (Ctrl-Z)" , "timeslider.pageTitle": "{{appTitle}} Curseur temporel" , ... @@ -50,7 +50,7 @@ to: ``` -In the javascript files of your plugin, chaneg all hardcoded messages/strings... +In the javascript files of your plugin, change all hardcoded messages/strings... from: ```js @@ -75,7 +75,7 @@ alert(window._('pad.chat')); *ep_your-plugin/locales/es.json* ``` -{ "ep_your-plugin.h1": "Título 1" +{ "ep_your-plugin.h1": "Título 1" } ```