kaoritokashiki 5 лет назад
Родитель
Сommit
37aeddd315

+ 2 - 0
resource/locales/en_US/translation.json

@@ -1,5 +1,6 @@
 {
 {
   "Help": "Help",
   "Help": "Help",
+  "view": "View",
   "Edit": "Edit",
   "Edit": "Edit",
   "Delete": "Delete",
   "Delete": "Delete",
   "delete_all": "Delete all",
   "delete_all": "Delete all",
@@ -424,6 +425,7 @@
     "open_sandbox": "Open Sandbox"
     "open_sandbox": "Open Sandbox"
   },
   },
   "hackmd": {
   "hackmd": {
+    "hackmd": "HackMD",
     "not_set_up": "HackMD is not set up.",
     "not_set_up": "HackMD is not set up.",
     "start_to_edit": "Start to edit with HackMD",
     "start_to_edit": "Start to edit with HackMD",
     "clone_page_content": "Click to clone page content and start to edit.",
     "clone_page_content": "Click to clone page content and start to edit.",

+ 2 - 0
resource/locales/ja_JP/translation.json

@@ -1,5 +1,6 @@
 {
 {
   "Help": "ヘルプ",
   "Help": "ヘルプ",
+  "view": "View",
   "Edit": "編集",
   "Edit": "編集",
   "Delete": "削除",
   "Delete": "削除",
   "delete_all": "全て削除",
   "delete_all": "全て削除",
@@ -426,6 +427,7 @@
     "open_sandbox": "Sandbox を開く"
     "open_sandbox": "Sandbox を開く"
   },
   },
   "hackmd":{
   "hackmd":{
+    "hackmd": "HackMD",
     "not_set_up": "HackMD はセットアップされていません",
     "not_set_up": "HackMD はセットアップされていません",
     "start_to_edit": "HackMD を開始する",
     "start_to_edit": "HackMD を開始する",
     "clone_page_content": "ページを複製して編集を開始します",
     "clone_page_content": "ページを複製して編集を開始します",

+ 3 - 1
resource/locales/zh_CN/translation.json

@@ -1,5 +1,6 @@
 {
 {
-	"Help": "帮助",
+  "Help": "帮助",
+  "view": "View",
 	"Edit": "编辑",
 	"Edit": "编辑",
 	"Delete": "删除",
 	"Delete": "删除",
 	"delete_all": "删除所有",
 	"delete_all": "删除所有",
@@ -395,6 +396,7 @@
 		"open_sandbox": "开放式沙箱"
 		"open_sandbox": "开放式沙箱"
 	},
 	},
 	"hackmd": {
 	"hackmd": {
+    "hackmd": "HackMD",
 		"not_set_up": "HackMD is not set up.",
 		"not_set_up": "HackMD is not set up.",
 		"start_to_edit": "Start to edit with HackMD",
 		"start_to_edit": "Start to edit with HackMD",
 		"clone_page_content": "Click to clone page content and start to edit.",
 		"clone_page_content": "Click to clone page content and start to edit.",

+ 2 - 2
src/client/js/components/Navbar/GrowiSubNavigation.jsx

@@ -191,7 +191,7 @@ const GrowiSubNavigation = (props) => {
             <div className="btn-group" role="group" aria-label="three-stranded-button">
             <div className="btn-group" role="group" aria-label="three-stranded-button">
               <button type="button" className="btn btn-outline-primary">
               <button type="button" className="btn btn-outline-primary">
                 <i className="icon-control-play icon-fw" />
                 <i className="icon-control-play icon-fw" />
-                { t('View') }
+                { t('view') }
               </button>
               </button>
               <button type="button" className="btn btn-outline-primary">
               <button type="button" className="btn btn-outline-primary">
                 <i className="icon-note icon-fw" />
                 <i className="icon-note icon-fw" />
@@ -199,7 +199,7 @@ const GrowiSubNavigation = (props) => {
               </button>
               </button>
               <button type="button" className="btn btn-outline-primary">
               <button type="button" className="btn btn-outline-primary">
                 <i className="fa fa-fw fa-file-text-o" />
                 <i className="fa fa-fw fa-file-text-o" />
-                { t('HackMD') }
+                { t('hackmd') }
               </button>
               </button>
             </div>
             </div>
           </div>
           </div>