OSDN Git Service

add translation for dialog num exceeded. master 0.3.0
authorakrstjp <akrst@users.osdn.me>
Sun, 20 Nov 2016 11:49:07 +0000 (20:49 +0900)
committerakrstjp <akrst@users.osdn.me>
Sun, 20 Nov 2016 11:49:07 +0000 (20:49 +0900)
app/views/hooks/_quick_view_base_bottom.html.erb
config/locales/en.yml
config/locales/it.yml
config/locales/ja.yml

index dcfc72a..9f7fd95 100644 (file)
@@ -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;
      }
 
index 6c05733..b75fe60 100644 (file)
@@ -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."
index 91686ef..7b73c05 100644 (file)
@@ -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."
index 2a7f44c..6cff246 100644 (file)
@@ -6,4 +6,4 @@ ja:
   button_quick_view: Quick View
 
   server_load_increase: "注意: この設定を有効にすると、サーバーの負荷が増加する可能性があります。"
-
+  dialog_num_exceeded: "オープン可能な最大数を超えました。\\nこの制限はプラグインの設定画面から変更することができます。"