Hi,

In latest stable version the word "Add" for adding content is not translated. The word after it (the content type) is properly translated. In former version the translation string was "Add !content-type", and that worked, but not anymore.
I want f.e. in Dutch: "!content-type Aanmaken", so not only translated, I want (have) to change the word order.

Thanks,

Kees

CommentFileSizeAuthor
#1 admin_menu.module.t.patch1.7 KBsun

Comments

sun’s picture

Title: Word not translated » "Add" not translated
Assigned: Unassigned » sun
Status: Active » Needs review
StatusFileSize
new1.7 KB

yes, that was caused by the modularization of admin_menu_copy_items(). Since the menu item title is supplied as an argument to admin_menu_copy_items() now, we cannot use t() there the way it's intended to be used.

However, I've just found out, that t() does not strip any tokens (currently). So we are able to abuse t() a little bit and provide "Add !title" as a translatable string.

Please test attached patch and report back if it worked for you.

sun’s picture

Status: Needs review » Fixed

Committed that patch.
Feel free to re-open this issue if you still encounter this bug after updating to the latest development snapshot (available in approx. 12 hours).

Anonymous’s picture

Status: Fixed » Closed (fixed)

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