Răsfoiți Sursa

add help page url

reiji-h 2 ani în urmă
părinte
comite
3e0b7342e2

+ 6 - 2
apps/app/public/static/locales/en_US/admin.json

@@ -476,8 +476,12 @@
       "show_all_reply_comments_desc": "When the setting value is off, comments other than the latest two are omitted.",
       "show_all_reply_comments_desc": "When the setting value is off, comments other than the latest two are omitted.",
       "select_search_scope_children_as_default": "Select 'Only children of this tree' as default value of search range",
       "select_search_scope_children_as_default": "Select 'Only children of this tree' as default value of search range",
       "select_search_scope_children_as_default_desc": "When the setting value is off, 'All pages' is used as default value of search range.",
       "select_search_scope_children_as_default_desc": "When the setting value is off, 'All pages' is used as default value of search range.",
-      "enable_marp": "Can use Marp ",
-      "enable_marp_desc": "When the setting value if off、you cannot use Marp。\nThe Marp Official Site: https://marp.app\nHow to use Marp in GROWI: todomarp"
+      "enable_marp": "Enable Marp ",
+      "enable_marp_desc": "When the setting value if off、you cannot use Marp。",
+      "marp_official_site": "The Marp Official Site: ",
+      "marp_official_site_link": "https://marp.app",
+      "marp_in_growi" : "How to use Marp in GROWI: ",
+      "marp_in_growi_link": "https://docs.growi.org/en/guide/features/marp.html"
     },
     },
     "custom_title": "Custom title",
     "custom_title": "Custom title",
     "custom_title_detail": "You can customize <code>&lt;title&gt;</code> tag. Following placeholders will be automatically replaced:",
     "custom_title_detail": "You can customize <code>&lt;title&gt;</code> tag. Following placeholders will be automatically replaced:",

+ 6 - 2
apps/app/public/static/locales/ja_JP/admin.json

@@ -484,8 +484,12 @@
       "show_all_reply_comments_desc": "OFFの場合、最新2件のコメント以外が省略されます。",
       "show_all_reply_comments_desc": "OFFの場合、最新2件のコメント以外が省略されます。",
       "select_search_scope_children_as_default": "検索範囲のデフォルト設定を「この階層下の子ページ」にする",
       "select_search_scope_children_as_default": "検索範囲のデフォルト設定を「この階層下の子ページ」にする",
       "select_search_scope_children_as_default_desc": "OFFの場合、検索範囲のデフォルト設定は「全てのページ」になります。",
       "select_search_scope_children_as_default_desc": "OFFの場合、検索範囲のデフォルト設定は「全てのページ」になります。",
-      "enable_marp": "Marp を使用する",
-      "enable_marp_desc": "OFFの場合、Marp の使用はできません。\r\nMarp 公式サイト: https://marp.app\r\nGROWI における Marp の使い方: todomarp"
+      "enable_marp": "Marp を有効化する",
+      "enable_marp_desc": "OFFの場合、Marp は使用できません。",
+      "marp_official_site": "Marp 公式サイト: ",
+      "marp_official_site_link": "https://marp.app",
+      "marp_in_growi" : "GROWI での Marp の使い方: ",
+      "marp_in_growi_link": "https://docs.growi.org/ja/guide/features/marp.html"
     },
     },
     "custom_title": "カスタム Title",
     "custom_title": "カスタム Title",
     "custom_title_detail": "<code>&lt;title&gt;</code>タグのコンテンツをカスタマイズできます。以下のプレースホルダーは自動的に置換されます:",
     "custom_title_detail": "<code>&lt;title&gt;</code>タグのコンテンツをカスタマイズできます。以下のプレースホルダーは自動的に置換されます:",

+ 6 - 2
apps/app/public/static/locales/zh_CN/admin.json

@@ -484,8 +484,12 @@
       "show_all_reply_comments_desc": "当设置值为“关”时,将忽略最近两个之外的注释。",
       "show_all_reply_comments_desc": "当设置值为“关”时,将忽略最近两个之外的注释。",
       "select_search_scope_children_as_default": "选择“当前分支以下内容”, 作为搜索范围的默认值",
       "select_search_scope_children_as_default": "选择“当前分支以下内容”, 作为搜索范围的默认值",
       "select_search_scope_children_as_default_desc": "当设置值为“关”时,“所有页面”被作为搜索范围的默认值。",
       "select_search_scope_children_as_default_desc": "当设置值为“关”时,“所有页面”被作为搜索范围的默认值。",
-      "enable_marp": "Marp を使用するtodomarp",
-      "enable_marp_desc": "OFFの場合、Marp の使用はできません。\nMarp 公式サイト: https://marp.app\nGROWI における Marp の使い方: todomarp"
+      "enable_marp": "启用 Marp",
+      "enable_marp_desc": "当设置值为“关”时,则不能使用 Marp。",
+      "marp_official_site": "Marp 官方网站: ",
+      "marp_official_site_link": "https://marp.app",
+      "marp_in_growi" : "如何使用 GROWI 中的 Marp: ",
+      "marp_in_growi_link": "https://docs.growi.org/en/guide/features/marp.html"
     },
     },
     "custom_title": "自定义标题",
     "custom_title": "自定义标题",
     "custom_title_detail": "您可以自定义<code>&lt;title&gt;</code>标记。<br><code>&123;&123;sitename&&125;&125;</code>将自动替换为应用程序名称,并且<code>&123;&123;page&&125;&125;</code>将替换为页面名称/路径。",
     "custom_title_detail": "您可以自定义<code>&lt;title&gt;</code>标记。<br><code>&123;&123;sitename&&125;&125;</code>将自动替换为应用程序名称,并且<code>&123;&123;page&&125;&125;</code>将替换为页面名称/路径。",

+ 18 - 0
apps/app/src/components/Admin/Customize/CustomizeFunctionSetting.tsx

@@ -144,6 +144,24 @@ const CustomizeFunctionSetting = (props: Props): JSX.Element => {
                 <p className="form-text text-muted">
                 <p className="form-text text-muted">
                   {t('admin:customize_settings.function_options.enable_marp_desc')}
                   {t('admin:customize_settings.function_options.enable_marp_desc')}
                 </p>
                 </p>
+                <p className="form-text text-muted">
+                  {t('admin:customize_settings.function_options.marp_official_site')}
+                  <a
+                    href={`${t('admin:customize_settings.function_options.marp_official_site_link')}`}
+                    target="_blank"
+                    rel="noopener noreferrer"
+                  >{`${t('admin:customize_settings.function_options.marp_official_site_link')}`}
+                  </a>
+                </p>
+                <p className="form-text text-muted">
+                  {t('admin:customize_settings.function_options.marp_in_growi')}
+                  <a
+                    href={`${t('admin:customize_settings.function_options.marp_in_gorwi_link')}`}
+                    target="_blank"
+                    rel="noopener noreferrer"
+                  >{`${t('admin:customize_settings.function_options.marp_in_growi_link')}`}
+                  </a>
+                </p>
               </CustomizeFunctionOption>
               </CustomizeFunctionOption>
             </div>
             </div>
           </div>
           </div>