wip: fixed issues with i18n fallbacking for value-type objects/arrays, removed i18n integration and replaced with proprietary implementation again

This commit is contained in:
Benjamin Singleton 2026-02-15 23:33:35 -06:00
parent 771a8cc4bf
commit d2020cafec
19 changed files with 529 additions and 420 deletions

View file

@ -1,18 +1,18 @@
<script setup lang="ts">
import { useI18n } from "@/i18n";
import { useLocale } from "@/i18n";
const i18n = useI18n();
const locale = useLocale();
</script>
<template>
<div>
<section class="section">
<h1 class="title">{{ i18n.t("kotoba.title") }}</h1>
<h1 class="title">{{ locale.kotoba.title }}</h1>
</section>
<section class="section container">
<div class="notification is-info block">
<p>{{ i18n.t("kotoba.searchHelp") }}</p>
<p>{{ locale.kotoba.searchHelp }}</p>
</div>
<div class="block is-flex is-flex-direction-row is-gap-2">