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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31ecbca813f0bf7abce756f6cdfca7f60471391f
4
- data.tar.gz: 9348f18a2f9cb650de3e7ce05c3c1df15635044d
3
+ metadata.gz: dcdabd10168325da58cf95b446a9435ae764dc41
4
+ data.tar.gz: 2d0447cbdce66f1aa8b7dd4f8d18a4da1ca4763f
5
5
  SHA512:
6
- metadata.gz: a9eacde20992ac5831464bf5c3cbba6df2ea81a2407c87e475d4a6281e9cf76c715274dab7df18b75553bdc254e95bab6067a74b22b89547bf454d11e62e9085
7
- data.tar.gz: 064bd9be7743de3eb502b29b03f002cb90024db41f09c11bbb85f787d5eddca357532aa93a3c21ac9e1b874838c94c51a97ea33717f79902cb29ee7a195e5eb7
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 :today, locale: locale %>',
22
- lang_clear_date: '<%= I18n.t :clear, locale: locale %>'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zebra-datepicker-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Groeneveld