Skip to content

Commit

Permalink
Item14160: add default english translations
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Sep 2, 2016
1 parent ddae78f commit 2ff9ad6
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
*.gz
*.swp
attic
genpdf_*
/JQDataTablesPlugin_installer
/JQDataTablesPlugin_installer.pl
/JQDataTablesPlugin.md5
Expand Down
1 change: 1 addition & 0 deletions data/System/JQDataTablesPlugin.txt
Expand Up @@ -191,6 +191,7 @@ Click on the table headers to sort the columns according to their data type.

---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 02 Sep 2016: | added default english translation files |
| 13 Jun 2016: | fixed parsing of dates that are already epoch seconds; improved default settings of table layout |
| 25 May 2016: | updated to latest version of !DataTables |
| 22 Apr 2016: | implemented server-side grid widget |
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/JQDataTablesPlugin.pm
Expand Up @@ -12,8 +12,8 @@ use Foswiki::Plugins::JQueryPlugin ();
use Foswiki::Func ();
use Foswiki::AccessControlException ();

our $VERSION = '3.01';
our $RELEASE = '13 Jun 2016';
our $VERSION = '3.02';
our $RELEASE = '02 Sep 2016';
our $SHORTDESCRIPTION = 'JQuery based progressive enhancement of tables';

sub initPlugin {
Expand Down
1 change: 1 addition & 0 deletions lib/Foswiki/Plugins/JQDataTablesPlugin/MANIFEST
Expand Up @@ -114,6 +114,7 @@ pub/System/JQDataTablesPlugin/FixedHeader/css/fixedHeader.jqueryui.min.css 0644
pub/System/JQDataTablesPlugin/FixedHeader/js/dataTables.fixedHeader.js 0644
pub/System/JQDataTablesPlugin/FixedHeader/js/dataTables.fixedHeader.min.js 0644
pub/System/JQDataTablesPlugin/i18n/de.js 0644
pub/System/JQDataTablesPlugin/i18n/en.js 0644
pub/System/JQDataTablesPlugin/jquery.datatables.addons.js 0644
pub/System/JQDataTablesPlugin/jquery.datatables.addons.js.gz 0644
pub/System/JQDataTablesPlugin/jquery.datatables.addons.uncompressed.js 0644
Expand Down
14 changes: 9 additions & 5 deletions pub/System/JQDataTablesPlugin/i18n/de.js
@@ -1,7 +1,11 @@
{
"Search:": "Suchen:",
"nothing found": "nichts gefunden",
"Results per page:": "Ergebnisse pro Seite:",
"Previous": "Vorherige",
"Next": "Nächste"
"emptyTable": "Keine Daten gefunden",
"infoEmpty": "nichts gefunden",
"lengthMenu": "Ergebnisse pro Seite:",
"loadingRecords": "Lade ...",
"next": "Weiter",
"previous": "Zurück",
"processing": "In Bearbeitung ...",
"search": "Suchen:",
"zeroRecords": "Keine passenden Daten gefunden"
}
12 changes: 12 additions & 0 deletions pub/System/JQDataTablesPlugin/i18n/en.js
@@ -0,0 +1,12 @@
{
"emptyTable": "No records found",
"infoEmpty": "nothing found",
"lengthMenu": "Results per page",
"loadingRecords": "Loading ...",
"next": "Next",
"previous": "Previous",
"processing": "Processing",
"search": "Search",
"zeroRecords": "No records found"
}

Expand Up @@ -203,14 +203,18 @@ jQuery(function($) {
"stripeClasses": ['foswikiTableEven', 'foswikiTableOdd'],

"language": {
"search": "<b class='i18n' data-i18n-message='Search:'>Search:</b>",
"search": "<b class='i18n' data-i18n-message='search'>Search:</b>",
"info": "_START_ - _END_ of <b>_TOTAL_</b>",
"infoEmpty": "<span class='foswikiAlert i18n' data-i18n-message='nothing found'>nothing found</span>",
"infoEmpty": "<span class='foswikiAlert i18n' data-i18n-message='infoEmpty'>nothing found</span>",
"infoFiltered": "",
"lengthMenu": "<b class='i18n' data-i18n-message='Results per page:'>Results per page:</b> _MENU_",
"lengthMenu": "<b class='i18n' data-i18n-message='lengthMenu'>Results per page:</b> _MENU_",
"emptyTable": "<span class='i18n' data-i18n-message='emptyTable'>No data available in table</span>",
"loadingRecords": "<span class='i18n' data-i18n-message='loadingRecords'>Loading ...</span>",
"processing": "<span class='i18n' data-i18n-message='processing'>Processing ...</span>",
"zeroRecords": "<span class='i18n' data-i18n-message='zeroRecords'>No matching records found</span>",
"paginate": {
"previous": "<span class='i18n' data-i18n-message='Previous'>Previous</span>",
"next": "<span class='i18n' data-i18n-message='Next'>Next</span>"
"previous": "<span class='i18n' data-i18n-message='previous'>Previous</span>",
"next": "<span class='i18n' data-i18n-message='next'>Next</span>"
}
}
});
Expand Down
Expand Up @@ -14,14 +14,18 @@ jQuery(function($) {
"stripeClasses": ['foswikiTableEven', 'foswikiTableOdd'],

"language": {
"search": "<b class='i18n' data-i18n-message='Search:'>Search:</b>",
"search": "<b class='i18n' data-i18n-message='search'>Search:</b>",
"info": "_START_ - _END_ of <b>_TOTAL_</b>",
"infoEmpty": "<span class='foswikiAlert i18n' data-i18n-message='nothing found'>nothing found</span>",
"infoEmpty": "<span class='foswikiAlert i18n' data-i18n-message='infoEmpty'>nothing found</span>",
"infoFiltered": "",
"lengthMenu": "<b class='i18n' data-i18n-message='Results per page:'>Results per page:</b> _MENU_",
"lengthMenu": "<b class='i18n' data-i18n-message='lengthMenu'>Results per page:</b> _MENU_",
"emptyTable": "<span class='i18n' data-i18n-message='emptyTable'>No data available in table</span>",
"loadingRecords": "<span class='i18n' data-i18n-message='loadingRecords'>Loading ...</span>",
"processing": "<span class='i18n' data-i18n-message='processing'>Processing ...</span>",
"zeroRecords": "<span class='i18n' data-i18n-message='zeroRecords'>No matching records found</span>",
"paginate": {
"previous": "<span class='i18n' data-i18n-message='Previous'>Previous</span>",
"next": "<span class='i18n' data-i18n-message='Next'>Next</span>"
"previous": "<span class='i18n' data-i18n-message='previous'>Previous</span>",
"next": "<span class='i18n' data-i18n-message='next'>Next</span>"
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion test/unit/JQDataTablesPlugin/JQDataTablesPluginSuite.pm
Expand Up @@ -17,7 +17,7 @@ Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Author: SvenDowideit
Copyright (C) 2008-2011 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2016 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion test/unit/JQDataTablesPlugin/JQDataTablesPluginTests.pm
Expand Up @@ -43,7 +43,7 @@ Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Author: SvenDowideit
Copyright (C) 2008-2011 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2016 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down

0 comments on commit 2ff9ad6

Please sign in to comment.