Re: [Tracker] [l10n] Cleaning up tracker-tag



Il giorno gio, 16/11/2006 alle 14.13 +0000, Jamie McCracken ha scritto:
Luca Ferretti wrote:
Attached here is a patch to add l10n/i18n support to tracker-tag console
tool.

The patch adds _() macros here and there, adds needed functions to
activate l10n/i18n and changes some messages to make them well behaving
(for translators and more similar to coreutils tools).

For example "tracker threw error" become "internal tracker error", or
all \n stuff are removed from the translatable string, or all error
message are "prefixed" with the executable name (as in coreutils)

In the next days I'll update other console tools to match the "style"
used here, so please comment it :-)


patch looks fine - please apply

done.

PS take a look at FIXME comment in patch.

not sure what the problem is - looks okay to me


When the command has no matching results, is shouldn't produce any
output. This should good for non-interactive use (for example in
scripts)

Try for example `find . -name xdefsdrsag` in a directory (I suppose you
have files or directory with this name...).

IMHO tracker-* console tools should output:
     1. results entries, if any, one per line
     2. error message (bad command, internal error...)
     3. nothing (no match, no error)

Also, could be interesting investigate exit status too.




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