]> git.openstreetmap.org Git - rails.git/blob - vendor/rails-locales/sv-SE.yml
Switch to using http_accept_language as a gem
[rails.git] / vendor / rails-locales / sv-SE.yml
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 #   * Magnus Bergmark (magnus.bergmark@gmail.com)
7 #   * Carl Åkerlindh (carl.akerlindh@gmail.com)
8
9 "sv-SE":
10   number:
11     # Used in number_with_delimiter()
12     # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
13     format:
14       # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
15       separator: ","
16       # Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three)
17       delimiter: " " # non-breaking space
18       # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00)
19       precision: 2
20       significant: false
21       strip_insignificant_zeros: false
22
23     # Used in number_to_currency()
24     currency:
25       format:
26         # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
27         format: "%n %u"
28         unit: "kr"
29         separator: "."
30         delimiter: ","
31         precision: 2
32         significant: false
33         strip_insignificant_zeros: false
34     percentage:
35       format:
36          delimiter: ""
37     precision:
38       format:
39         delimiter: ""
40     # Used in number_to_human_size()
41     human:
42       format:
43         delimiter: ""
44         precision: 1
45         significant: true
46         strip_insignificant_zeros: true
47       storage_units:
48         # Storage units output formatting.
49         # %u is the storage unit, %n is the number (default: 2 MB)
50         format: "%n %u"
51         units:
52           byte:
53             one: "Byte"
54             other: "Bytes"
55           kb: "KB"
56           mb: "MB"
57           gb: "GB"
58           tb: "TB"
59       decimal_units:
60         format: "%n %u"
61         units:
62           unit: ""
63           thousand: "Tusen"
64           million: "Miljon"
65           billion: "Miljard"
66           trillion: "Biljon"
67           quadrillion: "Biljard"
68
69   # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
70   datetime:
71     distance_in_words:
72       half_a_minute: "en halv minut"
73       less_than_x_seconds:
74         one:   "mindre än en sekund"
75         other: "mindre än %{count} sekunder"
76       x_seconds:
77         one:   "en sekund"
78         other: "%{count} sekunder"
79       less_than_x_minutes:
80         one:   "mindre än en minut"
81         other: "mindre än %{count} minuter"
82       x_minutes:
83         one:   "en minut"
84         other: "%{count} minuter"
85       about_x_hours:
86         one:   "ungefär en timme"
87         other: "ungefär %{count} timmar"
88       x_days:
89         one:   "en dag"
90         other: "%{count} dagar"
91       about_x_months:
92         one:   "ungefär en månad"
93         other: "ungefär %{count} månader"
94       x_months:
95         one:   "en månad"
96         other: "%{count} månader"
97       about_x_years:
98         one:   "ungefär ett år"
99         other: "ungefär %{count} år"
100       over_x_years:
101         one:   "mer än ett år"
102         other: "mer än %{count} år"
103       almost_x_years:
104         one:   "nästan ett år"
105         other: "nästan %{count} år"
106
107     prompts:
108       year:   "År"
109       month:  "Månad"
110       day:    "Dag"
111       hour:   "Timme"
112       minute: "Minut"
113       second: "Sekund"
114
115   helpers:
116     select:
117       prompt: "Välj"
118
119     submit:
120       create: "Skapa %{model}"
121       update: "Ändra %{model}"
122       submit: "Spara %{model}"
123
124   errors:
125     format: "%{attribute} %{message}"
126
127     messages: &errors_messages
128       inclusion: "finns inte i listan"
129       exclusion: "är reserverat"
130       invalid: "har fel format"
131       confirmation: "stämmer inte överens"
132       accepted: "måste vara accepterad"
133       empty: "får ej vara tom"
134       blank: "måste anges"
135       too_long: "är för lång (maximum är %{count} tecken)"
136       too_short: "är för kort (minimum är %{count} tecken)"
137       wrong_length: "har fel längd (ska vara %{count} tecken)"
138       taken: "har redan tagits"
139       not_a_number: "är inte ett nummer"
140       not_an_integer: "måste vara ett heltal"
141       greater_than: "måste vara större än %{count}"
142       greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
143       equal_to: "måste vara samma som"
144       less_than: "måste vara mindre än %{count}"
145       less_than_or_equal_to: "måste vara mindre än eller lika med %{count}"
146       odd: "måste vara udda"
147       even: "måste vara jämnt"
148       record_invalid: "Ett fel uppstod: %{errors}"
149     template: &errors_template
150       header:
151         one:    "Ett fel förhindrade denna %{model} från att sparas"
152         other:  "%{count} fel förhindrade denna %{model} från att sparas"
153       body: "Det var problem med följande fält:"
154
155   activerecord:
156     errors:
157       messages:
158         <<: *errors_messages
159       template:
160         <<: *errors_template
161
162       full_messages:
163         format: "%{attribute} %{message}"
164
165       # The values :model, :attribute and :value are always available for interpolation
166       # The value :count is available when applicable. Can be used for pluralization.
167         # Append your own errors here or at the model/attributes scope.
168
169       # You can define own errors for models or model attributes.
170       # The values :model, :attribute and :value are always available for interpolation.
171       #
172       # For example,
173       #   models:
174       #     user:
175       #       blank: "This is a custom blank message for %{model}: %{attribute}"
176       #       attributes:
177       #         login:
178       #           blank: "This is a custom blank message for User login"
179       # Will define custom blank validation message for User model and
180       # custom blank validation message for login attribute of User model.
181       # models:
182
183     # Translate model names. Used in Model.human_name().
184     #models:
185       # For example,
186       #   user: "Dude"
187       # will translate User model name to "Dude"
188
189     # Translate model attribute names. Used in Model.human_attribute_name(attribute).
190     #attributes:
191       # For example,
192       #   user:
193       #     login: "Handle"
194       # will translate User attribute "login" as "Handle"
195
196   date:
197     formats:
198       # Use the strftime parameters for formats.
199       # When no format has been given, it uses default.
200       # You can provide other formats here if you like!
201       default: "%Y-%m-%d"
202       short: "%e %b"
203       long: "%e %B %Y"
204
205     day_names:
206       - söndag
207       - måndag
208       - tisdag
209       - onsdag
210       - torsdag
211       - fredag
212       - lördag
213     abbr_day_names:
214       - sön
215       - mån
216       - tis
217       - ons
218       - tor
219       - fre
220       - lör
221
222     # Don't forget the nil at the beginning; there's no such thing as a 0th month
223     month_names:
224       - ~
225       - januari
226       - februari
227       - mars
228       - april
229       - maj
230       - juni
231       - juli
232       - augusti
233       - september
234       - oktober
235       - november
236       - december
237     abbr_month_names:
238       - ~
239       - jan
240       - feb
241       - mar
242       - apr
243       - maj
244       - jun
245       - jul
246       - aug
247       - sep
248       - okt
249       - nov
250       - dec
251     # Used in date_select and datime_select.
252     order:
253       - :day
254       - :month
255       - :year
256
257   time:
258     formats:
259       default: "%a, %e %b %Y %H:%M:%S %z"
260       short: "%e %b %H:%M"
261       long: "%e %B %Y %H:%M"
262     am: ""
263     pm: ""
264
265   # Used in array.to_sentence.
266   support:
267     array:
268       words_connector: ", "
269       two_words_connector: " och "
270       last_word_connector: " och "
271     select:
272       # default value for :prompt => true in FormOptionsHelper
273       prompt: "Välj"