You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser for the plural expressions seems to be broken, because things like "!=" or ">" won't be parsed.
The reason for this seems to be that ParseLogical is never called. I guess @yvt needs to take a look at this, because I have no idea how the grammar should look like. Additionally the code is really picky about whitespace, because in the case of pt_br it wouldn't even attempt to parse the expression because of the whitespace between "nplurals=2;" and "plural=...".
Translations using _TrN macro always stay in the singular if loaded from a catalog (e.g.
core_locale: pt_br
).The root of the issue are those 2 files:
Sources/core/string.h
Sources/core/string.cpp
Specially the
GetTextRawPlural()
andGetCatalogOfLanguage()->Find()
functions.The text was updated successfully, but these errors were encountered: