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)
11 # Used in number_with_delimiter()
12 # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
14 # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
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)
21 strip_insignificant_zeros: false
23 # Used in number_to_currency()
26 # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
33 strip_insignificant_zeros: false
40 # Used in number_to_human_size()
46 strip_insignificant_zeros: true
48 # Storage units output formatting.
49 # %u is the storage unit, %n is the number (default: 2 MB)
67 quadrillion: "Biljard"
69 # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
72 half_a_minute: "en halv minut"
74 one: "mindre än en sekund"
75 other: "mindre än %{count} sekunder"
78 other: "%{count} sekunder"
80 one: "mindre än en minut"
81 other: "mindre än %{count} minuter"
84 other: "%{count} minuter"
86 one: "ungefär en timme"
87 other: "ungefär %{count} timmar"
90 other: "%{count} dagar"
92 one: "ungefär en månad"
93 other: "ungefär %{count} månader"
96 other: "%{count} månader"
99 other: "ungefär %{count} år"
102 other: "mer än %{count} år"
105 other: "nästan %{count} år"
120 create: "Skapa %{model}"
121 update: "Ändra %{model}"
122 submit: "Spara %{model}"
125 format: "%{attribute} %{message}"
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"
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
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:"
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!
222 # Don't forget the nil at the beginning; there's no such thing as a 0th month
251 # Used in date_select and datime_select.
259 default: "%a, %e %b %Y %H:%M:%S %z"
261 long: "%e %B %Y %H:%M"
265 # Used in array.to_sentence.
268 words_connector: ", "
269 two_words_connector: " och "
270 last_word_connector: " och "
272 # default value for :prompt => true in FormOptionsHelper