jlu.runJLU
Runs the extension the the active document and updates his siblings
- Right now is not possible to work with plain array values, other values are accepted and users are notified whenever the number or plain values on arrays are detected
- Format of the result files is being imposed but almost can config indents
Extension Settings
jlu.langFolderName
: (String) Lang folder name, the extension will only work under this folder- Default:
"lang"
- Default:
jlu.autoSave
: (Boolean) Save the targets files and close the windows. Directly overwrite, you won't be able to easily undo thoose changes- Default:
false
- Default:
jlu.target.arrayChecking
: (Boolean) Enable this option to check also arrays. (Array checking is made following the array order)- Default:
true
- Default:
jlu.target.overwriting
: (Boolean) Overwrites when the properties of the saving file are diferent types to the ones of the target language files- Default:
true
- Default:
jlu.msg.loadedMsg
: (Boolean) Shows a message when the extensions is ready- Default:
false
- Default:
jlu.msg.messaging
: (Boolean) Enables all the info messages from this extension- Default:
true
- Default:
jlu.msg.plainDifAlert
: (Boolean) Shows a message when a not identified plain value on an array is detected- Default:
true
- Default:
jlu.target.todoTxt
: (String) Text that will replace for the waiting translation- Default:
"//TODO: translate"
- Default:
jlu.target.todoTxtAddIndex
: (Boolean) When enabled will show the index of the array values at the target files- Default:
true
- Default:
jlu.target.defaultOverwriteOption
: (Options) Action to take when a target file is not a JSON- Default:
ask
- Options:
ask
: Shows a code input to let you chooseoverwrite
: Overwrite the target filedo nothing
: Ignore the target file
- Default:
jlu.target.excludeNames
: (String Array) These files won't be targets of the extensionjlu.format.indentSpaces
: (Number) Repetitions of the 'indent char' on one indent- Default:
1
- Default:
jlu.format.indentOption
: (Options) Indent option used for formatting the target files- Default:
tab
- Options:
tab
space
none
- Default:
Initial release of JSON LangUpdates
<style lang="scss"> .h2 { font-size: 21px; } </style>