Module talk:Convert: Difference between revisions

Content deleted Content added
bnwiki: Reply
bnwiki: "or" added
Line 23:
:::In Convert/text, see the two TODO comments that I left for your attention. You will need to also fix the cvt_xxx messages under <code>all_messages</code>. That is because the old convert used <code>%s</code> to identify where substituted parameters need to go, while the new convert uses <code>$1</code> for the first parameter, <code>$2</code> for the second, etc. That should be better but it means every <code>%s</code> needs to be replaced. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 05:47, 18 December 2023 (UTC)
::::@[[User:Johnuniq|Johnuniq]], <nowiki>{{convert|12|cm|disp=or}}</nowiki> is giving "12 centimetres '''('''4.7 inches''')'''" instead of "12 centimetres '''or''' 4.7 inches". Other than that, everything is working as before. Thank you. [[User:আফতাবুজ্জামান|আফতাবুজ্জামান]] ([[User talk:আফতাবুজ্জামান|talk]]) 18:33, 18 December 2023 (UTC)
:::::@[[User:আফতাবুজ্জামান|আফতাবুজ্জামান]]: Try my most recent edit at bnwiki. I wondered why "or" was missing from that table while comparing the enwiki/bnwiki versions. You can change the text on the right-hand side but "or" on the left-hand side must be unchanged. If that doesn't work, you would need to set up sandbox modules and a template that I can experiment with and add links to them maybe on my bnwiki talk so I can find them in the future. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 22:30, 18 December 2023 (UTC)