kaori %!s(int64=5) %!d(string=hai) anos
pai
achega
09a4646408

+ 9 - 7
resource/locales/ja_JP/admin/admin.json

@@ -251,14 +251,16 @@
     "Directory_hierarchy_tag": "ディレクトリ階層タグ"
     "Directory_hierarchy_tag": "ディレクトリ階層タグ"
   },
   },
   "slack_integration": {
   "slack_integration": {
-    "slack_bot": "Slack bot",
-    "detailed_explanation": "詳しい説明はこちら",
-    "selecting_bot_type": "・Botタイプを選択する",
-    "official_bot": "Official bot",
-    "custom_bot_without_proxy": "Custom bot without proxy",
-    "custom_bot_with_proxy": "Custom bot with proxy",
-    "recommended": "おすすめ",
+
     "selecting_bot_types": {
     "selecting_bot_types": {
+      "slack_bot": "Slack bot",
+      "detailed_explanation": "詳しい説明はこちら",
+      "selecting_bot_type": "・Botタイプを選択する",
+      "official_bot": "Official bot",
+      "custom_bot_without_proxy": "Custom bot without proxy",
+      "custom_bot_with_proxy": "Custom bot with proxy",
+
+      "recommended": "おすすめ",
       "for_beginners": "- 初心者向け -",
       "for_beginners": "- 初心者向け -",
       "for_intermediate": "- 中級者向け -",
       "for_intermediate": "- 中級者向け -",
       "for_advanced": "- 上級者向け -",
       "for_advanced": "- 上級者向け -",

+ 7 - 7
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -129,15 +129,15 @@ const SlackIntegration = (props) => {
 
 
       <div className="selecting-bot-type">
       <div className="selecting-bot-type">
         <h2 className="admin-setting-header mb-4">
         <h2 className="admin-setting-header mb-4">
-          {t('admin:slack_integration.slack_bot')}
+          {t('admin:slack_integration.selecting_bot_types.slack_bot')}
           <span className="ml-2 btn-link">
           <span className="ml-2 btn-link">
-            <span className="mr-1">{t('admin:slack_integration.detailed_explanation')}</span>
+            <span className="mr-1">{t('admin:slack_integration.selecting_bot_types.detailed_explanation')}</span>
             <i className="fa fa-external-link" aria-hidden="true"></i>
             <i className="fa fa-external-link" aria-hidden="true"></i>
           </span>
           </span>
 
 
         </h2>
         </h2>
 
 
-        {t('admin:slack_integration.selecting_bot_type')}
+        {t('admin:slack_integration.selecting_bot_types.selecting_bot_type')}
 
 
         <div className="row my-4">
         <div className="row my-4">
           <div className="card-deck mx-auto">
           <div className="card-deck mx-auto">
@@ -148,10 +148,10 @@ const SlackIntegration = (props) => {
             >
             >
               <h3 className={`card-header mb-0 py-3 text-center   ${currentBotType === 'official-bot' && 'bg-primary text-light'}`}>
               <h3 className={`card-header mb-0 py-3 text-center   ${currentBotType === 'official-bot' && 'bg-primary text-light'}`}>
                 <span className="mr-2">
                 <span className="mr-2">
-                  {t('admin:slack_integration.official_bot')}
+                  {t('admin:slack_integration.selecting_bot_types.official_bot')}
                 </span>
                 </span>
                 <span className="badge badge-info mr-2">
                 <span className="badge badge-info mr-2">
-                  {t('admin:slack_integration.recommended')}
+                  {t('admin:slack_integration.selecting_bot_types.recommended')}
                 </span>
                 </span>
                 <i className={`fa fa-external-link btn-link ${currentBotType === 'official-bot' && 'bg-primary text-light'}`} aria-hidden="true"></i>
                 <i className={`fa fa-external-link btn-link ${currentBotType === 'official-bot' && 'bg-primary text-light'}`} aria-hidden="true"></i>
               </h3>
               </h3>
@@ -184,7 +184,7 @@ const SlackIntegration = (props) => {
             >
             >
               <h3 className={`card-header mb-0 py-3 text-center   ${currentBotType === 'custom-bot-without-proxy' && 'bg-primary text-light'}`}>
               <h3 className={`card-header mb-0 py-3 text-center   ${currentBotType === 'custom-bot-without-proxy' && 'bg-primary text-light'}`}>
                 <span className="mr-2">
                 <span className="mr-2">
-                  {t('admin:slack_integration.custom_bot_without_proxy')}
+                  {t('admin:slack_integration.selecting_bot_types.custom_bot_without_proxy')}
                 </span>
                 </span>
                 <i
                 <i
                   className={`fa fa-external-link btn-link ${currentBotType === 'custom-bot-without-proxy' && 'bg-primary text-light'}`}
                   className={`fa fa-external-link btn-link ${currentBotType === 'custom-bot-without-proxy' && 'bg-primary text-light'}`}
@@ -221,7 +221,7 @@ const SlackIntegration = (props) => {
             >
             >
               <h3 className={`card-header mb-0 py-3 text-center ${currentBotType === 'custom-bot-with-proxy' && 'bg-primary text-light'}`}>
               <h3 className={`card-header mb-0 py-3 text-center ${currentBotType === 'custom-bot-with-proxy' && 'bg-primary text-light'}`}>
                 <span className="mr-2">
                 <span className="mr-2">
-                  {t('admin:slack_integration.custom_bot_with_proxy')}
+                  {t('admin:slack_integration.selecting_bot_types.custom_bot_with_proxy')}
                 </span>
                 </span>
                 <i className={`fa fa-external-link btn-link ${currentBotType === 'custom-bot-with-proxy' && 'bg-primary text-light'}`} aria-hidden="true"></i>
                 <i className={`fa fa-external-link btn-link ${currentBotType === 'custom-bot-with-proxy' && 'bg-primary text-light'}`} aria-hidden="true"></i>
               </h3>
               </h3>