Skip to content

Commit bf1f80c

Browse files
committed
Misc PR adjustments; apply language translation.
1 parent f7f7f4a commit bf1f80c

File tree

7 files changed

+23
-39
lines changed

7 files changed

+23
-39
lines changed

messages/en-GB.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "Seller type",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "Pioneer",
50-
"OTHER": "Other",
51-
"CURRENTLY_NOT_SELLING": "Currently Not Selling",
52-
"TEST_SELLER": "Test Seller"
49+
"ACTIVE_SELLER": "Active seller",
50+
"INACTIVE_SELLER": "Inactive seller",
51+
"TEST_SELLER": "Test seller"
5352
}
5453
},
5554
"SELLER_ADVANCED_SETTINGS_LABEL": "Advanced Seller Settings",

messages/en.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "Seller type",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "Real merchant - actively selling",
50-
"CURRENTLY_NOT_SELLING": "Real merchant - not currently selling",
51-
"TEST_SELLER": "Test seller",
52-
"OTHER": "Other"
49+
"ACTIVE_SELLER": "Active seller",
50+
"INACTIVE_SELLER": "Inactive seller",
51+
"TEST_SELLER": "Test seller"
5352
}
5453
},
5554
"SELLER_ADVANCED_SETTINGS_LABEL": "Advanced Seller Settings",

messages/es.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "Tipo de vendedor",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "Pionero",
50-
"OTHER": "Otro",
51-
"CURRENTLY_NOT_SELLING": "Actualmente No Está Vendiendo",
52-
"TEST_SELLER": "Vendedor de Prueba"
49+
"ACTIVE_SELLER": "Vendedor activo",
50+
"INACTIVE_SELLER": "Vendedor inactivo",
51+
"TEST_SELLER": "Vendedor de prueba"
5352
}
5453
},
5554
"SELLER_ADVANCED_SETTINGS_LABEL": "Configuración Avanzada del Vendedor",

messages/ewe-BJ.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "Ɖe le adesɔ",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "Pioneer",
50-
"OTHER": "Ɖe ŋutɔ",
51-
"CURRENTLY_NOT_SELLING": "Mègãƒé ƒédu Náƒé",
52-
"TEST_SELLER": "Nàƒé Wòkpɔ̃nɔ Nye Sɔ Nu ƒé"
49+
"ACTIVE_SELLER": "Trɔtrɔlɔ ame si nya nɔ",
50+
"INACTIVE_SELLER": "Trɔtrɔlɔ ame si le hã",
51+
"TEST_SELLER": "Trɔtrɔlɔ ame si nye nyatsɔ"
5352
}
5453
},
5554
"SELLER_ADVANCED_SETTINGS_LABEL": "Tsiteyɔnu Nusrɔ̃ Me ɖoɖo",

messages/hau-NG.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "Nau'in mai sayarwa",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "Pioneer",
50-
"OTHER": "sauran",
51-
"CURRENTLY_NOT_SELLING": "A Halin Yanzu Ba A Sayarwa",
52-
"TEST_SELLER": "Mai Sayarwa Gwaji"
49+
"ACTIVE_SELLER": "Mai siyarwa mai aiki",
50+
"INACTIVE_SELLER": "Mai siyarwa mara aiki",
51+
"TEST_SELLER": "Mai siyarwa gwaji"
5352
}
5453
},
5554
"SELLER_ADVANCED_SETTINGS_LABEL": "Saitunan Ci Gaban Mai Siyarwa",

messages/ko.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@
4646
"SELLER_TYPE": {
4747
"SELLER_TYPE_LABEL": "판매자 유형",
4848
"SELLER_TYPE_OPTIONS": {
49-
"PIONEER": "선구자",
50-
"OTHER": "기타",
51-
"CURRENTLY_NOT_SELLING": "현재 판매 중 아님",
49+
"ACTIVE_SELLER": "활성 판매자",
50+
"INACTIVE_SELLER": "비활성 판매자",
5251
"TEST_SELLER": "테스트 판매자"
5352
}
5453
},

src/app/[locale]/seller/registration/page.tsx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ import UrlsRemoval from '../../../../utils/sanitize';
2727
import { AppContext } from '../../../../../context/AppContextProvider';
2828
import logger from '../../../../../logger.config.mjs';
2929

30-
const sellerTypeOptions = [
31-
{ value: 'active', label: 'Real merchant - actively selling' },
32-
{ value: 'inactive', label: 'Real merchant - not currently selling' },
33-
{ value: 'test', label: 'Test seller' },
34-
];
35-
3630
const SellerRegistrationForm = () => {
3731
const HEADER = 'font-bold text-lg md:text-2xl';
3832
const SUBHEADER = 'font-bold mb-2';
@@ -248,21 +242,17 @@ const SellerRegistrationForm = () => {
248242

249243
const translatedSellerTypeOptions = [
250244
{
251-
value: 'active',
252-
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.PIONEER'),
245+
value: 'activeSeller',
246+
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.ACTIVE_SELLER'),
253247
},
254248
{
255-
value: 'inactive',
256-
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.CURRENTLY_NOT_SELLING'),
249+
value: 'inactiveSeller',
250+
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.INACTIVE_SELLER'),
257251
},
258252
{
259-
value: 'test',
253+
value: 'testSeller',
260254
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.TEST_SELLER'),
261-
},
262-
{
263-
value: 'Other',
264-
name: t('SCREEN.SELLER_REGISTRATION.SELLER_TYPE.SELLER_TYPE_OPTIONS.OTHER'),
265-
},
255+
}
266256
];
267257

268258
if (loading) {

0 commit comments

Comments
 (0)