Commit graph

2352 commits

Author SHA1 Message Date
Æ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
Æ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