Commit graph

2185 commits

Author SHA1 Message Date
Shaun McDonald
65eb6af303 Give a nice error message when parsing the nwr tags and they are missing the k and/or v. Also includes tests. 2009-06-11 11:08:37 +00:00
Grant Slater
b7d004e817 add Google Webmaster tools for Simone Cortesi (OSMF) 2009-06-10 22:58:31 +00:00
Shaun McDonald
17a1e22df9 Adding a couple of extra unit tests for the parsing of keys 2009-06-10 17:42:29 +00:00
Shaun McDonald
37df03a043 Cleanup the Relation.from_xml to come in line with the Way and Node versions. Includes tests. Bug fix for the previous tests. 2009-06-10 17:17:03 +00:00
Jenny Herbert
3b063cfa19 A few more Hebrew words for the .yml file. 2009-06-10 16:20:46 +00:00
Shaun McDonald
e4d7b3ee66 Throw errors in the way xml parsing if there is a problem. Bring the way parsing in line with the node parsing. Properly deal with the 0 id case. Some Way.from_xml tests. 2009-06-10 15:42:12 +00:00
Matt Amos
a6a54db7d5 More greek translation. 2009-06-10 14:58:57 +00:00
Jenny Herbert
908324a958 More translation in Hindi .yml 2009-06-10 13:53:12 +00:00
Matt Amos
384138ec30 Partial Greek translation. 2009-06-10 13:16:34 +00:00
Jonas Krückel
d08a107691 data_layer_name added 2009-06-10 12:12:42 +00:00
Jonas Krückel
02a0127bad fixed missing translations 2009-06-10 12:04:12 +00:00
Štefan Baebler
9498e7cc38 experimental slovenian locale for rails-i18n 2009-06-10 05:32:43 +00:00
Štefan Baebler
1472a16516 documented some additional requirements when installing on a cleaner ubuntu box 2009-06-10 05:27:54 +00:00
Štefan Baebler
1de54dc135 localizable timestamps 2009-06-10 05:24:39 +00:00
Richard Fairhurst
100d6334cb yay, I found the "negative ID in putway" bug 2009-06-10 01:28:30 +00:00
Tom Hughes
2e2f212472 Rename views to rails 2 style names. 2009-06-09 20:50:14 +00:00
Tom Hughes
a8c7d1c4ce Don't use single quotes to wrap translated strings in javascript in case
the translation contains an apostrophe. Closes #1942.
2009-06-09 18:59:44 +00:00
Ævar Arnfjörð Bjarmason
451525973f Support word connectors in German, translates the node/way/relation
browser.

