add more translations for he locale. Contributed by Darian Shalev

This commit is contained in:
Reinier Balt 2012-04-11 20:21:28 +02:00
parent b18d846d92
commit ac270884ed
14 changed files with 3025 additions and 356 deletions

View file

@ -1016,8 +1016,14 @@ var RecurringTodosPage = {
width: 750,
modal: true,
buttons: {
"Create": function() { submit_with_ajax_and_block_element('form.#recurring-todo-form-new-action', $(this).parents(".ui-dialog")); },
Cancel: function() { $( this ).dialog( "close" ); }
create: {
text: i18n['common.create'],
click: function() { submit_with_ajax_and_block_element('form.#recurring-todo-form-new-action', $(this).parents(".ui-dialog")); },
},
cancel: {
text: i18n['common.cancel'],
click: function() { $( this ).dialog( "close" ); }
}
},
show: "fade",
hide: "fade",
@ -1043,11 +1049,14 @@ var RecurringTodosPage = {
modal: true,
buttons: {
"Update": {
text: "Update",
text: i18n['common.update'],
id: 'recurring_todo_edit_update_button',
click: function() { submit_with_ajax_and_block_element('form#recurring-todo-form-edit-action', $(this).parents(".ui-dialog")); }
},
Cancel: function() { $( this ).dialog( "close" ); }
cancel: {
text: i18n['common.cancel'],
click: function() { $( this ).dialog( "close" ); }
}
},
show: "fade",
hide: "fade",

View file

@ -0,0 +1,23 @@
/* Hebrew initialisation for the UI Datepicker extension. */
/* Written by Amir Hardon (ahardon at gmail dot com). */
jQuery(function($){
$.datepicker.regional['he'] = {
closeText: 'סגור',
prevText: '<הקודם',
nextText: 'הבא>',
currentText: 'היום',
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
monthNamesShort: ['1','2','3','4','5','6',
'7','8','9','10','11','12'],
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
weekHeader: 'Wk',
dateFormat: 'dd/mm/yy',
firstDay: 0,
isRTL: true,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['he']);
});