فهرست منبع

Merge pull request #1964 from weseek/imprv/all-tags-fix

Imprv/all tags fix
Yuki Takei 6 سال پیش
والد
کامیت
768ea46dda

+ 2 - 2
resource/locales/en-US/admin/admin.json

@@ -76,8 +76,8 @@
     "xss_desc": "You can change the handling of HTML tags in markdown text.",
     "xss_options": {
       "enable_xss_prevention": "Enable XSS Prevention",
-      "ignore_all_tags": "Ignore All Tags",
-      "ignore_all_tags_desc": "Stripe all HTML tags and attributes",
+      "remove_all_tags": "Remove All Tags",
+      "remove_all_tags_desc": "Stripe all HTML tags and attributes",
       "recommended_setting": "Recommended Setting",
       "custom_whitelist": "Custom Whitelist",
       "tag_names": "Tag names",

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

@@ -76,8 +76,8 @@
     "xss_desc": "マークダウンテキスト内の HTML タグの扱いを設定し、悪意のあるプログラムからの攻撃を防ぎます",
     "xss_options": {
       "enable_xss_prevention": "XSSを抑制する",
-      "ignore_all_tags": "すべてのタグを抑制する",
-      "ignore_all_tags_desc": "すべてのHTMLタグと属性を使用不可にします",
+      "remove_all_tags": "すべてのタグを抑制する",
+      "remove_all_tags_desc": "すべてのHTMLタグと属性を使用不可にします",
       "recommended_setting": "おすすめ設定",
       "custom_whitelist": "カスタムホワイトリスト",
       "tag_names": "タグ名",

+ 2 - 2
src/client/js/components/Admin/MarkdownSetting/XssForm.jsx

@@ -50,9 +50,9 @@ class XssForm extends React.Component {
             onChange={() => { adminMarkDownContainer.setState({ xssOption: 1 }) }}
           />
           <label htmlFor="xssOption1">
-            <p className="font-weight-bold">{t('admin:markdown_setting.xss_options.ignore_all_tags')}</p>
+            <p className="font-weight-bold">{t('admin:markdown_setting.xss_options.remove_all_tags')}</p>
             <div className="m-t-15">
-              {t('admin:markdown_setting.xss_options.ignore_all_tags_desc')}
+              {t('admin:markdown_setting.xss_options.remove_all_tags_desc')}
             </div>
           </label>
         </div>