twitter_cldr 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +3 -7
- data/History.txt +6 -0
- data/README.md +1 -1
- data/Rakefile +26 -16
- data/lib/twitter_cldr/data_readers/number_data_reader.rb +9 -2
- data/lib/twitter_cldr/data_readers/timespan_data_reader.rb +11 -12
- data/lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb +10 -8
- data/lib/twitter_cldr/formatters/numbers/number_formatter.rb +2 -2
- data/lib/twitter_cldr/localized/localized_datetime.rb +1 -1
- data/lib/twitter_cldr/localized/localized_number.rb +13 -3
- data/lib/twitter_cldr/resources/collation_tries_dumper.rb +1 -2
- data/lib/twitter_cldr/resources/language_codes_importer.rb +1 -1
- data/lib/twitter_cldr/resources/locales_resources_importer.rb +13 -2
- data/lib/twitter_cldr/resources/tailoring_importer.rb +3 -2
- data/lib/twitter_cldr/shared/calendar.rb +4 -4
- data/lib/twitter_cldr/shared/postal_codes.rb +5 -7
- data/lib/twitter_cldr/version.rb +1 -1
- data/resources/collation/tailoring/de-CH.yml +4 -0
- data/resources/collation/tailoring/en-AU.yml +4 -0
- data/resources/collation/tailoring/en-CA.yml +4 -0
- data/resources/collation/tailoring/en-IE.yml +4 -0
- data/resources/collation/tailoring/en-SG.yml +4 -0
- data/resources/collation/tailoring/en-ZA.yml +4 -0
- data/resources/collation/tailoring/es-CO.yml +4 -0
- data/resources/collation/tailoring/es-MX.yml +4 -0
- data/resources/collation/tailoring/es-US.yml +4 -0
- data/resources/collation/tailoring/fr-BE.yml +4 -0
- data/resources/collation/tailoring/fr-CA.yml +4 -0
- data/resources/collation/tailoring/fr-CH.yml +4 -0
- data/resources/collation/tailoring/it-CH.yml +4 -0
- data/resources/collation/tries/af.dump +0 -0
- data/resources/collation/tries/ar.dump +0 -0
- data/resources/collation/tries/be.dump +0 -0
- data/resources/collation/tries/bg.dump +0 -0
- data/resources/collation/tries/bn.dump +0 -0
- data/resources/collation/tries/ca.dump +0 -0
- data/resources/collation/tries/cs.dump +0 -0
- data/resources/collation/tries/cy.dump +0 -0
- data/resources/collation/tries/da.dump +0 -0
- data/resources/collation/tries/de-CH.dump +0 -0
- data/resources/collation/tries/de.dump +0 -0
- data/resources/collation/tries/default.dump +0 -0
- data/resources/collation/tries/el.dump +0 -0
- data/resources/collation/tries/en-AU.dump +0 -0
- data/resources/collation/tries/en-CA.dump +0 -0
- data/resources/collation/tries/en-GB.dump +0 -0
- data/resources/collation/tries/en-IE.dump +0 -0
- data/resources/collation/tries/en-SG.dump +0 -0
- data/resources/collation/tries/en-ZA.dump +0 -0
- data/resources/collation/tries/en.dump +0 -0
- data/resources/collation/tries/es-CO.dump +0 -0
- data/resources/collation/tries/es-MX.dump +0 -0
- data/resources/collation/tries/es-US.dump +0 -0
- data/resources/collation/tries/es.dump +0 -0
- data/resources/collation/tries/eu.dump +0 -0
- data/resources/collation/tries/fa.dump +0 -0
- data/resources/collation/tries/fi.dump +0 -0
- data/resources/collation/tries/fil.dump +0 -0
- data/resources/collation/tries/fr-BE.dump +0 -0
- data/resources/collation/tries/fr-CA.dump +0 -0
- data/resources/collation/tries/fr-CH.dump +0 -0
- data/resources/collation/tries/fr.dump +0 -0
- data/resources/collation/tries/ga.dump +0 -0
- data/resources/collation/tries/gl.dump +0 -0
- data/resources/collation/tries/he.dump +0 -0
- data/resources/collation/tries/hi.dump +0 -0
- data/resources/collation/tries/hr.dump +0 -0
- data/resources/collation/tries/hu.dump +0 -0
- data/resources/collation/tries/id.dump +0 -0
- data/resources/collation/tries/is.dump +0 -0
- data/resources/collation/tries/it-CH.dump +0 -0
- data/resources/collation/tries/it.dump +0 -0
- data/resources/collation/tries/ja.dump +0 -0
- data/resources/collation/tries/ko.dump +0 -0
- data/resources/collation/tries/lv.dump +0 -0
- data/resources/collation/tries/ms.dump +0 -0
- data/resources/collation/tries/nb.dump +0 -0
- data/resources/collation/tries/nl.dump +0 -0
- data/resources/collation/tries/pl.dump +0 -0
- data/resources/collation/tries/pt.dump +0 -0
- data/resources/collation/tries/ro.dump +0 -0
- data/resources/collation/tries/ru.dump +0 -0
- data/resources/collation/tries/sk.dump +0 -0
- data/resources/collation/tries/sq.dump +0 -0
- data/resources/collation/tries/sr.dump +0 -0
- data/resources/collation/tries/sv.dump +0 -0
- data/resources/collation/tries/ta.dump +0 -0
- data/resources/collation/tries/th.dump +0 -0
- data/resources/collation/tries/tr.dump +0 -0
- data/resources/collation/tries/uk.dump +0 -0
- data/resources/collation/tries/ur.dump +0 -0
- data/resources/collation/tries/vi.dump +0 -0
- data/resources/collation/tries/zh-Hant.dump +0 -0
- data/resources/collation/tries/zh.dump +0 -0
- data/resources/locales/af/plurals.yml +2 -1
- data/resources/locales/af/units.yml +108 -108
- data/resources/locales/ar/plurals.yml +5 -4
- data/resources/locales/ar/units.yml +220 -220
- data/resources/locales/be/plurals.yml +6 -6
- data/resources/locales/be/units.yml +122 -122
- data/resources/locales/bg/plurals.yml +2 -1
- data/resources/locales/bg/units.yml +108 -108
- data/resources/locales/bn/plurals.yml +2 -1
- data/resources/locales/bn/units.yml +108 -108
- data/resources/locales/ca/plurals.yml +3 -2
- data/resources/locales/ca/units.yml +108 -108
- data/resources/locales/cs/plurals.yml +5 -5
- data/resources/locales/cs/units.yml +136 -136
- data/resources/locales/cy/plurals.yml +3 -3
- data/resources/locales/cy/units.yml +108 -220
- data/resources/locales/da/plurals.yml +3 -2
- data/resources/locales/da/units.yml +108 -108
- data/resources/locales/de-CH/calendars.yml +303 -0
- data/resources/locales/de-CH/currencies.yml +955 -0
- data/resources/locales/de-CH/languages.yml +583 -0
- data/resources/locales/de-CH/layout.yml +5 -0
- data/resources/locales/de-CH/lists.yml +23 -0
- data/resources/locales/de-CH/numbers.yml +62 -0
- data/resources/locales/de-CH/plurals.yml +5 -0
- data/resources/locales/de-CH/rbnf.yml +4 -0
- data/resources/locales/de-CH/territories.yml +264 -0
- data/resources/locales/de-CH/units.yml +108 -0
- data/resources/locales/de/plurals.yml +3 -2
- data/resources/locales/de/units.yml +108 -108
- data/resources/locales/el/plurals.yml +2 -1
- data/resources/locales/el/units.yml +108 -108
- data/resources/locales/en-AU/calendars.yml +208 -0
- data/resources/locales/en-AU/currencies.yml +953 -0
- data/resources/locales/en-AU/languages.yml +583 -0
- data/resources/locales/en-AU/layout.yml +5 -0
- data/resources/locales/en-AU/lists.yml +23 -0
- data/resources/locales/en-AU/numbers.yml +62 -0
- data/resources/locales/en-AU/plurals.yml +5 -0
- data/resources/locales/en-AU/rbnf.yml +4 -0
- data/resources/locales/en-AU/territories.yml +264 -0
- data/resources/locales/en-AU/units.yml +108 -0
- data/resources/locales/en-CA/calendars.yml +208 -0
- data/resources/locales/en-CA/currencies.yml +953 -0
- data/resources/locales/en-CA/languages.yml +583 -0
- data/resources/locales/en-CA/layout.yml +5 -0
- data/resources/locales/en-CA/lists.yml +23 -0
- data/resources/locales/en-CA/numbers.yml +62 -0
- data/resources/locales/en-CA/plurals.yml +5 -0
- data/resources/locales/en-CA/rbnf.yml +4 -0
- data/resources/locales/en-CA/territories.yml +264 -0
- data/resources/locales/en-CA/units.yml +108 -0
- data/resources/locales/en-GB/plurals.yml +3 -2
- data/resources/locales/en-GB/units.yml +108 -108
- data/resources/locales/en-IE/calendars.yml +208 -0
- data/resources/locales/en-IE/currencies.yml +953 -0
- data/resources/locales/en-IE/languages.yml +583 -0
- data/resources/locales/en-IE/layout.yml +5 -0
- data/resources/locales/en-IE/lists.yml +23 -0
- data/resources/locales/en-IE/numbers.yml +62 -0
- data/resources/locales/en-IE/plurals.yml +5 -0
- data/resources/locales/en-IE/rbnf.yml +4 -0
- data/resources/locales/en-IE/territories.yml +264 -0
- data/resources/locales/en-IE/units.yml +108 -0
- data/resources/locales/en-SG/calendars.yml +208 -0
- data/resources/locales/en-SG/currencies.yml +953 -0
- data/resources/locales/en-SG/languages.yml +583 -0
- data/resources/locales/en-SG/layout.yml +5 -0
- data/resources/locales/en-SG/lists.yml +23 -0
- data/resources/locales/en-SG/numbers.yml +62 -0
- data/resources/locales/en-SG/plurals.yml +5 -0
- data/resources/locales/en-SG/rbnf.yml +4 -0
- data/resources/locales/en-SG/territories.yml +264 -0
- data/resources/locales/en-SG/units.yml +108 -0
- data/resources/locales/en-ZA/calendars.yml +208 -0
- data/resources/locales/en-ZA/currencies.yml +954 -0
- data/resources/locales/en-ZA/languages.yml +583 -0
- data/resources/locales/en-ZA/layout.yml +5 -0
- data/resources/locales/en-ZA/lists.yml +23 -0
- data/resources/locales/en-ZA/numbers.yml +62 -0
- data/resources/locales/en-ZA/plurals.yml +5 -0
- data/resources/locales/en-ZA/rbnf.yml +4 -0
- data/resources/locales/en-ZA/territories.yml +264 -0
- data/resources/locales/en-ZA/units.yml +108 -0
- data/resources/locales/en/plurals.yml +3 -2
- data/resources/locales/en/units.yml +108 -108
- data/resources/locales/es-CO/calendars.yml +290 -0
- data/resources/locales/es-CO/currencies.yml +953 -0
- data/resources/locales/es-CO/languages.yml +583 -0
- data/resources/locales/es-CO/layout.yml +5 -0
- data/resources/locales/es-CO/lists.yml +23 -0
- data/resources/locales/es-CO/numbers.yml +62 -0
- data/resources/locales/es-CO/plurals.yml +4 -0
- data/resources/locales/es-CO/rbnf.yml +4 -0
- data/resources/locales/es-CO/territories.yml +264 -0
- data/resources/locales/es-CO/units.yml +108 -0
- data/resources/locales/es-MX/calendars.yml +290 -0
- data/resources/locales/es-MX/currencies.yml +1075 -0
- data/resources/locales/es-MX/languages.yml +583 -0
- data/resources/locales/es-MX/layout.yml +5 -0
- data/resources/locales/es-MX/lists.yml +23 -0
- data/resources/locales/es-MX/numbers.yml +62 -0
- data/resources/locales/es-MX/plurals.yml +4 -0
- data/resources/locales/es-MX/rbnf.yml +4 -0
- data/resources/locales/es-MX/territories.yml +264 -0
- data/resources/locales/es-MX/units.yml +108 -0
- data/resources/locales/es-US/calendars.yml +296 -0
- data/resources/locales/es-US/currencies.yml +953 -0
- data/resources/locales/es-US/languages.yml +583 -0
- data/resources/locales/es-US/layout.yml +5 -0
- data/resources/locales/es-US/lists.yml +23 -0
- data/resources/locales/es-US/numbers.yml +62 -0
- data/resources/locales/es-US/plurals.yml +4 -0
- data/resources/locales/es-US/rbnf.yml +4 -0
- data/resources/locales/es-US/territories.yml +264 -0
- data/resources/locales/es-US/units.yml +108 -0
- data/resources/locales/es/plurals.yml +2 -1
- data/resources/locales/es/units.yml +108 -108
- data/resources/locales/eu/plurals.yml +2 -1
- data/resources/locales/eu/units.yml +108 -108
- data/resources/locales/fa/plurals.yml +2 -1
- data/resources/locales/fa/units.yml +108 -108
- data/resources/locales/fi/plurals.yml +3 -2
- data/resources/locales/fi/units.yml +108 -108
- data/resources/locales/fil/plurals.yml +3 -2
- data/resources/locales/fil/units.yml +108 -108
- data/resources/locales/fr-BE/calendars.yml +305 -0
- data/resources/locales/fr-BE/currencies.yml +968 -0
- data/resources/locales/fr-BE/languages.yml +583 -0
- data/resources/locales/fr-BE/layout.yml +5 -0
- data/resources/locales/fr-BE/lists.yml +23 -0
- data/resources/locales/fr-BE/numbers.yml +62 -0
- data/resources/locales/fr-BE/plurals.yml +4 -0
- data/resources/locales/fr-BE/rbnf.yml +596 -0
- data/resources/locales/fr-BE/territories.yml +264 -0
- data/resources/locales/fr-BE/units.yml +108 -0
- data/resources/locales/fr-CA/calendars.yml +308 -0
- data/resources/locales/fr-CA/currencies.yml +968 -0
- data/resources/locales/fr-CA/languages.yml +583 -0
- data/resources/locales/fr-CA/layout.yml +5 -0
- data/resources/locales/fr-CA/lists.yml +23 -0
- data/resources/locales/fr-CA/numbers.yml +62 -0
- data/resources/locales/fr-CA/plurals.yml +4 -0
- data/resources/locales/fr-CA/rbnf.yml +4 -0
- data/resources/locales/fr-CA/territories.yml +264 -0
- data/resources/locales/fr-CA/units.yml +108 -0
- data/resources/locales/fr-CH/calendars.yml +307 -0
- data/resources/locales/fr-CH/currencies.yml +969 -0
- data/resources/locales/fr-CH/languages.yml +583 -0
- data/resources/locales/fr-CH/layout.yml +5 -0
- data/resources/locales/fr-CH/lists.yml +23 -0
- data/resources/locales/fr-CH/numbers.yml +62 -0
- data/resources/locales/fr-CH/plurals.yml +4 -0
- data/resources/locales/fr-CH/rbnf.yml +599 -0
- data/resources/locales/fr-CH/territories.yml +264 -0
- data/resources/locales/fr-CH/units.yml +108 -0
- data/resources/locales/fr/plurals.yml +2 -1
- data/resources/locales/fr/units.yml +108 -108
- data/resources/locales/ga/plurals.yml +4 -3
- data/resources/locales/ga/units.yml +108 -108
- data/resources/locales/gl/plurals.yml +3 -2
- data/resources/locales/gl/units.yml +108 -108
- data/resources/locales/he/plurals.yml +5 -5
- data/resources/locales/he/units.yml +164 -164
- data/resources/locales/hi/plurals.yml +2 -1
- data/resources/locales/hi/units.yml +108 -108
- data/resources/locales/hr/plurals.yml +7 -11
- data/resources/locales/hr/units.yml +164 -164
- data/resources/locales/hu/plurals.yml +2 -1
- data/resources/locales/hu/units.yml +108 -108
- data/resources/locales/id/plurals.yml +2 -1
- data/resources/locales/id/units.yml +108 -108
- data/resources/locales/is/plurals.yml +4 -4
- data/resources/locales/is/units.yml +108 -108
- data/resources/locales/it-CH/calendars.yml +291 -0
- data/resources/locales/it-CH/currencies.yml +954 -0
- data/resources/locales/it-CH/languages.yml +583 -0
- data/resources/locales/it-CH/layout.yml +5 -0
- data/resources/locales/it-CH/lists.yml +23 -0
- data/resources/locales/it-CH/numbers.yml +62 -0
- data/resources/locales/it-CH/plurals.yml +5 -0
- data/resources/locales/it-CH/rbnf.yml +4 -0
- data/resources/locales/it-CH/territories.yml +264 -0
- data/resources/locales/it-CH/units.yml +108 -0
- data/resources/locales/it/plurals.yml +3 -2
- data/resources/locales/it/units.yml +108 -108
- data/resources/locales/ja/plurals.yml +2 -1
- data/resources/locales/ja/units.yml +108 -108
- data/resources/locales/ko/plurals.yml +2 -1
- data/resources/locales/ko/units.yml +108 -108
- data/resources/locales/lv/plurals.yml +8 -10
- data/resources/locales/lv/units.yml +136 -136
- data/resources/locales/ms/plurals.yml +2 -1
- data/resources/locales/ms/units.yml +108 -108
- data/resources/locales/nb/plurals.yml +2 -1
- data/resources/locales/nb/units.yml +108 -108
- data/resources/locales/nl/plurals.yml +3 -2
- data/resources/locales/nl/units.yml +108 -108
- data/resources/locales/pl/plurals.yml +8 -10
- data/resources/locales/pl/units.yml +164 -164
- data/resources/locales/pt/plurals.yml +4 -3
- data/resources/locales/pt/units.yml +108 -108
- data/resources/locales/ro/plurals.yml +5 -4
- data/resources/locales/ro/units.yml +136 -136
- data/resources/locales/ru/plurals.yml +6 -7
- data/resources/locales/ru/units.yml +164 -164
- data/resources/locales/sk/plurals.yml +5 -5
- data/resources/locales/sk/units.yml +136 -136
- data/resources/locales/sq/plurals.yml +2 -1
- data/resources/locales/sq/units.yml +108 -108
- data/resources/locales/sr/plurals.yml +7 -11
- data/resources/locales/sr/units.yml +164 -164
- data/resources/locales/sv/plurals.yml +3 -2
- data/resources/locales/sv/units.yml +108 -108
- data/resources/locales/ta/plurals.yml +2 -1
- data/resources/locales/ta/units.yml +108 -108
- data/resources/locales/th/plurals.yml +2 -1
- data/resources/locales/th/units.yml +108 -108
- data/resources/locales/tr/plurals.yml +2 -1
- data/resources/locales/tr/units.yml +108 -108
- data/resources/locales/uk/plurals.yml +8 -9
- data/resources/locales/uk/units.yml +164 -164
- data/resources/locales/ur/plurals.yml +3 -2
- data/resources/locales/ur/units.yml +108 -108
- data/resources/locales/vi/plurals.yml +2 -1
- data/resources/locales/vi/units.yml +108 -108
- data/resources/locales/zh-Hant/plurals.yml +3 -2
- data/resources/locales/zh-Hant/units.yml +108 -108
- data/resources/locales/zh/plurals.yml +2 -1
- data/resources/locales/zh/units.yml +108 -108
- data/resources/shared/language_codes_table.dump +0 -0
- data/resources/shared/phone_codes.yml +9 -1
- data/resources/shared/postal_codes.yml +1276 -333
- data/resources/shared/segments/segments_root.yml +3 -0
- data/spec/data_readers/timespan_data_reader_spec.rb +16 -0
- data/spec/formatters/calendars/datetime_formatter_spec.rb +2 -2
- data/spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb +25 -17
- data/spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb +47 -34
- data/spec/formatters/numbers/currency_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/decimal_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/number_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/percent_formatter_spec.rb +1 -1
- data/spec/formatters/numbers/rbnf/locales/de-CH/rbnf_test.yml +940 -0
- data/spec/formatters/numbers/rbnf/locales/en-AU/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-CA/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-IE/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-SG/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/en-ZA/rbnf_test.yml +1291 -0
- data/spec/formatters/numbers/rbnf/locales/es-CO/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/es-MX/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/es-US/rbnf_test.yml +1642 -0
- data/spec/formatters/numbers/rbnf/locales/fr-BE/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/fr-CA/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/fr-CH/rbnf_test.yml +1408 -0
- data/spec/formatters/numbers/rbnf/locales/it-CH/rbnf_test.yml +1174 -0
- data/spec/formatters/plurals/rules_spec.rb +4 -0
- data/spec/localized/localized_datetime_spec.rb +1 -1
- data/spec/localized/localized_number_spec.rb +28 -0
- data/spec/localized/localized_time_spec.rb +1 -1
- data/spec/shared/calendar_spec.rb +4 -1
- data/spec/tokenizers/calendars/date_tokenizer_spec.rb +3 -3
- data/spec/tokenizers/calendars/datetime_tokenizer_spec.rb +1 -2
- data/spec/tokenizers/calendars/time_tokenizer_spec.rb +2 -2
- data/spec/tokenizers/numbers/number_tokenizer_spec.rb +4 -4
- metadata +399 -230
- data/spec/data_readers/timespan_data_reader.rb +0 -22
@@ -1,3 +1,4 @@
|
|
1
1
|
---
|
2
2
|
:sq: ! '{ :''sq'' => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda
|
3
|
-
{ |n| n.
|
3
|
+
{ |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length]
|
4
|
+
: m); n.to_f == 1 ? :one : :other } } } } }'
|
@@ -1,108 +1,108 @@
|
|
1
|
-
---
|
2
|
-
:sq:
|
3
|
-
:units:
|
4
|
-
:day:
|
5
|
-
:default:
|
6
|
-
:one:
|
7
|
-
:other:
|
8
|
-
:short:
|
9
|
-
:one:
|
10
|
-
:other:
|
11
|
-
:day-future:
|
12
|
-
:default:
|
13
|
-
:one: In {0} day
|
14
|
-
:other: In {0} days
|
15
|
-
:day-past:
|
16
|
-
:default:
|
17
|
-
:one:
|
18
|
-
:other:
|
19
|
-
:hour:
|
20
|
-
:default:
|
21
|
-
:one:
|
22
|
-
:other:
|
23
|
-
:short:
|
24
|
-
:one:
|
25
|
-
:other:
|
26
|
-
:hour-future:
|
27
|
-
:default:
|
28
|
-
:one: In {0} hour
|
29
|
-
:other: In {0} hours
|
30
|
-
:hour-past:
|
31
|
-
:default:
|
32
|
-
:one:
|
33
|
-
:other:
|
34
|
-
:minute:
|
35
|
-
:default:
|
36
|
-
:one:
|
37
|
-
:other:
|
38
|
-
:short:
|
39
|
-
:one:
|
40
|
-
:other:
|
41
|
-
:minute-future:
|
42
|
-
:default:
|
43
|
-
:one: In {0} minute
|
44
|
-
:other: In {0} minutes
|
45
|
-
:minute-past:
|
46
|
-
:default:
|
47
|
-
:one:
|
48
|
-
:other:
|
49
|
-
:month:
|
50
|
-
:default:
|
51
|
-
:one:
|
52
|
-
:other:
|
53
|
-
:short:
|
54
|
-
:one:
|
55
|
-
:other:
|
56
|
-
:month-future:
|
57
|
-
:default:
|
58
|
-
:one: In {0} month
|
59
|
-
:other: In {0} months
|
60
|
-
:month-past:
|
61
|
-
:default:
|
62
|
-
:one:
|
63
|
-
:other:
|
64
|
-
:second:
|
65
|
-
:default:
|
66
|
-
:one:
|
67
|
-
:other:
|
68
|
-
:short:
|
69
|
-
:one:
|
70
|
-
:other:
|
71
|
-
:second-future:
|
72
|
-
:default:
|
73
|
-
:one: In {0} second
|
74
|
-
:other: In {0} seconds
|
75
|
-
:second-past:
|
76
|
-
:default:
|
77
|
-
:one:
|
78
|
-
:other:
|
79
|
-
:week:
|
80
|
-
:default:
|
81
|
-
:one:
|
82
|
-
:other:
|
83
|
-
:short:
|
84
|
-
:one:
|
85
|
-
:other:
|
86
|
-
:week-future:
|
87
|
-
:default:
|
88
|
-
:one: In {0} week
|
89
|
-
:other: In {0} weeks
|
90
|
-
:week-past:
|
91
|
-
:default:
|
92
|
-
:one:
|
93
|
-
:other:
|
94
|
-
:year:
|
95
|
-
:default:
|
96
|
-
:one:
|
97
|
-
:other:
|
98
|
-
:short:
|
99
|
-
:one:
|
100
|
-
:other:
|
101
|
-
:year-future:
|
102
|
-
:default:
|
103
|
-
:one: In {0} year
|
104
|
-
:other: In {0} years
|
105
|
-
:year-past:
|
106
|
-
:default:
|
107
|
-
:one:
|
108
|
-
:other:
|
1
|
+
---
|
2
|
+
:sq:
|
3
|
+
:units:
|
4
|
+
:day:
|
5
|
+
:default:
|
6
|
+
:one: "{0} ditë"
|
7
|
+
:other: "{0} ditë"
|
8
|
+
:short:
|
9
|
+
:one: "{0} day"
|
10
|
+
:other: "{0} days"
|
11
|
+
:day-future:
|
12
|
+
:default:
|
13
|
+
:one: "In {0} day"
|
14
|
+
:other: "In {0} days"
|
15
|
+
:day-past:
|
16
|
+
:default:
|
17
|
+
:one: "{0} day ago"
|
18
|
+
:other: "{0} days ago"
|
19
|
+
:hour:
|
20
|
+
:default:
|
21
|
+
:one: "{0} orë"
|
22
|
+
:other: "{0} orë"
|
23
|
+
:short:
|
24
|
+
:one: "{0} hr"
|
25
|
+
:other: "{0} hrs"
|
26
|
+
:hour-future:
|
27
|
+
:default:
|
28
|
+
:one: "In {0} hour"
|
29
|
+
:other: "In {0} hours"
|
30
|
+
:hour-past:
|
31
|
+
:default:
|
32
|
+
:one: "{0} hour ago"
|
33
|
+
:other: "{0} hours ago"
|
34
|
+
:minute:
|
35
|
+
:default:
|
36
|
+
:one: "{0} minutë"
|
37
|
+
:other: "{0} minuta"
|
38
|
+
:short:
|
39
|
+
:one: "{0} min"
|
40
|
+
:other: "{0} mins"
|
41
|
+
:minute-future:
|
42
|
+
:default:
|
43
|
+
:one: "In {0} minute"
|
44
|
+
:other: "In {0} minutes"
|
45
|
+
:minute-past:
|
46
|
+
:default:
|
47
|
+
:one: "{0} minute ago"
|
48
|
+
:other: "{0} minutes ago"
|
49
|
+
:month:
|
50
|
+
:default:
|
51
|
+
:one: "{0} muaj"
|
52
|
+
:other: "{0} muaj"
|
53
|
+
:short:
|
54
|
+
:one: "{0} mth"
|
55
|
+
:other: "{0} mths"
|
56
|
+
:month-future:
|
57
|
+
:default:
|
58
|
+
:one: "In {0} month"
|
59
|
+
:other: "In {0} months"
|
60
|
+
:month-past:
|
61
|
+
:default:
|
62
|
+
:one: "{0} month ago"
|
63
|
+
:other: "{0} months ago"
|
64
|
+
:second:
|
65
|
+
:default:
|
66
|
+
:one: "{0} sekondë"
|
67
|
+
:other: "{0} sekonda"
|
68
|
+
:short:
|
69
|
+
:one: "{0} sec"
|
70
|
+
:other: "{0} secs"
|
71
|
+
:second-future:
|
72
|
+
:default:
|
73
|
+
:one: "In {0} second"
|
74
|
+
:other: "In {0} seconds"
|
75
|
+
:second-past:
|
76
|
+
:default:
|
77
|
+
:one: "{0} second ago"
|
78
|
+
:other: "{0} seconds ago"
|
79
|
+
:week:
|
80
|
+
:default:
|
81
|
+
:one: "{0} javë"
|
82
|
+
:other: "{0} javë"
|
83
|
+
:short:
|
84
|
+
:one: "{0} wk"
|
85
|
+
:other: "{0} wks"
|
86
|
+
:week-future:
|
87
|
+
:default:
|
88
|
+
:one: "In {0} week"
|
89
|
+
:other: "In {0} weeks"
|
90
|
+
:week-past:
|
91
|
+
:default:
|
92
|
+
:one: "{0} week ago"
|
93
|
+
:other: "{0} weeks ago"
|
94
|
+
:year:
|
95
|
+
:default:
|
96
|
+
:one: "{0} vit"
|
97
|
+
:other: "{0} vjet"
|
98
|
+
:short:
|
99
|
+
:one: "{0} yr"
|
100
|
+
:other: "{0} yrs"
|
101
|
+
:year-future:
|
102
|
+
:default:
|
103
|
+
:one: "In {0} year"
|
104
|
+
:other: "In {0} years"
|
105
|
+
:year-past:
|
106
|
+
:default:
|
107
|
+
:one: "{0} year ago"
|
108
|
+
:other: "{0} years ago"
|
@@ -1,13 +1,9 @@
|
|
1
1
|
---
|
2
2
|
:sr: ! '{ :''sr'' => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule
|
3
|
-
=> lambda { |n| (((
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
%
|
9
|
-
= n.to_s.split(".")[1]
|
10
|
-
= n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 10)) && (((((f = n.to_s.split(".")[1]
|
11
|
-
|| []).count > 1 ? f.last.to_i : 0) % 100) % 1).zero? && !(12..14).include?(((f
|
12
|
-
= n.to_s.split(".")[1] || []).count > 1 ? f.last.to_i : 0) % 100)))) ? :few : :other
|
13
|
-
} } } } }'
|
3
|
+
=> lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length]
|
4
|
+
: m); ((((v = n.to_s.split(".")[1]) ? v.length : 0) == 0 && n.to_i % 10 == 1 &&
|
5
|
+
n.to_i % 100 != 11) || (((f = n.to_s.split(".")[1]) ? f.to_i : 0) % 10 == 1 && ((f
|
6
|
+
= n.to_s.split(".")[1]) ? f.to_i : 0) % 100 != 11)) ? :one : ((((v = n.to_s.split(".")[1])
|
7
|
+
? v.length : 0) == 0 && (2..4).include?(n.to_i % 10) && !(12..14).include?(n.to_i
|
8
|
+
% 100)) || ((2..4).include?(((f = n.to_s.split(".")[1]) ? f.to_i : 0) % 10) && !(12..14).include?(((f
|
9
|
+
= n.to_s.split(".")[1]) ? f.to_i : 0) % 100))) ? :few : :other } } } } }'
|
@@ -1,164 +1,164 @@
|
|
1
|
-
---
|
2
|
-
:sr:
|
3
|
-
:units:
|
4
|
-
:day:
|
5
|
-
:default:
|
6
|
-
:few:
|
7
|
-
:many:
|
8
|
-
:one:
|
9
|
-
:other:
|
10
|
-
:short:
|
11
|
-
:few:
|
12
|
-
:many:
|
13
|
-
:one:
|
14
|
-
:other:
|
15
|
-
:day-future:
|
16
|
-
:default:
|
17
|
-
:few: за {0} дана
|
18
|
-
:many: за {0} дана
|
19
|
-
:one: за {0} дан
|
20
|
-
:other: за {0} дана
|
21
|
-
:day-past:
|
22
|
-
:default:
|
23
|
-
:few: пре {0} дана
|
24
|
-
:many: пре {0} дана
|
25
|
-
:one: пре {0} дан
|
26
|
-
:other: пре {0} дана
|
27
|
-
:hour:
|
28
|
-
:default:
|
29
|
-
:few:
|
30
|
-
:many:
|
31
|
-
:one:
|
32
|
-
:other:
|
33
|
-
:short:
|
34
|
-
:few:
|
35
|
-
:many:
|
36
|
-
:one:
|
37
|
-
:other:
|
38
|
-
:hour-future:
|
39
|
-
:default:
|
40
|
-
:few: за {0} сата
|
41
|
-
:many: за {0} сати
|
42
|
-
:one: за {0} сат
|
43
|
-
:other: за {0} сати
|
44
|
-
:hour-past:
|
45
|
-
:default:
|
46
|
-
:few: пре {0} сата
|
47
|
-
:many: пре {0} сати
|
48
|
-
:one: пре {0} сат
|
49
|
-
:other: пре {0} сати
|
50
|
-
:minute:
|
51
|
-
:default:
|
52
|
-
:few:
|
53
|
-
:many:
|
54
|
-
:one:
|
55
|
-
:other:
|
56
|
-
:short:
|
57
|
-
:few:
|
58
|
-
:many:
|
59
|
-
:one:
|
60
|
-
:other:
|
61
|
-
:minute-future:
|
62
|
-
:default:
|
63
|
-
:few: за {0} минута
|
64
|
-
:many: за {0} минута
|
65
|
-
:one: за {0} минут
|
66
|
-
:other: за {0} минута
|
67
|
-
:minute-past:
|
68
|
-
:default:
|
69
|
-
:few: пре {0} минута
|
70
|
-
:many: пре {0} минута
|
71
|
-
:one: пре {0} минут
|
72
|
-
:other: пре {0} минута
|
73
|
-
:month:
|
74
|
-
:default:
|
75
|
-
:few:
|
76
|
-
:many:
|
77
|
-
:one:
|
78
|
-
:other:
|
79
|
-
:short:
|
80
|
-
:few:
|
81
|
-
:many:
|
82
|
-
:one:
|
83
|
-
:other:
|
84
|
-
:month-future:
|
85
|
-
:default:
|
86
|
-
:few: за {0} месеца
|
87
|
-
:many: за {0} месеци
|
88
|
-
:one: за {0} месец
|
89
|
-
:other: за {0} месеци
|
90
|
-
:month-past:
|
91
|
-
:default:
|
92
|
-
:few: пре {0} месеца
|
93
|
-
:many: пре {0} месеци
|
94
|
-
:one: пре {0} месец
|
95
|
-
:other: пре {0} месеци
|
96
|
-
:second:
|
97
|
-
:default:
|
98
|
-
:few:
|
99
|
-
:many:
|
100
|
-
:one:
|
101
|
-
:other:
|
102
|
-
:short:
|
103
|
-
:few:
|
104
|
-
:many:
|
105
|
-
:one:
|
106
|
-
:other:
|
107
|
-
:second-future:
|
108
|
-
:default:
|
109
|
-
:few: за {0} секунде
|
110
|
-
:many: за {0} секунди
|
111
|
-
:one: за {0} секунд
|
112
|
-
:other: за {0} секунди
|
113
|
-
:second-past:
|
114
|
-
:default:
|
115
|
-
:few: пре {0} секунде
|
116
|
-
:many: пре {0} секунди
|
117
|
-
:one: пре {0} секунд
|
118
|
-
:other: пре {0} секунди
|
119
|
-
:week:
|
120
|
-
:default:
|
121
|
-
:few:
|
122
|
-
:many:
|
123
|
-
:one:
|
124
|
-
:other:
|
125
|
-
:short:
|
126
|
-
:few:
|
127
|
-
:many:
|
128
|
-
:one:
|
129
|
-
:other:
|
130
|
-
:week-future:
|
131
|
-
:default:
|
132
|
-
:few: за {0} недеље
|
133
|
-
:many: за {0} недеља
|
134
|
-
:one: за {0} недељу
|
135
|
-
:other: за {0} недеља
|
136
|
-
:week-past:
|
137
|
-
:default:
|
138
|
-
:few: пре {0} недеље
|
139
|
-
:many: пре {0} недеља
|
140
|
-
:one: пре {0} недељу
|
141
|
-
:other: пре {0} недеља
|
142
|
-
:year:
|
143
|
-
:default:
|
144
|
-
:few:
|
145
|
-
:many:
|
146
|
-
:one:
|
147
|
-
:other:
|
148
|
-
:short:
|
149
|
-
:few:
|
150
|
-
:many:
|
151
|
-
:one:
|
152
|
-
:other:
|
153
|
-
:year-future:
|
154
|
-
:default:
|
155
|
-
:few: за {0} године
|
156
|
-
:many: за {0} година
|
157
|
-
:one: за {0} годину
|
158
|
-
:other: за {0} година
|
159
|
-
:year-past:
|
160
|
-
:default:
|
161
|
-
:few: пре {0} године
|
162
|
-
:many: пре {0} година
|
163
|
-
:one: пре {0} годину
|
164
|
-
:other: пре {0} година
|
1
|
+
---
|
2
|
+
:sr:
|
3
|
+
:units:
|
4
|
+
:day:
|
5
|
+
:default:
|
6
|
+
:few: "{0} дана"
|
7
|
+
:many: "{0} дана"
|
8
|
+
:one: "{0} дан"
|
9
|
+
:other: "{0} дан"
|
10
|
+
:short:
|
11
|
+
:few: "{0} дана"
|
12
|
+
:many: "{0} дана"
|
13
|
+
:one: "{0} дан"
|
14
|
+
:other: "{0} дан"
|
15
|
+
:day-future:
|
16
|
+
:default:
|
17
|
+
:few: "за {0} дана"
|
18
|
+
:many: "за {0} дана"
|
19
|
+
:one: "за {0} дан"
|
20
|
+
:other: "за {0} дана"
|
21
|
+
:day-past:
|
22
|
+
:default:
|
23
|
+
:few: "пре {0} дана"
|
24
|
+
:many: "пре {0} дана"
|
25
|
+
:one: "пре {0} дан"
|
26
|
+
:other: "пре {0} дана"
|
27
|
+
:hour:
|
28
|
+
:default:
|
29
|
+
:few: "{0} сата"
|
30
|
+
:many: "{0} сати"
|
31
|
+
:one: "{0} сат"
|
32
|
+
:other: "{0} сат"
|
33
|
+
:short:
|
34
|
+
:few: "{0} сата"
|
35
|
+
:many: "{0} сати"
|
36
|
+
:one: "{0} сат"
|
37
|
+
:other: "{0} сат"
|
38
|
+
:hour-future:
|
39
|
+
:default:
|
40
|
+
:few: "за {0} сата"
|
41
|
+
:many: "за {0} сати"
|
42
|
+
:one: "за {0} сат"
|
43
|
+
:other: "за {0} сати"
|
44
|
+
:hour-past:
|
45
|
+
:default:
|
46
|
+
:few: "пре {0} сата"
|
47
|
+
:many: "пре {0} сати"
|
48
|
+
:one: "пре {0} сат"
|
49
|
+
:other: "пре {0} сати"
|
50
|
+
:minute:
|
51
|
+
:default:
|
52
|
+
:few: "{0} минута"
|
53
|
+
:many: "{0} минута"
|
54
|
+
:one: "{0} минут"
|
55
|
+
:other: "{0} минут"
|
56
|
+
:short:
|
57
|
+
:few: "{0} мин"
|
58
|
+
:many: "{0} мин"
|
59
|
+
:one: "{0} мин"
|
60
|
+
:other: "{0} мин"
|
61
|
+
:minute-future:
|
62
|
+
:default:
|
63
|
+
:few: "за {0} минута"
|
64
|
+
:many: "за {0} минута"
|
65
|
+
:one: "за {0} минут"
|
66
|
+
:other: "за {0} минута"
|
67
|
+
:minute-past:
|
68
|
+
:default:
|
69
|
+
:few: "пре {0} минута"
|
70
|
+
:many: "пре {0} минута"
|
71
|
+
:one: "пре {0} минут"
|
72
|
+
:other: "пре {0} минута"
|
73
|
+
:month:
|
74
|
+
:default:
|
75
|
+
:few: "{0} месеца"
|
76
|
+
:many: "{0} месеци"
|
77
|
+
:one: "{0} месец"
|
78
|
+
:other: "{0} месец"
|
79
|
+
:short:
|
80
|
+
:few: "{0} мес"
|
81
|
+
:many: "{0} мес"
|
82
|
+
:one: "{0} мес"
|
83
|
+
:other: "{0} мес"
|
84
|
+
:month-future:
|
85
|
+
:default:
|
86
|
+
:few: "за {0} месеца"
|
87
|
+
:many: "за {0} месеци"
|
88
|
+
:one: "за {0} месец"
|
89
|
+
:other: "за {0} месеци"
|
90
|
+
:month-past:
|
91
|
+
:default:
|
92
|
+
:few: "пре {0} месеца"
|
93
|
+
:many: "пре {0} месеци"
|
94
|
+
:one: "пре {0} месец"
|
95
|
+
:other: "пре {0} месеци"
|
96
|
+
:second:
|
97
|
+
:default:
|
98
|
+
:few: "{0} секунде"
|
99
|
+
:many: "{0} секунди"
|
100
|
+
:one: "{0} секунда"
|
101
|
+
:other: "{0} секунда"
|
102
|
+
:short:
|
103
|
+
:few: "{0} сек"
|
104
|
+
:many: "{0} сек"
|
105
|
+
:one: "{0} сек"
|
106
|
+
:other: "{0} сек"
|
107
|
+
:second-future:
|
108
|
+
:default:
|
109
|
+
:few: "за {0} секунде"
|
110
|
+
:many: "за {0} секунди"
|
111
|
+
:one: "за {0} секунд"
|
112
|
+
:other: "за {0} секунди"
|
113
|
+
:second-past:
|
114
|
+
:default:
|
115
|
+
:few: "пре {0} секунде"
|
116
|
+
:many: "пре {0} секунди"
|
117
|
+
:one: "пре {0} секунд"
|
118
|
+
:other: "пре {0} секунди"
|
119
|
+
:week:
|
120
|
+
:default:
|
121
|
+
:few: "{0} недеље"
|
122
|
+
:many: "{0} недеља"
|
123
|
+
:one: "{0} недеља"
|
124
|
+
:other: "{0} недеља"
|
125
|
+
:short:
|
126
|
+
:few: "{0} нед"
|
127
|
+
:many: "{0} нед"
|
128
|
+
:one: "{0} нед"
|
129
|
+
:other: "{0} нед"
|
130
|
+
:week-future:
|
131
|
+
:default:
|
132
|
+
:few: "за {0} недеље"
|
133
|
+
:many: "за {0} недеља"
|
134
|
+
:one: "за {0} недељу"
|
135
|
+
:other: "за {0} недеља"
|
136
|
+
:week-past:
|
137
|
+
:default:
|
138
|
+
:few: "пре {0} недеље"
|
139
|
+
:many: "пре {0} недеља"
|
140
|
+
:one: "пре {0} недељу"
|
141
|
+
:other: "пре {0} недеља"
|
142
|
+
:year:
|
143
|
+
:default:
|
144
|
+
:few: "{0} године"
|
145
|
+
:many: "{0} година"
|
146
|
+
:one: "{0} година"
|
147
|
+
:other: "{0} година"
|
148
|
+
:short:
|
149
|
+
:few: "{0} год"
|
150
|
+
:many: "{0} год"
|
151
|
+
:one: "{0} год"
|
152
|
+
:other: "{0} год"
|
153
|
+
:year-future:
|
154
|
+
:default:
|
155
|
+
:few: "за {0} године"
|
156
|
+
:many: "за {0} година"
|
157
|
+
:one: "за {0} годину"
|
158
|
+
:other: "за {0} година"
|
159
|
+
:year-past:
|
160
|
+
:default:
|
161
|
+
:few: "пре {0} године"
|
162
|
+
:many: "пре {0} година"
|
163
|
+
:one: "пре {0} годину"
|
164
|
+
:other: "пре {0} година"
|