Update grid.locale-all.js

This commit is contained in:
2018-09-14 22:28:28 +08:00
parent 0ce2a79a84
commit 81db31b2e2
+118 -264
View File
@@ -189,184 +189,182 @@ function initGridLanguage(lang) {
idName: 'id' idName: 'id'
} }
}, },
/**
* jqGrid German Translation 'cn': /**
* Version 1.0.0 (developed for jQuery Grid 3.3.1) * jqGrid English Translation
* Olaf Klöppel opensource@blue-hit.de * Tony Tomov tony@trirand.com
* http://blue-hit.de/ * http://trirand.com/blog/
*
* Updated for jqGrid 3.8
* Andreas Flack
* http://www.contentcontrol-berlin.de
*
* Updated for jQuery 4.4
* Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
* the format corresponds now the format from
* https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
*
* Dual licensed under the MIT and GPL licenses: * Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
**/ **/
"de": { {
defaults: { defaults: {
recordtext: "Zeige {0} - {1} von {2}", recordtext: "View {0} - {1} of {2}",
emptyrecords: "Keine Datensätze vorhanden", emptyrecords: "No records to view",
loadtext: "Lädt...", loadtext: "Loading...",
pgtext: "Seite {0} von {1}" pgtext: "Page {0} of {1}"
}, },
search: { search: {
caption: "Suche...", caption: "Search...",
Find: "Suchen", Find: "Find",
Reset: "Zurücksetzen", Reset: "Reset",
odata: [ odata: [
{ oper: 'eq', text: "gleich"}, { oper: 'eq', text: 'equal'},
{ oper: 'ne', text: "ungleich"}, { oper: 'ne', text: 'not equal'},
{ oper: 'lt', text: "kleiner"}, { oper: 'lt', text: 'less'},
{ oper: 'le', text: "kleiner gleich"}, { oper: 'le', text: 'less or equal'},
{ oper: 'gt', text: "größer"}, { oper: 'gt', text: 'greater'},
{ oper: 'ge', text: "größer gleich"}, { oper: 'ge', text: 'greater or equal'},
{ oper: 'bw', text: "beginnt mit"}, { oper: 'bw', text: 'begins with'},
{ oper: 'bn', text: "beginnt nicht mit"}, { oper: 'bn', text: 'does not begin with'},
{ oper: 'in', text: "ist in"}, { oper: 'in', text: 'is in'},
{ oper: 'ni', text: "ist nicht in"}, { oper: 'ni', text: 'is not in'},
{ oper: 'ew', text: "endet mit"}, { oper: 'ew', text: 'ends with'},
{ oper: 'en', text: "endet nicht mit"}, { oper: 'en', text: 'does not end with'},
{ oper: 'cn', text: "enthält"}, { oper: 'cn', text: 'contains'},
{ oper: 'nc', text: "enthält nicht"} { oper: 'nc', text: 'does not contain'}
], ],
groupOps: [ groupOps: [
{ op: "AND", text: "alle" }, { op: "AND", text: "all" },
{ op: "OR", text: "mindestens eine" } { op: "OR", text: "any" }
] ]
}, },
edit: { edit: {
addCaption: "Datensatz hinzufügen", addCaption: "Add Record",
editCaption: "Datensatz bearbeiten", editCaption: "Edit Record",
bSubmit: "Speichern", bSubmit: "Submit",
bCancel: "Abbrechen", bCancel: "Cancel",
bClose: "Schließen", bClose: "Close",
saveData: "Daten wurden geändert! Änderungen speichern?", saveData: "Data has been changed! Save changes?",
bYes: "ja", bYes: "Yes",
bNo: "nein", bNo: "No",
bExit: "abbrechen", bExit: "Cancel",
msg: { msg: {
required: "Feld ist erforderlich", required: "Field is required",
number: "Bitte geben Sie eine Zahl ein", number: "Please, enter valid number",
minValue: "Wert muss größer oder gleich sein, als ", minValue: "value must be greater than or equal to ",
maxValue: "Wert muss kleiner oder gleich sein, als ", maxValue: "value must be less than or equal to",
email: "ist keine gültige E-Mail-Adresse", email: "is not a valid e-mail",
integer: "Bitte geben Sie eine Ganzzahl ein", integer: "Please, enter valid integer value",
date: "Bitte geben Sie ein gültiges Datum ein", date: "Please, enter valid date value",
url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')", url: "is not a valid URL. Prefix required ('http://' or 'https://')",
nodefined: " ist nicht definiert!", nodefined: " is not defined!",
novalue: " Rückgabewert ist erforderlich!", novalue: " return value is required!",
customarray: "Benutzerdefinierte Funktion sollte ein Array zurückgeben!", customarray: "Custom function should return array!",
customfcheck: "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!" customfcheck: "Custom function should be present in case of custom checking!"
} }
}, },
view: { view: {
caption: "Datensatz anzeigen", caption: "View Record",
bClose: "Schließen" bClose: "Close"
}, },
del: { del: {
caption: "Löschen", caption: "Delete",
msg: "Ausgewählte Datensätze löschen?", msg: "Delete selected record(s)?",
bSubmit: "Löschen", bSubmit: "Delete",
bCancel: "Abbrechen" bCancel: "Cancel"
}, },
nav: { nav: {
edittext: " ", edittext: "",
edittitle: "Ausgewählte Zeile editieren", edittitle: "Edit selected row",
addtext: " ", addtext: "",
addtitle: "Neue Zeile einfügen", addtitle: "Add new row",
deltext: " ", deltext: "",
deltitle: "Ausgewählte Zeile löschen", deltitle: "Delete selected row",
searchtext: " ", searchtext: "",
searchtitle: "Datensatz suchen", searchtitle: "Find records",
refreshtext: "", refreshtext: "",
refreshtitle: "Tabelle neu laden", refreshtitle: "Reload Grid",
alertcap: "Warnung", alertcap: "Warning",
alerttext: "Bitte Zeile auswählen", alerttext: "Please, select row",
viewtext: "", viewtext: "",
viewtitle: "Ausgewählte Zeile anzeigen" viewtitle: "View selected row"
}, },
col: { col: {
caption: "Spalten auswählen", caption: "Select columns",
bSubmit: "Speichern", bSubmit: "Ok",
bCancel: "Abbrechen" bCancel: "Cancel"
}, },
errors: { errors: {
errcap: "Fehler", errcap: "Error",
nourl: "Keine URL angegeben", nourl: "No url is set",
norecords: "Keine Datensätze zu bearbeiten", norecords: "No records to process",
model: "colNames und colModel sind unterschiedlich lang!" model: "Length of colNames <> colModel!"
}, },
formatter: { formatter: {
integer: {thousandsSeparator: ".", defaultValue: '0'}, integer: {thousandsSeparator: ",", defaultValue: '0'},
number: {decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, number: {decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
currency: {decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: " €", defaultValue: '0,00'}, currency: {decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: '0.00'},
date: { date: {
dayNames: [ dayNames: [
"So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
"Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
], ],
monthNames: [ monthNames: [
"Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
"Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
], ],
AmPm: ["", "", "", ""], AmPm: ["am", "pm", "AM", "PM"],
S: function (j) { S: function (j) {
return '.'; return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';
}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before },
srcformat: 'Y-m-d', srcformat: 'Y-m-d',
newformat: 'd.m.Y', newformat: 'n/j/Y',
parseRe: /[Tt\\\/:_;.,\t\s-]/, parseRe: /[Tt\\\/:_;.,\t\s-]/,
masks: { masks: {
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
// and see http://docs.jquery.com/UI/Datepicker/formatDate // and see http://docs.jquery.com/UI/Datepicker/formatDate
// and https://github.com/jquery/globalize#dates for alternative formats used frequently // and https://github.com/jquery/globalize#dates for alternative formats used frequently
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
// information about date, time, numbers and currency formats used in different countries
// one should just convert the information in PHP format
ISO8601Long: "Y-m-d H:i:s", ISO8601Long: "Y-m-d H:i:s",
ISO8601Short: "Y-m-d", ISO8601Short: "Y-m-d",
// short date: // short date:
// d - Day of the month, 2 digits with leading zeros // n - Numeric representation of a month, without leading zeros
// m - Numeric representation of a month, with leading zeros // j - Day of the month without leading zeros
// Y - A full numeric representation of a year, 4 digits // Y - A full numeric representation of a year, 4 digits
ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy" // example: 3/1/2012 which means 1 March 2012
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
// long date: // long date:
// l - A full textual representation of the day of the week // l - A full textual representation of the day of the week
// j - Day of the month without leading zeros
// F - A full textual representation of a month // F - A full textual representation of a month
// d - Day of the month, 2 digits with leading zeros
// Y - A full numeric representation of a year, 4 digits // Y - A full numeric representation of a year, 4 digits
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy" LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
// long date with long time: // long date with long time:
// l - A full textual representation of the day of the week // l - A full textual representation of the day of the week
// j - Day of the month without leading zeros
// F - A full textual representation of a month // F - A full textual representation of a month
// Y - A full numeric representation of a year, 4 digits
// H - 24-hour format of an hour with leading zeros
// i - Minutes with leading zeros
// s - Seconds, with leading zeros
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
// month day:
// d - Day of the month, 2 digits with leading zeros // d - Day of the month, 2 digits with leading zeros
// F - A full textual representation of a month // Y - A full numeric representation of a year, 4 digits
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM" // g - 12-hour format of an hour without leading zeros
// short time (without seconds)
// H - 24-hour format of an hour with leading zeros
// i - Minutes with leading zeros
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
// long time (with seconds)
// H - 24-hour format of an hour with leading zeros
// i - Minutes with leading zeros // i - Minutes with leading zeros
// s - Seconds, with leading zeros // s - Seconds, with leading zeros
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss" // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
// month day:
// F - A full textual representation of a month
// d - Day of the month, 2 digits with leading zeros
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
// short time (without seconds)
// g - 12-hour format of an hour without leading zeros
// i - Minutes with leading zeros
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
// long time (with seconds)
// g - 12-hour format of an hour without leading zeros
// i - Minutes with leading zeros
// s - Seconds, with leading zeros
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
SortableDateTime: "Y-m-d\\TH:i:s", SortableDateTime: "Y-m-d\\TH:i:s",
UniversalSortableDateTime: "Y-m-d H:i:sO", UniversalSortableDateTime: "Y-m-d H:i:sO",
// month with year // month with year
// F - A full textual representation of a month
// Y - A full numeric representation of a year, 4 digits // Y - A full numeric representation of a year, 4 digits
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy" // F - A full textual representation of a month
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
}, },
reformatAfterEdit: false reformatAfterEdit: false
}, },
@@ -376,152 +374,8 @@ function initGridLanguage(lang) {
checkbox: {disabled: true}, checkbox: {disabled: true},
idName: 'id' idName: 'id'
} }
},
/**
* jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
* Sergey Dyagovchenko
* http://d.sumy.ua
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
"ru": {
defaults: {
recordtext: "Просмотр {0} - {1} из {2}",
emptyrecords: "Нет записей для просмотра",
loadtext: "Загрузка...",
pgtext: "Стр. {0} из {1}"
},
search: {
caption: "Поиск...",
Find: "Найти",
Reset: "Сброс",
odata: [
{ oper: 'eq', text: "равно"},
{ oper: 'ne', text: "не равно"},
{ oper: 'lt', text: "меньше"},
{ oper: 'le', text: "меньше или равно"},
{ oper: 'gt', text: "больше"},
{ oper: 'ge', text: "больше или равно"},
{ oper: 'bw', text: "начинается с"},
{ oper: 'bn', text: "не начинается с"},
{ oper: 'in', text: "находится в"},
{ oper: 'ni', text: "не находится в"},
{ oper: 'ew', text: "заканчивается на"},
{ oper: 'en', text: "не заканчивается на"},
{ oper: 'cn', text: "содержит"},
{ oper: 'nc', text: "не содержит"}
],
groupOps: [
{ op: "AND", text: "все" },
{ op: "OR", text: "любой" }
]
},
edit: {
addCaption: "Добавить запись",
editCaption: "Редактировать запись",
bSubmit: "Сохранить",
bCancel: "Отмена",
bClose: "Закрыть",
saveData: "Данные были измененны! Сохранить изменения?",
bYes: "Да",
bNo: "Нет",
bExit: "Отмена",
msg: {
required: "Поле является обязательным",
number: "Пожалуйста, введите правильное число",
minValue: "значение должно быть больше либо равно",
maxValue: "значение должно быть меньше либо равно",
email: "некорректное значение e-mail",
integer: "Пожалуйста, введите целое число",
date: "Пожалуйста, введите правильную дату",
url: "неверная ссылка. Необходимо ввести префикс ('http://' или 'https://')",
nodefined: " не определено!",
novalue: " возвращаемое значение обязательно!",
customarray: "Пользовательская функция должна возвращать массив!",
customfcheck: "Пользовательская функция должна присутствовать в случаи пользовательской проверки!"
}
},
view: {
caption: "Просмотр записи",
bClose: "Закрыть"
},
del: {
caption: "Удалить",
msg: "Удалить выбранную запись(и)?",
bSubmit: "Удалить",
bCancel: "Отмена"
},
nav: {
edittext: " ",
edittitle: "Редактировать выбранную запись",
addtext: " ",
addtitle: "Добавить новую запись",
deltext: " ",
deltitle: "Удалить выбранную запись",
searchtext: " ",
searchtitle: "Найти записи",
refreshtext: "",
refreshtitle: "Обновить таблицу",
alertcap: "Внимание",
alerttext: "Пожалуйста, выберите запись",
viewtext: "",
viewtitle: "Просмотреть выбранную запись"
},
col: {
caption: "Показать/скрыть столбцы",
bSubmit: "Сохранить",
bCancel: "Отмена"
},
errors: {
errcap: "Ошибка",
nourl: "URL не установлен",
norecords: "Нет записей для обработки",
model: "Число полей не соответствует числу столбцов таблицы!"
},
formatter: {
integer: {thousandsSeparator: " ", defaultValue: '0'},
number: {decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
currency: {decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: '0,00'},
date: {
dayNames: [
"Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
"Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
],
monthNames: [
"Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
"Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
],
AmPm: ["am", "pm", "AM", "PM"],
S: function (j) {
return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'
},
srcformat: 'Y-m-d',
newformat: 'd.m.Y',
parseRe: /[Tt\\\/:_;.,\t\s-]/,
masks: {
ISO8601Long: "Y-m-d H:i:s",
ISO8601Short: "Y-m-d",
ShortDate: "n.j.Y",
LongDate: "l, F d, Y",
FullDateTime: "l, F d, Y G:i:s",
MonthDay: "F d",
ShortTime: "G:i",
LongTime: "G:i:s",
SortableDateTime: "Y-m-d\\TH:i:s",
UniversalSortableDateTime: "Y-m-d H:i:sO",
YearMonth: "F, Y"
},
reformatAfterEdit: false
},
baseLinkUrl: '',
showAction: '',
target: '',
checkbox: {disabled: true},
idName: 'id'
}
} }
}; };
$.extend($.jgrid, langs[lang]); $.extend($.jgrid, langs[lang]);