feat(SPA): i18n internationzalization, english and french
This commit is contained in:
1 parent
7f1e8e572d
commit
721311a643
88 files changed
+4438
-1148
No files matched your search
@@ -1,4 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { t } from '@/i18n'
|
||||
|
||||
import { computed } from 'vue'
|
||||
|
||||
const props = withDefaults(
|
||||
@@ -23,12 +25,12 @@ const label = computed(() => {
|
||||
return props.pending
|
||||
}
|
||||
if (props.online) {
|
||||
return 'Unpublish'
|
||||
return t('Unpublish')
|
||||
}
|
||||
if (props.dirty) {
|
||||
return 'Save and publish'
|
||||
return t('Save and publish')
|
||||
}
|
||||
return 'Publish'
|
||||
return t('Publish')
|
||||
})
|
||||
|
||||
const icon = computed(() => {
|
||||
|
||||
Reference in new issue
Block a user