refinerycms-i18n 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +27 -9
  3. data/Gemfile +17 -7
  4. data/Rakefile +2 -0
  5. data/app/assets/images/refinery/icons/flags/ko.png +0 -0
  6. data/app/assets/images/refinery/icons/flags/{ua.png → uk.png} +0 -0
  7. data/lib/generators/refinery/i18n_generator.rb +2 -1
  8. data/lib/generators/refinery/templates/config/initializers/refinery/i18n.rb.erb +0 -2
  9. data/lib/refinery/i18n-filter.rb +4 -4
  10. data/lib/refinery/i18n.rb +10 -6
  11. data/lib/refinery/i18n/configuration.rb +10 -2
  12. data/lib/refinery/i18n/engine.rb +20 -18
  13. data/refinerycms-i18n.gemspec +8 -6
  14. data/script/rails +5 -0
  15. data/spec/{requests → features}/dashboard_locale_picker_spec.rb +2 -2
  16. data/spec/spec_helper.rb +20 -46
  17. data/spec/support/refinery/i18n/set_defaults.rb +17 -0
  18. metadata +25 -97
  19. data/config/locales/ar.yml +0 -124
  20. data/config/locales/bg.yml +0 -280
  21. data/config/locales/bn-IN.yml +0 -183
  22. data/config/locales/bs.yml +0 -117
  23. data/config/locales/ca.yml +0 -170
  24. data/config/locales/cs.rb +0 -168
  25. data/config/locales/cy.yml +0 -181
  26. data/config/locales/da.yml +0 -195
  27. data/config/locales/de-AT.yml +0 -154
  28. data/config/locales/de-CH.yml +0 -154
  29. data/config/locales/de.yml +0 -193
  30. data/config/locales/dsb.yml +0 -185
  31. data/config/locales/el.yml +0 -133
  32. data/config/locales/en-AU.yml +0 -180
  33. data/config/locales/en-GB.yml +0 -210
  34. data/config/locales/en-US.yml +0 -182
  35. data/config/locales/eo.yml +0 -182
  36. data/config/locales/es-AR.yml +0 -177
  37. data/config/locales/es-CO.yml +0 -179
  38. data/config/locales/es-MX.yml +0 -186
  39. data/config/locales/es-PE.yml +0 -124
  40. data/config/locales/es.yml +0 -285
  41. data/config/locales/et.yml +0 -187
  42. data/config/locales/eu.yml +0 -264
  43. data/config/locales/fa.yml +0 -143
  44. data/config/locales/fi.yml +0 -155
  45. data/config/locales/fr-CA.yml +0 -187
  46. data/config/locales/fr-CH.yml +0 -184
  47. data/config/locales/fr.yml +0 -182
  48. data/config/locales/fun/en-AU.rb +0 -105
  49. data/config/locales/fun/gibberish.rb +0 -109
  50. data/config/locales/fur.yml +0 -144
  51. data/config/locales/gl-ES.yml +0 -196
  52. data/config/locales/gsw-CH.yml +0 -182
  53. data/config/locales/he.yml +0 -106
  54. data/config/locales/hi-IN.yml +0 -181
  55. data/config/locales/hi.yml +0 -181
  56. data/config/locales/hr.yml +0 -119
  57. data/config/locales/hsb.yml +0 -193
  58. data/config/locales/hu.yml +0 -147
  59. data/config/locales/id.yml +0 -142
  60. data/config/locales/is.yml +0 -145
  61. data/config/locales/it.yml +0 -198
  62. data/config/locales/ja.yml +0 -191
  63. data/config/locales/ko.yml +0 -186
  64. data/config/locales/lo.yml +0 -204
  65. data/config/locales/lt.yml +0 -144
  66. data/config/locales/lv.yml +0 -181
  67. data/config/locales/mk.yml +0 -118
  68. data/config/locales/mn.yml +0 -159
  69. data/config/locales/nb.yml +0 -140
  70. data/config/locales/nl.yml +0 -186
  71. data/config/locales/nn.yml +0 -99
  72. data/config/locales/pl.yml +0 -193
  73. data/config/locales/pt-BR.yml +0 -208
  74. data/config/locales/pt-PT.yml +0 -190
  75. data/config/locales/rm.yml +0 -137
  76. data/config/locales/ro.yml +0 -155
  77. data/config/locales/ru.yml +0 -213
  78. data/config/locales/sk.yml +0 -195
  79. data/config/locales/sl.yml +0 -193
  80. data/config/locales/sr-Latn.yml +0 -119
  81. data/config/locales/sr.yml +0 -119
  82. data/config/locales/sv.yml +0 -244
  83. data/config/locales/sw.yml +0 -182
  84. data/config/locales/th.rb +0 -200
  85. data/config/locales/tr.yml +0 -142
  86. data/config/locales/uk.yml +0 -240
  87. data/config/locales/vi.yml +0 -201
  88. data/config/locales/zh-CN.yml +0 -210
  89. data/config/locales/zh-TW.yml +0 -210
  90. data/lib/gemspec.rb +0 -29
