mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01: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?"
|
msgid "Remove this catch-up?"
|
||||||
msgstr ""
|
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
|
#: src/pages/catchup.jsx:1083
|
||||||
msgid "Note: Only max 3 will be stored. The rest will be automatically removed."
|
msgid "Note: Only max 3 will be stored. The rest will be automatically removed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1061,11 +1061,11 @@ function Catchup() {
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
const yes = confirm(t`Remove this catch-up?`);
|
const yes = confirm(t`Remove this catch-up?`);
|
||||||
if (yes) {
|
if (yes) {
|
||||||
let t = showToast(
|
let st = showToast(
|
||||||
t`Removing Catch-up ${pc.id}`,
|
t`Removing Catch-up ${pc.id}`,
|
||||||
);
|
);
|
||||||
await db.catchup.del(pc.id);
|
await db.catchup.del(pc.id);
|
||||||
t?.hideToast?.();
|
st?.hideToast?.();
|
||||||
showToast(t`Catch-up ${pc.id} removed`);
|
showToast(t`Catch-up ${pc.id} removed`);
|
||||||
reloadCatchups();
|
reloadCatchups();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue