Red Hat Bugzilla – Bug 890157
Multiple placeholders within one string should have names to keep them in right order after translation
Last modified: 2013-09-12 10:07:37 EDT
Description of problem:
After recent anaconda update, 4 strings with multiple placeholders don't have names.
String ID: This Software RAID array is missing %d of %d member partitions. You can remove it or select a different device.
String ID: This LVM Volume Group is missing %d of %d physical volumes. You can remove it or select a different device.
String ID: This %s device is missing %d of %d %s. You can remove it or select a different device.
String ID: %s may not have enough space for grub2 to embed core.img when using
the %s filesystem on %s
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.then open anaconda master po file
They should be like these: %(partition)d, %(device)d ...
It's difficult even impossible to keep the right order of multiple placeholders within one line in translation.
So please add names for them. Like those already have.
Sending off a patch for this. If I'm reading the code correctly, the third one should not ever even be displayed so don't worry about that one. I'll remove it.
(In reply to comment #1)
> Sending off a patch for this. If I'm reading the code correctly, the third
> one should not ever even be displayed so don't worry about that one. I'll
> remove it.
Thank you Chris.
Hope the patch will be pushed to transifex soon.
yuminstall.py also has one:
A %s error occurred when installing the %s package. This could indicate errors when reading the installation media. Installation cannot continue.
yeah, I know. yuminstall.py is dead code. nevermind.
I didn't see the changes in transifex after the anaconda po file was updated. Problems are still there.
TianShixiong, is this still an issue?
Yes, this one:
This %s device is missing %d of %d %s. You can remove it or select a different device.
Some of multiple palceholders in one string still don't have names, but it's possible to arrange the right order in translation. So I didn't list them here.
Thanks, updating to F19.
We added a test for this in the latest anaconda and fixed what it found.
I see the updated po in transifex.