itizawa 6 лет назад
Родитель
Сommit
41c7ef7023

+ 2 - 2
resource/locales/ja/admin/markdown_setting.json

@@ -16,8 +16,8 @@
   "Preset two separator value": "-----",
   "Custom separator": "カスタム",
   "Custom separator desc": "正規表現を設定できます",
-  "XSS_setting": "XSS(Cross Site Scripting)対策設定",
-  "XSS_setting_desc": "マークダウンテキスト内の HTML タグの扱いを設定し、悪意のあるプログラムからの攻撃を防ぎます",
+  "xss_setting": "XSS(Cross Site Scripting)対策設定",
+  "xss_setting_desc": "マークダウンテキスト内の HTML タグの扱いを設定し、悪意のあるプログラムからの攻撃を防ぎます",
   "Enable XSS prevention": "XSSを抑制する",
   "Ignore all tags": "すべてのタグを抑制する",
   "Ignore all tags desc": "すべてのHTMLタグと属性を使用不可にします",

+ 6 - 6
src/client/js/components/Admin/MarkdownSetting/MarkDownSetting.jsx

@@ -38,22 +38,22 @@ class MarkdownSetting extends React.Component {
       <React.Fragment>
         {/* Line Break Setting */}
         <div className="row mb-5">
-          <h2 className="border-bottom">{ t('markdown_setting.line_break_setting') }</h2>
-          <p className="well">{ t('markdown_setting.line_break_setting_desc') }</p>
+          <h2 className="border-bottom">{t('markdown_setting:line_break_setting')}</h2>
+          <p className="well">{t('markdown_setting:line_break_setting_desc')}</p>
           <LineBreakForm />
         </div>
 
         {/* Presentation Setting */}
         <div className="row mb-5">
-          <h2 className="border-bottom">{ t('markdown_setting.presentation_setting') }</h2>
-          <p className="well">{ t('markdown_setting.presentation_setting_desc') }</p>
+          <h2 className="border-bottom">{t('markdown_setting:presentation_setting')}</h2>
+          <p className="well">{t('markdown_setting:presentation_setting_desc')}</p>
           <PresentationForm />
         </div>
 
         {/* XSS Setting */}
         <div className="row mb-5">
-          <h2 className="border-bottom">{ t('markdown_setting.XSS_setting') }</h2>
-          <p className="well">{ t('markdown_setting.XSS_setting_desc') }</p>
+          <h2 className="border-bottom">{t('markdown_setting:xss_setting')}</h2>
+          <p className="well">{t('markdown_setting:xss_setting_desc')}</p>
           <XssForm />
         </div>
       </React.Fragment>