Skip to content

Corrected Hebrew translations #3911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions src/js/select2/i18n/he.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,49 @@ define(function () {
// Hebrew
return {
errorLoading: function () {
return 'התוצאות לא נטענו בהלכה';
return 'שגיאה בטעינת התוצאות';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;

var message = 'נא למחוק ' + overChars + ' תווים';

var message = 'נא למחוק ';
if (overChars != 1) {
message += 's';
message += overChars + ' תווים';
}
else {
message += 'תו אחד';
}

return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;

var message = 'נא להכניס ';

if (remainingChars != 1) {
message += remainingChars + ' תווים';
}
else {
message += 'תו אחד';
}

var message = 'נא להכניס ' + remainingChars + ' תווים או יותר';
message += ' או יותר';

return message;
},
loadingMore: function () {
return 'טען תוצאות נוספות…';
return 'טוען תוצאות נוספות…';
},
maximumSelected: function (args) {
var message = 'באפשרותך לבחור רק ' + args.maximum + ' פריטים';
var message = 'באפשרותך לבחור עד ';

if (args.maximum != 1) {
message += 's';
message += args.maximum + ' פריטים';
}
else {
message += 'פריט אחד';
}

return message;
Expand Down