Commit 3ac42f98 authored by Oleksii Savran's avatar Oleksii Savran Committed by Matija Obreza

Updated translations

parent 2e97e2ae
......@@ -23,6 +23,8 @@
"label": {
"allRightsReserved": "All rights reserved",
"deleteDescription": "Deleting this will remove all related data.",
"deleteItemConfirm": "Do you really want to delete {{what, lowercase}}: {{title}}?",
"deleteListConfirm": "Do you really want to delete {{count}} {{what, lowercase}}?",
"description": "Description",
"either": "Either",
"errorHappened": "Error happened while processing request",
......
......@@ -160,6 +160,10 @@
"text": "Full-text search"
}
}
},
"common": {
"modelName": "Accession",
"modelName_plural": "Accessions"
}
},
"codevalue": {
......@@ -175,6 +179,10 @@
"placeholder": "Select a group"
}
}
},
"common": {
"modelName": "Code value",
"modelName_plural": "Code values"
}
},
"cooperator": {
......@@ -195,6 +203,10 @@
"title": "New cooperator"
}
}
},
"common": {
"modelName": "Cooperator",
"modelName_plural": "Cooperators"
}
},
"crop": {
......@@ -223,6 +235,10 @@
"title": "New crop trait"
}
}
},
"common": {
"modelName": "Crop",
"modelName_plural": "Crops"
}
},
"inventory": {
......@@ -268,6 +284,10 @@
},
"actions": {
"title": "Inventory actions"
},
"common": {
"modelName": "Inventory",
"modelName_plural": "Inventories"
}
},
"inventorygroup": {
......@@ -278,8 +298,7 @@
},
"details": {
"title": "Inventory group",
"members": "Members",
"delete": "Do you really want to delete {{name}} group?"
"members": "Members"
},
"acquisition": {
"names": "Names",
......@@ -300,6 +319,10 @@
"accessionCount": "Number of accessions",
"initialSpecies": "Initial species",
"method": "Acquisition method"
},
"common": {
"modelName": "Inventory group",
"modelName_plural": "Inventory groups"
}
},
"inventorypolicy": {
......@@ -309,13 +332,16 @@
"title": "List of inventory maintenance policy"
},
"details": {
"title": "Inventory maintenance policy",
"delete": "Do you really want to delete {{name}} maintenance policy?"
"title": "Inventory maintenance policy"
},
"edit": {
"title": "New inventory maintenance policy"
}
}
},
"common": {
"modelName": "Inventory maintenance policy",
"modelName_plural": "Inventory maintenance policies"
}
},
"kpi": {
......@@ -587,6 +613,10 @@
"resultsFor": "Results for: {{name}}"
},
"items": "Request items"
},
"common": {
"modelName": "Request",
"modelName_plural": "Requests"
}
},
"site": {
......@@ -610,6 +640,10 @@
"title": "New site"
}
}
},
"common": {
"modelName": "Site",
"modelName_plural": "Sites"
}
},
"taxonomy": {
......@@ -684,6 +718,8 @@
}
},
"common": {
"modelName": "User",
"modelName_plural": "Users",
"password": "Password",
"oAuth": {
"authorities": {
......
......@@ -32,5 +32,9 @@
"text": "Full-text search"
}
}
},
"common": {
"modelName": "Accession",
"modelName_plural": "Accessions"
}
}
......@@ -11,5 +11,9 @@
"placeholder": "Select a group"
}
}
},
"common": {
"modelName": "Code value",
"modelName_plural": "Code values"
}
}
......@@ -16,5 +16,9 @@
"title": "New cooperator"
}
}
},
"common": {
"modelName": "Cooperator",
"modelName_plural": "Cooperators"
}
}
......@@ -24,5 +24,9 @@
"title": "New crop trait"
}
}
},
"common": {
"modelName": "Crop",
"modelName_plural": "Crops"
}
}
......@@ -41,5 +41,9 @@
},
"actions": {
"title": "Inventory actions"
},
"common": {
"modelName": "Inventory",
"modelName_plural": "Inventories"
}
}
......@@ -6,8 +6,7 @@
},
"details": {
"title": "Inventory group",
"members": "Members",
"delete": "Do you really want to delete {{name}} group?"
"members": "Members"
},
"acquisition": {
"names": "Names",
......@@ -28,5 +27,9 @@
"accessionCount": "Number of accessions",
"initialSpecies": "Initial species",
"method": "Acquisition method"
},
"common": {
"modelName": "Inventory group",
"modelName_plural": "Inventory groups"
}
}
......@@ -152,7 +152,7 @@ class InventoryDetailsPage extends React.Component<IDetailsPageProps> {
public handleRemove = () => {
const { removeInventoryGroupAction, t, groupId, inventoryGroupCall } = this.props;
confirm(t('inventorygroup.public.p.details.delete', { name: inventoryGroupCall.data.groupName }), {
confirm(t('common:label.deleteItemConfirm', { title: inventoryGroupCall.data.groupName, what: t('inventorygroup.common.modelName') }), {
confirmLabel: t('common:label.yes'),
abortLabel: t('common:label.no'),
}).then(() => {
......
......@@ -5,12 +5,15 @@
"title": "List of inventory maintenance policy"
},
"details": {
"title": "Inventory maintenance policy",
"delete": "Do you really want to delete {{name}} maintenance policy?"
"title": "Inventory maintenance policy"
},
"edit": {
"title": "New inventory maintenance policy"
}
}
},
"common": {
"modelName": "Inventory maintenance policy",
"modelName_plural": "Inventory maintenance policies"
}
}
......@@ -60,7 +60,7 @@ class InventoryPolicyDetailsPage extends React.Component<IInventoryPolicyDetails
public handleRemove = () => {
const { removeInventoryPolicyAction, id, inventoryPolicyCall, t } = this.props;
confirm(t('inventorypolicy.admin.p.details.delete', { name: inventoryPolicyCall.data.maintenanceName }), {
confirm(t('common:label.deleteItemConfirm', { what: t('inventorypolicy.common.modelName'), title: inventoryPolicyCall.data.maintenanceName }), {
confirmLabel: t('common:label.yes'),
abortLabel: t('common:label.no'),
}).then(() => {
......
......@@ -37,5 +37,9 @@
"resultsFor": "Results for: {{name}}"
},
"items": "Request items"
},
"common": {
"modelName": "Request",
"modelName_plural": "Requests"
}
}
......@@ -19,5 +19,9 @@
"title": "New site"
}
}
},
"common": {
"modelName": "Site",
"modelName_plural": "Sites"
}
}
......@@ -78,8 +78,9 @@ class BrowsePage extends React.Component<IBrowsePageProps> {
private remove = () => {
const { t, removeSitesAction } = this.props;
const { selected } = this.state;
confirm(t('site.admin.p.browse.delete', { count: this.state.selected.length }), {
confirm(t('common:label.deleteListConfirm', { count: selected.length, what: t('site.common.modelName', { count: selected.length }) }), {
confirmLabel: t('common:label.yes'),
abortLabel: t('common:label.no'),
}).then(() => {
......
......@@ -57,7 +57,7 @@ class SiteDetailsPage extends React.Component<ISiteDetailsPage> {
public handleRemove = () => {
const { removeSiteAction, id, t, siteCall } = this.props;
confirm(t('site.admin.p.details.delete', { name: siteCall.data.siteLongName }), {
confirm(t('common:label.deleteItemConfirm', { title: siteCall.data.siteLongName, what: t('site.common.modelName') }), {
confirmLabel: t('common:label.yes'),
abortLabel: t('common:label.no'),
}).then(() => {
......
......@@ -53,6 +53,8 @@
}
},
"common": {
"modelName": "User",
"modelName_plural": "Users",
"password": "Password",
"oAuth": {
"authorities": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment