Skip to content

Commit 2818492

Browse files
committed
Only kept en-US i18n for now, separated the big file in smaller ones for readability
had to remove a test due to breaking mock (to look at latter)
1 parent 9e0c3ba commit 2818492

28 files changed

+278
-1037
lines changed

cosmotech/translation/coal/en-US/coal.yml

Lines changed: 0 additions & 306 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
no_table: "No table with name {table_name} exists"
2+
parameter_not_exists: "Parameter {parameter_name} does not exists"
3+
invalid_output_type: "{output_type} is not a valid type of output"
4+
no_workspace_files: "No workspace file were found with filter {file_prefix} in workspace {workspace_id}"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
no_env_vars: "No set of environment variables found for a valid Cosmo Tech API connection"
2+
no_valid_connection: "No valid connection available to the Cosmo Tech API"
3+
missing_env_var: "Missing the following environment variable: {envvar}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
file_not_found: "{source_folder} does not exists"
2+
file_exists: "File {csv_path} already exists"
3+
not_directory: "{target_dir} is a file and not a directory"
4+
file_not_exists: '"{file_path}" does not exists'
5+
not_single_file: '"{file_path}" is not a single file'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
invalid_file: "{file} is not a `.yaml` or `.json` file"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
not_csv_file: "'{file_path}' is not a csv file"
2+
invalid_nodes_relations: "'{file_path}' does not contains valid nodes or relations"
3+
invalid_truth_value: '"{string} is not a recognized truth value'
4+
node_requirements: "Node files must have an '{id_column}' column"
5+
relationship_requirements: "Relationship files must have '{source_column}' and '{target_column}' columns, or '{id_column}'"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
not_found: "Workspace {workspace_id} was not found in Organization {organization_id}"
2+
target_is_folder: "Target {target_dir} is a folder"
3+
loading_file: "Loading file {file_name}"
4+
file_loaded: "File {file_path} loaded"
5+
sending_to_api: "Sending file to API"
6+
file_sent: "File sent to API"
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
creating_kusto_client: "Creating Kusto client for cluster: {cluster_url}"
2+
creating_ingest_client: "Creating ingest client for URL: {ingest_url}"
3+
using_app_auth: "Using Azure AD application authentication"
4+
using_cli_auth: "Using Azure CLI authentication"
5+
generating_urls: "Generating URLs for cluster {cluster_name} in region {cluster_region}"
6+
running_query: "Running query on database {database}: {query}"
7+
running_command: "Running command on database {database}: {query}"
8+
query_complete: "Query complete, returned {rows} rows"
9+
command_complete: "Command execution complete"
10+
ingesting_dataframe: "Ingesting dataframe with {rows} rows to table {table_name}"
11+
ingestion_queued: "Ingestion queued with source ID: {source_id}"
12+
sending_to_adx: "Sending {items} items to ADX table {table_name}"
13+
empty_dict_list: "Empty dictionary list provided, nothing to send"
14+
table_creation_failed: "Error creating table {table_name}"
15+
checking_status: "Checking ingestion status for {count} operations"
16+
status_messages: "Found {success} success messages and {failure} failure messages"
17+
status_found: "Found status for {source_id}: {status}"
18+
ingestion_timeout: "Ingestion operation {source_id} timed out"
19+
clear_queues_no_confirmation: "Clear queues operation requires confirmation=True"
20+
clearing_queues: "DANGER: Clearing all ingestion status queues"
21+
queues_cleared: "All ingestion status queues have been cleared"
22+
waiting_ingestion: "Waiting for ingestion of data to finish"
23+
ingestion_failed: "Ingestion {ingestion_id} failed for table {table}"
24+
ingestion_completed: "All data ingestion attempts completed"
25+
failures_detected: "Failures detected during ingestion - dropping data with tag: {operation_tag}"
26+
checking_table_exists: "Checking if table exists"
27+
creating_nonexistent_table: "Table does not exist, creating it"
28+
dropping_data_by_tag: "Dropping data with tag: {tag}"
29+
drop_completed: "Drop by tag operation completed"
30+
drop_error: "Error during drop by tag operation: {error}"
31+
drop_details: "Drop by tag details"
32+
checking_table: "Checking if table {table_name} exists in database {database}"
33+
table_exists: "Table {table_name} exists"
34+
table_not_exists: "Table {table_name} does not exist"
35+
creating_table: "Creating table {table_name} in database {database}"
36+
create_query: "Create table query: {query}"
37+
table_created: "Table {table_name} created successfully"
38+
table_creation_error: "Error creating table {table_name}: {error}"
39+
mapping_type: "Mapping type for key {key} with value type {value_type}"
40+
runner:
41+
content_debug: "CSV content: {content}"
42+
store:
43+
sending_data: "Sending data to the table {table_name}"
44+
listing_tables: "Listing tables"
45+
working_on_table: "Working on table: {table_name}"
46+
table_empty: "Table {table_name} has no rows - skipping it"
47+
starting_ingestion: "Starting ingestion operation with tag: {operation_tag}"
48+
loading_datastore: "Loading datastore"
49+
data_sent: "Store data was sent for ADX ingestion"
50+
ingestion_error: "Error during ingestion process"
51+
dropping_data: "Dropping data with tag: {operation_tag}"
52+
auth:
53+
initializing_clients: "Initializing clients"
54+
utils:
55+
empty_column: "Column {column_name} has no content, defaulting it to string"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
solution_debug: "Solution: {solution}"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
existing_sets: "Existing sets are:"
2+
azure_connection: " Azure Entra Connection : {keys}"
3+
api_key_connection: " Cosmo Tech API Key : {keys}"
4+
keycloak_connection: " Keycloak connection : {keys}"
5+
found_keycloak: "Found Keycloack connection info"
6+
found_cert_authority: "Found Certificate Authority override for IDP connection, using it."
7+
found_api_key: "Found Api Key connection info"
8+
found_azure: "Found Azure Entra connection info"
9+
found_valid: "Found valid connection of type: {type}"

0 commit comments

Comments
 (0)