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.

Comments

Marat’s picture

Thank 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.

anarcat’s picture

Status: Active » Fixed

fixed in CVS, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.