Steven Fukase 5 лет назад
Родитель
Сommit
607a5535b0

+ 5 - 0
resource/locales/en_US/admin/admin.json

@@ -294,6 +294,11 @@
     "without_proxy": {
       "create_bot": "Create Bot",
       "install_bot_to_slack": "Install Bot To Slack",
+      "select_install_your_app": "Select \"Install your app\".",
+      "select_install_to_workspace": "Select \"Install to Workspace\".",
+      "click_allow": "Select \"Allow\".",
+      "install_complete_if_checked": "Confirm that \"Install your app\" is checked.",
+      "invite_bot_to_channel": "Invite GROWI bot to channel by calling @example.",
       "register_secret_and_token": "Set Signing Secret and Bot Token",
       "test_connection": "Test Connection",
       "how_to_create_a_bot": "How to create a bot"

+ 29 - 24
resource/locales/ja_JP/admin/admin.json

@@ -1,5 +1,5 @@
 {
-  "mailer_setup_required":"送信するには <a href='/admin/app'>メールの設定</a> が必要です。",
+  "mailer_setup_required": "送信するには <a href='/admin/app'>メールの設定</a> が必要です。",
   "admin_top": {
     "management_wiki": "Wiki管理",
     "system_information": "システム情報",
@@ -9,9 +9,9 @@
     "package_name": "パッケージ名",
     "specified_version": "指定バージョン",
     "installed_version": "インストールされているバージョン",
-    "list_of_env_vars":"サーバー側で設定されている環境変数一覧",
-    "env_var_priority":"セキュリティに関する環境変数を除き、データベースの値が優先的に取得されます。",
-    "about_security":"セキュリティに関する環境変数は <a href='/admin/security'>セキュリティ設定画面</a> からご確認ください。"
+    "list_of_env_vars": "サーバー側で設定されている環境変数一覧",
+    "env_var_priority": "セキュリティに関する環境変数を除き、データベースの値が優先的に取得されます。",
+    "about_security": "セキュリティに関する環境変数は <a href='/admin/security'>セキュリティ設定画面</a> からご確認ください。"
   },
   "app_setting": {
     "site_name": "サイト名",
@@ -31,9 +31,9 @@
     "mail_settings": "メールの設定",
     "mailer_is_not_set_up": "メール設定がセットアップされていません。",
     "from_e-mail_address": "Fromアドレス",
-    "transmission_method":"送信方法",
-    "smtp_label":"SMTP",
-    "ses_label":"SES(AWS)",
+    "transmission_method": "送信方法",
+    "smtp_label": "SMTP",
+    "ses_label": "SES(AWS)",
     "send_test_email": "テストメールを送信",
     "success_to_send_test_email": "テストメールを送信しました。",
     "smtp_settings": "SMTP設定",
@@ -43,20 +43,20 @@
     "initialize_mail_settings": "設定を初期化",
     "initialize_mail_modal_header": "メール設定の初期化",
     "confirm_to_initialize_mail_settings": "一度初期化した設定は戻せません。本当に初期化しますか?",
-    "file_upload_settings":"ファイルアップロード設定",
-    "file_upload_method":"ファイルアップロード方法",
-    "file_delivery_method":"ファイルの配信方法",
-    "file_delivery_method_redirect":"リダイレクト",
-    "file_delivery_method_relay":"内部システム中継",
-    "file_delivery_method_redirect_info":"リダイレクト: GROWIサーバーを介さずに署名付きURLにリダイレクトされるため、優れたパフォーマンスを出します。",
-    "file_delivery_method_relay_info":"内部システム中継: GROWIサーバーがクライアントに配信するため、完全なセキュリティーを提供します。",
+    "file_upload_settings": "ファイルアップロード設定",
+    "file_upload_method": "ファイルアップロード方法",
+    "file_delivery_method": "ファイルの配信方法",
+    "file_delivery_method_redirect": "リダイレクト",
+    "file_delivery_method_relay": "内部システム中継",
+    "file_delivery_method_redirect_info": "リダイレクト: GROWIサーバーを介さずに署名付きURLにリダイレクトされるため、優れたパフォーマンスを出します。",
+    "file_delivery_method_relay_info": "内部システム中継: GROWIサーバーがクライアントに配信するため、完全なセキュリティーを提供します。",
     "gcs_label": "GCP(GCS)",
     "aws_label": "AWS(S3)",
     "local_label": "Local",
     "gridfs_label": "MongoDB(GridFS)",
     "fixed_by_env_var": "環境変数 <code>FILE_UPLOAD={{fileUploadType}}</code> により固定されています。",
     "file_upload": "ファイルをアップロードするための設定を行います。ファイルアップロードの設定を完了させると、ファイルアップロード機能、プロフィール写真機能などが有効になります。",
-    "ses_settings":"SES設定",
+    "ses_settings": "SES設定",
     "test_connection": "接続テスト",
     "change_setting": "この設定を途中で変更すると、これまでにアップロードしたファイル等へのアクセスができなくなりますのでご注意下さい。",
     "region": "リージョン",
@@ -116,7 +116,7 @@
   },
   "customize_setting": {
     "theme": "テーマ",
-    "theme_desc" : {
+    "theme_desc": {
       "light_and_dark": "Light/Dark モード選択あり",
       "unique": "モード選択なし"
     },
@@ -246,9 +246,9 @@
     },
     "import": "インポート",
     "skip_username_and_email_when_overlapped": "ユーザー名またはメールアドレスが同じ場合、その部分がスキップされます。",
-    "prepare_new_account_for_migration":"移行用のアカウントを新環境で用意してください。",
-    "archive_data_import_detail":"参考: GROWI Docs - データのインポート",
-    "admin_archive_data_import_guide_url":"https://docs.growi.org/ja/admin-guide/management-cookbook/import.html#growi-%E3%82%A2%E3%83%BC%E3%82%AB%E3%82%A4%E3%83%96%E3%83%87%E3%83%BC%E3%82%BF%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88",
+    "prepare_new_account_for_migration": "移行用のアカウントを新環境で用意してください。",
+    "archive_data_import_detail": "参考: GROWI Docs - データのインポート",
+    "admin_archive_data_import_guide_url": "https://docs.growi.org/ja/admin-guide/management-cookbook/import.html#growi-%E3%82%A2%E3%83%BC%E3%82%AB%E3%82%A4%E3%83%96%E3%83%87%E3%83%BC%E3%82%BF%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88",
     "page_skip": "既に GROWI 側に同名のページが存在する場合、そのページはスキップされます",
     "Directory_hierarchy_tag": "ディレクトリ階層タグ"
   },
@@ -292,6 +292,11 @@
     "without_proxy": {
       "create_bot": "Bot を作成する",
       "install_bot_to_slack": "Bot を Slackにインストールする",
+      "select_install_your_app": "Install your app をクリックします。",
+      "select_install_to_workspace": "Install to Workspace をクリックします。",
+      "click_allow": "遷移先の画面にて、Allowをクリックします。",
+      "install_complete_if_checked": "Install your app の右側に 緑色のチェックがつけばワークスペースへのインストール完了です。",
+      "invite_bot_to_channel": "GROWI bot を使いたいチャンネルに @example を使用して招待します。",
       "register_secret_and_token": "Signing Secret と Bot Token を登録する",
       "test_connection": "連携状況のテストをする",
       "how_to_create_a_bot": "作成方法はこちら"
@@ -302,10 +307,10 @@
     "click_twice_same_checkbox": "少なくとも一つはチェックしてください。",
     "invite_modal": {
       "emails": "メールアドレス (複数行入力で複数人発行可能)",
-      "description1":"メールアドレスを使用して新規ユーザーを仮発行します。",
-      "description2":"初回のログイン時に使用する仮パスワードが生成されます。",
+      "description1": "メールアドレスを使用して新規ユーザーを仮発行します。",
+      "description2": "初回のログイン時に使用する仮パスワードが生成されます。",
       "invite_thru_email": "招待メールを送信する",
-      "mail_setting_link":"<i class='icon-settings mr-2'></i><a href='/admin/app'>メールの設定</a>",
+      "mail_setting_link": "<i class='icon-settings mr-2'></i><a href='/admin/app'>メールの設定</a>",
       "valid_email": "メールアドレスを入力してください。",
       "temporary_password": "作成したユーザーは仮パスワードが設定されています。",
       "send_new_password": "新規発行したパスワードを、対象ユーザーへ連絡してください。",
@@ -335,9 +340,9 @@
     },
     "external_account": "外部アカウントの管理",
     "external_accounts": "外部アカウント",
-    "create_external_account":"外部アカウントの作成",
+    "create_external_account": "外部アカウントの作成",
     "external_account_list": "外部アカウント一覧",
-    "external_account_none":"外部アカウントはありません",
+    "external_account_none": "外部アカウントはありません",
     "invite": "招待する",
     "invited": "ユーザーを招待しました",
     "back_to_user_management": "ユーザー管理に戻る",

+ 5 - 0
resource/locales/zh_CN/admin/admin.json

@@ -302,6 +302,11 @@
     "without_proxy": {
       "create_bot": "创建 Bot",
       "install_bot_to_slack": "将Bot安装到Slack",
+      "select_install_your_app": "选择 \"Install your app\"。",
+      "select_install_to_workspace": "选择 \"Install to Workspace\"。",
+      "click_allow": "选择 \"Allow\"。",
+      "install_complete_if_checked": "确认已选中\"Install your app\"。",
+      "invite_bot_to_channel": "通过调用@example邀请GROWI Bot进行频道。",
       "register_secret_and_token": "设置签名秘密和BOT令牌",
       "test_connection": "测试连接",
       "how_to_create_a_bot": "如何创建一个BOT"

+ 5 - 5
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettingsAccordion.jsx

@@ -75,15 +75,15 @@ const CustomBotWithoutProxySettingsAccordion = (props) => {
         onToggleAccordionHandler={() => onToggleAccordionHandler(1)}
       >
         <div className="container w-75 py-5">
-          <p>1. Install your app をクリックします。</p>
+          <p>1. {t('slack_integration.without_proxy.select_install_your_app')}</p>
           <img src="/images/slack-integration/slack-bot-install-your-app-introduction.png" className="border border-light img-fluid mb-5" />
-          <p>2. Install to Workspace をクリックします。</p>
+          <p>2. {t('slack_integration.without_proxy.select_install_to_workspace')}</p>
           <img src="/images/slack-integration/slack-bot-install-to-workspace.png" className="border border-light img-fluid mb-5" />
-          <p>3. 遷移先の画面にて、Allowをクリックします。</p>
+          <p>3. {t('slack_integration.without_proxy.click_allow')}</p>
           <img src="/images/slack-integration/slack-bot-install-your-app-transition-destination.png" className="border border-light img-fluid mb-5" />
-          <p>4. Install your app の右側に 緑色のチェックがつけばワークスペースへのインストール完了です。</p>
+          <p>4. {t('slack_integration.without_proxy.install_complete_if_checked')}</p>
           <img src="/images/slack-integration/slack-bot-install-your-app-complete.png" className="border border-light img-fluid mb-5" />
-          <p>5. GROWI bot を使いたいチャンネルに @example を使用して招待します。</p>
+          <p>5. {t('slack_integration.without_proxy.invite_bot_to_channel')}</p>
           <img src="/images/slack-integration/slack-bot-install-to-workspace-joined-bot.png" className="border border-light img-fluid mb-1" />
           <img src="/images/slack-integration/slack-bot-install-your-app-introduction-to-channel.png" className="border border-light img-fluid" />
         </div>