From e57e60e6cb84431e694e69830d128cd71938388f Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 9 Jun 2022 14:43:53 +0800 Subject: [PATCH] feat(client): update locales --- packages/core/client/src/locale/en_US.ts | 347 ++++++++++++++++++----- 1 file changed, 281 insertions(+), 66 deletions(-) diff --git a/packages/core/client/src/locale/en_US.ts b/packages/core/client/src/locale/en_US.ts index ad5caa2b9..392c5bc0f 100644 --- a/packages/core/client/src/locale/en_US.ts +++ b/packages/core/client/src/locale/en_US.ts @@ -1,11 +1,10 @@ export default { - "{{count}} filter items_one": "{{count}} filter item", - "{{count}} filter items_other": "{{count}} filter items", - "{{count}} more items_one": "{{count}} more item", - "{{count}} more items_other": "{{count}} more items", - "Total {{count}} items_one": "Total {{count}} item", - "Total {{count}} items_other": "Total {{count}} items", - "Delete menu item": "Delete menu item", + "Display <1><0>10<1>20<2>50<3>100 items per page": "Display <1><0>10<1>20<2>50<3>100 items per page", + "Meet <1><0>All<1>Any conditions in the group": "Meet <1><0>All<1>Any conditions in the group", + "Open in<1><0>Modal<1>Drawer<2>Window": "Open in<1><0>Modal<1>Drawer<2>Window", + "{{count}} filter items": "{{count}} filter items", + "{{count}} more items": "{{count}} more items", + "Total {{count}} items": "Total {{count}} items", "Today": "Today", "Month": "Month", "Week": "Week", @@ -25,6 +24,7 @@ export default { "Icon": "Icon", "Group": "Group", "Link": "Link", + "Save conditions": "Save conditions", "Edit menu item": "Edit menu item", "Move to": "Move to", "Insert left": "Insert left", @@ -32,6 +32,7 @@ export default { "Insert inner": "Insert inner", "Delete": "Delete", "UI editor": "UI editor", + "Collection": "Collection", "Collections & Fields": "Collections & Fields", "Roles & Permissions": "Roles & Permissions", "Edit profile": "Edit profile", @@ -45,6 +46,7 @@ export default { "Sign out": "Sign out", "Cancel": "Cancel", "Submit": "Submit", + "Close": "Close", "Set the data scope": "Set the data scope", "Data blocks": "Data blocks", "Table": "Table", @@ -56,11 +58,19 @@ export default { "Media": "Media", "Markdown": "Markdown", "Wysiwyg": "Wysiwyg", - "Charts": "Charts", + "Chart blocks": "Chart blocks", "Column chart": "Column chart", "Bar chart": "Bar chart", "Line chart": "Line chart", "Pie chart": "Pie chart", + "Area chart": "Area chart", + "Other chart": "Other chart", + "Other blocks": "Other blocks", + "In configuration": "In configuration", + "Chart title": "Chart title", + "Chart type": "Chart type", + "Chart config": "Chart config", + "Templates": "Templates", "Select template": "Select template", "Action logs": "Action logs", "Create template": "Create template", @@ -71,7 +81,7 @@ export default { "Custom field display name": "Custom field display name", "Display fields": "Display fields", "Edit record": "Edit record", - + "Delete menu item": "Delete menu item", "Add page": "Add page", "Add group": "Add group", "Add link": "Add link", @@ -81,7 +91,6 @@ export default { "Delete block": "Delete block", "Are you sure you want to delete it?": "Are you sure you want to delete it?", "This is a demo text, **supports Markdown syntax**.": "This is a demo text, **supports Markdown syntax**.", - "Filter": "Filter", "Action type": "Action type", "Actions": "Actions", @@ -89,12 +98,10 @@ export default { "Update": "Update", "View": "View", "View record": "View record", - "Data changes": "Data changes", "Field name": "Field name", "Before change": "Before change", "After change": "After change", - "Delete record": "Delete record", "Create collection": "Create collection", "Collection display name": "Collection display name", @@ -104,6 +111,7 @@ export default { "Edit": "Edit", "Edit collection": "Edit collection", "Configure fields": "Configure fields", + "Configure columns": "Configure columns", "Edit field": "Edit field", "Configure fields of {{title}}": "Configure fields of {{title}}", "Basic": "Basic", @@ -114,6 +122,7 @@ export default { "Number": "Number", "Percent": "Percent", "Password": "Password", + "Formula": "Formula", "Choices": "Choices", "Checkbox": "Checkbox", "Single select": "Single select", @@ -135,7 +144,7 @@ export default { "Add field": "Add field", "Field display name": "Field display name", "Field type": "Field type", - + "Field interface": "Field interface", "Date format": "Date format", "Year/Month/Day": "Year/Month/Day", "Year-Month-Day": "Year-Month-Day", @@ -144,17 +153,31 @@ export default { "Time format": "Time format", "12 hour": "12 hour", "24 hour": "24 hour", - - "Meet <1><0>All<1>Any conditions in the group": "Meet <1><0>All<1>Any conditions in the group", + "Relationship type": "Relationship type", + "Source collection": "Source collection", + "Source key": "Source key", + "Target collection": "Target collection", + "Through collection": "Through collection", + "Target key": "Target key", + "Foreign key": "Foreign key", + "One to one": "One to one", + "One to many": "One to many", + "Many to one": "Many to one", + "Many to many": "Many to many", + "Foreign key 1": "Foreign key 1", + "Foreign key 2": "Foreign key 2", "Add filter": "Add filter", "Add filter group": "Add filter group", "is": "is", "is not": "is not", "contains": "contains", "does not contain": "does not contain", + "starts with": "starts with", + "not starts with": "not starts with", + "ends with": "ends with", + "not ends with": "not ends with", "is empty": "is empty", "is not empty": "is not empty", - "Display <1><0>10<1>20<2>50<3>100 items per page": "Display <1><0>10<1>20<2>50<3>100 items per page", "Edit chart": "Edit chart", "Add text": "Add text", "Filterable fields": "Filterable fields", @@ -184,14 +207,11 @@ export default { "Label field": "Label field", "Default is the ID field": "Default is the ID field", "Set default sorting rules": "Set default sorting rules", - "is before": "is before", "is after": "is after", "is on or after": "is on or after", "is on or before": "is on or before", - "Upload": "Upload", - "Select level": "Select level", "Province": "Province", "City": "City", @@ -199,20 +219,16 @@ export default { "Street": "Street", "Village": "Village", "Must select to the last level": "Must select to the last level", - "Move {{title}} to": "Move {{title}} to", "Target position": "Target position", "After": "After", "Before": "Before", - "Add {{type}} before \"{{title}}\"": "Add {{type}} before \"{{title}}\"", "Add {{type}} after \"{{title}}\"": "Add {{type}} after \"{{title}}\"", "Add {{type}} in \"{{title}}\"": "Add {{type}} in \"{{title}}\"", - "Original name": "Original name", "Custom name": "Custom name", "Custom Title": "Custom Title", - "Options": "Options", "Option value": "Option value", "Option label": "Option label", @@ -221,27 +237,24 @@ export default { "Related collection": "Related collection", "Allow linking to multiple records": "Allow linking to multiple records", "Allow uploading multiple files": "Allow uploading multiple files", - "Configure calendar": "Configure calendar", "Title field": "Title field", "Start date field": "Start date field", "End date field": "End date field", "Navigate": "Navigate", "Title": "Title", - "Select view": "View", + "Select view": "Select view", "Reset": "Reset", "Export fields": "Export fields", "Saved successfully": "Saved successfully", - "Templates": "Templates", "Nickname": "Nickname", "Sign in": "Sign in", "Create an account": "Create an account", "Sign up": "Sign up", "Confirm password": "Confirm password", "Log in with an existing account": "Log in with an existing account", - "Password mismatch": "Password mismatch", "Signed up successfully. It will jump to the login page.": "Signed up successfully. It will jump to the login page.", - + "Password mismatch": "Password mismatch", "Users": "Users", "Roles": "Roles", "Add role": "Add role", @@ -249,22 +262,17 @@ export default { "Configure": "Configure", "Configure permissions": "Configure permissions", "Edit role": "Edit role", - "Action permissions": "Action permissions", "Menu permissions": "Menu permissions", - "Menu item name": "Menu item name", "Allow access": "Allow access", - "Action name": "Action name", "Allow action": "Allow action", "Action scope": "Action scope", "Operate on new data": "Operate on new data", "Operate on existing data": "Operate on existing data", - "Yes": "Yes", "No": "No", - "Red": "Red", "Magenta": "Magenta", "Volcano": "Volcano", @@ -278,38 +286,245 @@ export default { "Purple": "Purple", "Default": "Default", "Add card": "Add card", - "edit title": "Edit Title", - "Turn the page": "Turn the page", + "edit title": "edit title", + "Turn pages": "Turn pages", "Others": "Others", - - // workflows - 'Execution History': 'History', - 'Parallel branch': 'Branch', - - 'Unsaved changes': 'Unsaved changes', - 'Are you sure you don\'t want to save?': 'Are you sure you don\'t want to save?', - - 'Popup': 'Popup', - 'Trigger workflow': 'Trigger workflow', - 'Request API': 'Request API', - 'Assign field values': 'Assign field values', - 'Popup close method': 'Popup close method', - 'Automatic close': 'Automatic close', - 'Manually close': 'Manually close', - 'After successful update': 'After successful update', - 'Save record': 'Save record', - 'After successful save': 'After successful save', - 'Button background color': 'Button background color', - 'Highlight': 'Highlight', - 'Danger red': 'Danger red', - 'Custom request': 'Custom request', - 'Request settings': 'Request settings', - 'Request URL': 'Request URL', - 'Request method': 'Request method', - 'Request query parameters': 'Request query parameters(JSON)', - 'Request headers': 'Request headers(JSON)', - 'Request body': 'Request body(JSON)', - 'Request success': 'Request success', - 'Invalid JSON format': 'Invalid JSON format', - 'After successful request': 'After successful request' + "Save as template": "Save as template", + "Block templates": "Block templates", + "Convert reference to duplicate": "Convert reference to duplicate", + "Template name": "Template name", + "Block type": "Block type", + "Action column": "Action column", + "Records per page": "Records per page", + "(Fields only)": "(Fields only)", + "Button title": "Button title", + "Button icon": "Button icon", + "Submitted successfully": "Submitted successfully", + "Operation succeeded": "Operation succeeded", + "Operation failed": "Operation failed", + "Open mode": "Open mode", + "Menu item title": "Menu item title", + "Menu item icon": "Menu item icon", + "Target": "Target", + "Position": "Position", + "Insert before": "Insert before", + "Insert after": "Insert after", + "UI Editor": "UI Editor", + "ASC": "ASC", + "DESC": "DESC", + "Add sort field": "Add sort field", + "ID": "ID", + "Drawer": "Drawer", + "Dialog": "Dialog", + "Delete action": "Delete action", + "Custom column title": "Custom column title", + "Original title: ": "Original title: ", + "Delete table column": "Delete table column", + "Skip required validation": "Skip required validation", + "Form values": "Form values", + "Fields values": "Fields values", + "When submitting the following fields, the saved values are": "When submitting the following fields, the saved values are", + "After successful submission": "After successful submission", + "Then": "Then", + "Stay on current page": "Stay on current page", + "Redirect to": "Redirect to", + "Save action": "Save action", + "Exists": "Exists", + "Filename": "Filename", + "Add condition": "Add condition", + "Add condition group": "Add condition group", + "exists": "exists", + "not exists": "not exists", + "is current logged-in user": "is current logged-in user", + "=": "=", + "≠": "≠", + ">": ">", + "≥": "≥", + "<": "<", + "≤": "≤", + "Role UID": "Role UID", + "Precision": "Precision", + "Formula mode": "Formula mode", + "Expression": "Expression", + "Input +, -, *, /, ( ) to calculate, input @ to open field variables.": "Input +, -, *, /, ( ) to calculate, input @ to open field variables.", + "Formula error.": "Formula error.", + "Accept": "Accept", + "Rich Text": "Rich Text", + "Junction collection": "Junction collection", + "Leave it blank, unless you need a custom intermediate table": "Leave it blank, unless you need a custom intermediate table", + "Fields": "Fields", + "Edit field title": "Edit field title", + "Field title": "Field title", + "Original field title: ": "Original field title: ", + "Edit tooltip": "Edit tooltip", + "Delete field": "Delete field", + "Select collection": "Select collection", + "Blank block": "Blank block", + "Duplicate template": "Duplicate template", + "Reference template": "Reference template", + "Create calendar block": "Create calendar block", + "Create kanban block": "Create kanban block", + "Group field": "Group field", + "Tab name": "Tab name", + "Current record blocks": "Current record blocks", + "Popup message": "Popup message", + "Delete role": "Delete role", + "Role display name": "Role display name", + "Default role": "Default role", + "All collections use general action permissions by default; permission configured individually will override the default one.": "All collections use general action permissions by default; permission configured individually will override the default one.", + "Allows configuration of the whole system, including UI, collections, permissions, etc.": "Allows configuration of the whole system, including UI, collections, permissions, etc.", + "New menu items are allowed to be accessed by default.": "New menu items are allowed to be accessed by default.", + "Global permissions": "Global permissions", + "General permissions": "General permissions", + "Global action permissions": "Global action permissions", + "General action permissions": "General action permissions", + "Action display name": "Action display name", + "Allow": "Allow", + "Data scope": "Data scope", + "Action on new records": "Action on new records", + "Action on existing records": "Action on existing records", + "All records": "All records", + "Own records": "Own records", + "Permission policy": "Permission policy", + "Individual": "Individual", + "General": "General", + "Accessible": "Accessible", + "Configure permission": "Configure permission", + "Action permission": "Action permission", + "Field permission": "Field permission", + "Scope name": "Scope name", + "File storages": "File storages", + "Storage display name": "Storage display name", + "Storage name": "Storage name", + "Default storage": "Default storage", + "Add storage": "Add storage", + "Edit storage": "Edit storage", + "Storage base URL": "Storage base URL", + "Destination": "Destination", + "Use the built-in static file server": "Use the built-in static file server", + "Local storage": "Local storage", + "Aliyun OSS": "Aliyun OSS", + "Amazon S3": "Amazon S3", + "Workflow": "Workflow", + "Execution History": "Execution History", + "Trigger type": "Trigger type", + "Description": "Description", + "Status": "Status", + "On": "On", + "Off": "Off", + "Version": "Version", + "Copy to new version": "Copy to new version", + "Load failed": "Load failed", + "Trigger": "Trigger", + "Collection event": "Collection event", + "Trigger on": "Trigger on", + "After record added": "After record added", + "After record updated": "After record updated", + "After record added or updated": "After record added or updated", + "After record deleted": "After record deleted", + "Changed fields": "Changed fields", + "Triggered only if one of the selected fields changes. If unselected, it means that it will be triggered when any field changes. When record is added or deleted, any field is considered to have been changed.": "Triggered only if one of the selected fields changes. If unselected, it means that it will be triggered when any field changes. When record is added or deleted, any field is considered to have been changed.", + "Only triggers when match conditions": "Only triggers when match conditions", + "Schedule event": "Schedule event", + "Trigger mode": "Trigger mode", + "Based on certain date": "Based on certain date", + "Based on date field of collection": "Based on date field of collection", + "Starts on": "Starts on", + "Ends on": "Ends on", + "Exactly at": "Exactly at", + "Repeat mode": "Repeat mode", + "Repeat limit": "Repeat limit", + "No limit": "No limit", + "Seconds": "Seconds", + "Minutes": "Minutes", + "Hours": "Hours", + "Days": "Days", + "Weeks": "Weeks", + "Months": "Months", + "No repeat": "No repeat", + "Every": "Every", + "By minute": "By minute", + "By hour": "By hour", + "By day": "By day", + "By week": "By week", + "By month": "By month", + "By field": "By field", + "By custom date": "By custom date", + "Advance": "Advance", + "End": "End", + "Trigger context": "Trigger context", + "Node result": "Node result", + "Constant": "Constant", + "Boolean": "Boolean", + "String": "String", + "Comparison": "Comparison", + "Arithmetic calculation": "Arithmetic calculation", + "String operation": "String operation", + "On going": "On going", + "Succeeded": "Succeeded", + "Failed": "Failed", + "Canceled": "Canceled", + "This node contains branches, deleting will also be preformed to them, are you sure?": "This node contains branches, deleting will also be preformed to them, are you sure?", + "Control": "Control", + "Collection operations": "Collection operations", + "Node type": "Node type", + "Calculation": "Calculation", + "Configure calculation": "Configure calculation", + "Calculation result": "Calculation result", + "True": "True", + "False": "False", + "Condition": "Condition", + "Mode": "Mode", + "Continue when \"Yes\"": "Continue when \"Yes\"", + "Branch into \"Yes\" and \"No\"": "Branch into \"Yes\" and \"No\"", + "Conditions": "Conditions", + "Parallel branch": "Parallel branch", + "All succeeded": "All succeeded", + "Any succeeded": "Any succeeded", + "Continue after all branches succeeded": "Continue after all branches succeeded", + "Continue after any branch succeeded": "Continue after any branch succeeded", + "Create record": "Create record", + "Update record": "Update record", + "Query record": "Query record", + "Multiple records": "Multiple records", + "Please select collection first": "Please select collection first", + "Only update records matching conditions": "Only update records matching conditions", + "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.": "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.", + "Trigger in executed workflow cannot be modified": "Trigger in executed workflow cannot be modified", + "Node in executed workflow cannot be modified": "Node in executed workflow cannot be modified", + "Unsaved changes": "Unsaved changes", + "Are you sure you don't want to save?": "Are you sure you don't want to save?", + "Dragging": "Dragging", + "Popup": "Popup", + "Trigger workflow": "Trigger workflow", + "Request API": "Request API", + "Assign field values": "Assign field values", + "Constant value": "Constant value", + "Dynamic value": "Dynamic value", + "Current user": "Current user", + "Current record": "Current record", + "Popup close method": "Popup close method", + "Automatic close": "Automatic close", + "Manually close": "Manually close", + "After successful update": "After successful update", + "Save record": "Save record", + "Updated successfully": "Updated successfully", + "After successful save": "After successful save", + "After clicking the custom button, the following field values will be assigned according to the following form.": "After clicking the custom button, the following field values will be assigned according to the following form.", + "After clicking the custom button, the following fields of the current record will be saved according to the following form.": "After clicking the custom button, the following fields of the current record will be saved according to the following form.", + "Button background color": "Button background color", + "Highlight": "Highlight", + "Danger red": "Danger red", + "Custom request": "Custom request", + "Request settings": "Request settings", + "Request URL": "Request URL", + "Request method": "Request method", + "Request query parameters": "Request query parameters", + "Request headers": "Request headers", + "Request body": "Request body", + "Request success": "Request success", + "Invalid JSON format": "Invalid JSON format", + "After successful request": "After successful request", + "Add exported field": "Add exported field", + "Exported table header name": "Exported table header name" }