This needs to be merged upstream.
2009-06-09 18:43:29 +00:00
Tom Hughes
a34ab84101 Fix typo. Closes #1943. 2009-06-09 18:36:18 +00:00
Shaun McDonald
3170600b9c More Node.from_xml unit tests 2009-06-09 14:37:47 +00:00
Jenny Herbert
0f1207154a Minor update to Hebrew .yml 2009-06-09 11:53:08 +00:00
Jenny Herbert
23c27b8876 Large update for Chinese .yml file. 2009-06-09 11:39:38 +00:00
Tom Hughes
1a59ac0d68 Put back missing divider. Closes #1939. 2009-06-08 22:09:22 +00:00
Shaun McDonald
e3693d487a More unit tests for the parsing of the Node.from_xml. Some code clean up to ensure that a node that cannot be parsed will always throw an exception, to be handled by the arround handler. 2009-06-08 18:53:19 +00:00
Ævar Arnfjörð Bjarmason
0b84885cfc Make the name of the "Data" layer in OpenLayers translatable: Most of
the OL dialog is still stuck in map.js and untranslatable though.
2009-06-08 18:10:17 +00:00
Tom Hughes
6a9b2c85e9 Fix some interpolations. 2009-06-08 15:31:06 +00:00
Tom Hughes
1367018c5b Remove byte order marker and DOS line endings. 2009-06-08 15:19:39 +00:00
Jenny Herbert
aba1eba7a7 First version of Hini yml file. 2009-06-08 15:06:14 +00:00
Ævar Arnfjörð Bjarmason
5d471088b4 Wrap 'changeset.changeset.no_comment' in italics with <i></i>. Right
now it's not possible to distinguish between a changeset that has no
comment and one whose comment is equivalent to the text of
'changeset.changeset.no_comment'.
2009-06-08 13:24:29 +00:00
Jonas Krückel
5b05458bd7 translation updates
german wiki links
2009-06-08 13:00:42 +00:00
Ævar Arnfjörð Bjarmason
2e2ce9cc02 Added missing keys to de.yml and deleted one 2009-06-08 12:17:45 +00:00
Jonas Krückel
d6fed40d2f uptodate with en.yml 15762 2009-06-08 11:21:20 +00:00
Tom Hughes
d6ba46b120 Simplify rejection of existing renumbered nodes. 2009-06-08 11:08:18 +00:00
Richard Fairhurst
9cfaeb5460 potential fix for issue encountered on talk 2009-06-08 10:54:06 +00:00
Jonas Krückel
79fce119af tiny fix 2009-06-08 09:42:24 +00:00
Ævar Arnfjörð Bjarmason
a50d61c7ba Revert [15752]: The duplication of content intentional for dead-tree
printouts, which I didn't consider. Oops! Thanks TomH :)
2009-06-07 23:42:26 +00:00
Richard Fairhurst
61eaf8eda1 try reestablishing NetConnection on retry, and trap empty relation tags 2009-06-07 23:28:46 +00:00
Ævar Arnfjörð Bjarmason
d8d3d21a2c Use {{count}} instead of {{distance}} for kilometer count as {{count}} is a magical enumerated variable in Rails. 2009-06-07 22:14:22 +00:00
Shaun McDonald
32b422aefb Make some links more rails like, thus easier to read. Test that partials are included as expected. 2009-06-07 21:45:33 +00:00
Ævar Arnfjörð Bjarmason
7862c89a92 Use {{count}} instead of {{(node|way_relation)_count}} since {{count}}
is a magical enumerated variable in Rails.
2009-06-07 21:27:05 +00:00
Ævar Arnfjörð Bjarmason
1f92b6f35b Edgemaster & shaunmcdonald pointed out that my ad-hoc hackery was
covered by i18n translation framework. So use the magical :count
argument.

Also convert {{size}} to {{count}} in layouts.inbox
2009-06-07 21:10:34 +00:00
Shaun McDonald
887eba8c8d More tests to check that user creation works, and the url in the e-mail is the same. Seems that we can only test that a particular page is loading fine in all locales in the integration tests, and not the functional tests. 2009-06-07 21:07:07 +00:00
Ævar Arnfjörð Bjarmason
91bc3c9244 Add a tooltip to help & wiki/news blog/shop/map key 2009-06-07 20:33:13 +00:00
Ævar Arnfjörð Bjarmason
93a810f690 Should have been part of [15755]: Cursed vc-dir interface 2009-06-07 20:01:29 +00:00
Ævar Arnfjörð Bjarmason
7a9b2de42b Made a lot of things translatable and added title="" tooltips
* "OpenStreetMap" project name in <title> and <h1>
 * Tooltips for the greeting bar for anonymous and logged in users
 * Alternate text for the OSM logo
 * Now using a CSS class for bolding inbox(N) instead of hard-coding font-weight: bold
 * Separate tooltips for inbox(n) depending on whether it's 0, 1 or > 1
2009-06-07 19:58:34 +00:00
Štefan Baebler
f5e4e04e48 synced with english r15753, added more translations 2009-06-07 19:17:20 +00:00
Shaun McDonald
c03c8f4749 include the correct language and direction in the html element. fixes #1930. fixes #1929 2009-06-07 18:44:59 +00:00
Ævar Arnfjörð Bjarmason
86a0ba0172 The display:none attribution table looks horrid in text browsers
(e.g. w3m). And there's no reason to include plain URLs to CC-BY-SA
and OSM *AND* mention both in the message below without including any
links.

Instead erase those links and work them into the message instead.
2009-06-07 17:08:25 +00:00
Ævar Arnfjörð Bjarmason
1b58ea44d5 Translated js_[123]: You don't have JS enabled 2009-06-07 16:28:38 +00:00
Ævar Arnfjörð Bjarmason
91badcf98b Made UCL VR Centre and bytemark in 'layouts.intro_3' translatable 2009-06-07 16:22:02 +00:00