Commit graph

2381 commits

Author SHA1 Message Date
Tom Hughes
d63f605893 Add some more detail to the changeset Atom feeds. 2009-07-05 23:46:28 +00:00
Tom Hughes
0348316d0b Make subtitle an HTML element. 2009-07-04 12:15:29 +00:00
Tom Hughes
b450ce9d85 Fix links to changeset feeds. 2009-07-04 12:12:05 +00:00
Tom Hughes
336d40f2c5 Switch to using ATOM for changeset feeds. 2009-07-04 11:34:23 +00:00
Tom Hughes
493fd3fa11 Go back to using < and > for navigation instead of the nasty looking
unicode arrows which aren't at all consistent with the use of | as the
separator.

Also remove some of the translations - there is no reason that I can
see to allow translations to completely change how the navigation control
is laid out.
2009-06-29 17:11:50 +00:00
Tom Hughes
6baccfaddd Merge 16110:16216 from trunk. 2009-06-29 16:50:34 +00:00
Ævar Arnfjörð Bjarmason
85f317b46e Add B000FTFT (as well as B000FTF) to the list of layers we should
ignore when constructing the shortlink.

The shortlink was also broken for the new /?{node,way,relation}=id
construct since the code assumed that all URL parameters that weren't
lat/lon/zoom/layers could be safely ignored. I've added
node/way/relation to that list but for future-proofness it might be
better to simply check if there's anything left in ''args'' that we
don't know how to encode, rather than checking on values we know about
now.
2009-06-29 09:47:35 +00:00
Ævar Arnfjörð Bjarmason
b06f4750e1 I forgot to set fillColor/fillOpacity in commit [16214]. Without it
any area being rendered by OpenLayers would turn into a black hole
since the default fillOpacity is 100%.
2009-06-29 02:17:02 +00:00
Ævar Arnfjörð Bjarmason
b46b3c4327 The default OpenLayers.Layer.GML style can be nearly invisible when
viewed on the main map.

Set a style that's blue (since not a lot of things on the map are
blue), with strokeWidth 3 and opacity 50%. It makes things visible
enough without being too intrusive.
2009-06-29 02:11:34 +00:00
Ævar Arnfjörð Bjarmason
8d76bf978a Use LoadFile(*DATA) to load the __DATA__ section as YAML 2009-06-29 01:42:40 +00:00
Ævar Arnfjörð Bjarmason
df07980b15 Add entries to is: blacklist 2009-06-29 01:41:33 +00:00
Jonas Krückel
8d0a9eaf5e new german translations 2009-06-28 21:30:32 +00:00
Jonas Krückel
a2bd0065c2 uptodate with en.yml 16206 2009-06-28 21:22:29 +00:00
Jonas Krückel
339d71c0ff updating with keys from en.yml 2009-06-28 21:18:35 +00:00
Ævar Arnfjörð Bjarmason
bc66c8adeb Make the printable_name() function call i18n.t to translate its
output. Makes e.g. "#{name}, v#{object.version.to_s}" which is used in
the changeset browser translatable.

I'm still not happy with how the anchor is constructed. we're linking
from /browse/changeset/1234 to e.g. node "[[366672999, v1]]" even
though the page we're linking to might take us to that node at version
2. The link should be "[[366672999]], v1" instead.

But that's something to solve later.
2009-06-28 21:13:27 +00:00
Ævar Arnfjörð Bjarmason
91a6ed60c1 Another commit in the spirit of [16199]: Don't enforce word order for translations. 2009-06-28 19:47:57 +00:00
Štefan Baebler
eaefdd7b13 tnx, avar for beating me to it :) 2009-06-28 19:07:22 +00:00
Ævar Arnfjörð Bjarmason
12f78fc254 Add browse.relation_member.entry to the blacklist 2009-06-28 18:52:41 +00:00
Ævar Arnfjörð Bjarmason
b6c162ad46 Translated *.map.larger.* 2009-06-28 18:48:34 +00:00
Ævar Arnfjörð Bjarmason
48d24d68e2 Add back ''export.start_rjs.view_larger_map'' which steveb removed in
[16198] due to my mistake in [16196], which was fixed in [16200].
2009-06-28 18:40:50 +00:00
Ævar Arnfjörð Bjarmason
7d7225e1f9 I mistakenly removed ''export.start_rjs.view_larger_map'' from en.yml
when removing ''browse.map.view_larger_map'' in changeset
[16196]. This broke the HTML feature in the Export dialog
(''translation missing: en, export, start_rjs, view_larger_map'' was
inserted instead)
2009-06-28 18:38:01 +00:00
Ævar Arnfjörð Bjarmason
1fea79bbbd The relation browser used the translated nominative model names of
Node/Way/Relation in /browse/relation/:id. And used the bad practice
of concating things together to translate them.

