From 6a1f4ee58dd7e2487cdc72ed35a95663bd07f4dc Mon Sep 17 00:00:00 2001 From: Alex <56329333+404-Program-not-found@users.noreply.github.com> Date: Sat, 17 Sep 2022 13:14:51 +1200 Subject: [PATCH] Update readme.md --- NUXT/plugins/languages/readme.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/NUXT/plugins/languages/readme.md b/NUXT/plugins/languages/readme.md index e57baf2..c10cbc6 100644 --- a/NUXT/plugins/languages/readme.md +++ b/NUXT/plugins/languages/readme.md @@ -26,19 +26,22 @@ That doesn't apply to the file name (polish.js, dutch.js, indonesian.js), but it There are different fields. This is an example of a field: -**home: "Home"** +`home: "Home"` Never touch the text previous the double dot (:). That is an indicator of what part is being translated. If you modify it, it won't work. Only translate the text into quotation marks ("). For example, if the translation of "Home" is "Vue", the result will be: -**home: "Vue"** +`home: "Vue"` It's easy and intuitive. Also there are different sections: -**settings: {
-general: "General",
-theme: "Theme",** +``` +settings: { + general: "General", + theme: "Theme" +} +``` Don't touch the section name, in this case, "settings".