diff --git a/i18n/Bulgarian.lang b/i18n/Bulgarian.lang index d8e37f1..bde4c40 100644 --- a/i18n/Bulgarian.lang +++ b/i18n/Bulgarian.lang @@ -2,7 +2,7 @@ * Bulgarian translation * @name Bulgarian * @anchor Bulgarian - * @author Rostislav Stoyanov + * @author Rostislav Stoyanov, Oliwier Thomas */ { @@ -13,7 +13,7 @@ "sInfoEmpty": "Показване на резултати от 0 до 0 от общо 0", "sInfoFiltered": "(филтрирани от общо _MAX_ резултата)", "sInfoPostFix": "", - "sSearch": "Търсене във всички колони:", + "sSearch": "Търсене:", "sUrl": "", "oPaginate": { "sFirst": "Първа", diff --git a/i18n/German.lang b/i18n/German.lang index d71afc5..3fcbe35 100644 --- a/i18n/German.lang +++ b/i18n/German.lang @@ -4,20 +4,21 @@ * @anchor German * @author Joerg Holz * @author DJmRek - Markus Bergt + * @author OSWorX https://osworx.net */ { "sEmptyTable": "Keine Daten in der Tabelle vorhanden", "sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen", - "sInfoEmpty": "0 bis 0 von 0 Einträgen", + "sInfoEmpty": "Keine Daten vorhanden", "sInfoFiltered": "(gefiltert von _MAX_ Einträgen)", "sInfoPostFix": "", "sInfoThousands": ".", "sLengthMenu": "_MENU_ Einträge anzeigen", - "sLoadingRecords": "Wird geladen...", - "sProcessing": "Bitte warten...", + "sLoadingRecords": "Wird geladen ..", + "sProcessing": "Bitte warten ..", "sSearch": "Suchen", - "sZeroRecords": "Keine Einträge vorhanden.", + "sZeroRecords": "Keine Einträge vorhanden", "oPaginate": { "sFirst": "Erste", "sPrevious": "Zurück", @@ -34,5 +35,16 @@ "0": "Zum Auswählen auf eine Zeile klicken", "1": "1 Zeile ausgewählt" } + }, + "buttons": { + "print": "Drucken", + "colvis": "Spalten", + "copy": "Kopieren", + "copyTitle": "In Zwischenablage kopieren", + "copyKeys": "Taste ctrl oder \u2318 + C um Tabelle
in Zwischenspeicher zu kopieren.

Um abzubrechen die Nachricht anklicken oder Escape drücken.", + "copySuccess": { + "_": "%d Spalten kopiert", + "1": "1 Spalte kopiert" + } } } diff --git a/i18n/Portuguese.lang b/i18n/Portuguese.lang index 89a0076..a064274 100644 --- a/i18n/Portuguese.lang +++ b/i18n/Portuguese.lang @@ -6,6 +6,7 @@ */ { + "sEmptyTable": "Nenhum registro encontrado", "sProcessing": "A processar...", "sLengthMenu": "Mostrar _MENU_ registos", "sZeroRecords": "Não foram encontrados resultados", @@ -20,5 +21,9 @@ "sPrevious": "Anterior", "sNext": "Seguinte", "sLast": "Último" + }, + "oAria": { + "sSortAscending": ": Ordenar colunas de forma ascendente", + "sSortDescending": ": Ordenar colunas de forma descendente" } } diff --git a/sorting/czech-string.js b/sorting/czech-string.js new file mode 100644 index 0000000..7d62476 --- /dev/null +++ b/sorting/czech-string.js @@ -0,0 +1,30 @@ +$.extend( $.fn.dataTableExt.oSort, { + "czech-pre": function ( a ) { + var special_letters = { + "A": "Aa", "a": "aa", "Á": "Ab", "á": "ab", + "C": "Ca", "c": "ca", "Č": "Cb", "č": "cb", + "D": "Da", "d": "da", "Ď": "db", "ď": "db", + "E": "Ea", "e": "ea", "É": "eb", "é": "eb", "Ě": "Ec", "ě": "ec", + "I": "Ia", "i": "ia", "Í": "Ib", "í": "ib", + "N": "Na", "n": "na", "Ň": "Nb", "ň": "nb", + "O": "Oa", "o": "oa", "Ó": "Ob", "ó": "ob", + "R": "Ra", "r": "ra", "Ř": "Rb", "ř": "rb", + "S": "Sa", "s": "sa", "Š": "Sb", "š": "šb", + "T": "Ta", "t": "ta", "Ť": "Tb", "ť": "tb", + "U": "Ua", "u": "ua", "Ú": "Ub", "ú": "ub", "Ů": "Uc", "ů": "uc", + "Y": "Ya", "y": "ya", "Ý": "Yb", "ý": "yb", + "Z": "Za", "z": "za", "Ž": "Zb", "ž": "zb" + }; + for (var val in special_letters) + a = a.split(val).join(special_letters[val]).toLowerCase(); + return a; + }, + + "czech-asc": function ( a, b ) { + return ((a < b) ? -1 : ((a > b) ? 1 : 0)); + }, + + "czech-desc": function ( a, b ) { + return ((a < b) ? 1 : ((a > b) ? -1 : 0)); + } +} );