On admin/structure/types, the machine name of a content type is displayed as "(Machine name: page)". The "Machine name" string isn't translatable. Trivial patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | node.patch | 611 bytes | droplet |
| hansfn-2011-05-06.patch | 608 bytes | hansfn |
Comments
Comment #1
droplet commentedcan it include all "(Machine name: page)" in t function. because some lang is using different "()" and ":"
thanks.
Comment #2
droplet commentedComment #3
hansfn commenteddroplet, I don't understand your comment. (My patch just translates "Machine name".)
Comment #4
jbrown commentedThe brackets and colon should be in the translatable string. Use replacements.
Comment #5
droplet commentedyes, @jbrown right.
Comment #6
hansfn commentedOK, next time I'll use replacements. Tested node.patch and it worked fine (of course). Thx.
PS! Do we need to tag it so the fix is backported to 7.x dev?
Comment #7
jbrown commentedThis patch is fine!
Comment #8
catch.
Comment #9
dries commentedCommitted to 7.x and 8.x.
(Working from the road so can't review big complex issues right now -- picking away some smaller patches that are unlikely to break bigger patches.)