The "General" term is not translated due to the missing of t() function on the variable_get() function second parameter in line 46 of userpoints.module file and line 775 of userpoints.admin.inc file.
Correct instruction is
variable_get(USERPOINTS_TRANS_UNCAT, t('General'))
.
Very useful module.
Thank's
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | userpoints-translation-1956138.patch | 2.14 KB | xiukun.zhou |
| #1 | userpoints-translation-1956138.patch | 1.08 KB | xiukun.zhou |
Comments
Comment #1
xiukun.zhou commentedHi ishiomin,
I just happened to come across this problem, so I generated a patch
translated default value and variable_set of data
Comment #2
xiukun.zhou commentedSorry, #1 userpoint_translation.patch patch has a problem