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)
28 negative_format: "-%n %u"
39 # Used in number_to_human_size()
46 # Storage units output formatting.
47 # %u is the storage unit, %n is the number (default: 2 MB)
65 quadrillion: "Biljard"
67 # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
70 half_a_minute: "en halv minut"
72 one: "mindre än en sekund"
73 other: "mindre än %{count} sekunder"
76 other: "%{count} sekunder"
78 one: "mindre än en minut"
79 other: "mindre än %{count} minuter"
82 other: "%{count} minuter"
84 one: "ungefär en timme"
85 other: "ungefär %{count} timmar"
88 other: "%{count} dagar"
90 one: "ungefär en månad"
91 other: "ungefär %{count} månader"
94 other: "%{count} månader"
97 other: "ungefär %{count} år"
100 other: "mer än %{count} år"
103 other: "nästan %{count} år"
118 create: "Skapa %{model}"
119 update: "Ändra %{model}"
120 submit: "Spara %{model}"
123 format: "%{attribute} %{message}"
125 messages: &errors_messages
126 inclusion: "finns inte i listan"
127 exclusion: "är reserverat"
128 invalid: "har fel format"
129 confirmation: "stämmer inte överens"
130 accepted: "måste vara accepterad"
131 empty: "får ej vara tom"
133 too_long: "är för lång (maximum är %{count} tecken)"
134 too_short: "är för kort (minimum är %{count} tecken)"
135 wrong_length: "har fel längd (ska vara %{count} tecken)"
136 taken: "har redan tagits"
137 not_a_number: "är inte ett nummer"
138 not_an_integer: "måste vara ett heltal"
139 greater_than: "måste vara större än %{count}"
140 greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
141 equal_to: "måste vara samma som"
142 less_than: "måste vara mindre än %{count}"
143 less_than_or_equal_to: "måste vara mindre än eller lika med %{count}"
144 odd: "måste vara udda"
145 even: "måste vara jämnt"
146 record_invalid: "Ett fel uppstod: %{errors}"
147 not_saved: "Kunde inte sparas"
151 # model.errors.full_messages format.
154 one: "Ett fel förhindrade denna %{model} från att sparas"
155 other: "%{count} fel förhindrade denna %{model} från att sparas"
156 body: "Det var problem med följande fält:"
160 record_invalid: "Validering misslyckades: %{errors}"
164 format: "%{attribute} %{message}"
166 # The values :model, :attribute and :value are always available for interpolation
167 # The value :count is available when applicable. Can be used for pluralization.
168 # Append your own errors here or at the model/attributes scope.
170 # You can define own errors for models or model attributes.
171 # The values :model, :attribute and :value are always available for interpolation.
176 # blank: "This is a custom blank message for %{model}: %{attribute}"
179 # blank: "This is a custom blank message for User login"
180 # Will define custom blank validation message for User model and
181 # custom blank validation message for login attribute of User model.
184 # Translate model names. Used in Model.human_name().
188 # will translate User model name to "Dude"
190 # Translate model attribute names. Used in Model.human_attribute_name(attribute).
195 # will translate User attribute "login" as "Handle"
199 # Use the strftime parameters for formats.
200 # When no format has been given, it uses default.
201 # You can provide other formats here if you like!
223 # Don't forget the nil at the beginning; there's no such thing as a 0th month
252 # Used in date_select and datime_select.
260 default: "%a, %e %b %Y %H:%M:%S %z"
262 long: "%e %B %Y %H:%M"
266 # Used in array.to_sentence.
269 words_connector: ", "
270 two_words_connector: " och "
271 last_word_connector: " och "
273 # default value for :prompt => true in FormOptionsHelper