From cdb10b79dd7c3fdbca0918de77813b286cf18987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=B1=E6=9C=88=20=E9=9B=B6?= Date: Sun, 20 Nov 2011 03:15:56 +0900 Subject: [PATCH] added japanese locale --- app/views/admin/digitals/_digital.html.erb | 2 +- config/locales/ja.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 config/locales/ja.yml diff --git a/app/views/admin/digitals/_digital.html.erb b/app/views/admin/digitals/_digital.html.erb index 284453c..c68a94b 100644 --- a/app/views/admin/digitals/_digital.html.erb +++ b/app/views/admin/digitals/_digital.html.erb @@ -2,4 +2,4 @@ <%= digital.attachment_file_name %> (<%= number_to_human_size(digital.attachment_file_size) %>) <% else %> <%=t 'broken_file' %> -<% end %> \ No newline at end of file +<% end %> diff --git a/config/locales/ja.yml b/config/locales/ja.yml new file mode 100644 index 0000000..4f06e6b --- /dev/null +++ b/config/locales/ja.yml @@ -0,0 +1,12 @@ +ja: + digital_versions: デジタル版 + + current_file: 現在のバージョン + new_file: 新しいファイル + upload: アップロード + delete_file: このファイルを削除 + broken_file: 注意! このファイルが壊れている! + delete_file_cofirmation: 本当に「%{filename}」を削除しても宜しいですか? + + digital_shipping: ダウンロードリンクを%{email}に送ります +