diff options
| author | hukl <contact@smyck.org> | 2009-09-10 12:50:41 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-10 12:50:41 +0200 |
| commit | cc401c9bf20995bc4e02ba835847a7578e727d0c (patch) | |
| tree | 7222a0c6176f912b24a6be019eea2c588f11c62c /config | |
| parent | 27fafacabbfa06ee9e74a14ab7687978cbe931e8 (diff) | |
going back to raisl 2.3.3 as 2.3.4 has weird issues when translationg active record validation errors
also changing the german error messages to english as the interface is english only so far
Diffstat (limited to 'config')
| -rw-r--r-- | config/environment.rb | 2 | ||||
| -rw-r--r-- | config/locales/de.yml | 46 |
2 files changed, 24 insertions, 24 deletions
diff --git a/config/environment.rb b/config/environment.rb index 4f94304..ff2b5ae 100644 --- a/config/environment.rb +++ b/config/environment.rb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Be sure to restart your server when you modify this file | 1 | # Be sure to restart your server when you modify this file |
| 2 | 2 | ||
| 3 | # Specifies gem version of Rails to use when vendor/rails is not present | 3 | # Specifies gem version of Rails to use when vendor/rails is not present |
| 4 | RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION | 4 | RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION |
| 5 | 5 | ||
| 6 | # Bootstrap the Rails environment, frameworks, and default configuration | 6 | # Bootstrap the Rails environment, frameworks, and default configuration |
| 7 | require File.join(File.dirname(__FILE__), 'boot') | 7 | require File.join(File.dirname(__FILE__), 'boot') |
diff --git a/config/locales/de.yml b/config/locales/de.yml index f6bb1b7..ce0b578 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml | |||
| @@ -92,28 +92,28 @@ de: | |||
| 92 | activerecord: | 92 | activerecord: |
| 93 | errors: | 93 | errors: |
| 94 | template: | 94 | template: |
| 95 | header: | 95 | header: |
| 96 | one: "Konnte dieses {{model}} Objekt nicht speichern: 1 Fehler." | 96 | one: 1 error prohibited this {{model}} from being saved |
| 97 | other: "Konnte dieses {{model}} Objekt nicht speichern: {{count}} Fehler." | 97 | other: "{{count}} errors prohibited this {{model}} from being saved" |
| 98 | body: "Bitte überprüfen Sie die folgenden Felder:" | 98 | body: "There were problems with the following fields:" |
| 99 | 99 | ||
| 100 | messages: | 100 | messages: |
| 101 | inclusion: "ist kein gültiger Wert" | 101 | inclusion: "is not included in the list" |
| 102 | exclusion: "ist nicht verfügbar" | 102 | exclusion: "is reserved" |
| 103 | invalid: "ist nicht gültig" | 103 | invalid: "is invalid" |
| 104 | confirmation: "stimmt nicht mit der Bestätigung überein" | 104 | confirmation: "doesn't match confirmation" |
| 105 | accepted: "muss akzeptiert werden" | 105 | accepted: "must be accepted" |
| 106 | empty: "muss ausgefüllt werden" | 106 | empty: "can't be empty" |
| 107 | blank: "muss ausgefüllt werden" | 107 | blank: "can't be blank" |
| 108 | too_long: "ist zu lang (nicht mehr als {{count}} Zeichen)" | 108 | too_long: "is too long (maximum is {{count}} characters)" |
| 109 | too_short: "ist zu kurz (nicht weniger als {{count}} Zeichen)" | 109 | too_short: "is too short (minimum is {{count}} characters)" |
| 110 | wrong_length: "hat die falsche Länge (muss genau {{count}} Zeichen haben)" | 110 | wrong_length: "is the wrong length (should be {{count}} characters)" |
| 111 | taken: "ist bereits vergeben" | 111 | taken: "has already been taken" |
| 112 | not_a_number: "ist keine Zahl" | 112 | not_a_number: "is not a number" |
| 113 | greater_than: "muss größer als {{count}} sein" | 113 | greater_than: "must be greater than {{count}}" |
| 114 | greater_than_or_equal_to: "muss größer oder gleich {{count}} sein" | 114 | greater_than_or_equal_to: "must be greater than or equal to {{count}}" |
| 115 | equal_to: "muss genau {{count}} sein" | 115 | equal_to: "must be equal to {{count}}" |
| 116 | less_than: "muss kleiner als {{count}} sein" | 116 | less_than: "must be less than {{count}}" |
| 117 | less_than_or_equal_to: "muss kleiner oder gleich {{count}} sein" | 117 | less_than_or_equal_to: "must be less than or equal to {{count}}" |
| 118 | odd: "muss ungerade sein" | 118 | odd: "must be odd" |
| 119 | even: "muss gerade sein" \ No newline at end of file | 119 | even: "must be even" \ No newline at end of file |
