#1160 closed defect (bug) (fixed)
Three placeholders in one string named in the same way make the translation impossible
Reported by: | aaleksanyants | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
In PO file there are strings containing two and more placeholders with the same name which makes their translation almost impossible. Here is an example:
%s of %s support threads in the last %s have been resolved. (References: plugins/_support.php:50).
In Armenian, the correct order should be something like : In the last %s there have been resolved %s support threads out of %s. If you would name variables with numbers added, it would be no problem to change the order ...
Change History (6)
#3
@
9 years ago
BTW, this is not the olny place wich casues difficulties, here is another one:
#: wp-admin/includes/deprecated.php:602
msgid "Displaying %s–%s of %s"
#5
@
9 years ago
- Resolution set to fixed
- Status changed from accepted to closed
Fixed in [10729-dotorg].
BTW, this is not the olny place wich casues difficulties, here is another one:
#: wp-admin/includes/deprecated.php:602
msgid "Displaying %s–%s of %s"
This is a deprecated admin string in WP itself. Are you seeing this actively used somewhere? Though available for translation, the string being deprecated means it should not be used anywhere and won't be maintained by WP going forward.
#6
@
9 years ago
- Component changed from General to Plugin Directory
OK, thanks for clarifying, I did not know if the second string is in use or not. BTW, I have checked the first reported string at https://translate.wordpress.org/projects/meta/plugins/hy/ and it is still there without any changes ...
Oops, sorry for checking wrong component, indeed it should be placed under plugin directory!