In the current version of decisions I have run into a problem while translating the user interface. The problem was with the label of node type title while adding a new poll. What is displayed in the mean time is for instance "Selection Question" if using the selection module.
The part "Question" is translatable while the "Selection" is not. Looking in the code I found out it is due to the construction of title label. It consists of the module name and the "Question" part.
In my opinion it can be very evident that one is adding either a selection or ranking type of decision which can be seen in the title of the page. I therefore edited the code. There are 2 ways to get around this. Either by putting the module name into t() function or simply omitting the module name.
This might be worth a short discussion what is more likely to be accepted. I prefer omitting the module name.
| Comment | File | Size | Author |
|---|---|---|---|
| decisions.module.alt2_.patch | 369 bytes | kunago | |
| decisions.module.alt1_.patch | 393 bytes | kunago |
Comments
Comment #1
Marat commentedThank you for these patches, I just tried them. I would agree with you, omitting the name is better because the name is already shown above after
Add.Comment #2
anarcat commentedfixed in CVS, thanks!