Ryu Sato 5 лет назад
Родитель
Сommit
6454c3a040

+ 1 - 1
resource/locales/en_US/translation.json

@@ -308,7 +308,7 @@
   },
   },
   "page_edit": {
   "page_edit": {
     "Show active line": "Show active line",
     "Show active line": "Show active line",
-    "formatting_a_markdown_table": "Auto format table",
+    "auto_format_table": "Auto format table",
     "overwrite_scopes": "{{operation}} and Overwrite scopes of all descendants",
     "overwrite_scopes": "{{operation}} and Overwrite scopes of all descendants",
     "notice": {
     "notice": {
       "conflict": "Couldn't save the changes you made because someone else was editing this page. Please re-edit the affected section after reloading the page."
       "conflict": "Couldn't save the changes you made because someone else was editing this page. Please re-edit the affected section after reloading the page."

+ 1 - 1
resource/locales/ja_JP/translation.json

@@ -310,7 +310,7 @@
   },
   },
   "page_edit": {
   "page_edit": {
     "Show active line": "アクティブ行をハイライト",
     "Show active line": "アクティブ行をハイライト",
-    "formatting_a_markdown_table": "表の自動整形",
+    "auto_format_table": "表の自動整形",
     "overwrite_scopes": "{{operation}}と同時に全ての配下ページのスコープを上書き",
     "overwrite_scopes": "{{operation}}と同時に全ての配下ページのスコープを上書き",
     "notice": {
     "notice": {
       "conflict": "すでに他の人がこのページを編集していたため保存できませんでした。ページを再読み込み後、自分の編集箇所のみ再度編集してください。"
       "conflict": "すでに他の人がこのページを編集していたため保存できませんでした。ページを再読み込み後、自分の編集箇所のみ再度編集してください。"

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

@@ -286,7 +286,7 @@
 	},
 	},
 	"page_edit": {
 	"page_edit": {
 		"Show active line": "显示活动行",
 		"Show active line": "显示活动行",
-		"formatting_a_markdown_table": "自动格式化表格",
+		"auto_format_table": "自动格式化表格",
 		"overwrite_scopes": "{{operation}和覆盖所有子体的作用域",
 		"overwrite_scopes": "{{operation}和覆盖所有子体的作用域",
 		"notice": {
 		"notice": {
 			"conflict": "无法保存您所做的更改,因为其他人正在编辑此页。请在重新加载页面后重新编辑受影响的部分。"
 			"conflict": "无法保存您所做的更改,因为其他人正在编辑此页。请在重新加载页面后重新编辑受影响的部分。"

+ 1 - 1
src/client/js/components/PageEditor/OptionsSelector.jsx

@@ -272,7 +272,7 @@ class OptionsSelector extends React.Component {
       <DropdownItem toggle={false} onClick={this.onClickMarkdownTableAutoFormatting}>
       <DropdownItem toggle={false} onClick={this.onClickMarkdownTableAutoFormatting}>
         <div className="d-flex justify-content-between">
         <div className="d-flex justify-content-between">
           <span className="icon-container"></span>
           <span className="icon-container"></span>
-          <span className="menuitem-label">{ t('page_edit.formatting_a_markdown_table') }</span>
+          <span className="menuitem-label">{ t('page_edit.auto_format_table') }</span>
           <span className="icon-container"><i className={iconClassName}></i></span>
           <span className="icon-container"><i className={iconClassName}></i></span>
         </div>
         </div>
       </DropdownItem>
       </DropdownItem>