Fixed it to use translation variables.
2009-06-28 18:25:21 +00:00
Štefan Baebler
050393c613 synced with en.yml [16196] 2009-06-28 18:13:01 +00:00
Štefan Baebler
bfdce9c933 localized geocoder search results 2009-06-28 18:00:11 +00:00
Ævar Arnfjörð Bjarmason
f1bb6df967 Delete browse.map.view_larger_map from a bunch of translations. It has kind-of been replaced by browse.map.larger.area but the translation isn't the same so I can't move them over 2009-06-28 17:33:40 +00:00
Ævar Arnfjörð Bjarmason
2f1bfefa46 s/klukkan// 2009-06-28 17:23:01 +00:00
Štefan Baebler
4b705207e0 made relation_members.member_type translatable via model translations 2009-06-28 13:21:24 +00:00
Tom Hughes
e46c82fe3d Tidy up some recent commits:
- Simplify shortlinkPrefix by removing redundant code.
- Factor out duplicate code for displaying objects on maps.
- Reindent some stuff to make it more readable.
2009-06-27 17:11:54 +00:00
Ævar Arnfjörð Bjarmason
d63f13c18d Make ?{node,way,relation}=id GET argumens work for the shortlink as
well as the permalink.
2009-06-27 16:11:21 +00:00
Ævar Arnfjörð Bjarmason
05bc2b70ed Only hardcode http://osm.org/ in shortlinks when we're at
openstreetmap.org (according to window.location.hostname).

Solves ticket:1994 and my headaches when trying to hack railsport
locally.
2009-06-27 16:07:53 +00:00
Ævar Arnfjörð Bjarmason
34b147266c Change the feature commited in [16174] to use the main map view
instead of being located at /map.
2009-06-27 15:34:26 +00:00
Ævar Arnfjörð Bjarmason
8bc8e537b2 Introducing a new /browse/{node,way,relation,changeset}/{id}/map page
which is slippy map covering the screen showing the map data that is
in the small map at /browse/{node,way,relation,changeset}/{id}.

/browse/{node,way,relation,changeset}/{id} now contains a link to both
"View Larger Map" which has been changed to link to this new map
feature, and "View on main map" which as before links to the area
showing the feature on the main slippy map.

/browse/{node,way,relation,changeset}/{id}/map supports permalinks
using its own hacked version of updateLocation() (which doesn't set a
cookie), but shortlinks are not supported. The Edit/History/Export
links link back to the main map.
2009-06-27 09:30:10 +00:00
Štefan Baebler
77f971b79c synced 2009-06-27 09:12:59 +00:00
Thomas Wood
8207c39859 Fix the nonames layer URLs, as missed in the changes to OpenStreetMap.js earlier. (Due to move from our own OSM class to the OL provided one which relies on XYZ) 2009-06-26 22:59:51 +00:00
Ulf
b7e269cfd9 Mediawiki deutsch 2009-06-26 22:17:36 +00:00
Ævar Arnfjörð Bjarmason
9b780a689b When I navigate to /browse/{node,way,relation}/:id/history there's no
link that will take me back to /browse/{node,way,relation}/:id

So I'm adding it.
2009-06-26 21:04:36 +00:00
Ævar Arnfjörð Bjarmason
87497a9042 "Node history: {{node_name}}" was untranslatable! 2009-06-26 21:01:15 +00:00
Ævar Arnfjörð Bjarmason
b51bb9eb04 Show "Vegur" in <title> not "Veginum" in /browse/way/:id 2009-06-26 20:58:32 +00:00
Ævar Arnfjörð Bjarmason
d8889d5ef6 Only report something in --untranslated-values if it exists in the
target translation. Users should use --keys to check what doesn't
exist in the target.

Add a blacklist for Icelandic at the end of the file.
2009-06-26 18:51:50 +00:00
Ævar Arnfjörð Bjarmason
ac0f415915 Translated activerecord.*. I have never seen most of this in any
context whatsoever so this translation probably sucks.

is.yml is now 100% translated.
2009-06-26 18:47:43 +00:00
Ævar Arnfjörð Bjarmason
dc3da722e5 Use the .to_sentence feature for the English map key. The entries will come out as e.g. 'Light rail and tram' instead of 'Light rail; tram'. If you hate this then just revert it 2009-06-26 18:32:38 +00:00
Štefan Baebler
8bd211dfea additional translations 2009-06-26 18:24:55 +00:00
Ævar Arnfjörð Bjarmason
bd071ae7f8 Translate all the map key, this (ab)uses the new .to_sentence feature of the map key 2009-06-26 18:24:44 +00:00
Ævar Arnfjörð Bjarmason
af75542795 Call .to_sentence on site.key.table.entry. Translations are free to take advantage of this or ignore it completely 2009-06-26 18:23:06 +00:00
Štefan Baebler
488c315b63 translated additional map key entries 2009-06-26 17:51:23 +00:00
Štefan Baebler
6e64d5474f translated remaining missing phrases 2009-06-26 16:30:59 +00:00
Ævar Arnfjörð Bjarmason
36ba6fbee1 notifier.gpx_notification translated. Not used by the current GPX daemon yet 2009-06-26 15:41:33 +00:00
Ævar Arnfjörð Bjarmason
042567669c * Translated site.edit.*
* Changed all links pointing to the wiki to use &uselang=is
2009-06-26 15:34:43 +00:00
Štefan Baebler
f5d8603782 synced with en.yml [16143] 2009-06-26 15:26:43 +00:00
Ævar Arnfjörð Bjarmason
385423b394 Changed link from [[Disabled anonymous edits]] to [[Anonymous edits]]. It was moved on the wiki 2009-06-26 15:06:34 +00:00