fix(ui): [WIP] remove `useGettext` translation mechanism
TODO: Replace with `{ t }`
This commit is contained in:
parent
10683f327c
commit
8f69c7b3bd
|
@ -32,7 +32,6 @@ const suggestedInstances = computed(() => {
|
||||||
|
|
||||||
watch(() => store.state.instance.instanceUrl, () => store.dispatch('instance/fetchSettings'))
|
watch(() => store.state.instance.instanceUrl, () => store.dispatch('instance/fetchSettings'))
|
||||||
|
|
||||||
|
|
||||||
// TODO: replace translation mechanism { $pgettext } with { t }
|
// TODO: replace translation mechanism { $pgettext } with { t }
|
||||||
|
|
||||||
// const { $pgettext } = useGettext()
|
// const { $pgettext } = useGettext()
|
||||||
|
@ -139,8 +138,8 @@ const checkAndSwitch = async (url: string) => {
|
||||||
type="submit"
|
type="submit"
|
||||||
:class="['ui', 'icon', {loading: isLoading}, 'button']"
|
:class="['ui', 'icon', {loading: isLoading}, 'button']"
|
||||||
>
|
>
|
||||||
<!-- TODO: translate -->
|
<!-- TODO: translate -->
|
||||||
Submit
|
Submit
|
||||||
<!-- <translate translate-context="*/*/Button.Label/Verb">
|
<!-- <translate translate-context="*/*/Button.Label/Verb">
|
||||||
</translate> -->
|
</translate> -->
|
||||||
</button>
|
</button>
|
||||||
|
@ -172,8 +171,7 @@ const checkAndSwitch = async (url: string) => {
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="ui basic cancel button">
|
<button class="ui basic cancel button">
|
||||||
|
<!-- TODO: translate -->
|
||||||
<!-- TODO: translate -->
|
|
||||||
Cancel
|
Cancel
|
||||||
<!-- <translate translate-context="*/*/Button.Label/Verb">
|
<!-- <translate translate-context="*/*/Button.Label/Verb">
|
||||||
</translate> -->
|
</translate> -->
|
||||||
|
|
Loading…
Reference in New Issue