web/i18n: update string name formatting

This commit is contained in:
wukko 2024-08-20 21:17:33 +06:00
parent 05abf9ad3e
commit 265ab77948
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
9 changed files with 22 additions and 22 deletions

View file

@ -1,9 +1,9 @@
{ {
"linkArea": "link input area", "link_area": "link input area",
"clearInput": "clear input", "clear_input": "clear input",
"download": "download", "download": "download",
"downloadThink": "processing the link...", "download.think": "processing the link...",
"downloadCheck": "verifying download...", "download.check": "verifying download...",
"downloadDone": "downloading done", "download.done": "downloading done",
"downloadError": "downloading error" "download.error": "downloading error"
} }

View file

@ -1,3 +1,3 @@
{ {
"tabPanel": "tabs panel" "tab_panel": "tabs panel"
} }

View file

@ -3,7 +3,7 @@
"cancel": "cancel", "cancel": "cancel",
"reset": "reset", "reset": "reset",
"done": "done", "done": "done",
"downloadAudio": "download audio", "download.audio": "download audio",
"download": "download", "download": "download",
"share": "share", "share": "share",
"copy": "copy", "copy": "copy",

View file

@ -1,9 +1,9 @@
{ {
"linkArea": "зона вставки ссылки", "link_area": "зона вставки ссылки",
"clearInput": "clear input", "clear_input": "clear input",
"download": "скачать", "download": "скачать",
"downloadThink": "обрабатываю ссылку...", "download.think": "обрабатываю ссылку...",
"downloadCheck": "проверяю загрузку...", "download.check": "проверяю загрузку...",
"downloadDone": "загрузка завершена!", "download.done": "загрузка завершена!",
"downloadError": "ошибка загрузки" "download.error": "ошибка загрузки"
} }

View file

@ -1,3 +1,3 @@
{ {
"tabPanel": "панель вкладок" "tab_panel": "панель вкладок"
} }

View file

@ -152,7 +152,7 @@
autocapitalize="off" autocapitalize="off"
maxlength="256" maxlength="256"
placeholder={$t("save.input.placeholder")} placeholder={$t("save.input.placeholder")}
aria-label={$t("a11y.save.linkArea")} aria-label={$t("a11y.save.link_area")}
data-form-type="other" data-form-type="other"
disabled={isDisabled} disabled={isDisabled}
/> />

View file

@ -8,7 +8,7 @@
<button <button
id="clear-button" id="clear-button"
on:click={click} on:click={click}
aria-label={$t("a11y.save.clearInput")} aria-label={$t("a11y.save.clear_input")}
> >
<IconX /> <IconX />
</button> </button>

View file

@ -43,10 +43,10 @@
buttonAltText = $t( buttonAltText = $t(
({ ({
idle: "a11y.save.download", idle: "a11y.save.download",
think: "a11y.save.downloadThink", think: "a11y.save.download.think",
check: "a11y.save.downloadCheck", check: "a11y.save.download.check",
done: "a11y.save.downloadDone", done: "a11y.save.download.done",
error: "a11y.save.downloadError", error: "a11y.save.download.error",
})[state] })[state]
); );

View file

@ -25,7 +25,7 @@
<svelte:window bind:innerWidth={screenWidth} /> <svelte:window bind:innerWidth={screenWidth} />
<nav id="sidebar" aria-label={$t("a11y.tabs.tabPanel")}> <nav id="sidebar" aria-label={$t("a11y.tabs.tab_panel")}>
<CobaltLogo /> <CobaltLogo />
<div id="sidebar-tabs" role="tablist"> <div id="sidebar-tabs" role="tablist">
<div id="sidebar-actions" class="sidebar-inner-container"> <div id="sidebar-actions" class="sidebar-inner-container">