Translations of opening hours strings in gnome-maps!



Hi!

I gnome-maps we are working on translating the opening hours tags from
OpenStreetmap.
There is a bug with a patch to turn the OSM tag data in a translatable
string here: https://bugzilla.gnome.org/show_bug.cgi?id=740836
We would probably need some extra pairs of i18n-oriented eyes looking at
this.

The code in the patch is quite hairy, I have tried explaining it in the
bug report and in code comments in the code (in src/translations.js).
It works by essentially breaking up the tag value into parts in several
steps and at each step passing the recursive values through a
translatable string format pattern (such as C_("list spec", "%s %s") for
a list with two args).

Comments and suggestions if there is something I'm missing or something
that might be problematic regarding translation would be much
appreciated.

//Marcus



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