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

@ -20,7 +20,7 @@
meowbalt: "error",
buttons: [
{
text: $t("dialog.button.gotit"),
text: $t("button.gotit"),
main: true,
action: () => {},
},
@ -110,7 +110,7 @@
changeDownloadButton("done");
const buttons = [
{
text: $t("dialog.button.done"),
text: $t("button.done"),
main: true,
action: () => {},
},
@ -119,7 +119,7 @@
if (response.audio) {
const pickerAudio = response.audio;
buttons.unshift({
text: $t("dialog.button.downloadAudio"),
text: $t("button.download_audio"),
main: false,
action: () => {
downloadFile(pickerAudio);