On Wed, 2012-11-07 at 10:15 +0100, Daniel CLEMENT wrote:
> Hello,
> 
> Le mardi 06 novembre 2012 à 20:51 +0100, Patrick Ohly a écrit :
> > [...]
> > 
> > > This could be fixed by shorter French
> > > translations (Could I help there? -- BTW, the notification messages that
> > > pop up before and after an auto sync are always in English).
> > 
> > Yes, help with translating SyncEvolution would be welcome. It used to be
> > translated for Moblin by Intel, but that effort is mostly dormant
> > nowadays.
> 
> FWIW, I had a look at the sources (1.3.1). Found /po/fr.po. Here is an
> excerpt:
> ---
> #. TRANSLATORS: This is the title on main view. Placeholder is
> #. * the service name. Example: "Google - synced just now"
> #: ../src/gtk-ui/sync-ui.c:541
> #, c-format
> msgid "%s - synced just now"
> msgstr "%s - dernière synchronisation il y a quelques secondes"
> 
> #: ../src/gtk-ui/sync-ui.c:545
> #, c-format
> msgid "%s - synced a minute ago"
> msgstr "%s - dernière synchronisation il y a moins d'une minute"
> ---
> and so on.
> 
> As you can see, the French is considerably longer. In particular,
> "synchronisation" is never abridged. I have no simple way to start the
> UI in English, but I'd bet it looks better.

You can use "LC_ALL=en_US.UTF-8 LANGUAGE=en_US sync-ui" to start the UI
in English.

> Further in the fr.po file they talk about linebreaks allowed. But I
> don't know if it can be done here in the main title.

I don't know either.

> However, I plan to try two modified versions of this fr.po, one with
> linebreaks and the other with shortened French labels.
> 
> I'll come back and report if I get something conclusive.
> > 
> > [...]
> > 
> 
> Now for the autosync part. The localization of the notification messages
> appears to be addressed in fr.po, e.g.:
> ---
> #. if sync is successfully started and done
> #: ../src/syncevo-dbus-server.cpp:6670
> #, c-format
> msgid "%s sync complete"
> msgstr "Synchronisation %s terminée"
> ---
> but, for some reason, the translated strings don't make it into my
> notification messages (Linux Mint, Debian, XFCE). I wonder if it's an
> XFCE issue: do other users get their notifications translated?

No, that seems to be completely broken. I wonder whether no-one has ever
used auto syncing or whether not having translated messages was accepted
as normal.

The explanation is simple: localization was used, but never turned on in
the synevo-dbus-server, the process which creates these notifications. I
have a fix (and a unit test).

Thanks for reporting this.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to