Closed (fixed)
Project:
Privatemsg
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2010 at 06:18 UTC
Updated:
26 Mar 2010 at 16:20 UTC
Jump to comment: Most recent file
Hello,
I am needing to translate the message "You have x unread messages." and "You have 1 unread message."
In the translation search it comes up in broken pieces which makes it difficult to translate.
1) You have %unread.
2) 1 unread message
3) @count unread messages
Can this please be looked into in order to improve the ability to translate the message?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | privatemsg.new_translation.patch | 999 bytes | berdir |
Comments
Comment #1
YK85 commentedThe 1) above should read:
Comment #2
berdirYes, this is bad.
Try the attached patch, you should have two separate strings now. If that works, please set to RTBC. Thanks.
Comment #3
YK85 commentedI see from the patch that there should now be two strings for translation:
You have <a href="@messages">@count unread messages</a>You have <a href="@messages">1 unread message</a>.After applying the patch I was not able to find the string for translation at first. I had to send a test message, then login as the test user to see "You have 3 unread messages" show upon login. Then I went back as admin and search and found the string above - nice! Is this just the way drupal works?
Thanks!
Comment #4
berdirYes, that's how it works.
Comment #5
berdirThanks for reporting, reviewing, and testing! Committed to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
This message is automatically generated. If you feel it could be improved, feel free to comment on http://drupal.org/node/467548