Wykres commitów

601 Commity (e62162fb38e261c2255220fd9d880e78875ada60)

Autor SHA1 Wiadomość Data
Konstantin Mochalov a2490b593c Added russian translation. 2010-01-06 00:12:41 +01:00
Thomas Petazzoni fbf1d0164a Add support for Spanish language
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-05 23:56:40 +01:00
Thomas Petazzoni bc64d2a57c Add german to the list of languages supported for the map rendering
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-05 22:25:10 +01:00
malenki 360ce6abfd Updated german translation 2010-01-05 22:10:19 +01:00
David MENTRE dded95c613 Update French street prefixes, following Vincent Baron comment
Add new prefixes for French:
 * Hameau
 * Petite avenue
 * Sentier
2010-01-05 21:28:54 +01:00
David Decotigny 7e3afc70b9 pure cosmetics 2010-01-04 10:46:20 +01:00
David Decotigny 14ea57937f Zen Karma ++ (Readability counts).
Though I've been credited for the original implementation of the
language class lookup based on python introspection, it's not really
zen. This patch proposes a more pythonic approach.
2010-01-04 10:27:53 +01:00
Thomas Petazzoni da252c7090 Update translations
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-03 16:47:19 +01:00
Thomas Petazzoni d3a8c5826b Improve i18n documentation
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-03 16:47:09 +01:00
Thomas Petazzoni 35cdeed572 Fix place of worship string
The category must be named "Places of worship", but individual items
without name should be named "Place of worship" and not "Places of
worship".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-01-03 16:46:16 +01:00
David MENTRE 8c9a5db403 Update on Italian streets and prefixes (from Gian-Paolo Pallari) 2010-01-03 13:10:51 +01:00
Thomas Petazzoni e7aab658c5 Fix message at the bottom/right of maps
It was showing a date of "12 Dec 2009" even for maps rendered today,
because I mistakenly used %m (decimal number of month) instead of %d
(decimal number of day in month).

Also improve the wording.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-26 22:24:18 +01:00
Thomas Petazzoni ad2a36dcdf Update .po headers for italian
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-26 20:59:53 +01:00
Thomas Petazzoni ed93020c7b Add empty italian translation
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-26 20:41:38 +01:00
Thomas Petazzoni 0ac78223ef Other improvements to italian translation
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-26 20:19:05 +01:00
Thomas Petazzoni 00d1e4a15c Support for Italian 2009-12-23 23:45:18 +01:00
David Decotigny 6dfd44ce8c updated template 2009-12-23 13:07:42 +01:00
David Decotigny 2f5d1573c0 configurable map_areas table name 2009-12-23 12:16:15 +01:00
Thomas Petazzoni 0dfee6904b Fix order of route/route forestière
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-23 10:59:29 +01:00
Thomas Petazzoni 52e848f37c Add 'Route forestière' to the list of french prefixes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-23 10:37:16 +01:00
Thomas Petazzoni a79b937f2a Show rendering date and invitation to contribute on map
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-23 10:29:22 +01:00
Thomas Petazzoni 37e8c8ee0c Fix I18N doc
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-23 10:11:35 +01:00
Thomas Petazzoni d1faba45d0 Add amenities in CSV
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-23 10:04:47 +01:00
David Decotigny 589f2d85ce debug messages 2009-12-23 01:40:19 +01:00
Pierre Mauduit 827d1b8fe4 Adding ocitysmap de translations 2009-12-23 00:12:30 +01:00
David Decotigny 771b36b9ce [PATCH ocitysmap] typo 2009-12-23 00:12:17 +01:00
David Decotigny 2e79a4acdc Tried to slightly optimize psql queries 2009-12-22 22:34:22 +01:00
Thomas Petazzoni 30fc53e6bd Remove debugging cruft
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-22 20:18:42 +01:00
David Decotigny 37b7d428b2 End (?) of utf8 brain-fucking party 2009-12-22 20:18:21 +01:00
Pierre Mauduit c4407b896b Improving amenity search in order to browse the polygon table as well 2009-12-22 20:10:00 +01:00
David MENTRE 8d64588c51 Bug fix: (1) locale should be of type <str>. (2) UTF-8 encoding for pgdb call 2009-12-22 17:32:54 +01:00
David MENTRE 514c3b8700 Add amenities translation for French. Add generic ocitysmap.pot 2009-12-22 16:26:07 +01:00
David MENTRE 8e87c98377 New infrastructure to translate amenities
Add a new infrastructure to translate amenities added to map index.

* ocitysmap.conf: One should now give the path to ocitysmap/locale/
  directory.

* ocitysmap/i18n.py, ocitysmap/street_index.py: Code for new
  infrastructure.

* I18N: Documentation file that explains how to add a new translation.
2009-12-22 16:26:02 +01:00
Gaël UTARD cc741759ba Use a selection of amenities in three categories: public buildings, education and places of worship. 2009-12-22 00:44:20 +01:00
Gaël UTARD d41c01ab07 Render amenities in street index. 2009-12-22 00:44:18 +01:00
Gaël UTARD 859f4d2def Retrieve amenities (currently only places of worship). 2009-12-22 00:44:16 +01:00
Gaël UTARD 13c68e3eed Move the call to gen_map_areas() to OCitySMap constructor. 2009-12-22 00:44:14 +01:00
Gaël UTARD 9c7c527d2f Pass only squares instead of tuples with useless street name to _user_readable_label(). 2009-12-22 00:44:12 +01:00
Gaël UTARD 19a9295020 Update erroneous comments. 2009-12-22 00:44:10 +01:00
David MENTRE afe67d18ec Add basic support for all English-speaking countries 2009-12-22 00:05:15 +01:00
David Decotigny db51669d27 More straightforward sql queries for *_by_osmid query functions 2009-12-21 22:45:33 +01:00
David Decotigny 7c051f618d More correct exception handling for invalid contour 2009-12-21 22:45:31 +01:00
David Decotigny 399fcdb83b cosmetics: l log variable renamed LOG + more explicit exception messages 2009-12-21 22:45:29 +01:00
David MENTRE 24bac5ed60 Add "C" language support (will be used by unknown countries) 2009-12-21 22:45:27 +01:00
David Decotigny 6f3dc728c6 [PATCH ocitysmap 2/2] credits 2009-12-21 16:27:59 +01:00
David Decotigny 6539e0a1ec new script to update the maposmatic shape files 2009-12-21 16:27:57 +01:00
Gaël UTARD 642d681dc8 Decrease the font size when the title width exceeds the frame width. This fixes the bug #27423. 2009-12-21 15:02:25 +01:00
David Decotigny 91516993cb doc cosmetics 2009-12-21 14:41:57 +01:00
David Decotigny eea03807fe template for planet OSM DB update script 2009-12-21 14:41:53 +01:00
David MENTRE ce05f8c25b ocitysmap: add support for all French-speaking countries 2009-12-21 14:41:33 +01:00