mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 05:18:13 +00:00
feat: add country selection translations and update country name retrieval
This commit is contained in:
@@ -262,6 +262,11 @@ export const am: Translations = {
|
||||
},
|
||||
},
|
||||
|
||||
country: {
|
||||
select: 'አገር ይምረጡ',
|
||||
notFound: 'ምንም አገር አልተገኘም',
|
||||
},
|
||||
|
||||
location: {
|
||||
title: 'አካባቢዎች',
|
||||
hierarchy: 'የአካባቢ ተዋረድ',
|
||||
|
||||
@@ -260,6 +260,11 @@ export const en = {
|
||||
},
|
||||
},
|
||||
|
||||
country: {
|
||||
select: 'Select a country',
|
||||
notFound: 'No countries found',
|
||||
},
|
||||
|
||||
location: {
|
||||
title: 'Locations',
|
||||
hierarchy: 'Location Hierarchy',
|
||||
|
||||
@@ -232,7 +232,7 @@ function ApplicationWizard({ onDone }: { onDone: () => void }) {
|
||||
<SimpleGrid cols={{ base: 1, sm: 2 }} spacing="md" mb="lg">
|
||||
{[
|
||||
['CoC Number', cocNo],
|
||||
['Country', getCountryName(country)],
|
||||
['Country', getCountryName(country, 'en')],
|
||||
['Issuer', issuer],
|
||||
['CoC Type', cocType],
|
||||
['Issue Date', issueDate],
|
||||
|
||||
@@ -266,7 +266,7 @@ export function WaiverApplicationPage() {
|
||||
businessLicenseNumber, applicantAddress, reasonNonEsl, bankName, bankBranch,
|
||||
letterRecipient, letterLanguage,
|
||||
productName, productDescription, quantity, unitOfMeasurement,
|
||||
invoiceNumber, invoiceDate, invoiceAmount, countryOfOrigin: getCountryName(countryOfOrigin), supplierName,
|
||||
invoiceNumber, invoiceDate, invoiceAmount, countryOfOrigin: getCountryName(countryOfOrigin, 'en'), supplierName,
|
||||
portOfLoading, portOfDischarge, fromPortName, toPortName, vesselName, carrierName,
|
||||
billOfLadingNumber, estimatedArrivalDate, actualArrivalDate,
|
||||
},
|
||||
|
||||
@@ -170,6 +170,11 @@ export const am: Translations = {
|
||||
},
|
||||
},
|
||||
|
||||
country: {
|
||||
select: 'አገር ይምረጡ',
|
||||
notFound: 'ምንም አገር አልተገኘም',
|
||||
},
|
||||
|
||||
location: {
|
||||
select: 'ይምረጡ...',
|
||||
noOptions: 'ምንም አማራጮች አልተገኙም',
|
||||
|
||||
@@ -168,6 +168,11 @@ export const en = {
|
||||
},
|
||||
},
|
||||
|
||||
country: {
|
||||
select: 'Select a country',
|
||||
notFound: 'No countries found',
|
||||
},
|
||||
|
||||
location: {
|
||||
select: 'Select...',
|
||||
noOptions: 'No options found',
|
||||
|
||||
Reference in New Issue
Block a user