Skip to content

Commit

Permalink
chore: add permanent language text in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Nov 1, 2024
1 parent 8fa4958 commit da0c73d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. -->
<div class="flex w-[48rem] flex-row items-start justify-between">
<div>
<h3 class="text-lg">
{{ $t("pages.settings.languageSelectorHeading") }}
{{ $t("pages.settings.languageSelectorHeading") }}
<span class="text-dim-3 text-sm">{{ locale != "en" ? "(Language)" : "" }}</span>
</h3>
<span class="text-dim-2">
{{ $t("pages.settings.languageSelectorSubtext") }}
Expand Down Expand Up @@ -299,7 +300,7 @@ const router = useRouter();

const store = useTauriStore().store;

const { t } = useI18n();
const { t, locale } = useI18n();

const activeTheme: Ref<null | string> = ref("");
const themeEditorDisplayed = ref(false);
Expand Down

0 comments on commit da0c73d

Please sign in to comment.