Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hidden categories should also show the singular form #674

Closed
desb42 opened this issue Feb 29, 2020 · 1 comment
Closed

hidden categories should also show the singular form #674

desb42 opened this issue Feb 29, 2020 · 1 comment

Comments

@desb42
Copy link
Collaborator

desb42 commented Feb 29, 2020

Looking at de.wikipedia.org/wiki/Kategorie:Datei:Commonsduplikat
plural
There is only one hidden category
But, xowa shows Versteckte Kategorien which is the plural
It should be Versteckte Kategorie

This stems from the file 400_xowa\src\gplx\xowa\addons\wikis\ctgs\htmls\pageboxs\doubles\Xoctg_double_grp.java
where there is the line:

byte[] lbl_hidden = wiki.Msg_mgr().Val_by_id_args(Xol_msg_itm_.Id_ctg_tbl_hidden, count);

Id_ctg_tbl_hidden in 400_xowa\src\gplx\xowa\langs\msgs\Xol_msg_itm_.java refers to a link hidden-category-category, if this name is changed to hidden-categories
Then this will 'correct' the issue

https://de.wikipedia.org/w/index.php?title=MediaWiki:Hidden-categories&action=edit gives

{{PLURAL:$1|Versteckte Kategorie|Versteckte Kategorien}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment