Closed (fixed)
Project:
Forward
Version:
6.x-1.21
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Nov 2011 at 23:42 UTC
Updated:
23 Feb 2012 at 03:20 UTC
Jump to comment: Most recent file
1.) Menu descriptions do not need t()
-> the description string is always send through t()
2.) default values of variables in t(), if they are strings.
3.) Options of a seclect list
are translated via t()
4.) Little improvement on strings_
e.g. description for checkbox:
'if checked' -> don't explain UI to the user
User must not do anything: everything a user does, the person does on there own.
removed some duplicate blanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fixed_translation-1328842-1.patch | 15.61 KB | Thomas_Zahreddin |
Comments
Comment #1
Thomas_Zahreddin commentedpatch based on forward 6.x-1.20 (first version in the issue was wrong, sorry)
also i think the patch fixes most errors, but in this way t() is often kind of missused, the translation only works proper for the default values.
Comment #2
john.oltman commentedThomas, thanks for the patch. I committed some items from your list - #1 hook_menu description fix, and #3 translate options of a select. The others would affect people with string overrides installed, so I'll look to handle those better in the D8 version with token support and translation cleanup. I agree that t() is misused in some cases and that can get cleaned up in D8 - the D6 version already has thousands of users so don't want to destabilize the install base.