Skip to content

Commit

Permalink
changed license info; remove outdated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDittrich committed Sep 6, 2018
1 parent 229b51f commit d97c830
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 767 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

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

### 3.7 ###
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM wpdev
FROM wp-dev:latest

# copy release files
COPY --chown="www-data:www-data" dist/ /srv/public/wp-content/plugins/enlighter
COPY --chown="www-data:www-data" dist/ /srv/app/wp-content/plugins/enlighter
4 changes: 2 additions & 2 deletions Enlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Domain Path: /lang
Text Domain: enlighter
Description: Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor.
Version: 3.8-BETA1
Version: 3.8
Author: Andi Dittrich
Author URI: https://andidittrich.de
License: MIT X11-License
Expand All @@ -24,7 +24,7 @@
*/

define('ENLIGHTER_INIT', true);
define('ENLIGHTER_VERSION', '3.8-BETA1');
define('ENLIGHTER_VERSION', '3.8');
define('ENLIGHTER_PLUGIN_PATH', dirname(__FILE__));
define('ENLIGHTER_PLUGIN_URL', plugins_url('/enlighter/'));

Expand Down
68 changes: 2 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: syntax highlighting, javascript, code, coding, sourcecode, mootools, jquer
Donate link: https://enlighterjs.org
Requires at least: 3.9
Tested up to: 4.9
Stable tag: 3.7
Stable tag: 3.8
License: MIT X11-License
License URI: http://opensource.org/licenses/MIT

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

### Plugin Features ###
* Support for all common used languages including powerful generic highlighting
* **Full** Gutenberg Editor Integration (currently experimental)
* **Full** Visual-Editor (TinyMCE) Integration (Admin Panel + Frontend)
* Theme Customizer including **LIVE Preview Mode**
* Inline Syntax Highlighting
Expand Down Expand Up @@ -73,71 +74,6 @@ Click to view Language/Theme Examples
* [Shell](https://enlighterjs.org/Language.Shell.html)
* [VHDL](https://enlighterjs.org/Language.VHDL.html)
* [XML](https://enlighterjs.org/Language.XML.html)

### Shortcode Quickstart Example ###
Highlight javascript code (theme defined on your settings page)

[js]
window.addEvent('domready', function(){
console.info('Hello Enlighter');
});
[/js]

### Inline Syntax Highlighting with Shortcode ###

Lorem ipsum dolor sit amet, [js]window.alert('Hello World');[/js] consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

### Codegroup Example ###
Display multiple codes within a tab-pane. You can define a custom tab-pane title for each snippet if you want.

[codegroup]
[js tab="Javascript Message"]
window.addEvent('domready', function(){
// display string on console
console.info('Hello Enlighter');
// show element
$('#myelement').show();
});
[/js]
[html]
<div id="myelement">
INITIALIZATION START
</div>
[/html]
[css tab="Styling"]
#myelement{
color: #cc2222;
padding: 15px;
font-size: 20px;
text-align: center;
}
[/css]
[/codegroup]

### Legacy Example ###
It's also possible to use the plugin with legacy shortcode (disabled language shortcodes)

[enlighter lang="js"]
window.addEvent('domready', function(){
// display string on console
console.info('Hello Enlighter');
// show element
$('#myelement').show();
});
[/enlighter]


### Translations (I18n) ###
Please keep in mind that not all translations are up to date. You are welcome to contribute!

* **English** (default)
* **German** (de_DE by Andi Dittrich)
* **Serbo-Croatian** (sr_RS by Borisa Djuraskovic from webhostinghub.com)

### Related Links ###
* [Enlighter Plugin Docs + Tutorials](https://github.com/EnlighterJS/Plugin.WordPress/docs)
Expand Down
24 changes: 0 additions & 24 deletions lang/LICENSE-sr_RS

This file was deleted.

Binary file removed lang/enlighter-sr_RS.mo
Binary file not shown.
Loading

0 comments on commit d97c830

Please sign in to comment.