Permalink
Browse files

updated translations

  • Loading branch information...
1 parent e299442 commit 45069e0f902bb1c7606e2e1a0c71ea6ce26a4e67 @dseifert dseifert committed with Aug 7, 2010
Showing with 12 additions and 4 deletions.
  1. +2 −2 app/controllers/doodles_controller.rb
  2. +5 −1 config/locales/de.yml
  3. +5 −1 config/locales/en.yml
@@ -60,10 +60,10 @@ def update
@response = @doodle.responses.find_or_initialize_by_author_id(@user.id)
@response.answers = @answers
if @response.save
- flash[:notice] = l(:doodle_update_successfull)
+ flash[:notice] = l(:doodle_update_successful)
redirect_to :action => 'show', :id => @doodle
else
- flash[:warning] = l(:doodle_update_unseccessfull)
+ flash[:warning] = l(:doodle_update_unsuccessful)
redirect_to :action => 'show', :id => @doodle
end
end
View
@@ -1,14 +1,18 @@
# German strings go here for Rails i18n
de:
+ doodle_inactive: "Doodle ist inaktiv"
+ doodle_update_successful: "Doodle wurde aktualisiert"
+ doodle_update_unsuccessful: "Fehler beim Aktualisieren des Doodle"
label_doodle: "Doodle"
label_doodle_new: "Neues doodle"
label_doodle_plural: "Doodles"
label_add_options: "Optionen hinzufügen"
field_expiry_date: "Expiration date"
field_option: "Option"
field_options: "Optionen"
+ notice_successful_create: "Doodle erfolgreich angelegt"
permission_manage_doodles: "Doodles verwalten"
permission_create_doodles: "Doodles erstellen"
permission_view_doodles: "Doodles ansehen"
permission_answer_doodles: "Doodles beantworten"
- text_doodle_answered: "{{author}} hat das Doodle beantwortet."
+ text_doodle_answered: "{{author}} hat das Doodle beantwortet."
View
@@ -1,14 +1,18 @@
# English strings go here for Rails i18n
en:
+ doodle_inactive: "Doodle is inactive"
+ doodle_update_successful: "Doodle successfully updated"
+ doodle_update_unsuccessful: "Failure updating doodle"
label_doodle: "Doodle"
label_doodle_new: "New doodle"
label_doodle_plural: "Doodles"
label_add_options: "Add options"
field_expiry_date: "Expiration date"
field_option: "Option"
field_options: "Options"
+ notice_successful_create: "Doodle successfully created"
permission_manage_doodles: "Manage doodles"
permission_create_doodles: "Create doodles"
permission_view_doodles: "View doodles"
permission_answer_doodles: "Answer doodles"
- text_doodle_answered: "{{author}} answered the doodle."
+ text_doodle_answered: "{{author}} answered the doodle."

0 comments on commit 45069e0

Please sign in to comment.