From 807e4110276737c8b3cfcf579cfb099ed3251946 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Wed, 1 Feb 2023 18:04:17 +0100 Subject: [PATCH] chore: doc --- application/source/i18n/translations.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/source/i18n/translations.mjs b/application/source/i18n/translations.mjs index 74f9d4c2e..34908302d 100644 --- a/application/source/i18n/translations.mjs +++ b/application/source/i18n/translations.mjs @@ -112,9 +112,9 @@ class Translations extends Base { * Set a text for a key * * ``` - * translations.setText("text1": "Make my day!"); + * translations.setText("text1", "Make my day!"); * // plural rules - * translations.setText("text6": { + * translations.setText("text6", { * "zero": "There are no files on Disk.", * "one": "There is one file on Disk.", * "other": "There are files on Disk." -- GitLab