You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: class/EnvironmentCheck.php
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,11 @@ public function check(){
76
76
}
77
77
}
78
78
79
+
// plugin path wp-content/plugins/enlighter ?
80
+
if (strpos(__DIR__, 'enlighter/class') === false){
81
+
$errors[] = __('The plugin is located within an invalid path - the <code>enlighter/</code> directory name is <strong>mandatory</strong>', 'enlighter');
msgid"Autoset Permissions failed - Please change the directory permission (chmod <code>0644</code> or <code>0777</code>) manually!"
78
78
msgstr""
79
79
80
+
#:class/EnvironmentCheck.php:81
81
+
msgid"The plugin is located within an invalid path - the <code>enlighter/</code> directory name is <strong>mandatory</strong>"
82
+
msgstr""
83
+
80
84
#:class/TinyMCE.php:131
81
85
msgid"Enlighter Codeblocks"
82
86
msgstr""
@@ -165,6 +169,46 @@ msgstr ""
165
169
msgid"Info-button"
166
170
msgstr""
167
171
172
+
#:views/admin/Beta.phtml:5
173
+
msgid"BETA Features"
174
+
msgstr""
175
+
176
+
#:views/admin/Beta.phtml:8
177
+
msgid"Warning: These options are for advanced users only and subjected to change!"
178
+
msgstr""
179
+
180
+
#:views/admin/Beta.phtml:11
181
+
msgid"Dynamic Resource Invocation (DRI)"
182
+
msgstr""
183
+
184
+
#:views/admin/Beta.phtml:12
185
+
msgid"To optimize your website load-time it`s possible to load the EnlighterJS script dependencies only if they are required (requires script-position: footer)."
186
+
msgstr""
187
+
188
+
#:views/admin/Beta.phtml:13
189
+
msgid"In case it`s enable, the plugin will observer it`s invocation (visual editor, shortcodes, markdown)."
190
+
msgstr""
191
+
192
+
#:views/admin/Beta.phtml:15
193
+
msgid"Enable DRI"
194
+
msgstr""
195
+
196
+
#:views/admin/Beta.phtml:18
197
+
msgid"Gutenberg Editor Plugin"
198
+
msgstr""
199
+
200
+
#:views/admin/Beta.phtml:19
201
+
msgid"To use EnlighterJS within Gutenberg you can enable this feature. It loads the EnlighterJS Gutenberg.Plugin."
202
+
msgstr""
203
+
204
+
#:views/admin/Beta.phtml:20
205
+
msgid"Warning: Please keep in mind that this version of Enlighter Plugin.Gutenberg is still BETA software and may have some serious bugs!"
206
+
msgstr""
207
+
208
+
#:views/admin/Beta.phtml:22
209
+
msgid"Enable"
210
+
msgstr""
211
+
168
212
#:views/admin/Compatibility.phtml:5
169
213
msgid"Compatibility Mode / 3rd Party Migration"
170
214
msgstr""
@@ -501,30 +545,6 @@ msgstr ""
501
545
msgid"Enable I18n"
502
546
msgstr""
503
547
504
-
#:views/admin/Options.phtml:83
505
-
msgid"EXPERIMENTAL OPTIONS"
506
-
msgstr""
507
-
508
-
#:views/admin/Options.phtml:86
509
-
msgid"Warning: These options are for advanced users only and subjected to change!"
510
-
msgstr""
511
-
512
-
#:views/admin/Options.phtml:89
513
-
msgid"Dynamic Resource Invocation (DRI)"
514
-
msgstr""
515
-
516
-
#:views/admin/Options.phtml:90
517
-
msgid"To optimize your website load-time it`s possible to load the EnlighterJS script dependencies only if they are required (requires script-position: footer)."
518
-
msgstr""
519
-
520
-
#:views/admin/Options.phtml:91
521
-
msgid"In case it`s enable, the plugin will observer it`s invocation (visual editor, shortcodes, markdown)."
522
-
msgstr""
523
-
524
-
#:views/admin/Options.phtml:93
525
-
msgid"Enable DRI"
526
-
msgstr""
527
-
528
548
#:views/admin/Related.phtml:4
529
549
msgid"Enlighter Related"
530
550
msgstr""
@@ -557,31 +577,26 @@ msgstr ""
557
577
msgid"Options"
558
578
msgstr""
559
579
560
-
#:views/admin/SettingsPage.phtml:39
580
+
#:views/admin/SettingsPage.phtml:35
581
+
msgid"BETA"
582
+
msgstr""
583
+
584
+
#:views/admin/SettingsPage.phtml:40
561
585
msgid"Select the content you want to highlight and Enlighter takes care of the rest."
msgid"By default, the <kbd>tab</kbd> button does not add indentation to the content. Enlighter comes with its own editing plugin which allows you to use tabs within the Editor to align code."
1040
+
msgid"The default keyboard shortcut (shift+alt+x) action can be modified to convert the current selection into an Enlighter codeblock."
1022
1041
msgstr""
1023
1042
1024
1043
#:views/admin/VisualEditing.phtml:25
1044
+
msgid"Enable Keyboard Shortcut"
1045
+
msgstr""
1046
+
1047
+
#:views/admin/VisualEditing.phtml:27
1048
+
msgid"By default, the <kbd>tab</kbd> button does not add indentation to the content. Enlighter comes with its own editing plugin which allows you to use tabs within the Editor to align code."
1049
+
msgstr""
1050
+
1051
+
#:views/admin/VisualEditing.phtml:28
1025
1052
msgid"This option disables the <strong>tabfocus plugin</strong> and requires that the Enlighter <code>indent</code> option has been set to spaces!"
1026
1053
msgstr""
1027
1054
1028
-
#:views/admin/VisualEditing.phtml:26
1055
+
#:views/admin/VisualEditing.phtml:29
1029
1056
msgid"Enable Tab Indentation"
1030
1057
msgstr""
1031
1058
1032
-
#:views/admin/VisualEditing.phtml:29
1059
+
#:views/admin/VisualEditing.phtml:32
1033
1060
msgid"Code-Block Styles"
1034
1061
msgstr""
1035
1062
1036
-
#:views/admin/VisualEditing.phtml:30
1063
+
#:views/admin/VisualEditing.phtml:33
1037
1064
msgid"It is also possible to influence the code-block styles of the Visual-Editor. Maybe you like another background color or font-family."
0 commit comments