mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
Complete dashboard translations & small UI improvements (#69)
* fix dropdown action Estimate Dashboard and fix translating full Dasboard page * Update app.php * fix locale in app.php config * Wizard install with translation, customer portal with translation, and fixing hardcoding strings to get translation * fixes asked to review * fixes pint --------- Co-authored-by: Max <contact@agencetwogether.fr> Co-authored-by: Darko Gjorgjijoski <5760249+gdarko@users.noreply.github.com>
This commit is contained in:
@@ -36,11 +36,13 @@ export default {
|
||||
const database_connection = ref('mysql')
|
||||
const isSaving = ref(false)
|
||||
const { t } = useI18n()
|
||||
const { global } = window.i18n
|
||||
|
||||
const notificationStore = useNotificationStore()
|
||||
const installationStore = useInstallationStore()
|
||||
|
||||
const databaseData = computed(() => {
|
||||
installationStore.currentDataBaseData.app_locale = global.locale.value
|
||||
return installationStore.currentDataBaseData
|
||||
})
|
||||
|
||||
@@ -75,6 +77,12 @@ export default {
|
||||
|
||||
emit('next', 3)
|
||||
|
||||
let language = {
|
||||
profile_language: global.locale.value,
|
||||
}
|
||||
await installationStore.addInstallationLanguage(language)
|
||||
|
||||
|
||||
notificationStore.showNotification({
|
||||
type: 'success',
|
||||
message: t('wizard.success.' + res.data.success),
|
||||
|
||||
Reference in New Issue
Block a user