Skip to content

A platform for community discussion. Free, open, simple.

11.4 KB
Raw Blame
# WARNING: Never edit this file.
# It will be overwritten when translations are pulled from Crowdin.
#
# To work with us on translations, join this project:
# https://translate.discourse.org/

zh_CN:
  admin_js:
    admin:
      site_settings:
        categories:
          chat_integration: "聊天集成"
  js:
    chat_integration:
      menu_title: "聊天集成"
      settings: "设置"
      nav:
        providers: "提供商"
        providers_description: "配置聊天服务提供商集成"
      add_provider: "添加提供商"
      view_provider_settings: "查看提供商设置"
      more_providers: "更多"
      confirm_setup_provider: "确定要启用 %{provider} 提供商吗?稍后可以在“设置”选项卡中禁用。"
      setup_provider_modal:
        title: "设置 %{provider} 提供商"
        setup_instructions: "请提供以下详细信息以设置 %{provider} 提供商。%{additionalInstructions}"
        confirm_setup: "确认设置"
        success: "提供商 %{provider} 设置成功"
        slack:
          instructions: "需要提供访问令牌或出站网络钩子 URL。"
          at_least_one_required: "输入访问令牌或出站网络钩子 URL。"
          access_token:
            title: "访问令牌"
            description: "Slack 机器人 OAuth 访问令牌"
          outbound_webhook_url:
            title: "出站网络钩子 URL"
            description: "Slack 出站网络钩子 URL"
        telegram:
          instructions: "保存时将验证访问令牌。"
          access_token:
            title: "访问令牌"
            description: "来自 BotFather 的 Telegram 机器人访问令牌"
      empty_state:
        title: "关联您的聊天平台"
        body: "将 Discourse 中的通知发送到团队的聊天。选择一个提供商以开始。"
      channels_title: "频道"
      channels_description: "为 %{provider} 提供商配置频道。"
      no_channels: "尚未配置任何频道。"
      channel_actions: "频道操作"
      add_first_channel: "添加您的第一个 %{provider} 频道"
      channels_with_errors: "上次发送消息时,此提供商的一些频道失败。点击错误图标了解详情。"
      channel_exception: "上次向此频道发送消息时发生未知错误。"
      group_mention_template: "提及:@%{name}"
      group_message_template: "发送消息给:@%{name}"
      choose_group: "(选择一个群组)"
      all_categories: "(所有类别)"
      all_tags: "(所有标签)"
      create_rule: "创建规则"
      add_channel: "添加频道"
      delete_channel: "删除"
      test_channel: "测试"
      edit_channel: "编辑"
      channel_delete_confirm: "确定要删除此频道吗?所有关联规则都会被删除。"
      test_modal:
        title: "发送测试消息"
        topic: "话题"
        send: "发送测试消息"
        close: "关闭"
        error: "发送消息时发生未知错误。检查站点日志了解详情。"
        success: "消息已成功发送"
      type:
        normal: 正常
        group_message: 群组消息
        group_mention: 群组提及
      filter:
        mute: '免打扰'
        follow: '仅第一个帖子'
        watch: '所有帖子和回复'
        thread: '所有带有按线索组织的回复的帖子'
      rule_table:
        filter: "筛选"
        category: "类别"
        tags: "标签"
        edit_rule: "编辑"
        delete_rule: "删除"
      edit_channel_modal:
        title: "编辑频道"
        save: "保存频道"
        cancel: "取消"
        provider: "提供程序"
        channel_validation:
          ok: "有效"
          fail: "格式无效"
      edit_rule_modal:
        edit_title: 编辑规则
        create_title: 创建规则
        save: 保存规则
        cancel: 取消
        provider: 提供程序
        type: 类型
        channel: 频道
        filter: 筛选
        category: 类别
        group: 群组
        tags: 标签
        instructions:
          type: "更改类型以触发群发消息或提及的通知"
          filter: "通知级别。免打扰会覆盖其他匹配规则"
          category: "此规则仅适用于指定类别中的话题"
          group: "此规则将适用于引用此群组的帖子"
          tags: "如果指定,此规则将仅适用于至少具有这些标签之一的话题"
      provider:
        slack:
          title: "Slack"
          param:
            identifier:
              title: 频道
              help: "例如 #channel 或 @username"
          errors:
            at_least_one_required: "输入访问令牌或出站网络钩子 URL。"
            invalid_webhook_url: "出站网络钩子 URL 必须是有效的 https://hooks.slack.com/services/... 链接。"
            auth_error: "提供的身份验证令牌无效"
            action_prohibited: "机器人没有权限在该频道发帖"
            channel_not_found: "指定的频道在 Slack 上不存在"
        telegram:
          title: "Telegram"
          param:
            name:
              title: "名称"
              help: "用于描述频道的名称。它不用于连接到 Telegram。"
            chat_id:
              title: 聊天 ID
              help: 一个由机器人提供的号码,或一个 @channelname 格式的广播频道标识符
          errors:
            access_token_required: "需要机器人访问令牌。"
            webhook_setup_failed: "无法在 Telegram 上注册网络钩子。请检查令牌并重试。"
            channel_not_found: "指定的频道在 Telegram 上不存在"
            forbidden: "机器人没有权限在此频道发帖"
            invalid_api_base_url: "Telegram API 基本 URL 站点设置不是有效的 HTTPS URL。"
            api_base_url_blocked: "对 Telegram API 基本 URL 的请求已被阻止。私有网络上的主机必须添加到允许的内部主机站点设置中。"
        discord:
          title: "Discord"
          param:
            name:
              title: "名称"
              help: "用于描述频道的名称。它不用于连接到 Discord。"
            webhook_url:
              title: 网络钩子 URL
              help: 您在 Discord 服务器设置中创建的网络钩子 URL 格式应为 https://discord.com/api/webhooks/<webhook-id>/<webhook-token>
        guilded:
          title: "Guilded"
          param:
            name:
              title: "名称"
              help: "用于描述频道的名称。它不用于连接到 Guilded"
            webhook_url:
              title: 网络钩子 URL
              help: 在您的 Guilded 服务器设置中创建的网络钩子 URL
        mattermost:
          title: "Mattermost"
          param:
            identifier:
              title: 频道
              help: "例如 #channel 或 @username"
          errors:
            channel_not_found: "指定的频道在 Mattermost 上不存在"
        matrix:
          title: "Matrix"
          param:
            name:
              title: "名称"
              help: "用于描述频道的名称。它不用于连接到 Matrix。"
            room_id:
              title: "房间 ID"
              help: "房间的“私有标识符”。应该类似于 !abcdefghijkl"
          errors:
            unknown_token: "访问令牌无效"
            unknown_room: "房间 ID 无效"
        zulip:
          title: "Zulip"
          param:
            stream:
              title: "流"
              help: "消息应发送到的 Zulip 流的名称。例如 'general'"
            subject:
              title: "主题"
              help: "应提供机器人发送的这些消息的主题"
          errors:
            does_not_exist: "流在 Zulip 上不存在"
        rocketchat:
          title: "Rocket.Chat"
          param:
            identifier:
              title: 频道
              help: "例如 #channel 或 @username"
          errors:
            invalid_channel: "该频道在 Rocket Chat 上不存在"
        gitter:
          title: "Gitter"
          param:
            name:
              title: "名称"
              help: "Gitter 房间的名称,例如 gitterHQ/services"
            webhook_url:
              title: "网络钩子 URL"
              help: "在 Gitter 房间中创建新集成时提供的 URL。"
        groupme:
          title: "GroupMe"
          param:
            groupme_instance_name:
              title: "GroupMe 实例名称"
              help: "站点设置中列出的 Groupme 实例的名称。使用 'all' 可以发送到所有实例"
          errors:
            not_found: "未找到您尝试将消息发布到的路径。检查站点设置中的机器人 ID。"
        teams:
          title: "Microsoft Teams"
          param:
            name:
              title: "名称"
              help: "Teams 频道名称,例如 discourse"
            webhook_url:
              title: "网络钩子 URL"
              help: "创建新的入站网络钩子时提供的 URL"
          errors:
            invalid_channel: "该频道在 Microsoft Teams 上不存在"
        powerautomate:
          title: "Microsoft Power Automate"
          param:
            name:
              title: "名称"
              help: "频道名称(仅在 Discourse 管理界面中显示)"
            webhook_url:
              title: "网络钩子 URL"
              help: "创建新的入站网络钩子时提供的 URL"
          errors:
            invalid_webhook: "该网络钩子 URL 无效。"
        webex:
          title: "Webex Teams"
          param:
            name:
              title: "名称"
              help: "Webex 空间名称,例如 discourse"
            webhook_url:
              title: "网络钩子 URL"
              help: "创建新的入站网络钩子时提供的 URL"
          errors:
            invalid_channel: "该频道在 Webex 上不存在"
        google:
          title: "Google Chat"
          param:
            name:
              title: "名称"
              help: "频道名称(仅在 Discourse 管理界面中显示)"
            webhook_url:
              title: "网络钩子 URL"
              help: "创建新的网络钩子时提供的 URL"
    discourse_automation:
      scriptables:
        send_slack_message:
          title: 发送 Slack 消息
          fields:
            message:
              label: 消息
              description: >-
                为话题名称使用 ${TOPIC},为使用的 URL 使用 ${URL},为移除的标签使用 ${REMOVED_TAGS},为添加的标签使用 ${ADDED_TAGS},为默认文本使用 ${ADDED_AND_REMOVED}。仅在触发器设置为“话题标签已更改”时可用。
            url:
              label: URL
            channel:
              label: 频道
        send_chat_integration_message:
          title: 发送聊天集成消息
          fields:
            channel_name:
              label: 频道名称
              description: "您可以在聊天集成设置中找到频道名称"
            provider:
              label: 提供程序
    discourse_workflows:
      node_unavailable:
        requires_chat_integration: "需要启用聊天集成插件"
      nodes:
        "action:send_chat_integration_message": "发送聊天集成消息"
      node_descriptions:
        "action:send_chat_integration_message": "向聊天集成频道(Slack、Discord、Telegram 等)发送通知"
      send_chat_integration_message:
        channel_id: "频道"
        configure: "配置"
        message: "消息"