6 Oct
2005
6 Oct
'05
8:56 p.m.
function locale($string) { $translate['Custom URL'] = 'Path Alias'; return $translate[$string]; }
Even 4 lines of code can contain bugs.
How would this work with translations. You say you would like to provide this feature to English users. What if someone in a translation would like to do a similar change? BTW have you checked how many times 'path alias' appears in interface and help texts? This is going to be a big array for such a simple change, and you are going to maintain string copies this way too... Goba