Applied, thanks! /Maxime
* Hakan Tandogan <[email protected]> [2012-12-20 22:15:04]: > Fresh, clean, patch against the ocitysmap repo for simplifying the > Turkish translation. This patch contains only the language manipulation. > > --- > locale/tr/LC_MESSAGES/ocitysmap.po | 133 > +++++++++++++++++++++++++++++++++ > locale/tr_TR/LC_MESSAGES/ocitysmap.po | 133 > --------------------------------- > ocitysmap/i18n.py | 4 +- > 3 files changed, 135 insertions(+), 135 deletions(-) > create mode 100644 locale/tr/LC_MESSAGES/ocitysmap.po > delete mode 100644 locale/tr_TR/LC_MESSAGES/ocitysmap.po > > diff --git a/locale/tr/LC_MESSAGES/ocitysmap.po > b/locale/tr/LC_MESSAGES/ocitysmap.po > new file mode 100644 > index 0000000..bc49d3e > --- /dev/null > +++ b/locale/tr/LC_MESSAGES/ocitysmap.po > @@ -0,0 +1,133 @@ > +# SOME DESCRIPTIVE TITLE. > +# Copyright (C) YEAR ORGANIZATION > +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. > +# > +msgid "" > +msgstr "" > +"Project-Id-Version: PACKAGE VERSION\n" > +"Report-Msgid-Bugs-To: \n" > +"POT-Creation-Date: 2012-05-07 19:07-0700\n" > +"PO-Revision-Date: 2012-04-26 14:19+0100\n" > +"Last-Translator: Hakan Tandoğan <[email protected]>\n" > +"Language-Team: \n" > +"Language: \n" > +"MIME-Version: 1.0\n" > +"Content-Type: text/plain; charset=UTF-8\n" > +"Content-Transfer-Encoding: 8bit\n" > +"Generated-By: pygettext.py 1.5\n" > +"X-Poedit-Language: Turkish\n" > +"X-Poedit-Country: TURKEY\n" > + > +#: ocitysmap/indexlib/indexer.py:163 > +msgid "Places of worship" > +msgstr "İbadet yerleri" > + > +#: ocitysmap/indexlib/indexer.py:164 > +msgid "Place of worship" > +msgstr "İbadethane" > + > +#: ocitysmap/indexlib/indexer.py:165 ocitysmap/indexlib/indexer.py:166 > +#: ocitysmap/indexlib/indexer.py:167 ocitysmap/indexlib/indexer.py:168 > +#: ocitysmap/indexlib/indexer.py:169 > +msgid "Education" > +msgstr "Eğitim" > + > +#: ocitysmap/indexlib/indexer.py:165 > +msgid "Kindergarten" > +msgstr "Kreş" > + > +#: ocitysmap/indexlib/indexer.py:166 > +msgid "School" > +msgstr "Okul" > + > +#: ocitysmap/indexlib/indexer.py:167 > +msgid "College" > +msgstr "Kolej" > + > +#: ocitysmap/indexlib/indexer.py:168 > +msgid "University" > +msgstr "Üniversite" > + > +#: ocitysmap/indexlib/indexer.py:169 > +msgid "Library" > +msgstr "Kütüphane" > + > +#: ocitysmap/indexlib/indexer.py:170 ocitysmap/indexlib/indexer.py:171 > +#: ocitysmap/indexlib/indexer.py:172 ocitysmap/indexlib/indexer.py:174 > +msgid "Public buildings" > +msgstr "Kamu binaları" > + > +#: ocitysmap/indexlib/indexer.py:170 > +msgid "Town hall" > +msgstr "Belediye binası" > + > +#: ocitysmap/indexlib/indexer.py:171 > +msgid "Post office" > +msgstr "Postahane" > + > +#: ocitysmap/indexlib/indexer.py:173 > +msgid "Public building" > +msgstr "Kamu binası" > + > +#: ocitysmap/indexlib/indexer.py:174 > +msgid "Police" > +msgstr "Polis" > + > +#: ocitysmap/indexlib/indexer.py:399 > +msgid "Villages" > +msgstr "Köyler" > + > +#: ocitysmap/layoutlib/multi_page_renderer.py:470 > +#, python-format > +msgid "" > +"Copyright © %(year)d MapOSMatic/OCitySMap developers.\n" > +"http://www.maposmatic.org\n" > +"\n" > +"Map data © %(year)d OpenStreetMap.org and contributors (cc-by-sa).\n" > +"http://www.openstreetmap.org\n" > +"\n" > +"Map rendered on: %(date)s. OSM data updated on: %(osmdate)s.\n" > +"The map may be incomplete or inaccurate. You can contribute to improve this > " > +"map.\n" > +"See http://wiki.openstreetmap.org" > +msgstr "" > +"Telif hakkı © %(year)d MapOSMatic/OCitySMap geliştiricileri.\n" > +"http://www.maposmatic.org\n" > +"\n" > +"Harita verileri © %(year)d OpenStreetMap.org ve katılımcıları (cc-by-sa).\n" > +"http://www.openstreetmap.org\n" > +"\n" > +"Bu harita %(date)s tarihinde oluşturuldu. OSM verileri %(osmdate)s " > +"tarihliydiler.\n" > +"Harita eksik ya da yanlış olabilir. Haritanın verilerini geliştirmede " > +"katkıda bulunabilirsiniz.\n" > +"Bakınız http://www.openstreetmap.de/faq.html" > + > +#: ocitysmap/layoutlib/multi_page_renderer.py:485 > +#: ocitysmap/layoutlib/single_page_renderers.py:303 > +msgid "unknown" > +msgstr "bilinmiyor" > + > +#: ocitysmap/layoutlib/multi_page_renderer.py:540 > +msgid "This page is intentionally left blank." > +msgstr "Bu sayfa bilerek boş bırakılmıştır." > + > +#: ocitysmap/layoutlib/single_page_renderers.py:290 > +#, python-format > +msgid "" > +"Copyright © %(year)d MapOSMatic/OCitySMap developers. Map data © %(year)d " > +"OpenStreetMap.org and contributors (cc-by-sa).\n" > +"Map rendered on: %(date)s. OSM data updated on: %(osmdate)s. The map may be > " > +"incomplete or inaccurate. You can contribute to improve this map. See > http://" > +"wiki.openstreetmap.org" > +msgstr "" > +"Telif hakkı © %(year)d MapOSMatic/OCitySMap geliştiricileri. Harita > verileri " > +"© %(year)d OpenStreetMap.org ve katılımcıları (cc-by-sa).\n" > +"%(date)s tarihinde oluşturuldu. OSM verileri %(osmdate)s tarihliydiler.\n" > +"Bu harita eksik ya da yanlış olabilir. Haritanın verilerini geliştirmede " > +"katkıda bulunabilirsiniz.\n" > +"Bakınız http://www.openstreetmap.de/faq.html" > + > +#: ocitysmap/layoutlib/single_page_renderers.py:643 > +msgid "Test gettext" > +msgstr "gettext denemesi" > diff --git a/locale/tr_TR/LC_MESSAGES/ocitysmap.po > b/locale/tr_TR/LC_MESSAGES/ocitysmap.po > deleted file mode 100644 > index bc49d3e..0000000 > --- a/locale/tr_TR/LC_MESSAGES/ocitysmap.po > +++ /dev/null > @@ -1,133 +0,0 @@ > -# SOME DESCRIPTIVE TITLE. > -# Copyright (C) YEAR ORGANIZATION > -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. > -# > -msgid "" > -msgstr "" > -"Project-Id-Version: PACKAGE VERSION\n" > -"Report-Msgid-Bugs-To: \n" > -"POT-Creation-Date: 2012-05-07 19:07-0700\n" > -"PO-Revision-Date: 2012-04-26 14:19+0100\n" > -"Last-Translator: Hakan Tandoğan <[email protected]>\n" > -"Language-Team: \n" > -"Language: \n" > -"MIME-Version: 1.0\n" > -"Content-Type: text/plain; charset=UTF-8\n" > -"Content-Transfer-Encoding: 8bit\n" > -"Generated-By: pygettext.py 1.5\n" > -"X-Poedit-Language: Turkish\n" > -"X-Poedit-Country: TURKEY\n" > - > -#: ocitysmap/indexlib/indexer.py:163 > -msgid "Places of worship" > -msgstr "İbadet yerleri" > - > -#: ocitysmap/indexlib/indexer.py:164 > -msgid "Place of worship" > -msgstr "İbadethane" > - > -#: ocitysmap/indexlib/indexer.py:165 ocitysmap/indexlib/indexer.py:166 > -#: ocitysmap/indexlib/indexer.py:167 ocitysmap/indexlib/indexer.py:168 > -#: ocitysmap/indexlib/indexer.py:169 > -msgid "Education" > -msgstr "Eğitim" > - > -#: ocitysmap/indexlib/indexer.py:165 > -msgid "Kindergarten" > -msgstr "Kreş" > - > -#: ocitysmap/indexlib/indexer.py:166 > -msgid "School" > -msgstr "Okul" > - > -#: ocitysmap/indexlib/indexer.py:167 > -msgid "College" > -msgstr "Kolej" > - > -#: ocitysmap/indexlib/indexer.py:168 > -msgid "University" > -msgstr "Üniversite" > - > -#: ocitysmap/indexlib/indexer.py:169 > -msgid "Library" > -msgstr "Kütüphane" > - > -#: ocitysmap/indexlib/indexer.py:170 ocitysmap/indexlib/indexer.py:171 > -#: ocitysmap/indexlib/indexer.py:172 ocitysmap/indexlib/indexer.py:174 > -msgid "Public buildings" > -msgstr "Kamu binaları" > - > -#: ocitysmap/indexlib/indexer.py:170 > -msgid "Town hall" > -msgstr "Belediye binası" > - > -#: ocitysmap/indexlib/indexer.py:171 > -msgid "Post office" > -msgstr "Postahane" > - > -#: ocitysmap/indexlib/indexer.py:173 > -msgid "Public building" > -msgstr "Kamu binası" > - > -#: ocitysmap/indexlib/indexer.py:174 > -msgid "Police" > -msgstr "Polis" > - > -#: ocitysmap/indexlib/indexer.py:399 > -msgid "Villages" > -msgstr "Köyler" > - > -#: ocitysmap/layoutlib/multi_page_renderer.py:470 > -#, python-format > -msgid "" > -"Copyright © %(year)d MapOSMatic/OCitySMap developers.\n" > -"http://www.maposmatic.org\n" > -"\n" > -"Map data © %(year)d OpenStreetMap.org and contributors (cc-by-sa).\n" > -"http://www.openstreetmap.org\n" > -"\n" > -"Map rendered on: %(date)s. OSM data updated on: %(osmdate)s.\n" > -"The map may be incomplete or inaccurate. You can contribute to improve this > " > -"map.\n" > -"See http://wiki.openstreetmap.org" > -msgstr "" > -"Telif hakkı © %(year)d MapOSMatic/OCitySMap geliştiricileri.\n" > -"http://www.maposmatic.org\n" > -"\n" > -"Harita verileri © %(year)d OpenStreetMap.org ve katılımcıları (cc-by-sa).\n" > -"http://www.openstreetmap.org\n" > -"\n" > -"Bu harita %(date)s tarihinde oluşturuldu. OSM verileri %(osmdate)s " > -"tarihliydiler.\n" > -"Harita eksik ya da yanlış olabilir. Haritanın verilerini geliştirmede " > -"katkıda bulunabilirsiniz.\n" > -"Bakınız http://www.openstreetmap.de/faq.html" > - > -#: ocitysmap/layoutlib/multi_page_renderer.py:485 > -#: ocitysmap/layoutlib/single_page_renderers.py:303 > -msgid "unknown" > -msgstr "bilinmiyor" > - > -#: ocitysmap/layoutlib/multi_page_renderer.py:540 > -msgid "This page is intentionally left blank." > -msgstr "Bu sayfa bilerek boş bırakılmıştır." > - > -#: ocitysmap/layoutlib/single_page_renderers.py:290 > -#, python-format > -msgid "" > -"Copyright © %(year)d MapOSMatic/OCitySMap developers. Map data © %(year)d " > -"OpenStreetMap.org and contributors (cc-by-sa).\n" > -"Map rendered on: %(date)s. OSM data updated on: %(osmdate)s. The map may be > " > -"incomplete or inaccurate. You can contribute to improve this map. See > http://" > -"wiki.openstreetmap.org" > -msgstr "" > -"Telif hakkı © %(year)d MapOSMatic/OCitySMap geliştiricileri. Harita > verileri " > -"© %(year)d OpenStreetMap.org ve katılımcıları (cc-by-sa).\n" > -"%(date)s tarihinde oluşturuldu. OSM verileri %(osmdate)s tarihliydiler.\n" > -"Bu harita eksik ya da yanlış olabilir. Haritanın verilerini geliştirmede " > -"katkıda bulunabilirsiniz.\n" > -"Bakınız http://www.openstreetmap.de/faq.html" > - > -#: ocitysmap/layoutlib/single_page_renderers.py:643 > -msgid "Test gettext" > -msgstr "gettext denemesi" > diff --git a/ocitysmap/i18n.py b/ocitysmap/i18n.py > index 56e0196..3dd13e8 100644 > --- a/ocitysmap/i18n.py > +++ b/ocitysmap/i18n.py > @@ -727,7 +727,7 @@ class i18n_pl_generic(i18n): > def first_letter_equal(self, a, b): > return a == b > > -class i18n_tr_TR_generic(i18n): > +class i18n_tr_generic(i18n): > APPELLATIONS = [ u"Sokak", u"Sokağı" ] > DETERMINANTS = [] > SPACE_REDUCE = re.compile(r"\s+") > @@ -1028,7 +1028,7 @@ language_class_map = { > 'pl_PL.UTF-8': i18n_pl_generic, > 'nb_NO.UTF-8': i18n_generic, > 'nn_NO.UTF-8': i18n_generic, > - 'tr_TR.UTF-8': i18n_tr_TR_generic, > + 'tr_TR.UTF-8': i18n_tr_generic, > 'ast_ES.UTF-8': i18n_ast_generic, > 'sk_SK.UTF-8': i18n_generic, > } > -- > 1.7.3.4 > > > -- Maxime Petazzoni <http://www.bulix.org> ``One by one, the penguins took away my sanity.'' Writing software in California
signature.asc
Description: Digital signature
