Skip to content

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

22.5 KB
Raw Blame
en:
  activerecord:
    errors:
      models:
        discourse_workflows/workflow:
          attributes:
            error_workflow_id:
              cannot_be_self: "cannot be set to the workflow itself"
        discourse_workflows/variable:
          attributes:
            type_options:
              enum_choices_required: "must include at least one choice for an enum field"
  discourse_workflows:
    admin_assistant:
      generating: "Generating and validating an unpublished workflow draft"
      create_summary: "Save this workflow as an unpublished draft?"
      not_allowed: "Only administrators who can manage workflows can create workflows."
      invalid_request: "The workflow request is empty, contains a secret, or is too long. Please provide a shorter description without secrets."
      invalid_draft: "This workflow draft reference is invalid, unavailable, or expired. Please generate a new draft."
      incomplete_draft: "The generated workflow draft is incomplete. Please generate a new draft."
      invalid_graph: "The generated workflow graph is no longer valid. Please generate a new draft."
      secret_draft: "Workflow drafts cannot contain raw secrets or embedded credentials. Store credentials separately and generate a new draft that references them safely."
      requester_not_admin: "The administrator who requested this workflow no longer has permission to manage workflows. Please request a new draft from an authorized administrator."
      approval_required: "Saving this workflow requires human approval."
      draft_used: "This workflow draft has already been used or is being saved. Please generate a new draft."
      generation_failed: "The workflow could not be generated and validated. Please try again or refine your request."
      clarification_required: "More information is needed before the workflow can be generated."
      creation_failed: "The workflow could not be saved. No workflow was created."
      availability:
        available: "Workflow creation is available. Saving requires explicit approval."
        restricted: "Workflow creation is unavailable on this site."
        disabled: "Workflow authoring or Discourse AI is disabled. An administrator needs to enable the required features before creating workflows."
        unconfigured: "The workflow-authoring AI model is not configured or usable."
    ai:
      default_code_node_name: "Code"
      error_agent_not_configured: "The workflow authoring agent is not configured."
      error_invalid_mode: "Invalid AI workflow authoring mode."
      error_invalid_patch: "The AI proposal did not pass workflow validation: %{errors}"
      error_invalid_response: "AI returned an invalid response."
      error_message_required: "Enter a prompt for the workflow assistant."
      error_message_too_long: "The workflow assistant prompt is too long."
      error_no_operations: "The AI response did not include any workflow patch operations."
      error_not_enabled: "AI-assisted workflow authoring is not enabled."
      error_proposal_not_ready: "This AI proposal is not ready to apply."
      error_stale_proposal: "The workflow changed after this AI proposal was generated. Regenerate the proposal."
      clarification_message: "Choose answers so the assistant can continue drafting the workflow."
      how_to_proceed:
        question: "%{problem} How should the assistant proceed?"
        fix: "Fix the problems and try again"
      tool_call_proposal_message: "The assistant drafted a workflow patch and the server validated it."
      tool_call_proposal_summary:
        one: "The assistant drafted one workflow patch operation. Review it before applying."
        other: "The assistant drafted %{count} workflow patch operations. Review them before applying."
      tool_call_proposal_title: "Workflow patch"
      progress:
        queued: "Workflow authoring request queued"
        loading_context: "Loading workflow authoring context"
        planning: "Asking the workflow authoring agent to draft a response"
        writing_scripts: "Reviewing generated Code node scripts"
        validating_scripts: "Validating generated Code node scripts"
        validating_patch: "Validating workflow patch"
        drafting_response: "Drafting workflow authoring response"
        writing_response: "Writing workflow authoring response"
        using_tool: "Using %{tool}"
        tool_finished: "Finished %{tool}"
        summarizing: "Preparing workflow authoring response"
    errors:
      access_control:
        invalid_groups: "Groups from input must resolve to an array of valid group IDs."
        missing_groups: "Groups from input contains groups that no longer exist."
        required_permission: "Access must include at least one %{permissions} permission."
      too_many_tags: "A workflow can have at most %{max} tags."
      tag_too_long: "Tags can have at most %{max} characters."
      tag_contains_comma: "Tags cannot contain commas."
      workflow_variable:
        invalid_value: "is not valid for this field's type"
        incompatible_value_for_new_type: "has a current value that is not valid for the new type. Update or clear the value first."
      approval_timed_out: "Approval timed out"
      run_timed_out:
        one: "Execution ran for more than %{count} minute without pausing"
        other: "Execution ran for more than %{count} minutes without pausing"
      queue_timed_out:
        one: "Execution was queued for more than %{count} minute without starting"
        other: "Execution was queued for more than %{count} minutes without starting"
      rate_limited:
        global:
          one: "This workflow wasn't run because %{count} workflow execution already started in the last minute across all workflows, which is the most allowed. Runs will go through again once fewer workflow executions have started in the last minute."
          other: "This workflow wasn't run because %{count} workflow executions already started in the last minute across all workflows, which is the most allowed. Runs will go through again once fewer workflow executions have started in the last minute."
        per_workflow:
          one: "This workflow wasn't run because it already started %{count} execution in the last minute, which is the most allowed for a single workflow. Later runs will go through again once the last minute has fewer executions. If it's triggered this often on purpose, reduce how often its trigger fires, for example by filtering events earlier."
          other: "This workflow wasn't run because it already started %{count} executions in the last minute, which is the most allowed for a single workflow. Later runs will go through again once the last minute has fewer executions. If it's triggered this often on purpose, reduce how often its trigger fires, for example by filtering events earlier."
      step_execution:
        not_executable: "This node cannot be executed as a single step."
        waiting_not_supported: "Nodes that wait for a response cannot run during a step execution. Run the workflow or pin data past them first."
        missing_input_data: "No data can reach this node. Run the workflow or pin data on an upstream node first."
        wait_requested: "This node requested to wait, which is not supported when executing a single step."
      webhook_timed_out: "Webhook timed out"
      schedule_rules_required: "At least one schedule rule is required."
      invalid_schedule_rule: "One or more schedule rules are invalid."
      invalid_timezone: "Invalid timezone: %{timezone}."
      not_enabled: "The discourse-workflows plugin is not enabled."
      no_permission_to_manage: "You don't have permission to manage workflows."
      node_preview_failed: "Something went wrong while previewing this step."
      invalid_form_submission: "The form submission has invalid or missing fields."
      invalid_form_token: "The form token is invalid or has expired."
      webhook_test_listener_active: "A webhook test listener is already active for this URL."
      webhook_route_collision: "Another active workflow already owns %{method} %{path}."
      workflow_failed: "Error in workflow"
      already_resumed: "This execution has already been resumed."
      javascript_execution_failed: "JavaScript execution failed"
      storage_limit_exceeded: "Data table storage limit exceeded."
      invalid_nodes: "Nodes must be an array of workflow node objects."
      invalid_connections: "Connections must be a workflow connection map."
      invalid_node_fields: "Nodes must use supported node field shapes."
      invalid_node_json_keys: "Nodes must use supported JSON keys."
      node_names_required: "Node names are required."
      node_types_required: "Node types are required."
      unsupported_node_version: "Unsupported version %{version} for %{type}."
      max_nodes_exceeded: "Workflows cannot have more than %{max} nodes"
      max_nodes_of_type_exceeded: "Workflows cannot have more than %{max} %{type} node"
      node_does_not_accept_inputs: "%{node} does not accept inputs."
      duplicate_node_names: "Node names must be unique within a workflow. Duplicates: %{names}"
      no_rows_matched_filter: "No rows matched the provided filter."
      unknown_operation: "Unknown operation: %{operation}."
      actor:
        blank: "The user for '%{field}' resolved to a blank value."
        not_found: "No user found with username '%{username}'."
        id_not_found: "No user found with ID %{id}."
        restricted:
          staged: "The user '%{username}' is a staged user and can't perform actions."
          silenced: "The user '%{username}' is silenced."
          suspended: "The user '%{username}' is suspended."
          inactive: "The user '%{username}' hasn't activated their account."
      item:
        inconsistent_format_title: "Inconsistent item format"
        inconsistent_format: "Every returned item must use the same format."
      topic:
        create_failed: "Failed to create topic."
        bump_failed: "Failed to bump topic."
        invalid_filter: "Invalid topic filter: %{fragments}."
      post:
        topic_closed_or_archived: "Cannot create a post in a closed or archived topic."
        whisper_not_allowed: "%{username} cannot whisper. Check the whispers allowed groups site setting."
        edit_failed: "Failed to edit post."
        invalid_filter: "Invalid post filter: %{fragments}."
      flag_post:
        unknown_flag_type: "Unknown flag type: %{flag_type}."
        actor_not_staff: "The acting user must be a staff member to flag posts."
        cannot_flag: "This post cannot be flagged as spam. It may already be hidden or authored by a staff member."
        flag_failed: "Failed to flag post: %{errors}"
      flag_user:
        actor_not_staff: "The acting user must be a staff member to flag users."
        cannot_flag_staff: "'%{username}' cannot be flagged. Staff members and automated accounts cannot be added to the review queue."
      user:
        unknown_extensions: "Unknown user extensions: %{extensions}."
        invalid_updates: "User updates must be an object."
        invalid_trust_level: "Invalid trust level: %{level}."
        update_failed: "Failed to update user: %{errors}"
      send_personal_message:
        no_recipients: "At least one personal message recipient is required."
      credential:
        missing_required_field: "is missing required field '%{field}'"
      wait:
        amount_must_be_positive: "Wait amount must be greater than 0."
        invalid_unit: "Invalid wait unit: %{unit}."
        invalid_timeout_unit: "Invalid timeout unit: %{unit}."
        timeout_amount_must_be_positive: "Timeout amount must be greater than 0."
      time_window:
        invalid_day_mode: "Unknown day mode: %{mode}."
        days_required: "At least one day must be selected."
        invalid_days: "Days must be values between 0 (Sunday) and 6 (Saturday)."
        invalid_time_range: "Start and end times must use the HH:MM format."
        start_end_equal: "Start and end times cannot be the same."
        invalid_time: "'%{field}' is not a valid HH:MM time: '%{value}'."
      modal:
        no_target_user: "No target user is available for the modal."
        user_not_found: "User '%{username}' not found."
      composer_paused:
        too_many_phrases: "A composer trigger can have at most %{max} phrases."
        phrase_too_long: "The phrase '%{phrase}' is longer than %{max} characters."
        invalid_phrase: "The phrase '%{phrase}' is invalid, matches any text, or could take too long to match."
      composer_message:
        no_user: "No user is available to show the composer message to."
        no_composer: "Composer messages need a workflow started by the composer trigger."
      topic_tags:
        unknown_mode: "Unknown tag mode: %{mode}."
        no_tag_names: "No tag names provided."
        overlapping_tag_names: "The same tags cannot be added and removed: %{tag_names}."
        unapplied_tag_names: "Tag changes could not be applied: %{tag_names}."
        operation_failed: "Tag operation failed: %{errors}"
        personal_message_not_allowed: "'%{username}' cannot tag personal messages. Add one of their groups to the 'pm_tags_allowed_for_groups' site setting."
      tag_group:
        no_tag_names: "No tag names provided."
        no_valid_tag_names: "No valid tag names provided."
        operation_failed: "Tag group operation failed: %{errors}"
      site_setting:
        name_required: "No site setting name provided."
        unknown_setting: "Unknown site setting '%{name}'."
        secret_setting: "Site setting '%{name}' holds a secret and cannot be changed by a workflow."
        actor_not_admin: "'%{username}' must be an admin to change site settings."
        update_failed: "Site setting '%{name}' could not be updated: %{errors}"
        unknown_error: "unknown error"
      topic_category:
        operation_failed: "Category change failed."
        private_message: "Personal messages cannot have a category."
        uncategorized_not_allowed: "This site does not allow topics without a category."
      topic_pin:
        unknown_pin_type: "Unknown pin type: %{pin_type}."
        invalid_timestamp: "'%{field}' is not a valid date and time: '%{value}'."
        pin_not_allowed: "'%{username}' cannot pin or unpin topic %{topic_id}. Pinning requires staff, trust level 4, or moderator access to the topic's category."
        pin_globally_not_allowed: "'%{username}' cannot pin topic %{topic_id} globally. Pinning globally requires staff or trust level 4."
        banner_not_allowed: "'%{username}' cannot make topic %{topic_id} a banner. Banner topics can only be managed by staff."
        banner_private_message: "Personal messages cannot be made into banner topics."
        banner_restricted_category: "Topics in a restricted category cannot be made into banner topics."
      sort:
        code_missing_return: "Code must contain a return statement."
      summarize:
        no_aggregations: "No aggregations configured."
        no_aggregations_help: "Add at least one aggregation, for example a count or a sum."
        invalid_aggregation: "Unknown aggregation: %{aggregation}."
        duplicate_output_field: "Two aggregations write to the same output field '%{field}'."
        duplicate_output_field_help: "Set a different output field name on one of them."
      split_out:
        destination_count_mismatch: "Destination field name count must match field count."
        fields_to_include_required: "No fields specified."
        too_many_items: "Cannot split into more than %{max} items (array has %{count} elements)."
      set_fields:
        json_blank: "JSON string is blank."
        json_must_be_object: "JSON must be an object."
      template:
        invalid_template: "Invalid template"
      http_request:
        url_required: "URL is required."
        unsupported_scheme: "Only HTTP and HTTPS URLs are supported."
        host_required: "URL must include a host."
        credential_required: "Credential is required for authentication mode '%{mode}'."
        exec_ctx_required: "Execution context is required for authentication mode '%{mode}'."
        header_name_invalid: "Header name contains invalid characters."
      data_table:
        unknown_column: "Unknown column name '%{column}'."
        invalid_query: "Invalid query: %{errors}"
        invalid_row: "Invalid row: %{errors}"
        filter_required: "Filter must not be empty"
        no_columns_to_insert: "Cannot insert a row without any column values."
        empty_column_expression: "Column '%{column}' has an empty expression."
        invalid_columns: "Columns must be an object of column names to values, got '%{value}'."
      workflow_version:
        referenced_by_workflow: "Cannot delete a workflow version that is still referenced as the current or active version."
      workflow_call:
        workflow_required: "Select a workflow to call."
        self_reference: "%{node} cannot call its own workflow."
        target_not_found: "The selected workflow could not be found."
        target_not_callable: "The selected workflow must be published and contain a Workflow call trigger."
        cycle: "%{node} creates a workflow call loop."
        recursive_call: "Workflow call loop detected."
        max_depth_exceeded: "Workflow call depth cannot exceed %{max}."
        execution_failed: "Called workflow finished with status '%{status}'."
        execution_failed_with_error: "Called workflow finished with status '%{status}': %{error}"
        payload_too_large: "Workflow call payload exceeds the maximum size of %{max} bytes."
    post:
      destroy_context: "Deleted by a workflow"
    flag_post:
      flagged_by_workflow: "Flagged by the '%{workflow_name}' workflow."
      flagged_by_agent: "Flagged following review by '%{agent_name}' in the '%{workflow_name}' workflow."
    user:
      check_email_context: "Workflow user node"
    flag_user:
      flagged_by_workflow: "Flagged by the '%{workflow_name}' workflow."
      flagged_by_agent: "Flagged following review by '%{agent_name}' in the '%{workflow_name}' workflow."
    pin_data:
      errors:
        unsupported_node: "Only nodes with a single output can have pinned data."
        invalid_items: "Pinned data must be an array of items with a 'json' object."
        size_limit_exceeded: "Pinned data exceeds the per-workflow size limit (%{limit} bytes)."
        no_sample_data: "Pin sample data on this trigger to run the workflow manually."
    hints:
      split_out:
        field_not_found: "The field '%{field}' wasn't found in any input item."
      flag_user:
        already_resolved: "'%{username}' already has a review item with status '%{status}'. Turn on \"Reopen resolved reviews\" if this workflow should send them back to the queue."
  site_settings:
    enable_discourse_workflows: "Enable the discourse-workflows plugin."
    discourse_workflows_ai_authoring_enabled: "Enable AI-assisted workflow authoring."
    discourse_workflows_ai_authoring_max_prompt_length: "Maximum length for AI workflow authoring prompts."
    discourse_workflows_ai_authoring_rate_limit_per_minute: "Maximum AI workflow authoring requests per minute per user."
  discourse_ai:
    ai_bot:
      agents:
        ai_workflow_author:
          name: "Workflow author"
          description: "Builds and edits Discourse workflows from natural language"
      tool_help:
        workflow_node_catalog: "Returns the configuration schema of workflow node types"
        workflow_ai_agent_catalog: "Lists existing Discourse AI agents that workflow drafts can reuse"
        workflow_node_details: "Describes nodes in the current workflow, including recorded output"
        workflow_validate_patch: "Dry-runs and validates workflow patch operations"
        workflow_ask_questions: "Asks the workflow admin to choose clarification answers"
        workflow_authoring_result: "Returns the final workflow authoring result"
        workflow_resolve_entity: "Resolves Discourse names to workflow parameter values"
        search_chat_channels: "Searches chat channel names and IDs for workflow parameters"
        search_chat_integration_channels: "Searches external chat integration channel labels and IDs for workflow parameters"
        workflow_validate_script: "Runs workflow Code node JavaScript with test data"
        data_table_schema: "Lists workflow data tables with their columns"
        data_table_query: "Reads rows from a workflow data table"
        data_table_write: "Inserts, updates, upserts or deletes workflow data table rows"
      tool_summary:
        workflow_node_catalog: "Reading workflow node catalog"
        workflow_ai_agent_catalog: "Reading AI agent catalog"
        workflow_node_details: "Reading workflow nodes"
        workflow_validate_patch: "Validating workflow patch"
        workflow_ask_questions: "Asking clarification questions"
        workflow_authoring_result: "Returning workflow authoring result"
        workflow_resolve_entity: "Resolving Discourse entities"
        search_chat_channels: "Searching chat channels"
        search_chat_integration_channels: "Searching external chat integration channels"
        workflow_validate_script: "Testing script"
        data_table_schema: "Reading data table schema"
        data_table_query: "Querying data table"
        data_table_write: "Writing to data table"
      tool_description:
        workflow_node_catalog: "Read workflow node catalog"
        workflow_ai_agent_catalog: "Read AI agent catalog"
        workflow_node_details: "Read workflow nodes"
        workflow_validate_patch: "Validated workflow patch"
        workflow_ask_questions: "Asked clarification questions"
        workflow_authoring_result: "Returned workflow authoring result"
        workflow_resolve_entity: "Resolved Discourse entities"
        search_chat_channels: "Searched chat channels"
        search_chat_integration_channels: "Searched external chat integration channels"
        workflow_validate_script: "Tested script"
        data_table_schema: "Read data table schema"
        data_table_query: "Queried data table"
        data_table_write: "Wrote to data table"
      tool_options:
        data_table_schema:
          allowed_tables:
            name: "Allowed tables"
            description: "Comma-separated data table names or ids this agent may use. Leave empty to allow all tables."
        data_table_query:
          allowed_tables:
            name: "Allowed tables"
            description: "Comma-separated data table names or ids this agent may use. Leave empty to allow all tables."
        data_table_write:
          allowed_tables:
            name: "Allowed tables"
            description: "Comma-separated data table names or ids this agent may use. Leave empty to allow all tables."
  reviewables:
    reasons:
      workflow_flagged_user: "A workflow added this user to the review queue."