X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53b4d645d80cbe4ac397cfc004e8985317aed6a8..350638178984d7761286a9f5059ae974e1d44db0:/vendor/plugins/rails-i18n/locale/sv-SE.yml diff --git a/vendor/plugins/rails-i18n/locale/sv-SE.yml b/vendor/plugins/rails-i18n/locale/sv-SE.yml index cbca6d9f3..9cccbb31f 100644 --- a/vendor/plugins/rails-i18n/locale/sv-SE.yml +++ b/vendor/plugins/rails-i18n/locale/sv-SE.yml @@ -1,5 +1,8 @@ -# Swedish translation, by Johan Lundström (johanlunds@gmail.com), with parts taken -# from http://github.com/daniel/swe_rails +# Swedish translation. +# By Johan Lundström (johanlunds@gmail.com) with parts taken from http://github.com/daniel/swe_rails. +# With contributions by: +# * Sven Dahlstrand (sven.dahlstrand@gmail.com) +# * Henrik Nyh (henrik@nyh.se) "sv-SE": number: @@ -8,45 +11,25 @@ format: # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5) separator: "," - # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three) - delimiter: "." - # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00) + # Delimits thousands (e.g. 1,000,000 is a million) (always in groups of three) + delimiter: " " + # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00) precision: 2 - + # Used in number_to_currency() currency: format: # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00) format: "%n %u" unit: "kr" - # These three are to override number.format and are optional - # separator: "." - # delimiter: "," - # precision: 2 - - # Used in number_to_percentage() - percentage: - format: - # These three are to override number.format and are optional - # separator: - delimiter: "" - # precision: - - # Used in number_to_precision() - precision: - format: - # These three are to override number.format and are optional - # separator: - delimiter: "" - # precision: - + # Used in number_to_human_size() human: format: # These three are to override number.format and are optional - # separator: - delimiter: "" - # precision: 1 + # separator: + # delimiter: "" + precision: 1 storage_units: # Storage units output formatting. # %u is the storage unit, %n is the number (default: 2 MB) @@ -59,7 +42,7 @@ mb: "MB" gb: "GB" tb: "TB" - + # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime: distance_in_words: @@ -94,6 +77,9 @@ over_x_years: one: "mer än ett år" other: "mer än {{count}} år" + almost_x_years: + one: "nästan ett år" + other: "nästan {{count}} år" prompts: year: "År" month: "Månad" @@ -101,15 +87,21 @@ hour: "Timme" minute: "Minut" second: "Sekund" - - activerecord: + + activemodel: errors: template: header: - one: "Ett fel förhindrade denna {{model}} från att sparas" - other: "{{count}} fel förhindrade denna {{model}} från att sparas" + one: "Ett fel förhindrade denna {{model}} från att sparas" + other: "{{count}} fel förhindrade denna {{model}} från att sparas" # The variable :count is also available body: "Det var problem med följande fält:" + + activerecord: + errors: + # model.errors.full_messages format. + format: "{{attribute}} {{message}}" + # The values :model, :attribute and :value are always available for interpolation # The value :count is available when applicable. Can be used for pluralization. messages: @@ -117,7 +109,7 @@ exclusion: "är reserverat" invalid: "är ogiltigt" confirmation: "stämmer inte överens" - accepted : "måste vara accepterad" + accepted: "måste vara accepterad" empty: "får ej vara tom" blank: "måste anges" too_long: "är för lång (maximum är {{count}} tecken)" @@ -132,6 +124,7 @@ less_than_or_equal_to: "måste vara mindre än eller lika med {{count}}" odd: "måste vara udda" even: "måste vara jämnt" + record_invalid: "Ett fel uppstod: {{errors}}" # Append your own errors here or at the model/attributes scope. # You can define own errors for models or model attributes. @@ -144,16 +137,16 @@ # attributes: # login: # blank: "This is a custom blank message for User login" - # Will define custom blank validation message for User model and + # Will define custom blank validation message for User model and # custom blank validation message for login attribute of User model. # models: - + # Translate model names. Used in Model.human_name(). #models: # For example, # user: "Dude" # will translate User model name to "Dude" - + # Translate model attribute names. Used in Model.human_attribute_name(attribute). #attributes: # For example, @@ -168,11 +161,11 @@ # You can provide other formats here if you like! default: "%Y-%m-%d" short: "%e %b" - long: "%e %B, %Y" - + long: "%e %B %Y" + day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag] abbr_day_names: [sön, mån, tis, ons, tor, fre, lör] - + # Don't forget the nil at the beginning; there's no such thing as a 0th month month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december] abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec] @@ -181,15 +174,18 @@ time: formats: - default: "%a, %d %b %Y %H:%M:%S %z" - short: "%d %b %H:%M" - long: "%d %B, %Y %H:%M" + default: "%a, %e %b %Y %H:%M:%S %z" + short: "%e %b %H:%M" + long: "%e %B %Y %H:%M" am: "" pm: "" - + # Used in array.to_sentence. support: array: words_connector: ", " two_words_connector: " och " last_word_connector: " och " + select: + # default value for :prompt => true in FormOptionsHelper + prompt: "Välj"