Wykres commitów

243 Commity (d3a8c5826bda458a8b4c1888c72320320ed2ba82)

Autor SHA1 Wiadomość Data
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
Thomas Petazzoni c6fe7092e5 Fix ocitysmap-render when no OSM id is given
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 14:39:53 +01:00
Thomas Petazzoni 94787d0a7d Switch the OCitySMap API to an integer for the OSM id
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 11:55:59 +01:00
Thomas Petazzoni cc2573067c Update documentation
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 11:05:51 +01:00
Thomas Petazzoni 57fb86a2c5 Introduce rendering from a polygon OSM id into ocitysmap
The polygon OSM id can then be used as the unique identifier for a
city, even if several cities in the world have the same name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 11:05:46 +01:00
David MENTRE 431cf76646 ocitysmap: use fr_FR code to sort fr_BE maps 2009-12-21 00:42:10 +01:00
Thomas Petazzoni 45ddb84eb9 Merge commit 'fdl/installation' 2009-12-21 00:27:05 +01:00
David MENTRE a3954ae382 Partial fix for bug 27421
* Idea of Gaël: do not match French street name which is only made of a
  prefix. Example: "(Impasse)" => "Impasse" for "Besançon" city.
2009-12-21 00:24:25 +01:00
Frederic Daniel Luc Lehobey 37f91cf028 More sensible defaults for ocitysmap.conf template. 2009-12-20 23:50:11 +01:00