diff --git a/application/source/i18n/translations.mjs b/application/source/i18n/translations.mjs index 74f9d4c2e73168ccfcd4588819707d4e3ac522b6..34908302dc838583c6a312be4645f9111d533aef 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."