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)
9 # Used in number_with_delimiter()
10 # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
12 # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
14 # Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three)
16 # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00)
19 # Used in number_to_currency()
22 # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
26 # Used in number_to_human_size()
29 # These three are to override number.format and are optional
34 # Storage units output formatting.
35 # %u is the storage unit, %n is the number (default: 2 MB)
46 # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
49 half_a_minute: "en halv minut"
51 one: "mindre än en sekund"
52 other: "mindre än {{count}} sekunder"
55 other: "{{count}} sekunder"
57 one: "mindre än en minut"
58 other: "mindre än {{count}} minuter"
61 other: "{{count}} minuter"
63 one: "ungefär en timme"
64 other: "ungefär {{count}} timmar"
67 other: "{{count}} dagar"
69 one: "ungefär en månad"
70 other: "ungefär {{count}} månader"
73 other: "{{count}} månader"
76 other: "ungefär {{count}} år"
79 other: "mer än {{count}} år"
82 other: "nästan {{count}} år"
95 one: "Ett fel förhindrade denna {{model}} från att sparas"
96 other: "{{count}} fel förhindrade denna {{model}} från att sparas"
97 # The variable :count is also available
98 body: "Det var problem med följande fält:"
102 # model.errors.full_messages format.
103 format: "{{attribute}} {{message}}"
107 one: "Ett fel förhindrade denna {{model}} från att sparas"
108 other: "{{count}} fel förhindrade denna {{model}} från att sparas"
109 body: "Det var problem med följande fält:"
111 # The values :model, :attribute and :value are always available for interpolation
112 # The value :count is available when applicable. Can be used for pluralization.
114 inclusion: "finns inte i listan"
115 exclusion: "är reserverat"
116 invalid: "är ogiltigt"
117 confirmation: "stämmer inte överens"
118 accepted: "måste vara accepterad"
119 empty: "får ej vara tom"
121 too_long: "är för lång (maximum är {{count}} tecken)"
122 too_short: "är för kort (minimum är {{count}} tecken)"
123 wrong_length: "har fel längd (ska vara {{count}} tecken)"
124 taken: "har redan tagits"
125 not_a_number: "är inte ett nummer"
126 greater_than: "måste vara större än {{count}}"
127 greater_than_or_equal_to: "måste vara större än eller lika med {{count}}"
128 equal_to: "måste vara samma som"
129 less_than: "måste vara mindre än {{count}}"
130 less_than_or_equal_to: "måste vara mindre än eller lika med {{count}}"
131 odd: "måste vara udda"
132 even: "måste vara jämnt"
133 record_invalid: "Ett fel uppstod: {{errors}}"
134 # Append your own errors here or at the model/attributes scope.
136 # You can define own errors for models or model attributes.
137 # The values :model, :attribute and :value are always available for interpolation.
142 # blank: "This is a custom blank message for {{model}}: {{attribute}}"
145 # blank: "This is a custom blank message for User login"
146 # Will define custom blank validation message for User model and
147 # custom blank validation message for login attribute of User model.
150 # Translate model names. Used in Model.human_name().
154 # will translate User model name to "Dude"
156 # Translate model attribute names. Used in Model.human_attribute_name(attribute).
161 # will translate User attribute "login" as "Handle"
165 # Use the strftime parameters for formats.
166 # When no format has been given, it uses default.
167 # You can provide other formats here if you like!
172 day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
173 abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
175 # Don't forget the nil at the beginning; there's no such thing as a 0th month
176 month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
177 abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
178 # Used in date_select and datime_select.
179 order: [ :day, :month, :year ]
183 default: "%a, %e %b %Y %H:%M:%S %z"
185 long: "%e %B %Y %H:%M"
189 # Used in array.to_sentence.
192 words_connector: ", "
193 two_words_connector: " och "
194 last_word_connector: " och "
196 # default value for :prompt => true in FormOptionsHelper