More i18n

This commit is contained in:
Luc Mcgrady 2025-08-25 22:30:28 +01:00
parent 5d536f2f8e
commit 8c0d1d1720
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -2,7 +2,7 @@
import type { Writable } from "svelte/store"; import type { Writable } from "svelte/store";
import AnswerButton from "./AnswerButton.svelte"; import AnswerButton from "./AnswerButton.svelte";
import { bridgeCommand } from "@tslib/bridgecommand"; import { bridgeCommand } from "@tslib/bridgecommand";
import * as tr from "@generated/ftl" import * as tr from "@generated/ftl";
export let answerButtons: Writable<AnswerButtonInfo[]> export let answerButtons: Writable<AnswerButtonInfo[]>
$: console.log($answerButtons) $: console.log($answerButtons)
@ -19,11 +19,11 @@
<AnswerButton info={answerButton}></AnswerButton> <AnswerButton info={answerButton}></AnswerButton>
{/each} {/each}
{:else} {:else}
<button on:click={()=>bridgeCommand("ans")}>Review Buttons</button> <button on:click={()=>bridgeCommand("ans")}>{tr.studyingShowAnswer()}</button>
{/if} {/if}
</div> </div>
<div> <div>
<button>More</button> <button title={tr.actionsShortcutKey({val: "M"})}>{tr.studyingMore()}&#8615</button>
</div> </div>
</div> </div>
</div> </div>