From fd741e3274577492b9a1b02627cfc2a4c58888aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20H=C3=A4ring?= Date: Thu, 19 Oct 2023 17:56:45 +0200 Subject: [PATCH] fixed format of json --- doc/localization.adoc | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/localization.adoc b/doc/localization.adoc index 15790a7f7..a1a922a42 100644 --- a/doc/localization.adoc +++ b/doc/localization.adoc @@ -20,12 +20,13 @@ Translations will be send back to us regularly and will eventually appear in the [source,json] ---- -{ "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", -, ... +{ + "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", + ... } ---- @@ -80,7 +81,8 @@ alert(window._('pad.chat')); [source, json] ---- -{ "ep_your-plugin.h1": "Heading 1" +{ + "ep_your-plugin.h1": "Heading 1" } ---- @@ -88,7 +90,8 @@ alert(window._('pad.chat')); [source, json] ---- -{ "ep_your-plugin.h1": "Título 1" +{ + "ep_your-plugin.h1": "Título 1" } ---- @@ -103,8 +106,9 @@ For example, if you want to replace `Chat` with `Notes`, simply add... [source,json] ---- -{ "ep_your-plugin.h1": "Heading 1" -, "pad.chat": "Notes" +{ + "ep_your-plugin.h1": "Heading 1", + "pad.chat": "Notes" } ----