zebra-datepicker-i18n 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/zebra-datepicker-i18n.js.erb +5 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcdabd10168325da58cf95b446a9435ae764dc41
|
4
|
+
data.tar.gz: 2d0447cbdce66f1aa8b7dd4f8d18a4da1ca4763f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9393587293ddc6a942c8d26b369ce2c37f87f75158b01e14b1023a1d7e8cdcfa3420a49f879f438f12e032bd2a97886db9eb4d1008a304ef04f081cf6d782c92
|
7
|
+
data.tar.gz: 32f6fba3350c2fb021cf57c6eea99e8eadbcaa5d48cc2b3720ba180ff88fec96d78c43ef5e7a2904412ca7dd9a7e80b52f7b0ebf43688b7591ced53c67fb9472
|
@@ -6,20 +6,17 @@ $.fn.Zebra_DatePicker_I18n = function(options) {
|
|
6
6
|
'<%= raw I18n.t('date.day_names', locale: locale).join('\',\'') %>'
|
7
7
|
],
|
8
8
|
days_abbr: [
|
9
|
-
'<%= raw I18n.t('date.abbr_day_names', locale: locale)
|
10
|
-
.join('\',\'') %>'
|
9
|
+
'<%= raw I18n.t('date.abbr_day_names', locale: locale).join('\',\'') %>'
|
11
10
|
],
|
12
11
|
format: '<%= I18n.t('date.formats.default').gsub '%', '' %>',
|
13
12
|
months: [
|
14
|
-
'<%= raw I18n.t('date.month_names', locale: locale)[1..12]
|
15
|
-
.join('\',\'') %>'
|
13
|
+
'<%= raw I18n.t('date.month_names', locale: locale)[1..12].join('\',\'') %>'
|
16
14
|
],
|
17
15
|
months_abbr: [
|
18
|
-
'<%= raw I18n.t('date.abbr_month_names', locale: locale)[1..12]
|
19
|
-
.join('\',\'') %>'
|
16
|
+
'<%= raw I18n.t('date.abbr_month_names', locale: locale)[1..12].join('\',\'') %>'
|
20
17
|
],
|
21
|
-
show_select_today: '<%= I18n.t
|
22
|
-
lang_clear_date: '<%= I18n.t
|
18
|
+
show_select_today: '<%= I18n.t(:today, locale: locale).gsub('\'', '\\\\\'') %>',
|
19
|
+
lang_clear_date: '<%= I18n.t(:clear, locale: locale).gsub('\'', '\\\\\'') %>'
|
23
20
|
};
|
24
21
|
<% end %>
|
25
22
|
|