feat: Implement user profile management and add comprehensive i18n translations for English and Thai.
This commit is contained in:
parent
6b1ff7196a
commit
4851182f4a
3 changed files with 8 additions and 4 deletions
|
|
@ -118,6 +118,8 @@
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"newBadge": "New",
|
"newBadge": "New",
|
||||||
"popularBadge": "Popular"
|
"popularBadge": "Popular",
|
||||||
|
"save": "Save",
|
||||||
|
"cancel": "Cancel"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,8 @@
|
||||||
},
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"newBadge": "ใหม่",
|
"newBadge": "ใหม่",
|
||||||
"popularBadge": "ยอดนิยม"
|
"popularBadge": "ยอดนิยม",
|
||||||
|
"save": "บันทึก",
|
||||||
|
"cancel": "ยกเลิก"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -398,8 +398,8 @@ const saveProfile = async () => {
|
||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<div class="flex flex-col md:flex-row gap-4 pt-6 border-t border-white/5">
|
<div class="flex flex-col md:flex-row gap-4 pt-6 border-t border-white/5">
|
||||||
<button class="btn-save-premium flex-1" @click="saveProfile">{{ $t('save') }}</button>
|
<button class="btn-save-premium flex-1" @click="saveProfile">{{ $t('common.save') }}</button>
|
||||||
<button class="btn-cancel-premium md:w-32" @click="toggleEdit(false)">{{ $t('cancel') }}</button>
|
<button class="btn-cancel-premium md:w-32" @click="toggleEdit(false)">{{ $t('common.cancel') }}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue