mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Fix clash of t's
And… due to the clash, the strings were not added for i18n
This commit is contained in:
parent
71e721eda0
commit
b13ac8a608
2 changed files with 10 additions and 2 deletions
8
src/locales/en.po
generated
8
src/locales/en.po
generated
|
@ -2655,6 +2655,14 @@ msgstr ""
|
|||
msgid "Remove this catch-up?"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/catchup.jsx:1065
|
||||
msgid "Removing Catch-up {0}"
|
||||
msgstr "Removing Catch-up {0}"
|
||||
|
||||
#: src/pages/catchup.jsx:1069
|
||||
msgid "Catch-up {0} removed"
|
||||
msgstr "Catch-up {0} removed"
|
||||
|
||||
#: src/pages/catchup.jsx:1083
|
||||
msgid "Note: Only max 3 will be stored. The rest will be automatically removed."
|
||||
msgstr ""
|
||||
|
|
|
@ -1061,11 +1061,11 @@ function Catchup() {
|
|||
onClick={async () => {
|
||||
const yes = confirm(t`Remove this catch-up?`);
|
||||
if (yes) {
|
||||
let t = showToast(
|
||||
let st = showToast(
|
||||
t`Removing Catch-up ${pc.id}`,
|
||||
);
|
||||
await db.catchup.del(pc.id);
|
||||
t?.hideToast?.();
|
||||
st?.hideToast?.();
|
||||
showToast(t`Catch-up ${pc.id} removed`);
|
||||
reloadCatchups();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue