This is an automated email from the ASF dual-hosted git repository. imbajin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hugegraph-toolchain.git
commit c59755531ff7116600a127c36f5eda579f59fa1a Author: dark <[email protected]> AuthorDate: Fri Aug 14 12:39:02 2026 +0800 i18n(hubble): align analysis and task messages --- .../src/i18n/resources/en-US/modules/analysis.json | 9 ++++ .../src/i18n/resources/en-US/modules/pages.json | 52 +++++++++++++++++++--- .../i18n/resources/zh-CN/components/common.json | 3 +- 3 files changed, 57 insertions(+), 7 deletions(-) diff --git a/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/analysis.json b/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/analysis.json index 03c799cd3..eefd7cfaf 100644 --- a/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/analysis.json +++ b/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/analysis.json @@ -80,6 +80,15 @@ "mode_2d": "2D Mode", "mode_3d": "3D Mode", "import_success": "Imported successfully", + "number_card": { + "paths": "Paths", + "nodes": "Nodes", + "edges": "Edges", + "loading": "Loading", + "unavailable": "Unavailable", + "node_summary": "Nodes: {{current}} in this result, {{total}} in the full graph", + "edge_summary": "Edges: {{current}} in this result, {{total}} in the full graph" + }, "import_failed": "Import failed", "export_json": "Export JSON", "export_png": "Export image", diff --git a/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/pages.json b/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/pages.json index 6f55f7414..3c9f0fe08 100644 --- a/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/pages.json +++ b/hugegraph-hubble/hubble-fe/src/i18n/resources/en-US/modules/pages.json @@ -226,10 +226,10 @@ "clear_graph": "Clear Schema and Data", "set_default": "Set Default", "view_schema": "View Schema", - "load_hlm_sample": "Build Red Chamber Demo", - "load_loader_sample": "Build People & Software Demo", + "load_hlm_sample": "Red Chamber Demo Graph", + "load_loader_sample": "People & Software Demo Graph", "sample_data": "Sample data and resources", - "load_rank_sample": "Build Rank Tiny Movie Demo", + "load_rank_sample": "Tiny Movie Rank Demo", "clone": "Clone Graph" }, "sample": { @@ -263,10 +263,18 @@ "nickname_placeholder": "Optional, for example: Movie Recommendations", "nickname_help": "An optional display alias or note. It is not used for URL or authorization matching; when empty, the graph name is shown. Use letters, digits, or underscores, up to 48 characters", "schema": "Graph Schema", + "sample_hlm": "Red Chamber Demo Graph", + "sample_rank": "Tiny Movie Rank Demo", + "sample_loader": "People & Software Demo Graph", + "sample_none": "No example data", "schema_placeholder": "Select an existing schema template (optional)", "schema_load_failed": "Schema templates could not be loaded.", "schema_retry": "Retry templates", "schema_optional_hint": "Optional. You can create an empty graph without a template", + "sample": "Example data", + "sample_placeholder": "Optional: import an example dataset after creating the graph", + "sample_hint": "Creates the graph and imports its Schema and example data; if import fails, retry from the created graph", + "sample_apply_failed": "The graph was created, but the example import failed. Retry it from the graph menu.", "schema_create": "Create a Graph Schema", "schema_create_failed": "The built-in Graph Schema could not be created. Check the template list and retry.", "schema_apply_failed": "The graph was created, but its built-in Schema could not be applied. Retry from Metadata.", @@ -337,6 +345,7 @@ "counts_tooltip": "Actual vertex and edge counts reported by the graph list API", "overview": "Overview", "schema_info": "Schema Info", + "view_schema": "View Schema for {{graph}}", "empty_schema": "No schema yet", "empty_schema_help": "Model this graph or run a safe query", "open_schema": "Create schema", @@ -548,7 +557,7 @@ "execute": "Run", "action": { "detail": "View execution history", - "config": "View task configuration", + "config": "View task information", "edit": "Edit task", "pause": "Pause task", "run": "Run task", @@ -568,6 +577,18 @@ "realtime": "Realtime", "cron": "Scheduled" }, + "status": { + "pending": "Pending", + "running": "Running", + "success": "Completed", + "failed": "Failed", + "paused": "Paused", + "stopped": "Stopped", + "initializing": "Initializing", + "cancelling": "Cancelling", + "cancelled": "Cancelled", + "unknown": "Unknown" + }, "col": { "name": "Task Name", "source_type": "Source Type", @@ -611,14 +632,21 @@ "other": "Details" }, "view": { - "title": "View Task", + "title": "Task Information", "unavailable": "Unable to load the current task details.", "retry": "Retry task details", + "unavailable_value": "Not available", "name": "Task Name", "source_type": "Source Type", "target_space": "Target Space", "target_graph": "Target Graph", - "sync_type": "Sync Type" + "sync_type": "Sync Type", + "status": "Status", + "data_size": "Data Size", + "duration": "Duration", + "create_time": "Created At", + "update_time": "Updated At", + "technical_details": "Technical Details" }, "edit": { "name": "Task Name", @@ -1188,6 +1216,8 @@ "node_id_copied": "Node ID copied", "node_id_copy_failed": "Could not copy the node ID", "leader_role": "Leader role", + "leader_shard": "{{count}} leader shard", + "leader_shards": "{{count}} leader shards", "node_profile": "Node profile", "node_detail": "Node Detail", "node_metrics": "Node metrics", @@ -1199,6 +1229,10 @@ "refresh": "Refresh", "refreshing": "Refreshing…", "stale": "Stale", + "stale_help": "Metrics were not refreshed in the latest observation window; topology status may still be usable; refresh or open node details for the reason", + "status_unknown": "The health state could not be confirmed; check the reason or refresh", + "status_degraded": "Attention", + "status_degraded_help": "Some sources or metrics are unhealthy while core services may still be available; review the source details below", "unavailable": "Unavailable", "unsupported": "Unsupported by this service version", "metric_malformed": "Malformed metric response", @@ -1244,6 +1278,7 @@ "search_nodes": "Search node name", "node_type_filter": "Filter by node type", "node_status_filter": "Filter by node status", + "clear_filters": "Clear filters", "view_node_details": "View details for {{name}}", "view_details": "View details", "action": "Action", @@ -1270,6 +1305,11 @@ "metric_scope_backend": "Backend metrics are provided by Server and Store nodes, not {{nodeType}} nodes.", "reason_upstream_timeout": "Upstream timed out", "reason_upstream_unavailable": "Upstream unavailable", + "reason_metrics_target_untrusted": "The metrics target failed the trust check. Review the PD/Prometheus target configuration.", + "reason_metrics_target_missing": "No Store metrics target was discovered. Review the target configuration.", + "reason_upstream_deadline": "Metrics collection timed out", + "reason_metrics_not_collected": "This metric is not collected from the current node", + "reason_topology_fields_unavailable": "The topology did not provide this field", "reason_partial_refresh_failed": "Some metrics could not be refreshed", "reason_refresh_failed": "Refresh failed", "reason_malformed_response": "Malformed response", diff --git a/hugegraph-hubble/hubble-fe/src/i18n/resources/zh-CN/components/common.json b/hugegraph-hubble/hubble-fe/src/i18n/resources/zh-CN/components/common.json index bcd7d3bf6..877d473b4 100644 --- a/hugegraph-hubble/hubble-fe/src/i18n/resources/zh-CN/components/common.json +++ b/hugegraph-hubble/hubble-fe/src/i18n/resources/zh-CN/components/common.json @@ -98,6 +98,7 @@ }, "request": { "failed": "请求失败", - "error": "请求出错:{{message}},path:{{path}}" + "error": "请求失败:{{message}}", + "error_with_path": "请求失败:{{message}}({{path}})" } }
