[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New desktop features provided by new version of update-notifier

On Sat, Aug 12, 2006 at 08:29:13PM -0300, Gustavo Noronha Silva wrote:
> The second feature is quite cool; update-notifier uses hal to detect
> that a new CD/DVD was inserted and tries to figure out whether that is
> a Ubuntu CD; I patched the program to also look for Debian CDs, and to
> avoid messing with translations, the messages have Ubuntu replaced by
> Debian in runtime, after the translation is got from gettext if the CD
> that was inserted is a Debian CD.

Please don't mess with gettext this way. You should ask Ubuntu people to
rewrite the lines so that the 'branding' is removed or, at most, is handled
by a variable that *is* replaced at runtime (this is what was introduced in
Debian Installer). If you do string-based replacement you are going to miss
(or break) non-ASCII based languages (think Japanese or Chinese).



Attachment: signature.asc
Description: Digital signature

Reply to: