[drupal-devel] locale_simple.module
Gabor Hojtsy
gabor at hojtsy.hu
Thu Oct 6 18:56:40 UTC 2005
> 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
More information about the drupal-devel
mailing list