allow selecting languages for translation
This commit is contained in:
parent
9b4cddd2e9
commit
e7c21ffbd7
6 changed files with 34 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
|||
<template>
|
||||
<div>
|
||||
<FAIcon icon="globe" /> {{ ' ' }}
|
||||
<FAIcon
|
||||
v-if="globeIcon"
|
||||
icon="globe"
|
||||
/>
|
||||
{{ ' ' }}
|
||||
<label for="interface-language-switcher">
|
||||
{{ promptText }}
|
||||
</label>
|
||||
|
@ -40,6 +44,10 @@ export default {
|
|||
setLanguage: {
|
||||
type: Function,
|
||||
required: true
|
||||
},
|
||||
globeIcon: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue