Skip to content
This repository
Browse code

Merge pull request #45 from ZakharDay/master

Russian translation added
  • Loading branch information...
commit cebcf4ad8e450a43b223447e6912fc12f3d04ecb 2 parents a163526 + dc87f46
Francois Gelinas authored July 24, 2012
6  i18n/i18n.html
@@ -30,6 +30,7 @@
30 30
 	<script src='jquery.ui.timepicker-nl.js'></script>
31 31
     <script src='jquery.ui.timepicker-pl.js'></script>
32 32
     <script src='jquery.ui.timepicker-pt-BR.js'></script>
  33
+    <script src='jquery.ui.timepicker-ru.js'></script>
33 34
     <script src='jquery.ui.timepicker-sl.js'></script>
34 35
     <script src='jquery.ui.timepicker-sv.js'></script>
35 36
     <script src='jquery.ui.timepicker-tr.js'></script>
@@ -72,6 +73,7 @@
72 73
         <option value='ja'>Japanese</option>
73 74
         <option value='pl'>Polish</option>
74 75
         <option value="pt-BR">Portuguese/Brazilian</option>
  76
+        <option value='ru'>Русский</option>
75 77
         <option value='sl'>Slovenian</option>
76 78
         <option value='es'>Spanish</option>
77 79
         <option value='sv'>Swedish</option>
@@ -124,6 +126,10 @@
124 126
     <li>
125 127
         <a href="jquery.ui.timepicker-pt-BR.js">Portuguese/Brazilian (jquery.ui.timepicker-pt-BR.js)</a>
126 128
     </li>
  129
+    
  130
+    <li>
  131
+        <a href="jquery.ui.timepicker-ru.js">Русский (jquery.ui.timepicker-ru.js)</a>
  132
+    </li>
127 133
 
128 134
     <li>
129 135
         <a href="jquery.ui.timepicker-sl.js">Slovenian (jquery.ui.timepicker-sl.js)</a>
12  i18n/jquery.ui.timepicker-ru.js
... ...
@@ -0,0 +1,12 @@
  1
+/* Russian initialisation for the jQuery time picker plugin. */
  2
+/* Writen by Zakhar Day (zakhar.day@gmail.com) */
  3
+jQuery(function($){
  4
+    $.timepicker.regional['ru'] = {
  5
+                hourText: 'Часы',
  6
+                minuteText: 'Минуты',
  7
+                amPmText: ['AM', 'PM'],
  8
+                closeButtonText: 'Готово',
  9
+                nowButtonText: 'Сейчас',
  10
+                deselectButtonText: 'Снять выделение' }
  11
+    $.timepicker.setDefaults($.timepicker.regional['ru']);
  12
+});

0 notes on commit cebcf4a

Please sign in to comment.
Something went wrong with that request. Please try again.