@@ -1,193 +0,0 @@
1
- # Slovenian language localization (sl-sl)
2
- # by Miha Rebernik <miha@rebernik.info>
3
- sl:
4
- date:
5
- formats:
6
- default: "%d.%m.%Y"
7
- short: "%d. %b"
8
- long: "%d. %b %Y"
9
- simple: "%d. %b %Y"
10
-
11
- day_names: [nedelja, ponedeljek, torek, sreda, četrtek, petek, sobota]
12
- abbr_day_names: [ned, pon, tor, sre, čet, pet, sob]
13
-
14
- month_names: [~, januar, februar, marec, april, maj, junij, julij, avgust, september, oktober, november, december]
15
- abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, avg, sep, okt, nov, dec]
16
- order:
17
- - :day
18
- - :month
19
- - :year
20
-
21
- time:
22
- formats:
23
- default: "%A, %d %b %Y ob %H:%M:%S"
24
- short: "%d. %b ob %H:%M"
25
- long: "%d. %B, %Y ob %H:%M"
26
- simple: "%d. %B %Y ob %H:%M"
27
-
28
- am: "dopoldan"
29
- pm: "popoldan"
30
-
31
- # Used in array.to_sentence.
32
- support:
33
- array:
34
- words_connector: ", "
35
- two_words_connector: " in "
36
- last_word_connector: " in "
37
-
38
- activerecord:
39
- errors:
40
- template:
41
- header:
42
- one: "Ena napaka preprečuje, da bi shranili %{model}"
43
- two: "Dve napaki preprečujeta, da bi shranili %{model}"
44
- few: "%{count} napake preprečujejo, da bi shranili %{model}"
45
- other: "%{count} napak preprečuje, da bi shranili %{model}"
46
- body: "Napačno izpolnjena polja:"
47
- messages:
48
- inclusion: "ni vključeno v seznam"
49
- exclusion: "je rezervirano"
50
- invalid: "je nepravilno"
51
- confirmation: "se ne ujema s potrditvijo"
52
- accepted: "mora biti sprejeto"
53
- empty: "ne sme biti prazno"
54
- blank: "ne sme biti prazno"
55
- too_long: "je predolgo (dovoljeno je do %{count} znakov)"
56
- too_short: "je prekratko (zahtevano je najmanj %{count} znakov)"
57
- wrong_length: "je napačne dolžine (mora biti natančno %{count} znakov)"
58
- taken: "je že zasedeno"
59
- not_a_number: "ni številka"
60
- greater_than: "mora biti večje kot %{count}"
61
- greater_than_or_equal_to: "mora biti večje ali enako %{count}"
62
- equal_to: "mora biti enako %{count}"
63
- less_than: "mora biti manj kot %{count}"
64
- less_than_or_equal_to: "mora biti manj ali enako %{count}"
65
- odd: "mora biti liho"
66
- even: "mora biti sodo"
67
- record_invalid: ""
68
-
69
-
70
- number:
71
- # Used in number_with_delimiter()
72
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
73
- format:
74
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
75
- separator: ","
76
- # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
77
- delimiter: "."
78
- # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
79
- precision: 2
80
-
81
- # Used in number_to_currency()
82
- currency:
83
- format:
84
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
85
- format: "%u%n"
86
- unit: "€"
87
- # These three are to override number.format and are optional
88
- separator: ","
89
- delimiter: "."
90
- precision: 2
91
-
92
- # Used in number_to_percentage()
93
- percentage:
94
- format:
95
- # These three are to override number.format and are optional
96
- # separator:
97
- delimiter: ""
98
- # precision:
99
-
100
- # Used in number_to_precision()
101
- precision:
102
- format:
103
- # These three are to override number.format and are optional
104
- # separator:
105
- delimiter: ""
106
- # precision:
107
-
108
- # Used in number_to_human_size()
109
- human:
110
- format:
111
- # These three are to override number.format and are optional
112
- # separator:
113
- delimiter: ""
114
- precision: 1
115
- storage_units:
116
- # Storage units output formatting.
117
- # %u is the storage unit, %n is the number (default: 2 MB)
118
- format: "%n %u"
119
- units:
120
- byte:
121
- one: "Byte"
122
- other: "Bytes"
123
- kb: "KB"
124
- mb: "MB"
125
- gb: "GB"
126
- tb: "TB"
127
-
128
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
129
- datetime:
130
- distance_in_words:
131
- half_a_minute: "pol minute"
132
- less_than_x_seconds:
133
- one: "manj kot 1 sekunda"
134
- two: "manj kot 2 sekundi"
135
- few: "manj kot %{count} sekunde"
136
- other: "manj kot %{count} sekund"
137
- x_seconds:
138
- one: "1 sekunda"
139
- two: "2 sekundi"
140
- few: "%{count} sekunde"
141
- other: "%{count} sekund"
142
- less_than_x_minutes:
143
- one: "manj kot ena minuta"
144
- two: "manj kot dve minuti"
145
- few: "manj kot %{count} minute"
146
- other: "manj kot %{count} minut"
147
- x_minutes:
148
- one: "1 minuta"
149
- two: "2 minuti"
150
- few: "%{count} minute"
151
- other: "%{count} minut"
152
- about_x_hours:
153
- one: "okoli 1 ura"
154
- two: "okoli 2 uri"
155
- few: "okoli %{count} ure"
156
- other: "okoli %{count} ur"
157
- x_days:
158
- one: "1 dan"
159
- two: "2 dneva"
160
- few: "%{count} dnevi"
161
- other: "%{count} dni"
162
- about_x_months:
163
- one: "okoli 1 mesec"
164
- two: "okoli 2 meseca"
165
- few: "okoli %{count} mesece"
166
- other: "okoli %{count} mesecev"
167
- x_months:
168
- one: "1 mesec"
169
- two: "2 meseca"
170
- few: "%{count} mesece"
171
- other: "%{count} mesecev"
172
- almost_x_years:
173
- one: "skoraj 1 leto"
174
- two: "skoraj 2 leti"
175
- few: "skoraj %{count} leta"
176
- other: "skoraj %{count} let"
177
- about_x_years:
178
- one: "okoli 1 leto"
179
- two: "okoli 2 leti"
180
- few: "okoli %{count} leta"
181
- other: "okoli %{count} let"
182
- over_x_years:
183
- one: "več kot 1 leto"
184
- two: "več kot 2 leti"
185
- few: "več kot %{count} leta"
186
- other: "več kot %{count} let"
187
- prompts:
188
- year: "Leto"
189
- month: "Mesec"
190
- day: "Dan"
191
- hour: "Ura"
192
- minute: "Minute"
193
- second: "Sekunde"
@@ -1,119 +0,0 @@
1
- # Serbian (Latin) translations for Ruby on Rails
2
- # by Dejan Dimić (dejan.dimic@gmail.com)
3
-
4
- "sr-Latn":
5
- date:
6
- formats:
7
- default: "%d/%m/%Y"
8
- short: "%e %b"
9
- long: "%B %e, %Y"
10
- only_day: "%e"
11
-
12
- day_names: [Nedelja, Ponedeljak, Utorak, Sreda, Četvrtak, Petak, Subota]
13
- abbr_day_names: [Ned, Pon, Uto, Sre, Čet, Pet, Sub]
14
- month_names: [~, Januar, Februar, Mart, April, Maj, Jun, Jul, Avgust, Septembar, Oktobar, Novembar, Decembar]
15
- abbr_month_names: [~, Jan, Feb, Mar, Apr, Maj, Jun, Jul, Avg, Sep, Okt, Nov, Dec]
16
- order:
17
- - :day
18
- - :month
19
- - :year
20
-
21
- time:
22
- formats:
23
- default: "%a %b %d %H:%M:%S %Z %Y"
24
- time: "%H:%M"
25
- short: "%d %b %H:%M"
26
- long: "%B %d, %Y %H:%M"
27
- only_second: "%S"
28
-
29
- datetime:
30
- formats:
31
- default: "%Y-%m-%dT%H:%M:%S%Z"
32
-
33
- am: 'AM'
34
- pm: 'PM'
35
-
36
- datetime:
37
- distance_in_words:
38
- half_a_minute: 'pola minute'
39
- less_than_x_seconds:
40
- zero: 'manje od 1 sekunde'
41
- one: 'manje od 1 sekund'
42
- few: 'manje od %{count} sekunde'
43
- other: 'manje od %{count} sekundi'
44
- x_seconds:
45
- one: '1 sekunda'
46
- few: '%{count} sekunde'
47
- other: '%{count} sekundi'
48
- less_than_x_minutes:
49
- zero: 'manje od minuta'
50
- one: 'manje od 1 minut'
51
- other: 'manje od %{count} minuta'
52
- x_minutes:
53
- one: '1 minut'
54
- other: '%{count} minuta'
55
- about_x_hours:
56
- one: 'oko 1 sat'
57
- few: 'oko %{count} sata'
58
- other: 'oko %{count} sati'
59
- x_days:
60
- one: '1 dan'
61
- other: '%{count} dana'
62
- about_x_months:
63
- one: 'oko 1 mesec'
64
- few: 'oko %{count} meseca'
65
- other: 'oko %{count} meseci'
66
- x_months:
67
- one: '1 mesec'
68
- few: '%{count} meseca'
69
- other: '%{count} meseci'
70
- about_x_years:
71
- one: 'oko 1 godine'
72
- other: 'oko %{count} godine'
73
- over_x_years:
74
- one: 'preko 1 godine'
75
- other: 'preko %{count} godine'
76
-
77
- number:
78
- format:
79
- precision: 3
80
- separator: ','
81
- delimiter: '.'
82
- currency:
83
- format:
84
- unit: 'DIN'
85
- precision: 2
86
- format: '%n %u'
87
-
88
- support:
89
- array:
90
- sentence_connector: "i"
91
-
92
- activerecord:
93
- errors:
94
- template:
95
- header:
96
- one: 'Nisam uspeo sačuvati %{model}: 1 greška'
97
- few: 'Nisam uspeo sačuvati %{model}: %{count} greške.'
98
- other: 'Nisam uspeo sačuvati %{model}: %{count} greški.'
99
- body: "Molim Vas proverite sledeća polja:"
100
- messages:
101
- inclusion: "nije u listi"
102
- exclusion: "nije dostupno"
103
- invalid: "nije ispravan"
104
- confirmation: "se ne slaže sa svojom potvrdom"
105
- accepted: "mora biti prihvaćen"
106
- empty: "mora biti dat"
107
- blank: "mora biti dat"
108
- too_long: "je predugačak (ne više od %{count} karaktera)"
109
- too_short: "je prekratak (ne manje od %{count} karaktera)"
110
- wrong_length: "nije odgovarajuće dužine (mora imati %{count} karaktera)"
111
- taken: "je zauzeto"
112
- not_a_number: "nije broj"
113
- greater_than: "mora biti veće od %{count}"
114
- greater_than_or_equal_to: "mora biti veće ili jednako %{count}"
115
- equal_to: "mora biti jednako %{count}"
116
- less_than: "mora biti manje od %{count}"
117
- less_than_or_equal_to: "mora biti manje ili jednako %{count}"
118
- odd: "mora biti neparno"
119
- even: "mora biti parno"
@@ -1,119 +0,0 @@
1
- # Serbian default (Cyrillic) translations for Ruby on Rails
2
- # by Dejan Dimić (dejan.dimic@gmail.com)
3
-
4
- "sr":
5
- date:
6
- formats:
7
- default: "%d/%m/%Y"
8
- short: "%e %b"
9
- long: "%B %e, %Y"
10
- only_day: "%e"
11
-
12
- day_names: [Недеља, Понедељак, Уторак, Среда, Четвртак, Петак, Субота]
13
- abbr_day_names: [Нед, Пон, Уто, Сре, Чет, Пет, Суб]
14
- month_names: [~, Јануар, Фабруар, Март, Април, Мај, Јун, Јул, Август, Септембар, Октобар, Новембар, Децембар]
15
- abbr_month_names: [~, Јан, Феб, Мар, Апр, Мај, Јун, Јул, Авг, Сеп, Окт, Нов, Дец]
16
- order:
17
- - :day
18
- - :month
19
- - :year
20
-
21
- time:
22
- formats:
23
- default: "%a %b %d %H:%M:%S %Z %Y"
24
- time: "%H:%M"
25
- short: "%d %b %H:%M"
26
- long: "%B %d, %Y %H:%M"
27
- only_second: "%S"
28
-
29
- datetime:
30
- formats:
31
- default: "%Y-%m-%dT%H:%M:%S%Z"
32
-
33
- am: 'АМ'
34
- pm: 'ПМ'
35
-
36
- datetime:
37
- distance_in_words:
38
- half_a_minute: 'пола минуте'
39
- less_than_x_seconds:
40
- zero: 'мање од 1 секунде'
41
- one: 'мање од 1 секунд'
42
- few: 'мање од %{count} секунде'
43
- other: 'мање од %{count} секунди'
44
- x_seconds:
45
- one: '1 секунда'
46
- few: '%{count} секунде'
47
- other: '%{count} секунди'
48
- less_than_x_minutes:
49
- zero: 'мање од минута'
50
- one: 'мање од 1 минут'
51
- other: 'мање од %{count} минута'
52
- x_minutes:
53
- one: '1 минут'
54
- other: '%{count} минута'
55
- about_x_hours:
56
- one: 'око 1 сат'
57
- few: 'око %{count} сата'
58
- other: 'око %{count} сати'
59
- x_days:
60
- one: '1 дан'
61
- other: '%{count} дана'
62
- about_x_months:
63
- one: 'око 1 месец'
64
- few: 'око %{count} месеца'
65
- other: 'око %{count} месеци'
66
- x_months:
67
- one: '1 месец'
68
- few: '%{count} месеца'
69
- other: '%{count} месеци'
70
- about_x_years:
71
- one: 'око 1 године'
72
- other: 'око %{count} године'
73
- over_x_years:
74
- one: 'преко 1 године'
75
- other: 'преко %{count} године'
76
-
77
- number:
78
- format:
79
- precision: 3
80
- separator: ','
81
- delimiter: '.'
82
- currency:
83
- format:
84
- unit: 'ДИН'
85
- precision: 2
86
- format: '%n %u'
87
-
88
- support:
89
- array:
90
- sentence_connector: "и"
91
-
92
- activerecord:
93
- errors:
94
- template:
95
- header:
96
- one: 'Нисам успео сачувати %{model}: 1 грешка.'
97
- few: 'Нисам успео сачувати %{model}: %{count} грешке.'
98
- other: 'Нисам успео сачувати %{model}: %{count} грешки.'
99
- body: "Молим Вас да проверите следећа поља:"
100
- messages:
101
- inclusion: "није у листи"
102
- exclusion: "није доступно"
103
- invalid: "није исправан"
104
- confirmation: "се не слаже са својом потврдом"
105
- accepted: "мора бити прихваћено"
106
- empty: "мора бити дат"
107
- blank: "мора бити дат"
108
- too_long: "је предугачак (не више од %{count} карактера)"
109
- too_short: "је прекратак (не мање од %{count} карактера)"
110
- wrong_length: "није одговарајуће дужине (мора имати %{count} карактера)"
111
- taken: "је заузето"
112
- not_a_number: "није број"
113
- greater_than: "мора бити веће од %{count}"
114
- greater_than_or_equal_to: "мора бити веће или једнако %{count}"
115
- equal_to: "кора бити једнако %{count}"
116
- less_than: "мора бити мање од %{count}"
117
- less_than_or_equal_to: "мора бити мање или једнако %{count}"
118
- odd: "мора бити непарно"
119
- even: "мора бити парно"
@@ -1,244 +0,0 @@
1
- # Swedish translation.
2
- # By Johan Lundström (johanlunds@gmail.com) with parts taken from http://github.com/daniel/swe_rails.
3
- # With contributions by:
4
- # * Sven Dahlstrand (sven.dahlstrand@gmail.com)
5
- # * Henrik Nyh (henrik@nyh.se)
6
-
7
- "sv-SE":
8
- number:
9
- # Used in number_with_delimiter()
10
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
11
- format:
12
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
13
- separator: ","
14
- # Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three)
15
- delimiter: " "
16
- # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00)
17
- precision: 2
18
- significant: false
19
- strip_insignificant_zeros: false
20
-
21
-
22
- # Used in number_to_currency()
23
- currency:
24
- format:
25
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
26
- format: "%n %u"
27
- unit: "kr"
28
- separator: ","
29
- delimiter: " "
30
- precision: 2
31
- significant: false
32
- strip_insignificant_zeros: false
33
-
34
- percentage:
35
- format:
36
- delimiter: ""
37
-
38
- precision:
39
- format:
40
- delimiter: ""
41
-
42
-
43
- # Used in number_to_human_size()
44
- human:
45
- format:
46
- # These three are to override number.format and are optional
47
- # separator:
48
- delimiter: ""
49
- precision: 1
50
- significant: false
51
- strip_insignificant_zeros: false
52
-
53
- storage_units:
54
- # Storage units output formatting.
55
- # %u is the storage unit, %n is the number (default: 2 MB)
56
- format: "%n %u"
57
- units:
58
- byte:
59
- one: "Byte"
60
- other: "Bytes"
61
- kb: "KB"
62
- mb: "MB"
63
- gb: "GB"
64
- tb: "TB"
65
- decimal_units:
66
- format: "%n %u"
67
- units:
68
- unit: ""
69
- thousand: "Tusen"
70
- million: "Miljon"
71
- billion: "Miljard"
72
- trillion: "Biljon"
73
- quadrillion: "Biljard"
74
-
75
-
76
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
77
- datetime:
78
- distance_in_words:
79
- half_a_minute: "en halv minut"
80
- less_than_x_seconds:
81
- one: "mindre än en sekund"
82
- other: "mindre än %{count} sekunder"
83
- x_seconds:
84
- one: "en sekund"
85
- other: "%{count} sekunder"
86
- less_than_x_minutes:
87
- one: "mindre än en minut"
88
- other: "mindre än %{count} minuter"
89
- x_minutes:
90
- one: "en minut"
91
- other: "%{count} minuter"
92
- about_x_hours:
93
- one: "ungefär en timme"
94
- other: "ungefär %{count} timmar"
95
- x_days:
96
- one: "en dag"
97
- other: "%{count} dagar"
98
- about_x_months:
99
- one: "ungefär en månad"
100
- other: "ungefär %{count} månader"
101
- x_months:
102
- one: "en månad"
103
- other: "%{count} månader"
104
- about_x_years:
105
- one: "ungefär ett år"
106
- other: "ungefär %{count} år"
107
- over_x_years:
108
- one: "mer än ett år"
109
- other: "mer än %{count} år"
110
- almost_x_years:
111
- one: "nästan ett år"
112
- other: "nästan %{count} år"
113
- prompts:
114
- year: "År"
115
- month: "Månad"
116
- day: "Dag"
117
- hour: "Timme"
118
- minute: "Minut"
119
- second: "Sekund"
120
-
121
-
122
- helpers:
123
- select:
124
- prompt: "Välj"
125
-
126
- submit:
127
- create: 'Skapa %{model}'
128
- update: 'Ändra %{model}'
129
- submit: 'Spara %{model}'
130
-
131
- errors:
132
- format: "%{attribute} %{message}"
133
-
134
- messages: &errors_messages
135
- inclusion: "finns inte i listan"
136
- exclusion: "är reserverat"
137
- invalid: "är ogiltigt"
138
- confirmation: "stämmer inte överens"
139
- accepted: "måste vara accepterad"
140
- empty: "får ej vara tom"
141
- blank: "måste anges"
142
- too_long: "är för lång (maximum är %{count} tecken)"
143
- too_short: "är för kort (minimum är %{count} tecken)"
144
- wrong_length: "har fel längd (ska vara %{count} tecken)"
145
- taken: "har redan tagits"
146
- not_a_number: "är inte ett nummer"
147
- not_an_integer: "måste vara ett heltal"
148
- greater_than: "måste vara större än %{count}"
149
- greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
150
- equal_to: "måste vara samma som"
151
- less_than: "måste vara mindre än %{count}"
152
- less_than_or_equal_to: "måste vara mindre än eller lika med %{count}"
153
- odd: "måste vara udda"
154
- even: "måste vara jämnt"
155
- record_invalid: "Ett fel uppstod: %{errors}"
156
-
157
-
158
- activerecord:
159
- errors:
160
- # model.errors.full_messages format.
161
- template:
162
- header:
163
- one: "Ett fel förhindrade denna %{model} från att sparas"
164
- other: "%{count} fel förhindrade denna %{model} från att sparas"
165
- body: "Det var problem med följande fält:"
166
-
167
- messages:
168
- taken: "has already been taken"
169
- record_invalid: "Validation failed: %{errors}"
170
- <<: *errors_messages
171
-
172
- full_messages:
173
- format: "%{attribute} %{message}"
174
-
175
-
176
- # The values :model, :attribute and :value are always available for interpolation
177
- # The value :count is available when applicable. Can be used for pluralization.
178
- # Append your own errors here or at the model/attributes scope.
179
-
180
- # You can define own errors for models or model attributes.
181
- # The values :model, :attribute and :value are always available for interpolation.
182
- #
183
- # For example,
184
- # models:
185
- # user:
186
- # blank: "This is a custom blank message for %{model}: %{attribute}"
187
- # attributes:
188
- # login:
189
- # blank: "This is a custom blank message for User login"
190
- # Will define custom blank validation message for User model and
191
- # custom blank validation message for login attribute of User model.
192
- # models:
193
-
194
- # Translate model names. Used in Model.human_name().
195
- #models:
196
- # For example,
197
- # user: "Dude"
198
- # will translate User model name to "Dude"
199
-
200
- # Translate model attribute names. Used in Model.human_attribute_name(attribute).
201
- #attributes:
202
- # For example,
203
- # user:
204
- # login: "Handle"
205
- # will translate User attribute "login" as "Handle"
206
-
207
- date:
208
- formats:
209
- # Use the strftime parameters for formats.
210
- # When no format has been given, it uses default.
211
- # You can provide other formats here if you like!
212
- default: "%Y-%m-%d"
213
- short: "%e %b"
214
- long: "%e %B %Y"
215
-
216
- day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
217
- abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
218
-
219
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
220
- month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
221
- abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
222
- # Used in date_select and datime_select.
223
- order:
224
- - :day
225
- - :month
226
- - :year
227
-
228
- time:
229
- formats:
230
- default: "%a, %e %b %Y %H:%M:%S %z"
231
- short: "%e %b %H:%M"
232
- long: "%e %B %Y %H:%M"
233
- am: ""
234
- pm: ""
235
-
236
- # Used in array.to_sentence.
237
- support:
238
- array:
239
- words_connector: ", "
240
- two_words_connector: " och "
241
- last_word_connector: " och "
242
- select:
243
- # default value for :prompt => true in FormOptionsHelper
244
- prompt: "Välj"