Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

fix(dashboard): fit the Number Checker phone placeholder

Yudhi Armyndharisafb85b10fdbc
diff --git a/dashboard/src/i18n/locales/ar.json b/dashboard/src/i18n/locales/ar.json
index b4d679bc9..fabca5337 100644
--- a/dashboard/src/i18n/locales/ar.json
+++ b/dashboard/src/i18n/locales/ar.json
@@ -1051,7 +1051,7 @@
"single": {
"title": "فحص حساب واحد",
"phoneLabel": "رقم الهاتف",
- "phonePlaceholder": "مثال: 919876543210 أو 6281234567890 (مع رمز الدولة)",
+ "phonePlaceholder": "مثال: 919876543210 أو 6281234567890",
"check": "فحص",
"checking": "جارٍ الفحص...",
"autoPrefix": "إضافة البادئة ‎<strong>+91</strong> تلقائيًا للأرقام المكوّنة من 10 خانات (تُترك الأرقام المكوّنة من 12 خانة كما هي)",
diff --git a/dashboard/src/i18n/locales/de.json b/dashboard/src/i18n/locales/de.json
index 3b845c511..dbe09871f 100644
--- a/dashboard/src/i18n/locales/de.json
+++ b/dashboard/src/i18n/locales/de.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "Einzelnes Konto prüfen",
"phoneLabel": "Telefonnummer",
- "phonePlaceholder": "z. B. 919876543210 oder 6281234567890 (mit Ländervorwahl)",
+ "phonePlaceholder": "z. B. 919876543210 oder 6281234567890",
"check": "Prüfen",
"checking": "Wird geprüft...",
"autoPrefix": "<strong>+91</strong> bei 10-stelligen Nummern automatisch voranstellen (12-stellige Nummern bleiben unverändert)",
diff --git a/dashboard/src/i18n/locales/en.json b/dashboard/src/i18n/locales/en.json
index a8a99fbcd..fa9723769 100644
--- a/dashboard/src/i18n/locales/en.json
+++ b/dashboard/src/i18n/locales/en.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "Check Single Account",
"phoneLabel": "Phone Number",
- "phonePlaceholder": "e.g. 919876543210 or 6281234567890 (with country code)",
+ "phonePlaceholder": "e.g. 919876543210 or 6281234567890",
"check": "Check",
"checking": "Checking...",
"autoPrefix": "Auto-prefix <strong>+91</strong> for 10-digit numbers (keep 12-digit numbers as-is)",
diff --git a/dashboard/src/i18n/locales/es.json b/dashboard/src/i18n/locales/es.json
index 4325f428d..8d5e34e6b 100644
--- a/dashboard/src/i18n/locales/es.json
+++ b/dashboard/src/i18n/locales/es.json
@@ -1032,7 +1032,7 @@
"single": {
"title": "Verificar una cuenta",
"phoneLabel": "Número de teléfono",
- "phonePlaceholder": "ej., 919876543210 o 6281234567890 (con código de país)",
+ "phonePlaceholder": "ej., 919876543210 o 6281234567890",
"check": "Verificar",
"checking": "Verificando...",
"autoPrefix": "Añadir automáticamente el prefijo <strong>+91</strong> a los números de 10 dígitos (los de 12 dígitos se mantienen tal cual)",
diff --git a/dashboard/src/i18n/locales/fr.json b/dashboard/src/i18n/locales/fr.json
index 2286c0c98..c616239fa 100644
--- a/dashboard/src/i18n/locales/fr.json
+++ b/dashboard/src/i18n/locales/fr.json
@@ -1032,7 +1032,7 @@
"single": {
"title": "Vérifier un compte",
"phoneLabel": "Numéro de téléphone",
- "phonePlaceholder": "ex. : 919876543210 ou 6281234567890 (avec l'indicatif du pays)",
+ "phonePlaceholder": "ex. : 919876543210 ou 6281234567890",
"check": "Vérifier",
"checking": "Vérification...",
"autoPrefix": "Préfixer automatiquement par <strong>+91</strong> les numéros à 10 chiffres (les numéros à 12 chiffres restent inchangés)",
diff --git a/dashboard/src/i18n/locales/he.json b/dashboard/src/i18n/locales/he.json
index ca94d1f3a..e7ef1409e 100644
--- a/dashboard/src/i18n/locales/he.json
+++ b/dashboard/src/i18n/locales/he.json
@@ -1039,7 +1039,7 @@
"single": {
"title": "בדיקת חשבון בודד",
"phoneLabel": "מספר טלפון",
- "phonePlaceholder": "לדוגמה: 919876543210 או 6281234567890 (עם קידומת המדינה)",
+ "phonePlaceholder": "לדוגמה: 919876543210 או 6281234567890",
"check": "בדיקה",
"checking": "בודק...",
"autoPrefix": "הוספה אוטומטית של הקידומת ‎<strong>+91</strong> למספרים בני 10 ספרות (מספרים בני 12 ספרות נשארים כפי שהם)",
diff --git a/dashboard/src/i18n/locales/hi.json b/dashboard/src/i18n/locales/hi.json
index 909057a10..f3b6b47c8 100644
--- a/dashboard/src/i18n/locales/hi.json
+++ b/dashboard/src/i18n/locales/hi.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "एक खाते की जाँच करें",
"phoneLabel": "फ़ोन नंबर",
- "phonePlaceholder": "उदा. 919876543210 या 6281234567890 (देश कोड के साथ)",
+ "phonePlaceholder": "उदा. 919876543210 या 6281234567890",
"check": "जाँचें",
"checking": "जाँच हो रही है...",
"autoPrefix": "10 अंकों वाले नंबरों में अपने आप <strong>+91</strong> जोड़ें (12 अंकों वाले नंबर जैसे हैं वैसे ही रहेंगे)",
diff --git a/dashboard/src/i18n/locales/id.json b/dashboard/src/i18n/locales/id.json
index 38bc0b260..3e8a6ffef 100644
--- a/dashboard/src/i18n/locales/id.json
+++ b/dashboard/src/i18n/locales/id.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "Periksa Satu Akun",
"phoneLabel": "Nomor Telepon",
- "phonePlaceholder": "mis. 919876543210 atau 6281234567890 (dengan kode negara)",
+ "phonePlaceholder": "mis. 919876543210 atau 6281234567890",
"check": "Periksa",
"checking": "Memeriksa...",
"autoPrefix": "Tambahkan awalan <strong>+91</strong> otomatis untuk nomor 10 digit (nomor 12 digit tidak diubah)",
diff --git a/dashboard/src/i18n/locales/it.json b/dashboard/src/i18n/locales/it.json
index 28e6da5a4..96d7756ad 100644
--- a/dashboard/src/i18n/locales/it.json
+++ b/dashboard/src/i18n/locales/it.json
@@ -1032,7 +1032,7 @@
"single": {
"title": "Verifica un singolo account",
"phoneLabel": "Numero di telefono",
- "phonePlaceholder": "es. 919876543210 o 6281234567890 (con prefisso del paese)",
+ "phonePlaceholder": "es. 919876543210 o 6281234567890",
"check": "Verifica",
"checking": "Verifica in corso...",
"autoPrefix": "Aggiungi automaticamente il prefisso <strong>+91</strong> ai numeri di 10 cifre (i numeri di 12 cifre restano invariati)",
diff --git a/dashboard/src/i18n/locales/ko.json b/dashboard/src/i18n/locales/ko.json
index 0e46e70d7..03dceb7ff 100644
--- a/dashboard/src/i18n/locales/ko.json
+++ b/dashboard/src/i18n/locales/ko.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "단일 계정 확인",
"phoneLabel": "전화번호",
- "phonePlaceholder": "예: 919876543210 또는 6281234567890 (국가 코드 포함)",
+ "phonePlaceholder": "예: 919876543210 또는 6281234567890",
"check": "확인",
"checking": "확인하는 중...",
"autoPrefix": "10자리 번호 앞에 <strong>+91</strong> 자동 추가 (12자리 번호는 그대로 유지)",
diff --git a/dashboard/src/i18n/locales/pt-BR.json b/dashboard/src/i18n/locales/pt-BR.json
index 5db32b9b4..aa8df6eba 100644
--- a/dashboard/src/i18n/locales/pt-BR.json
+++ b/dashboard/src/i18n/locales/pt-BR.json
@@ -1032,7 +1032,7 @@
"single": {
"title": "Verificar uma conta",
"phoneLabel": "Número de telefone",
- "phonePlaceholder": "ex.: 919876543210 ou 6281234567890 (com código do país)",
+ "phonePlaceholder": "ex.: 919876543210 ou 6281234567890",
"check": "Verificar",
"checking": "Verificando...",
"autoPrefix": "Adicionar automaticamente o prefixo <strong>+91</strong> a números de 10 dígitos (números de 12 dígitos permanecem como estão)",
diff --git a/dashboard/src/i18n/locales/te.json b/dashboard/src/i18n/locales/te.json
index e81a54e9c..f0c2e5a8d 100644
--- a/dashboard/src/i18n/locales/te.json
+++ b/dashboard/src/i18n/locales/te.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "ఒక ఖాతాను తనిఖీ చేయండి",
"phoneLabel": "ఫోన్ నంబర్",
- "phonePlaceholder": "ఉదాహరణకు, 919876543210 లేదా 6281234567890 (కంట్రీ కోడ్‌తో)",
+ "phonePlaceholder": "ఉదా. 919876543210, 6281234567890",
"check": "తనిఖీ చేయండి",
"checking": "తనిఖీ చేస్తోంది...",
"autoPrefix": "10 అంకెల నంబర్లకు స్వయంచాలకంగా <strong>+91</strong> జోడించండి (12 అంకెల నంబర్లు యథాతథంగా ఉంటాయి)",
diff --git a/dashboard/src/i18n/locales/tr.json b/dashboard/src/i18n/locales/tr.json
index e9c00df6e..8fe1db10e 100644
--- a/dashboard/src/i18n/locales/tr.json
+++ b/dashboard/src/i18n/locales/tr.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "Tek Hesabı Kontrol Et",
"phoneLabel": "Telefon Numarası",
- "phonePlaceholder": "ör. 919876543210 veya 6281234567890 (ülke koduyla birlikte)",
+ "phonePlaceholder": "ör. 919876543210 veya 6281234567890",
"check": "Kontrol Et",
"checking": "Kontrol ediliyor...",
"autoPrefix": "10 basamaklı numaraların başına otomatik olarak <strong>+91</strong> ekle (12 basamaklı numaralar olduğu gibi bırakılır)",
diff --git a/dashboard/src/i18n/locales/zh-CN.json b/dashboard/src/i18n/locales/zh-CN.json
index ac6e2f1c8..6e6e5a7b9 100644
--- a/dashboard/src/i18n/locales/zh-CN.json
+++ b/dashboard/src/i18n/locales/zh-CN.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "检查单个账号",
"phoneLabel": "电话号码",
- "phonePlaceholder": "例如:919876543210 或 6281234567890(含国家/地区代码)",
+ "phonePlaceholder": "例如:919876543210 或 6281234567890",
"check": "检查",
"checking": "正在检查...",
"autoPrefix": "为 10 位号码自动添加前缀 <strong>+91</strong>(12 位号码保持原样)",
diff --git a/dashboard/src/i18n/locales/zh-HK.json b/dashboard/src/i18n/locales/zh-HK.json
index e984ce010..55f032516 100644
--- a/dashboard/src/i18n/locales/zh-HK.json
+++ b/dashboard/src/i18n/locales/zh-HK.json
@@ -1026,7 +1026,7 @@
"single": {
"title": "檢查單一帳戶",
"phoneLabel": "電話號碼",
- "phonePlaceholder": "例如:919876543210 或 6281234567890(含國家代碼)",
+ "phonePlaceholder": "例如:919876543210 或 6281234567890",
"check": "檢查",
"checking": "正在檢查...",
"autoPrefix": "為 10 位號碼自動加上前綴 <strong>+91</strong>(12 位號碼保持原樣)",
diff --git a/dashboard/src/pages/NumberChecker.test.ts b/dashboard/src/pages/NumberChecker.test.ts
index 5aff79f65..8ac3d8547 100644
--- a/dashboard/src/pages/NumberChecker.test.ts
+++ b/dashboard/src/pages/NumberChecker.test.ts
@@ -149,7 +149,7 @@ afterEach(() => {
test('NumberChecker: renders single check form and tabs', () => {
const { getByText, getByPlaceholderText } = renderComponent();
assert.ok(getByText('Check Single Account'));
- assert.ok(getByPlaceholderText('e.g. 919876543210 or 6281234567890 (with country code)'));
+ assert.ok(getByPlaceholderText('e.g. 919876543210 or 6281234567890'));
});
test('NumberChecker: switches to bulk / batch tab when clicked', () => {