Commit graph

2333 commits

Author SHA1 Message Date
Æ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
Ævar Arnfjörð Bjarmason
f6c6f913ca Translate everything that's not ^(active|site|notifier.gpx_) 2009-06-26 14:57:08 +00:00
Ævar Arnfjörð Bjarmason
3acef69b3b Translate view_larger_map 2009-06-26 14:40:46 +00:00
Ævar Arnfjörð Bjarmason
641d35837e Translated signup-confirm 2009-06-26 14:37:44 +00:00
Thomas Wood
4ef3012417 Fix indentation. 2009-06-26 14:27:45 +00:00
Štefan Baebler
23b6b20e35 added colon for consistency with other fields 2009-06-26 14:25:57 +00:00
Thomas Wood
fa98753614 Only try to load the map if changeset or feature not deleted. 2009-06-26 14:25:29 +00:00
Tom Hughes
c82fedb0d6 Remove asset tag monkey patch as it is no longer having any effect
due to rails changes.
2009-06-26 13:08:36 +00:00
Sebastian Spaeth
19f6e67aeb add osmarender key stub, which will need to be completed 2009-06-26 13:07:02 +00:00
Tom Hughes
7bb0a73aea Switch to using the new XYZ layer class on OL 2.8. 2009-06-26 11:27:56 +00:00
Tom Hughes
ee7c6cf42f Rebuild OpenLayers with fixed ca.js translation. 2009-06-26 11:19:21 +00:00
Ævar Arnfjörð Bjarmason
b0eee5ddfb translate list.tagged_with which is used in <title> at e.g. http://www.openstreetmap.org/traces/tag/Akranes 2009-06-26 11:09:33 +00:00
Shaun McDonald
ddf44b07c8 Hard code osm.org into the shortcode permalink. 2009-06-26 11:02:00 +00:00
Ævar Arnfjörð Bjarmason
095d9813a8 * Add map key table, still untranslated
* Remove OAuth-related translations
* Remove editing_trace. Not used anymore
2009-06-26 10:55:39 +00:00
Ævar Arnfjörð Bjarmason
b7e93a834c Update synopsis to include --untranslated-values 2009-06-26 10:48:30 +00:00
Matt Amos
1d8e66016c Adding 'shortlink' functions which will allow URLs like http://osm.org/go/XXXX suitable for use in twitter, etc... 2009-06-25 23:31:53 +00:00
Štefan Baebler
2f6aab7124 typo 2009-06-25 18:13:09 +00:00
Ævar Arnfjörð Bjarmason
2ec4555edf Add a --validate-variables option to check that interpolated Ruby i18n
variables (C<{{foo}}> and C<[[foo]]>) are equivalent in the two
provided files.

Depend on 5.10 because I'm lazy and want to use smart-matching
2009-06-25 12:48:40 +00:00
Tom Hughes
c28cfea4b7 Fix some interpolation variables. 2009-06-25 12:35:59 +00:00
Tom Hughes
b5e9f8f3a6 Correct some interpolation names. 2009-06-25 11:56:25 +00:00
Ævar Arnfjörð Bjarmason
8a9c7cc00c Lakes are already visible on zoom 7, not 8 2009-06-25 10:43:42 +00:00
Tom Hughes
5b0174a3b6 Update to 2.8 release of OpenLayers. 2009-06-24 23:40:31 +00:00
Tom Hughes
0676477794 Add some more languages to the OpenLayers build. 2009-06-24 23:39:46 +00:00
Tom Hughes
e3f37d9872 Add new route for AJAX call to get map key. 2009-06-24 23:39:25 +00:00
Tom Hughes
817434a2e6 Rework the translatable map key to be driven by a YAML file listing the
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00
Tom Hughes
2112dd7f63 Make the "what does this mean" link added in r16069 more like similar
notes on other forms.
2009-06-24 11:50:41 +00:00
Tom Hughes
b1ada7b9d6 Put back HTML escaping of trace names removed in r16062. 2009-06-24 11:41:26 +00:00
Thomas Wood
76042ef112 Fix adding marker on Embeddable HTML export by compiling in the OpenLayers.Handler.Point class that was missed in r15615 2009-06-24 09:03:51 +00:00
Ævar Arnfjörð Bjarmason
0e530b0a0d Remove the third param to showKeyEntry(). Not used yet. 2009-06-24 07:15:18 +00:00