From: akrstjp Date: Sun, 20 Nov 2016 11:49:07 +0000 (+0900) Subject: add translation for dialog num exceeded. X-Git-Tag: 0.3.0^0 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;p=quickedit%2Fquick_view.git add translation for dialog num exceeded. --- diff --git a/app/views/hooks/_quick_view_base_bottom.html.erb b/app/views/hooks/_quick_view_base_bottom.html.erb index dcfc72a..9f7fd95 100644 --- a/app/views/hooks/_quick_view_base_bottom.html.erb +++ b/app/views/hooks/_quick_view_base_bottom.html.erb @@ -192,7 +192,7 @@ function quick_view_show_dialog() { } if (open_capacity-- == 0) { - alert('The maximum number that can be opened has been limited.\nThis limitaion can be changed on the plugin setting page.'); + alert('<%= l(:dialog_num_exceeded) %>'); return; } diff --git a/config/locales/en.yml b/config/locales/en.yml index 6c05733..b75fe60 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -6,3 +6,4 @@ en: button_quick_view: Quick View server_load_increase: "Note: there is a possibility that the server load to increase if this setting enabled." + dialog_num_exceeded: "The maximum number that can be opened has been limited.\\nThis limitaion can be changed on the plugin setting page." diff --git a/config/locales/it.yml b/config/locales/it.yml index 91686ef..7b73c05 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -5,3 +5,4 @@ it: button_quick_view: Quick View server_load_increase: "Nota: abilitando questo parametro e' possibile che il carico del server aumenti." + dialog_num_exceeded: "Il numero massimo che può essere aperto è stato limitato.\\nQuesta limitazione può essere modificato nella pagina di impostazione plugin." diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 2a7f44c..6cff246 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -6,4 +6,4 @@ ja: button_quick_view: Quick View server_load_increase: "注意: この設定を有効にすると、サーバーの負荷が増加する可能性があります。" - + dialog_num_exceeded: "オープン可能な最大数を超えました。\\nこの制限はプラグインの設定画面から変更することができます。"