mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 10:26:09 +00:00
Final Localization (#10288)
This commit is contained in:
parent
e9f1cb1074
commit
0ba1882bc3
@ -171,12 +171,16 @@ const NavBar = ({
|
|||||||
let path: string;
|
let path: string;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'Task':
|
case 'Task':
|
||||||
body = `${createdBy} assigned you a new task.`;
|
body = t('message.user-assign-new-task', {
|
||||||
|
user: createdBy,
|
||||||
|
});
|
||||||
path = getTaskDetailPath(toString(id)).pathname;
|
path = getTaskDetailPath(toString(id)).pathname;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'Conversation':
|
case 'Conversation':
|
||||||
body = `${createdBy} mentioned you in a comment.`;
|
body = t('message.user-mentioned-in-comment', {
|
||||||
|
user: createdBy,
|
||||||
|
});
|
||||||
path = prepareFeedLink(entityType as string, entityFQN as string);
|
path = prepareFeedLink(entityType as string, entityFQN as string);
|
||||||
}
|
}
|
||||||
const notification = new Notification('Notification From OpenMetadata', {
|
const notification = new Notification('Notification From OpenMetadata', {
|
||||||
|
@ -1144,6 +1144,8 @@
|
|||||||
"unable-to-error-elasticsearch": "We are unable to {{error}}} Elasticsearch for entity indexes.",
|
"unable-to-error-elasticsearch": "We are unable to {{error}}} Elasticsearch for entity indexes.",
|
||||||
"usage-ingestion-description": "Usage ingestion can be configured and deployed after a metadata ingestion has been set up. The usage ingestion workflow obtains the query log and table creation details from the underlying database and feeds it to OpenMetadata. Metadata and usage can have only one pipeline for a database service. Define the Query Log Duration (in days), Stage File Location, and Result Limit to start.",
|
"usage-ingestion-description": "Usage ingestion can be configured and deployed after a metadata ingestion has been set up. The usage ingestion workflow obtains the query log and table creation details from the underlying database and feeds it to OpenMetadata. Metadata and usage can have only one pipeline for a database service. Define the Query Log Duration (in days), Stage File Location, and Result Limit to start.",
|
||||||
"use-fqn-for-filtering-message": "Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name).",
|
"use-fqn-for-filtering-message": "Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name).",
|
||||||
|
"user-assign-new-task": "{{user}} assigned you a new task.",
|
||||||
|
"user-mentioned-in-comment": "{{user}} mentioned you in a comment.",
|
||||||
"user-verified-successfully": "User Verified Successfully",
|
"user-verified-successfully": "User Verified Successfully",
|
||||||
"valid-url-endpoint": "Endpoints should be valid URL",
|
"valid-url-endpoint": "Endpoints should be valid URL",
|
||||||
"view-deleted-teams": "View All the Deleted Teams, which come under this Team.",
|
"view-deleted-teams": "View All the Deleted Teams, which come under this Team.",
|
||||||
|
@ -174,7 +174,7 @@ const DatabaseDetails: FunctionComponent = () => {
|
|||||||
|
|
||||||
const tabs = [
|
const tabs = [
|
||||||
{
|
{
|
||||||
name: 'Schemas',
|
name: t('label.schema-plural'),
|
||||||
icon: {
|
icon: {
|
||||||
alt: 'schemas',
|
alt: 'schemas',
|
||||||
name: 'schema-grey',
|
name: 'schema-grey',
|
||||||
@ -186,7 +186,7 @@ const DatabaseDetails: FunctionComponent = () => {
|
|||||||
position: 1,
|
position: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Activity Feeds',
|
name: t('label.activity-feed-plural'),
|
||||||
icon: {
|
icon: {
|
||||||
alt: 'activity_feed',
|
alt: 'activity_feed',
|
||||||
name: 'activity_feed',
|
name: 'activity_feed',
|
||||||
|
@ -53,11 +53,19 @@ const AddTeamForm: React.FC<AddTeamFormType> = ({
|
|||||||
|
|
||||||
const validationMessages = useMemo(
|
const validationMessages = useMemo(
|
||||||
() => ({
|
() => ({
|
||||||
required: '${label} is required',
|
required: t('message.field-text-is-required', {
|
||||||
|
fieldText: '${label}',
|
||||||
|
}),
|
||||||
string: {
|
string: {
|
||||||
range: '${label} must be between ${min} and ${max}.',
|
range: t('message.entity-size-in-between', {
|
||||||
|
entity: '${label}',
|
||||||
|
min: '${min}',
|
||||||
|
max: '${max}',
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
whitespace: '${label} is required',
|
whitespace: t('message.entity-not-contain-whitespace', {
|
||||||
|
entity: '${label}',
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
[]
|
[]
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user