Skip to content

Commit d97c830

Browse files
committed
changed license info; remove outdated translations
1 parent 229b51f commit d97c830

17 files changed

+37
-767
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
* Added: experimental Gutenberg editor integration - [EnlighterJS/Plugin.Gutenberg on GitHub](https://github.com/EnlighterJS/Plugin.Gutenberg)
66
* Added: keyboard shortcut `+x` to highlight inline code - requested by [dahnark on WordPress.org Forums](https://wordpress.org/support/topic/override-theme-code-style/)
7-
* Added: EnlighterJS.TinyMCE Plugin `v3.5.0`
7+
* Added: Visual Editor Plugin ([EnlighterJS.TinyMCE](https://github.com/EnlighterJS/Plugin.TinyMCE)) **v3.5.0**
88
* Changed: moved experimental settings into panel "Beta"
9+
* Removed: outdated translations
910
* Bugfix: styles of the "plugin upgrade notification" were broken
1011

1112
### 3.7 ###

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM wpdev
1+
FROM wp-dev:latest
22

33
# copy release files
4-
COPY --chown="www-data:www-data" dist/ /srv/public/wp-content/plugins/enlighter
4+
COPY --chown="www-data:www-data" dist/ /srv/app/wp-content/plugins/enlighter

Enlighter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Domain Path: /lang
66
Text Domain: enlighter
77
Description: Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor.
8-
Version: 3.8-BETA1
8+
Version: 3.8
99
Author: Andi Dittrich
1010
Author URI: https://andidittrich.de
1111
License: MIT X11-License
@@ -24,7 +24,7 @@
2424
*/
2525

2626
define('ENLIGHTER_INIT', true);
27-
define('ENLIGHTER_VERSION', '3.8-BETA1');
27+
define('ENLIGHTER_VERSION', '3.8');
2828
define('ENLIGHTER_PLUGIN_PATH', dirname(__FILE__));
2929
define('ENLIGHTER_PLUGIN_URL', plugins_url('/enlighter/'));
3030

README.md

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: syntax highlighting, javascript, code, coding, sourcecode, mootools, jquer
44
Donate link: https://enlighterjs.org
55
Requires at least: 3.9
66
Tested up to: 4.9
7-
Stable tag: 3.7
7+
Stable tag: 3.8
88
License: MIT X11-License
99
License URI: http://opensource.org/licenses/MIT
1010

@@ -19,6 +19,7 @@ It also supports the automatic creation of tab-panes to display code-groups toge
1919

2020
### Plugin Features ###
2121
* Support for all common used languages including powerful generic highlighting
22+
* **Full** Gutenberg Editor Integration (currently experimental)
2223
* **Full** Visual-Editor (TinyMCE) Integration (Admin Panel + Frontend)
2324
* Theme Customizer including **LIVE Preview Mode**
2425
* Inline Syntax Highlighting
@@ -73,71 +74,6 @@ Click to view Language/Theme Examples
7374
* [Shell](https://enlighterjs.org/Language.Shell.html)
7475
* [VHDL](https://enlighterjs.org/Language.VHDL.html)
7576
* [XML](https://enlighterjs.org/Language.XML.html)
76-
77-
### Shortcode Quickstart Example ###
78-
Highlight javascript code (theme defined on your settings page)
79-
80-
[js]
81-
window.addEvent('domready', function(){
82-
console.info('Hello Enlighter');
83-
});
84-
[/js]
85-
86-
### Inline Syntax Highlighting with Shortcode ###
87-
88-
Lorem ipsum dolor sit amet, [js]window.alert('Hello World');[/js] consetetur sadipscing elitr,
89-
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
90-
91-
### Codegroup Example ###
92-
Display multiple codes within a tab-pane. You can define a custom tab-pane title for each snippet if you want.
93-
94-
[codegroup]
95-
[js tab="Javascript Message"]
96-
window.addEvent('domready', function(){
97-
// display string on console
98-
console.info('Hello Enlighter');
99-
100-
// show element
101-
$('#myelement').show();
102-
});
103-
[/js]
104-
105-
[html]
106-
<div id="myelement">
107-
INITIALIZATION START
108-
</div>
109-
[/html]
110-
111-
[css tab="Styling"]
112-
#myelement{
113-
color: #cc2222;
114-
padding: 15px;
115-
font-size: 20px;
116-
text-align: center;
117-
}
118-
[/css]
119-
[/codegroup]
120-
121-
### Legacy Example ###
122-
It's also possible to use the plugin with legacy shortcode (disabled language shortcodes)
123-
124-
[enlighter lang="js"]
125-
window.addEvent('domready', function(){
126-
// display string on console
127-
console.info('Hello Enlighter');
128-
129-
// show element
130-
$('#myelement').show();
131-
});
132-
[/enlighter]
133-
134-
135-
### Translations (I18n) ###
136-
Please keep in mind that not all translations are up to date. You are welcome to contribute!
137-
138-
* **English** (default)
139-
* **German** (de_DE by Andi Dittrich)
140-
* **Serbo-Croatian** (sr_RS by Borisa Djuraskovic from webhostinghub.com)
14177

14278
### Related Links ###
14379
* [Enlighter Plugin Docs + Tutorials](https://github.com/EnlighterJS/Plugin.WordPress/docs)

lang/LICENSE-sr_RS

Lines changed: 0 additions & 24 deletions
This file was deleted.

lang/enlighter-sr_RS.mo

-12.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)