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)
10 # Used in number_with_delimiter()
11 # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
13 # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
15 # Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three)
16 delimiter: " " # non-breaking space
17 # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00)
20 strip_insignificant_zeros: false
22 # Used in number_to_currency()
25 # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
27 negative_format: "-%n %u"
38 # Used in number_to_human_size()
45 # Storage units output formatting.
46 # %u is the storage unit, %n is the number (default: 2 MB)
64 quadrillion: "Triljon"
66 # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
69 half_a_minute: "en halv minut"
71 one: "mindre än en sekund"
72 other: "mindre än %{count} sekunder"
75 other: "%{count} sekunder"
77 one: "mindre än en minut"
78 other: "mindre än %{count} minuter"
81 other: "%{count} minuter"
83 one: "ungefär en timme"
84 other: "ungefär %{count} timmar"
87 other: "%{count} dagar"
89 one: "ungefär en månad"
90 other: "ungefär %{count} månader"
93 other: "%{count} månader"
96 other: "ungefär %{count} år"
99 other: "mer än %{count} år"
102 other: "nästan %{count} år"
117 create: "Skapa %{model}"
118 update: "Ändra %{model}"
119 submit: "Spara %{model}"
122 format: "%{attribute} %{message}"
124 messages: &errors_messages
125 inclusion: "finns inte i listan"
126 exclusion: "är reserverat"
127 invalid: "är ogiltigt"
128 confirmation: "stämmer inte överens"
129 accepted: "måste vara accepterad"
130 empty: "får ej vara tom"
132 too_long: "är för lång (maximum är %{count} tecken)"
133 too_short: "är för kort (minimum är %{count} tecken)"
134 wrong_length: "har fel längd (ska vara %{count} tecken)"
135 taken: "har redan tagits"
136 not_a_number: "är inte ett nummer"
137 not_an_integer: "måste vara ett heltal"
138 greater_than: "måste vara större än %{count}"
139 greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
140 equal_to: "måste vara samma som"
141 less_than: "måste vara mindre än %{count}"
142 less_than_or_equal_to: "måste vara mindre än eller lika med %{count}"
143 odd: "måste vara udda"
144 even: "måste vara jämnt"
145 record_invalid: "Ett fel uppstod: %{errors}"
146 not_saved: "Kunde inte sparas"
150 # model.errors.full_messages format.
153 one: "Ett fel förhindrade denna %{model} från att sparas"
154 other: "%{count} fel förhindrade denna %{model} från att sparas"
155 body: "Det var problem med följande fält:"
159 record_invalid: "Validering misslyckades: %{errors}"
163 format: "%{attribute} %{message}"
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.
169 # You can define own errors for models or model attributes.
170 # The values :model, :attribute and :value are always available for interpolation.
175 # blank: "This is a custom blank message for %{model}: %{attribute}"
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.
183 # Translate model names. Used in Model.human_name().
187 # will translate User model name to "Dude"
189 # Translate model attribute names. Used in Model.human_attribute_name(attribute).
194 # will translate User attribute "login" as "Handle"
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!
205 day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
206 abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
208 # Don't forget the nil at the beginning; there's no such thing as a 0th month
209 month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
210 abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
211 # Used in date_select and datime_select.
219 default: "%a, %e %b %Y %H:%M:%S %z"
221 long: "%e %B %Y %H:%M"
225 # Used in array.to_sentence.
228 words_connector: ", "
229 two_words_connector: " och "
230 last_word_connector: " och "
232 # default value for :prompt => true in FormOptionsHelper