small i18n/translation fixes
This commit is contained in:
parent
3e9ca336a8
commit
ee5f7ff1b8
2 changed files with 5 additions and 5 deletions
|
@ -5,17 +5,17 @@ class ArticleCategoriesController < ApplicationController
|
||||||
before_filter :authenticate_article_meta
|
before_filter :authenticate_article_meta
|
||||||
|
|
||||||
def create
|
def create
|
||||||
create!(:notice => I18n.t('controllers.create.notice')) { article_categories_path }
|
create!(:notice => I18n.t('article_categories.create.notice')) { article_categories_path }
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
def update
|
||||||
update!(:notice => I18n.t('controllers.update.notice')) { article_categories_path }
|
update!(:notice => I18n.t('article_categories.update.notice')) { article_categories_path }
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
destroy!
|
destroy!
|
||||||
rescue => error
|
rescue => error
|
||||||
redirect_to article_categories_path, alert: I18n.t('controllers.destroy.error', message: error.message)
|
redirect_to article_categories_path, alert: I18n.t('article_categories.destroy.error', message: error.message)
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
|
@ -38,7 +38,7 @@ en:
|
||||||
search_placeholder: Name ...
|
search_placeholder: Name ...
|
||||||
new: 'New article'
|
new: 'New article'
|
||||||
edit_all: 'Edit all'
|
edit_all: 'Edit all'
|
||||||
upload: 'Upload article'
|
upload: 'Upload articles'
|
||||||
new_order: 'Create new order'
|
new_order: 'Create new order'
|
||||||
ext_db:
|
ext_db:
|
||||||
title: 'External databank'
|
title: 'External databank'
|
||||||
|
@ -69,7 +69,7 @@ en:
|
||||||
price_short: 'Price'
|
price_short: 'Price'
|
||||||
submit: 'Delete/update all'
|
submit: 'Delete/update all'
|
||||||
upload:
|
upload:
|
||||||
title: '%{supplier} / upload article'
|
title: '%{supplier} / upload articles'
|
||||||
body:
|
body:
|
||||||
<p>The file has to be a text file with the ending '.csv' The first line will be ignored when imported</p>
|
<p>The file has to be a text file with the ending '.csv' The first line will be ignored when imported</p>
|
||||||
<p>The fields have to be separated with semicolons (';') and the text with double quotation marks ("text...").</p>
|
<p>The fields have to be separated with semicolons (';') and the text with double quotation marks ("text...").</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue