Tom Hughes [Mon, 15 Jun 2009 11:34:23 +0000 (11:34 +0000)]
Stop the spawner switching to the root directory as it breaks the
ability of ActionMailer to auto-locate parts for multipart emails if
the current working directoy is not the rails root.
There is probably a better fix for this, but this will do for now...
Štefan Baebler [Mon, 15 Jun 2009 05:03:11 +0000 (05:03 +0000)]
minor change: diary entries per language linked (lists and rss feeds)
(again, since r15900 was rolled back in r15905, see #1946 - this time without adding a plugin)
Štefan Baebler [Sun, 14 Jun 2009 07:25:08 +0000 (07:25 +0000)]
Added localized language names with plugin from http://github.com/grosser/i18n_data/tree/master (fixes #1946)
Diary entries in same language linked (lists and rss)
Shaun McDonald [Wed, 10 Jun 2009 15:42:12 +0000 (15:42 +0000)]
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.
Shaun McDonald [Mon, 8 Jun 2009 18:53:19 +0000 (18:53 +0000)]
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.
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'.
Shaun McDonald [Sun, 7 Jun 2009 21:07:07 +0000 (21:07 +0000)]
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.
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
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.
The multiline 'notifier.gpx_notification.success.loaded_successfully'
message is how one should properly do multiline messages to be
embedded into E-Mail. It wraps at 80 columns (if translated correctly)
and isn't as inhererently limited as splitting the E-Mail into one
message per-line like the other notification messages do it.
Tom Hughes [Sun, 7 Jun 2009 08:32:39 +0000 (08:32 +0000)]
Rework the javascript I18n interpolation a bit - the interpolation function
is now in site.js so everything can use it, and the syntax has changed a bit
to avoid the need for double interpolation.
Forgot that /history can also be called without a bbox (if one can't be found)
I think the best thing to do here is to simply remove the RSS link, if
someone wants a RSS feed without a bbox they can click the Recent
Changes link and get a feed there.
Icelandic translations for rails-i18n. This still has to be merged upstream.
Most of these strings have been translated without seeing them in
actual use in a rails application, but the German / Norwegian strings
were consulted during translation so it shouldn't be too bad.
Make URL that link to the OSM Wiki configurable by translations. A lot
of these pages have been translated into other languages and users
using other languages would want to visit those in preference to the
English version.