wip: Discord Rules page fully using i18n, i18n function messages, fixed Locale compiler bugs, still some bugs with locale fallbacks that need fixing

This commit is contained in:
Benjamin Singleton 2026-02-15 13:55:22 -06:00
parent a3adc2526f
commit 771a8cc4bf
9 changed files with 361 additions and 193 deletions

View file

@ -7,8 +7,12 @@ import {
import RichTemplateParts from "./RichTemplateParts.vue";
import OptionalParent from "./OptionalParent.vue";
defineProps<{ template: CompiledRichTemplate<SlotName>; tag?: string }>();
const props = defineProps<{
template: CompiledRichTemplate<SlotName>;
tag?: string;
}>();
const slots = defineSlots<{ [K in SlotName]: () => VNode[] }>();
console.log(Object.entries(props.template));
</script>
<template>