Translate a notice

This commit is contained in:
pfischbeck committed 2015-01-02 15:29:09 +01:00
1 parent 9b17745375
commit e8ab309c96
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ class TranslationsController < ApplicationController
respond_to do |format|
if @translation.save
format.html { redirect_to @translation, notice: 'Translation was successfully created.' }
format.html { redirect_to @translation, notice: t('translations.notice.successfully_created') }
format.json { render :show, status: :created, location: @translation }
else
format.html { render :new }
+3 -1
View File
@@ -4,4 +4,6 @@ de:
translations:
new:
back: Zurück
new_translation: Neue Übersetzung für Problem %{id}
new_translation: Neue Übersetzung für Problem %{id}
notice:
successfully_created: Übersetzung wurde erfolgreich erstellt.