]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/rails-i18n/locale/sv-SE.yml
Update to Rails 2.3.11
[rails.git] / vendor / plugins / rails-i18n / locale / sv-SE.yml
index 9eb55ef3efcad2be333b2dedf6a4a094933c2ca8..bddbfc83dbe8d0277b1355ccc10ba4e2d1dd638a 100644 (file)
@@ -1,6 +1,8 @@
-# Swedish translation, by Johan Lundström (johanlunds@gmail.com), with parts taken
-# from http://github.com/daniel/swe_rails
-# updated by Sven Dahlstrand (sven.dahlstrand@gmail.com)
+# 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:
@@ -9,9 +11,9 @@
     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)
+      # Delimits 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)
+      # Number of decimals after the separator (the number 1 with a precision of 2 gives: 1.00)
       precision: 2
 
     # Used in number_to_currency()
         # 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:
       half_a_minute: "en halv minut"
       less_than_x_seconds:
         one:   "mindre än en sekund"
-        other: "mindre än {{count}} sekunder"
+        other: "mindre än %{count} sekunder"
       x_seconds:
         one:   "en sekund"
-        other: "{{count}} sekunder"
+        other: "%{count} sekunder"
       less_than_x_minutes:
         one:   "mindre än en minut"
-        other: "mindre än {{count}} minuter"
+        other: "mindre än %{count} minuter"
       x_minutes:
         one:   "en minut"
-        other: "{{count}} minuter"
+        other: "%{count} minuter"
       about_x_hours:
         one:   "ungefär en timme"
-        other: "ungefär {{count}} timmar"
+        other: "ungefär %{count} timmar"
       x_days:
         one:   "en dag"
-        other: "{{count}} dagar"
+        other: "%{count} dagar"
       about_x_months:
         one:   "ungefär en månad"
-        other: "ungefär {{count}} månader"
+        other: "ungefär %{count} månader"
       x_months:
         one:   "en månad"
-        other: "{{count}} månader"
+        other: "%{count} månader"
       about_x_years:
         one:   "ungefär ett år"
-        other: "ungefär {{count}} år"
+        other: "ungefär %{count} år"
       over_x_years:
         one:   "mer än ett år"
-        other: "mer än {{count}} år"
+        other: "mer än %{count} år"
       almost_x_years:
         one:   "nästan ett år"
-        other: "nästan {{count}} år"
+        other: "nästan %{count} år"
     prompts:
       year:   "År"
       month:  "Månad"
     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}"
+      
+      template:
+        header:
+          one:    "Ett fel förhindrade denna %{model} från att sparas"
+          other:  "%{count} fel förhindrade denna %{model} från att sparas"
+        body: "Det var problem med följande fält:"
+      
       # The values :model, :attribute and :value are always available for interpolation
       # The value :count is available when applicable. Can be used for pluralization.
       messages:
         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)"
-        too_short: "är för kort (minimum är {{count}} tecken)"
-        wrong_length: "har fel längd (ska vara {{count}} tecken)"
+        too_long: "är för lång (maximum är %{count} tecken)"
+        too_short: "är för kort (minimum är %{count} tecken)"
+        wrong_length: "har fel längd (ska vara %{count} tecken)"
         taken: "har redan tagits"
         not_a_number: "är inte ett nummer"
-        greater_than: "måste vara större än {{count}}"
-        greater_than_or_equal_to: "måste vara större än eller lika med {{count}}"
+        greater_than: "måste vara större än %{count}"
+        greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
         equal_to: "måste vara samma som"
-        less_than: "måste vara mindre än {{count}}"
-        less_than_or_equal_to: "måste vara mindre än eller lika med {{count}}"
+        less_than: "måste vara mindre än %{count}"
+        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}}"
+        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.
       # For example,
       #   models:
       #     user:
-      #       blank: "This is a custom blank message for {{model}}: {{attribute}}"
+      #       blank: "This is a custom blank message for %{model}: %{attribute}"
       #       attributes:
       #         login:
       #           blank: "This is a custom blank message for User login"
       # 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]
 
   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: ""
 
       last_word_connector: " och "
     select:
       # default value for :prompt => true in FormOptionsHelper
-      prompt: "Välj"
\ No newline at end of file
+      prompt: "Välj"