Skip to content

Commit 3e0ea1a

Browse files
authored
[5.4] naming convention language string (joomla#45785)
Language key with DESC instead of DESCR
1 parent f1906ba commit 3e0ea1a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

administrator/language/en-GB/plg_editors_codemirror.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
PLG_CODEMIRROR_FIELD_AUTOCLOSEBRACKET_LABEL="Bracket Completion"
77
PLG_CODEMIRROR_FIELD_CODEFOLDING_LABEL="Code Folding"
88
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_LABEL="Custom Extensions"
9+
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_DESC="Method name, provided by module for extension initialisation. Or multiple, separated by comma. Eg: bracketMatching (from module @codemirror/language)."
10+
; deprecated will be removed in 6.0
911
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_DESCR="Method name, provided by module for extension initialisation. Or multiple, separated by comma. Eg: bracketMatching (from module @codemirror/language)."
1012
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_LABEL="Initialisation Method(s)"
13+
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_DESC="Relative path to the module file, eg: media/my-assets/js/my-codemirror-module.js. Or module name, eg: @codemirror/language."
14+
; deprecated will be removed in 6.0
1115
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_DESCR="Relative path to the module file, eg: media/my-assets/js/my-codemirror-module.js. Or module name, eg: @codemirror/language."
1216
PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_LABEL="Module File or Module Name"
1317
PLG_CODEMIRROR_FIELD_FULLSCREEN_LABEL="Toggle Fullscreen"

plugins/editors/codemirror/codemirror.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@
152152
name="module"
153153
type="text"
154154
label="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_LABEL"
155-
description="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_DESCR"
155+
description="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_MODULE_DESC"
156156
/>
157157
<field
158158
name="methods"
159159
type="text"
160160
label="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_LABEL"
161-
description="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_DESCR"
161+
description="PLG_CODEMIRROR_FIELD_CUSTOM_EXTENSIONS_METHOD_DESC"
162162
/>
163163
</form>
164164
</field>

0 commit comments

Comments
 (0)