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}}"
105 # The values :model, :attribute and :value are always available for interpolation
106 # The value :count is available when applicable. Can be used for pluralization.
108 inclusion: "finns inte i listan"
109 exclusion: "är reserverat"
110 invalid: "är ogiltigt"
111 confirmation: "stämmer inte överens"
112 accepted: "måste vara accepterad"
113 empty: "får ej vara tom"
115 too_long: "är för lång (maximum är {{count}} tecken)"
116 too_short: "är för kort (minimum är {{count}} tecken)"
117 wrong_length: "har fel längd (ska vara {{count}} tecken)"
118 taken: "har redan tagits"
119 not_a_number: "är inte ett nummer"
120 greater_than: "måste vara större än {{count}}"
121 greater_than_or_equal_to: "måste vara större än eller lika med {{count}}"
122 equal_to: "måste vara samma som"
123 less_than: "måste vara mindre än {{count}}"
124 less_than_or_equal_to: "måste vara mindre än eller lika med {{count}}"
125 odd: "måste vara udda"
126 even: "måste vara jämnt"
127 record_invalid: "Ett fel uppstod: {{errors}}"
128 # Append your own errors here or at the model/attributes scope.
130 # You can define own errors for models or model attributes.
131 # The values :model, :attribute and :value are always available for interpolation.
136 # blank: "This is a custom blank message for {{model}}: {{attribute}}"
139 # blank: "This is a custom blank message for User login"
140 # Will define custom blank validation message for User model and
141 # custom blank validation message for login attribute of User model.
144 # Translate model names. Used in Model.human_name().
148 # will translate User model name to "Dude"
150 # Translate model attribute names. Used in Model.human_attribute_name(attribute).
155 # will translate User attribute "login" as "Handle"
159 # Use the strftime parameters for formats.
160 # When no format has been given, it uses default.
161 # You can provide other formats here if you like!
166 day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
167 abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
169 # Don't forget the nil at the beginning; there's no such thing as a 0th month
170 month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
171 abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
172 # Used in date_select and datime_select.
173 order: [ :day, :month, :year ]
177 default: "%a, %e %b %Y %H:%M:%S %z"
179 long: "%e %B %Y %H:%M"
183 # Used in array.to_sentence.
186 words_connector: ", "
187 two_words_connector: " och "
188 last_word_connector: " och "
190 # default value for :prompt => true in FormOptionsHelper