mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
add more translations for he locale. Contributed by Darian Shalev
This commit is contained in:
parent
b18d846d92
commit
ac270884ed
14 changed files with 3025 additions and 356 deletions
|
@ -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",
|
||||
|
|
23
public/javascripts/i18n/jquery.ui.datepicker-he.js
vendored
Normal file
23
public/javascripts/i18n/jquery.ui.datepicker-he.js
vendored
Normal 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']);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue