web/i18n: move call to action button strings to own file

This commit is contained in:
wukko
2024-08-09 14:40:30 +06:00
parent 21ef35ea20
commit 536d9c9742
9 changed files with 32 additions and 30 deletions

View File

@@ -53,7 +53,7 @@
click={() => openURL(url)}
>
<IconDownload />
{$t("dialog.button.download")}
{$t("button.download")}
</VerticalActionButton>
{/if}
@@ -65,7 +65,7 @@
click={async () => await shareURL(url)}
>
<IconShare2 />
{$t("dialog.button.share")}
{$t("button.share")}
</VerticalActionButton>
{/if}
@@ -77,10 +77,10 @@
copyURL(url);
copied = true;
}}
ariaLabel={copied ? $t("a11y.dialog.saving.copied") : ""}
ariaLabel={copied ? $t("button.copied") : ""}
>
<CopyIcon check={copied} />
{$t("dialog.button.copy")}
{$t("button.copy")}
</VerticalActionButton>
</div>
</div>
@@ -94,7 +94,7 @@
<DialogButtons
buttons={[
{
text: $t("dialog.button.done"),
text: $t("button.done"),
main: true,
action: () => {},
},