diff --git a/demo/index.html b/demo/index.html index da55290b..d57d817f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -61,6 +61,7 @@

Change language:

+


Badge Count:

@@ -277,6 +278,11 @@ ssf.setLocale('ja-JP'); document.location.reload(); }); + var setLocaleToFr = document.getElementById('set-locale-fr-FR'); + setLocaleToFr.addEventListener('click', function () { + ssf.setLocale('fr-FR'); + document.location.reload(); + }); diff --git a/js/menus/menuTemplate.js b/js/menus/menuTemplate.js index 03900947..15dcce13 100644 --- a/js/menus/menuTemplate.js +++ b/js/menus/menuTemplate.js @@ -192,7 +192,7 @@ function getTemplate(app) { } }, { - label: 'Toggle Developer Tools', + label: i18n.getMessageFor('Toggle Developer Tools'), accelerator: isMac ? 'Alt+Command+I' : 'Ctrl+Shift+I', click(item, focusedWindow) { let devToolsEnabled = readConfigFromFile('devToolsEnabled'); diff --git a/locale/en-US.json b/locale/en-US.json index c8922043..b66c3952 100644 --- a/locale/en-US.json +++ b/locale/en-US.json @@ -121,6 +121,7 @@ "Show All": "Show All", "Show crash dump in Explorer": "Show crash dump in Explorer", "Show crash dump in Finder": "Show crash dump in Finder", + "Toggle Developer Tools": "Toggle Developer Tools", "More Information": "More Information", "Show Logs in Explorer": "Show Logs in Explorer", "Show Logs in Finder": "Show Logs in Finder", diff --git a/locale/en.json b/locale/en.json index 1fea950e..71e19210 100644 --- a/locale/en.json +++ b/locale/en.json @@ -119,6 +119,7 @@ "Show All": "Show All", "Show crash dump in Explorer": "Show crash dump in Explorer", "Show crash dump in Finder": "Show crash dump in Finder", + "Toggle Developer Tools": "Toggle Developer Tools", "More Information": "More Information", "Show Logs in Explorer": "Show Logs in Explorer", "Show Logs in Finder": "Show Logs in Finder", diff --git a/locale/fr-FR.json b/locale/fr-FR.json index a5df72ef..6f3069ed 100644 --- a/locale/fr-FR.json +++ b/locale/fr-FR.json @@ -119,6 +119,7 @@ "Show All":"Tout afficher", "Show crash dump in Explorer":"Afficher rapport de crash dans Explorateur", "Show crash dump in Finder":"Afficher rapport de crash dans Finder", + "Toggle Developer Tools": "Basculer, les outils de développement", "More Information": "Plus d'information", "Show Logs in Explorer":"Afficher journal d'évenements dans Explorateur", "Show Logs in Finder":"Afficher journal d'évenements dans Finder", diff --git a/locale/fr.json b/locale/fr.json index a5df72ef..6f3069ed 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -119,6 +119,7 @@ "Show All":"Tout afficher", "Show crash dump in Explorer":"Afficher rapport de crash dans Explorateur", "Show crash dump in Finder":"Afficher rapport de crash dans Finder", + "Toggle Developer Tools": "Basculer, les outils de développement", "More Information": "Plus d'information", "Show Logs in Explorer":"Afficher journal d'évenements dans Explorateur", "Show Logs in Finder":"Afficher journal d'évenements dans Finder", diff --git a/locale/ja-JP.json b/locale/ja-JP.json index b6975580..0b50930f 100644 --- a/locale/ja-JP.json +++ b/locale/ja-JP.json @@ -121,6 +121,7 @@ "Show All": "すべてを表示", "Show crash dump in Explorer": "Explorerにクラッシュダンプを表示", "Show crash dump in Finder": "ファインダーにクラッシュダンプを表示", + "Toggle Developer Tools": "開発者ツールの切り替え", "More Information": "詳しくは", "Show Logs in Explorer": "Explorerにログを表示", "Show Logs in Finder": "ファインダーにログを表示", diff --git a/locale/ja.json b/locale/ja.json index a6ee0c9c..d9fce046 100644 --- a/locale/ja.json +++ b/locale/ja.json @@ -119,6 +119,7 @@ "Show All": "すべてを表示", "Show crash dump in Explorer": "Explorerにクラッシュダンプを表示", "Show crash dump in Finder": "ファインダーにクラッシュダンプを表示", + "Toggle Developer Tools": "開発者ツールの切り替え", "More Information": "詳しくは", "Show Logs in Explorer": "Explorerにログを表示", "Show Logs in Finder": "ファインダーにログを表示",