Translations of opening hours strings in gnome-maps!
- From: Marcus Lundblad <ml update uu se>
- To: gnome-i18n gnome org
- Subject: Translations of opening hours strings in gnome-maps!
- Date: Fri, 19 Dec 2014 09:23:44 +0100
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]