Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #853 from Lejdborg/master
Added Swedish localization
- Loading branch information
Showing
4 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
sv: | ||
padrino: | ||
admin: | ||
save: Spara | ||
cancel: Avbryt | ||
list: Lista | ||
edit: Redigera | ||
new: Ny | ||
show: Visa | ||
delete: Radera | ||
confirm: Är du säker? | ||
created_at: Skapad | ||
all: Alla | ||
profile: Profil | ||
settings: Inställningar | ||
logout: Logga ut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
sv: | ||
activemodel: &activemodel | ||
errors: | ||
messages: | ||
inclusion: "är inte inkluderad i listan" | ||
exclusion: "är reserverad" | ||
invalid: "är ogiltig" | ||
confirmation: "matchar inte konfirmeringen" | ||
accepted: "måste accepteras" | ||
empty: "kan inte vara tomt" | ||
blank: "kan inte vara blankt" | ||
too_long: "är för långt (max %{count} tecken)" | ||
too_short: "är för kort (minst %{count} tecken)" | ||
wrong_length: "är fel längd (borde vara %{count} tecken)" | ||
taken: "är redan upptaget" | ||
not_a_number: "är inte ett tal" | ||
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 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: "Validering misslyckades: %{errors}" | ||
content_type: "filformatet stöds ej" | ||
activerecord: *activemodel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
sv: | ||
date: | ||
formats: | ||
# Use the strftime parameters for formats. | ||
# When no format has been given, it uses default. | ||
# You can provide other formats here if you like! | ||
default: "%Y-%m-%d" | ||
short: "%b %d" | ||
long: "%B %d, %Y" | ||
only_day: "%e" | ||
|
||
day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag] | ||
abbr_day_names: [sön, mån, tis, ons, tors, fre, lör] | ||
month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december] | ||
abbr_month_names: [~, jan, feb, mar, apr, may, jun, jul, aug, sep, okt, nov, dec] | ||
order: | ||
- år | ||
- månad | ||
- dag | ||
|
||
time: | ||
formats: | ||
default: "%a, %d %b %Y %H:%M:%S %z" | ||
short: "%d %b %H:%M" | ||
long: "%B %d, %Y %H:%M" | ||
am: "fm" | ||
pm: "em" | ||
|
||
# Used in array.to_sentence. | ||
support: | ||
array: | ||
words_connector: ", " | ||
two_words_connector: " och " | ||
last_word_connector: ", och " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
sv: | ||
number: | ||
# Used in number_with_delimiter() | ||
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human' | ||
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) | ||
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 | ||
storage_units: | ||
# Storage units output formatting. | ||
# %u is the storage unit, %n is the number (default: 2 MB) | ||
format: "%n %u" | ||
units: | ||
byte: | ||
one: "Byte" | ||
other: "Bytes" | ||
kb: "KB" | ||
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: | ||
half_a_minute: "en halv minut" | ||
less_than_x_seconds: | ||
one: "mindre än 1 sekund" | ||
other: "mindre än %{count} sekunder" | ||
x_seconds: | ||
one: "1 sekund" | ||
other: "%{count} sekunder" | ||
less_than_x_minutes: | ||
one: "mindre än en minut" | ||
other: "mindre än %{count} minuter" | ||
x_minutes: | ||
one: "1 minut" | ||
other: "%{count} minuter" | ||
about_x_hours: | ||
one: "cirka 1 timme" | ||
other: "cirka %{count} timmar" | ||
x_days: | ||
one: "1 dag" | ||
other: "%{count} dagar" | ||
about_x_months: | ||
one: "cirka 1 månad" | ||
other: "cirka %{count} månader" | ||
x_months: | ||
one: "1 månad" | ||
other: "%{count} månader" | ||
about_x_years: | ||
one: "cirka 1 år" | ||
other: "cirka %{count} år" | ||
over_x_years: | ||
one: "över 1 år" | ||
other: "över %{count} år" | ||
almost_x_years: | ||
one: "nästan 1 år" | ||
other: "nästan %{count} år" | ||
models: | ||
errors: | ||
template: | ||
header: | ||
one: "1 fel hindrade denna %{model} från att sparas" | ||
other: "%{count} fel hindrade denna %{model} från att sparas" | ||
body: "Följande fält innehåller fel:" |