Comment 7 for bug 520462

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 520462] Re: Gwibber is not completely translatable

El dg 28 de 02 de 2010 a les 09:51 +0000, en/na Milo Casagrande va
escriure:
> @David: one note on the "actions.py" file. I was looking at it
> yesterday night, and the last string of actions.py, the one of the
> Tomboy sync, is not really a good translatable string.
> Is it possible for you to modify the code of your branch, to make that string like this:
> _("%(protocol_name)s message from %(sender)s at %(time)s\n\n%(message)s\n\nSource: %(url)s") % \
> {"protocol_name": client.model.services[msg["protocol"]]["name"], \
> "sender": msg["sender"]["name"], \
> "time": msg["time"], \
> "message": msg["text"], \
> "url": msg["url"]
> }
>

Sure, done. Thanks!

> Other notes I was pondering yesterday:
> _Search for a query (from the actions.py file)
> Personally, I don't think it is that clear as a message. I can't find
> it while running the program so I don't exactly what it does, but I
> find it strange.
>

I think it is only for debugging purposes, as it should only print to
stdout, so I did not mark it as translatable or made it use a
%(variable)s. I'm always in favour of having everything translatable,
but for debugging messages, I think it is easier for developers to have
it in English, and for translators to concentrate only on really visible
strings.

> View reply t_hread
> What about a simpler "View discussion"?
>

I haven't changed that one, since it's not related to the translation
fixes, and it's probably something that should be discussed with the
developers, but basically, yes, I prefer your suggestion as well. I
think this one could be sorted out just by having a quick chat at
irc://irc.arstechnica.com/gwibber.

> And this one:
> print _("Searching for group"), query
> There is no space between "group" and the query string that will be added, is it OK to be like that?
>

The same comment as the other one. I haven't changed it for now, as I
think it is only a debug message.