feat(login): add phone and Google login page with i18n
Add complete login flow with phone verification and country picker. Add login-related translations for en-US, zh-CN and th-TH locales. Add country calling codes constants and selection utility function. Register Vant UI component type definitions for TypeScript. Update development environment authentication token.
This commit is contained in:
@@ -7,6 +7,34 @@ export default {
|
||||
errors: {
|
||||
network: "เครือข่ายผิดพลาด โปรดลองอีกครั้งในภายหลัง",
|
||||
},
|
||||
login: {
|
||||
method: {
|
||||
google: "เข้าสู่ระบบด้วย Google",
|
||||
phone: "โทรศัพท์ + รหัส",
|
||||
},
|
||||
fields: {
|
||||
country: "ประเทศ/รหัส",
|
||||
phone: "โทรศัพท์",
|
||||
code: "รหัสยืนยัน",
|
||||
},
|
||||
placeholders: {
|
||||
selectCountry: "เลือกรหัสประเทศ",
|
||||
phone: "กรอกหมายเลขโทรศัพท์",
|
||||
code: "กรอกรหัสยืนยัน",
|
||||
},
|
||||
dividersText: "หรือ",
|
||||
actions: {
|
||||
sendCode: "ส่งรหัส",
|
||||
login: "เข้าสู่ระบบ",
|
||||
},
|
||||
errors: {
|
||||
missingPhone: "กรอกหมายเลขโทรศัพท์",
|
||||
missingCode: "กรอกรหัสยืนยัน",
|
||||
},
|
||||
tips: {
|
||||
smsApiMissing: "ยังไม่ได้เชื่อมต่อ API สำหรับส่ง SMS",
|
||||
},
|
||||
},
|
||||
state: {
|
||||
empty: "ไม่มีข้อมูล",
|
||||
loading: "กำลังโหลด...",
|
||||
|
||||
Reference in New Issue
Block a user