i18n support for tools
Andrey Borzenkov
arvidjaar at mail.ru
Sun Oct 29 19:17:39 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 30 October 2006 03:02, S.Çağlar Onur wrote:
> Hi;
>
> Currently, KDE uses hal's methods for mount/umount operations, but if any
> error occurs it just shows the message written to stderr by hal in a dialog
> box.
>
> So for example in while KDE is Turkish, KDE shows unlocalized messages
> like "hal-storage-fixed-mount-all-options refused uid 1002" to users.
>
> Attached patch is initial i18n support for tools/hal-storage-{un}mount.c.
> As a starting point i just converted the user visible strings but if you
> want i can start to add i18n support to others strings/tools.
>
Daemon may run in different locale than user; so this should probably be done
on the level which interacts with user. One possibility is to pass locale
information over D-Bus; I do not know if this is possible.
Regards
- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFRW7lR6LMutpd94wRAgbvAKCWWyrJETnW8jQtC7FlIk7/TCBbVQCgpK7N
fjptnQBPxWGYZdxcDsjLC8g=
=teXR
-----END PGP SIGNATURE-----
More information about the hal
mailing list