mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4393] [Issue]: Plural suffix fragment keys cannot be localized (stageprofileview.s, lorebookeditor.es) #2385
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2385
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mallang0723 on GitHub (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4393
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Two catalog keys hold bare English plural suffixes ("s", "es") that are
concatenated after a count word at the call site, which cannot be localized
into Korean (or most non-European languages).
Expected behavior
Count-dependent strings use i18next count-based keys (
item_one/item_other), as the rest of the catalog already does, so locales withoutplural markers can render a clean count word.
Actual behavior
ui.noodle.stageprofileview.s= "s" andui.lorebooks.lorebookeditor.es= "es" render output like "3개s" with any non-empty Korean value.
scripts/check-locales.mjsrejects empty values ("must contain non-emptytext").
stray suffix after a Korean count word.
Steps to reproduce
"ui.noodle.stageprofileview.s": ""toko.json.pnpm localization:check→ it fails on the empty value.stage profile with Korean locale → suffix renders after the count.
Environment
1d7605911Logs, screenshots, or video
Not applicable — see the checker error message above.
Additional context
I left these two keys out of the accompanying Korean locale PR on purpose;
happy to help test once the call sites move to count-based keys.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: