Revert languages in profile settings

This commit is contained in:
Essem 2024-02-25 21:59:14 -06:00
parent 5bd2272afa
commit 6998d4f6d2
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSelect v-model="profile.lang">
<template #label>{{ i18n.ts.language }}</template>
<option v-for="x in langs" :key="x" :value="x">{{ langmap[x].nativeName }}</option>
<option v-for="x in Object.keys(langmap)" :key="x" :value="x">{{ langmap[x].nativeName }}</option>
</MkSelect>
<FormSlot>
@ -128,7 +128,7 @@ import { selectFile } from '@/scripts/select-file.js';
import * as os from '@/os.js';
import { i18n } from '@/i18n.js';
import { signinRequired } from '@/account.js';
import { langmap, langs } from '@/scripts/langmap.js';
import { langmap } from '@/scripts/langmap.js';
import { definePageMetadata } from '@/scripts/page-metadata.js';
import { claimAchievement } from '@/scripts/achievements.js';
import { defaultStore } from '@/store.js';