nystudio107 /
craft-code-field
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Code Field plugin for Craft CMS |
||
| 4 | * |
||
| 5 | * Provides a Code Field that has a full-featured code editor with syntax highlighting & autocomplete |
||
| 6 | * |
||
| 7 | * @link https://nystudio107.com |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 8 | * @copyright Copyright (c) 2022 nystudio107 |
||
|
0 ignored issues
–
show
|
|||
| 9 | */ |
||
|
0 ignored issues
–
show
|
|||
| 10 | |||
| 11 | /** |
||
|
0 ignored issues
–
show
|
|||
| 12 | * @author nystudio107 |
||
|
0 ignored issues
–
show
|
|||
| 13 | * @package CodeField |
||
|
0 ignored issues
–
show
|
|||
| 14 | * @since 4.0.0 |
||
|
0 ignored issues
–
show
|
|||
| 15 | */ |
||
| 16 | return [ |
||
| 17 | 'The text that will be shown if the code field is empty.' => 'The text that will be shown if the code field is empty.', |
||
| 18 | 'Available Languages' => 'Available Languages', |
||
| 19 | 'Visual Studio Dark' => 'Visual Studio Dark', |
||
| 20 | '{name} plugin loaded' => '{name} plugin loaded', |
||
| 21 | 'Code Field Theme' => 'Code Field Theme', |
||
| 22 | 'High Contrast Dark' => 'High Contrast Dark', |
||
| 23 | 'Code' => 'Code', |
||
| 24 | 'This is not valid JSON' => 'This is not valid JSON', |
||
| 25 | 'Code Field Default Language' => 'Code Field Default Language', |
||
| 26 | 'Language' => 'Language', |
||
| 27 | 'Is not a string.' => 'Is not a string.', |
||
| 28 | 'Placeholder Text' => 'Placeholder Text', |
||
| 29 | 'The languages that should be listed in the language selector dropdown menu.' => 'The languages that should be listed in the language selector dropdown menu.', |
||
| 30 | 'Visual Studio Light' => 'Visual Studio Light', |
||
| 31 | 'Single Line Code Field' => 'Single Line Code Field', |
||
| 32 | 'Show Language Dropdown with Field' => 'Show Language Dropdown with Field', |
||
| 33 | 'Font Size' => 'Font Size', |
||
| 34 | 'Code Folding' => 'Code Folding', |
||
| 35 | 'Monaco Editor Settings Override' => 'Monaco Editor Settings Override', |
||
| 36 | 'Line Numbers' => 'Line Numbers', |
||
| 37 | 'The font size to use for the Code Field editor.' => 'The font size to use for the Code Field editor.', |
||
| 38 | 'The language to use for the Code Field editor.' => 'The language to use for the Code Field editor.', |
||
| 39 | 'The theme to use for the Code Field editor.' => 'The theme to use for the Code Field editor.', |
||
| 40 | 'Auto' => 'Auto', |
||
| 41 | 'CodeData failed validation: ' => 'CodeData failed validation: ', |
||
| 42 | 'Default Value' => 'Default Value', |
||
| 43 | 'The default value of the Code Field.' => 'The default value of the Code Field.', |
||
| 44 | 'JSON blob of Monaco [EditorOptions](https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorOptions.html) that will override the default settings.' => 'JSON blob of Monaco [EditorOptions](https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorOptions.html) that will override the default settings.', |
||
| 45 | 'The default value the Code Field will be populated with.' => 'The default value the Code Field will be populated with.', |
||
| 46 | ]; |
||
| 47 |