Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The help text for the form element allowing to override a block's title is the following:
Override the default title for the block. Use <none> to display no title, or leave blank to use the default block title.
The whole thing is passed through t(), so some translators have translated all of it, including <none>
. Of course, if you use <keine>
(German for <none>
, which is actually suggested by the German translation of the help text) you don't get the intended effect. The placeholder <none>
is just not meant to be translated. This patch simply wraps it in a t() placeholder so that it doesn't get translated.
Comment | File | Size | Author |
---|---|---|---|
block_none_placeholder.patch | 1.1 KB | floretan | |
Comments
Comment #1
floretan CreditAttribution: floretan commentedComment #2
Nick_vhLooks great! I'm in favor for this fix. Tested it and seems to work. Not so big to see that it works anyway ;-)
Found this through twitter though! Great idea for reviewing patches!
Comment #3
Ivo.Radulovski CreditAttribution: Ivo.Radulovski commentedYes, indeed!
Comment #4
webchickMakes sense to me! Committed to HEAD.