Content deleted Content added
→Doubled SI prefix in singular form with varname: new section |
|||
Line 28:
==Discussion at [[:Wikipedia:Village pump (technical)#Let's make Template:convert go away.|Wikipedia:Village pump (technical) § Let's make Template:convert go away.]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:Wikipedia:Village pump (technical)#Let's make Template:convert go away.|Wikipedia:Village pump (technical) § Let's make Template:convert go away.]]. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 07:37, 15 January 2024 (UTC)<!-- [[Template:Please see]] -->
== Doubled SI prefix in singular form with varname ==
Now I am working on the Ukranian localisation of Module:Convert and I am faced with the bug of doubled SI prefix that appears if parameter varname is used in translation_table. The module uses the singular form of a unit. If the unit uses a plural or declensed singular form defined in parameter varname, then the SI prefix shows as normal. I tried to delete all the modifications that I have done to the module in the Ukranian wiki, and it seems that the bug also appears on a clean version of the English module. Also, it affects only units that have a specified varname, and units that don't work as normal.
For example, unit Mbit shows as megamegabit ({{lang|uk|мегемегабіт}}), and Mm2 shows as megasquare megametre ({{lang|uk|мегаквадратний мегаметр}}). [[User:Repakr|Repakr]] ([[User talk:Repakr|talk]]) 08:42, 14 September 2024 (UTC)
|