rails.git
11 years agoMerged I18N branch to head.
Tom Hughes [Sun, 31 May 2009 17:26:41 +0000 (17:26 +0000)]
Merged I18N branch to head.

11 years agoLog missing translations.
Tom Hughes [Sun, 31 May 2009 17:10:03 +0000 (17:10 +0000)]
Log missing translations.

11 years agominor fixes
Jonas Krückel [Sun, 31 May 2009 17:08:41 +0000 (17:08 +0000)]
minor fixes

11 years agofix html email stuff
Andy Allan [Sun, 31 May 2009 17:03:28 +0000 (17:03 +0000)]
fix html email stuff

11 years agoMerged sections in en.yml
Jenny Herbert [Sun, 31 May 2009 16:59:42 +0000 (16:59 +0000)]
Merged sections in en.yml

11 years agoSome more i18n html titles
Shaun McDonald [Sun, 31 May 2009 16:51:20 +0000 (16:51 +0000)]
Some more i18n html titles

11 years agoi18n signup html
Andy Allan [Sun, 31 May 2009 16:44:58 +0000 (16:44 +0000)]
i18n signup html

11 years agoAdded translations to notifier/diary_comment_notification
Jenny Herbert [Sun, 31 May 2009 16:29:42 +0000 (16:29 +0000)]
Added translations to notifier/diary_comment_notification

11 years agoupdating translation
Jonas Krückel [Sun, 31 May 2009 16:28:10 +0000 (16:28 +0000)]
updating translation

11 years agoSend notification messages in the target user's language.
Tom Hughes [Sun, 31 May 2009 16:10:53 +0000 (16:10 +0000)]
Send notification messages in the target user's language.

11 years agoconfirmation email plain text version - comments on wrapping?
Andy Allan [Sun, 31 May 2009 16:04:00 +0000 (16:04 +0000)]
confirmation email plain text version - comments on wrapping?

11 years agoImprove layout of user options page.
Tom Hughes [Sun, 31 May 2009 15:39:02 +0000 (15:39 +0000)]
Improve layout of user options page.

11 years agoi18n for messages
Andy Allan [Sun, 31 May 2009 15:37:18 +0000 (15:37 +0000)]
i18n for messages

11 years agoAdd a simple edit control for the user's preferred languages.
Tom Hughes [Sun, 31 May 2009 15:22:59 +0000 (15:22 +0000)]
Add a simple edit control for the user's preferred languages.

11 years agoMake setting of user_preferred_languages work.
Tom Hughes [Sun, 31 May 2009 15:22:38 +0000 (15:22 +0000)]
Make setting of user_preferred_languages work.

11 years agoAdded translations to trace_paging_nav
Jenny Herbert [Sun, 31 May 2009 15:13:43 +0000 (15:13 +0000)]
Added translations to trace_paging_nav

11 years agoAdded tranlations to trace/_trace
Jenny Herbert [Sun, 31 May 2009 15:01:41 +0000 (15:01 +0000)]
Added tranlations to trace/_trace

11 years agoSort out storage and use of user preferred languages.
Tom Hughes [Sun, 31 May 2009 14:55:45 +0000 (14:55 +0000)]
Sort out storage and use of user preferred languages.

11 years agoHave a nice translated alt and title for the sotm and donation.
Shaun McDonald [Sun, 31 May 2009 14:51:41 +0000 (14:51 +0000)]
Have a nice translated alt and title for the sotm and donation.

11 years agoRemoved tabs from source
Jenny Herbert [Sun, 31 May 2009 14:34:03 +0000 (14:34 +0000)]
Removed tabs from source

11 years agomore trace i18n
Andy Allan [Sun, 31 May 2009 14:25:19 +0000 (14:25 +0000)]
more trace i18n

11 years agoAdded translates to trace/view
Jenny Herbert [Sun, 31 May 2009 14:20:20 +0000 (14:20 +0000)]
Added translates to trace/view

11 years agoUse a more rails like way for the new coordinates link, which also localizes the...
Shaun McDonald [Sun, 31 May 2009 14:05:12 +0000 (14:05 +0000)]
Use a more rails like way for the new coordinates link, which also localizes the display of the lat lon numbers. Couple more translations.

11 years agofix bugs in translation
Andy Allan [Sun, 31 May 2009 13:56:56 +0000 (13:56 +0000)]
fix bugs in translation

11 years agoAdd a remove_foreign_key method and make migration 34 reversible.
Tom Hughes [Sun, 31 May 2009 13:53:16 +0000 (13:53 +0000)]
Add a remove_foreign_key method and make migration 34 reversible.

11 years agoCommitting first of trace view i18n untested
Andy Allan [Sun, 31 May 2009 13:25:56 +0000 (13:25 +0000)]
Committing first of trace view i18n untested

11 years agoi18n geocoder results
Andy Allan [Sun, 31 May 2009 13:12:21 +0000 (13:12 +0000)]
i18n geocoder results

11 years agoCorrect translation name.
Tom Hughes [Sun, 31 May 2009 12:14:40 +0000 (12:14 +0000)]
Correct translation name.

11 years agoFix warnings.
Tom Hughes [Sun, 31 May 2009 12:06:57 +0000 (12:06 +0000)]
Fix warnings.

11 years agoUpdated fr translation
Shaun McDonald [Sun, 31 May 2009 11:50:45 +0000 (11:50 +0000)]
Updated fr translation

11 years agoi18n the export tab
Andy Allan [Sun, 31 May 2009 11:40:16 +0000 (11:40 +0000)]
i18n the export tab

11 years agoMerge 15165:15373 from trunk.
Tom Hughes [Sun, 31 May 2009 11:32:32 +0000 (11:32 +0000)]
Merge 15165:15373 from trunk.

11 years agoAdd the ago translation in the user account view that was missed.
Shaun McDonald [Sun, 31 May 2009 11:30:53 +0000 (11:30 +0000)]
Add the ago translation in the user account view that was missed.

11 years agoLimit Osmarender zoom to 17 levels.
Tom Hughes [Sun, 31 May 2009 11:25:09 +0000 (11:25 +0000)]
Limit Osmarender zoom to 17 levels.

11 years agoOptimise data loading for browsing ways.
Tom Hughes [Sun, 31 May 2009 11:14:19 +0000 (11:14 +0000)]
Optimise data loading for browsing ways.

11 years agoShow connected ways in the data browser. Closes #1882.
Tom Hughes [Sun, 31 May 2009 11:04:43 +0000 (11:04 +0000)]
Show connected ways in the data browser. Closes #1882.

11 years agoi18n of the changeset views
Andy Allan [Sun, 31 May 2009 10:40:13 +0000 (10:40 +0000)]
i18n of the changeset views

11 years agoLast of the databrowser i18n
Andy Allan [Sun, 31 May 2009 09:33:20 +0000 (09:33 +0000)]
Last of the databrowser i18n

11 years agoUpdated de translation.
Shaun McDonald [Sat, 30 May 2009 17:48:11 +0000 (17:48 +0000)]
Updated de translation.

11 years agoAdding updated de and fr translations.
Shaun McDonald [Sat, 30 May 2009 17:46:55 +0000 (17:46 +0000)]
Adding updated de and fr translations.

11 years agoDatabrowser i18n. The stuff in start.rjs is a bit bizarre and might need a second...
Andy Allan [Sat, 30 May 2009 17:45:31 +0000 (17:45 +0000)]
Databrowser i18n. The stuff in start.rjs is a bit bizarre and might need a second pair of eyes

11 years agoFix foreign key.
Tom Hughes [Sat, 30 May 2009 17:01:43 +0000 (17:01 +0000)]
Fix foreign key.

11 years agoMore diary test fixes.
Tom Hughes [Sat, 30 May 2009 16:59:06 +0000 (16:59 +0000)]
More diary test fixes.

11 years agoFix a couple of diary tests.
Tom Hughes [Sat, 30 May 2009 16:51:56 +0000 (16:51 +0000)]
Fix a couple of diary tests.

11 years agoupdated de translation
Shaun McDonald [Sat, 30 May 2009 16:43:50 +0000 (16:43 +0000)]
updated de translation

11 years agoAdd a list of languages and fix a few issues with the schema. Also get
Tom Hughes [Sat, 30 May 2009 16:37:21 +0000 (16:37 +0000)]
Add a list of languages and fix a few issues with the schema. Also get
language selection for diary entries working.

11 years agomore databrowser i18n
Andy Allan [Sat, 30 May 2009 16:17:10 +0000 (16:17 +0000)]
more databrowser i18n

11 years agohopefully fix messed up en.yml
Andy Allan [Sat, 30 May 2009 16:16:39 +0000 (16:16 +0000)]
hopefully fix messed up en.yml

11 years agoFix a few typos
Shaun McDonald [Sat, 30 May 2009 15:57:49 +0000 (15:57 +0000)]
Fix a few typos

11 years agoRemove pointless bit of setup that used an undefined app config key.
Tom Hughes [Sat, 30 May 2009 15:51:35 +0000 (15:51 +0000)]
Remove pointless bit of setup that used an undefined app config key.

11 years agomore databrowser i18n
Andy Allan [Sat, 30 May 2009 15:44:39 +0000 (15:44 +0000)]
more databrowser i18n

11 years agoPut ActionMailer configuration in the right place.
Tom Hughes [Sat, 30 May 2009 15:41:23 +0000 (15:41 +0000)]
Put ActionMailer configuration in the right place.

11 years agoRemove old attempt at i18n.
Tom Hughes [Sat, 30 May 2009 15:39:30 +0000 (15:39 +0000)]
Remove old attempt at i18n.

11 years agoFix quoting in fr translation
Shaun McDonald [Sat, 30 May 2009 15:29:10 +0000 (15:29 +0000)]
Fix quoting in fr translation

11 years agoUpdated de translation
Shaun McDonald [Sat, 30 May 2009 15:13:03 +0000 (15:13 +0000)]
Updated de translation

11 years agoFix typo in en translation file and add first pass of fr translation
Shaun McDonald [Sat, 30 May 2009 15:02:15 +0000 (15:02 +0000)]
Fix typo in en translation file and add first pass of fr translation

11 years agomore translations, and this time with stuff in the locale file too
Andy Allan [Sat, 30 May 2009 14:58:35 +0000 (14:58 +0000)]
more translations, and this time with stuff in the locale file too

11 years agofix #1818
Richard Fairhurst [Sat, 30 May 2009 14:42:28 +0000 (14:42 +0000)]
fix #1818

11 years agoFix typo
Shaun McDonald [Sat, 30 May 2009 14:26:28 +0000 (14:26 +0000)]
Fix typo

11 years agoUpdate the German translation
Shaun McDonald [Sat, 30 May 2009 14:19:20 +0000 (14:19 +0000)]
Update the German translation

11 years agoSome more of the user account translations. Custom generate method for languages...
Shaun McDonald [Sat, 30 May 2009 14:04:42 +0000 (14:04 +0000)]
Some more of the user account translations. Custom generate method for languages, that doesn't appear to work. Setting user language on create. Start translations in controllers. Diary entries can now be saved.

11 years agoFix wrapping in changeset lists properly.
Tom Hughes [Sat, 30 May 2009 13:50:21 +0000 (13:50 +0000)]
Fix wrapping in changeset lists properly.

11 years agoFirst two bits of databrowser i18n
Andy Allan [Sat, 30 May 2009 13:46:59 +0000 (13:46 +0000)]
First two bits of databrowser i18n

11 years agoStop long changeset comments causing other fields to get split over
Tom Hughes [Sat, 30 May 2009 13:38:17 +0000 (13:38 +0000)]
Stop long changeset comments causing other fields to get split over
multiple lines.

11 years agoRedirect to canonical hosts.
Tom Hughes [Sat, 30 May 2009 11:55:31 +0000 (11:55 +0000)]
Redirect to canonical hosts.

11 years agoMake links in tags active in the data browser. Fixes #1855.
Tom Hughes [Sat, 30 May 2009 11:27:25 +0000 (11:27 +0000)]
Make links in tags active in the data browser. Fixes #1855.

11 years agoInclude node coordinates on the data browser view for a node. Fixes #1856.
Tom Hughes [Sat, 30 May 2009 11:05:15 +0000 (11:05 +0000)]
Include node coordinates on the data browser view for a node. Fixes #1856.

11 years agoHopefully fixing the eranious char at the start of the file.
Shaun McDonald [Fri, 29 May 2009 23:53:19 +0000 (23:53 +0000)]
Hopefully fixing the eranious char at the start of the file.

11 years agoFixing indentation problem in de translation.
Shaun McDonald [Fri, 29 May 2009 17:24:37 +0000 (17:24 +0000)]
Fixing indentation problem in de translation.

11 years agofriend map translations
Shaun McDonald [Fri, 29 May 2009 17:19:04 +0000 (17:19 +0000)]
friend map translations

11 years agonew de translation. More of the user view translated.
Shaun McDonald [Fri, 29 May 2009 17:04:17 +0000 (17:04 +0000)]
new de translation. More of the user view translated.

11 years agoTypo in site key. More of the user view i18n'ed
Shaun McDonald [Fri, 29 May 2009 15:44:27 +0000 (15:44 +0000)]
Typo in site key. More of the user view i18n'ed

11 years agoHalf the user view translated.
Shaun McDonald [Fri, 29 May 2009 15:10:36 +0000 (15:10 +0000)]
Half the user view translated.

11 years agoMight be useful to set the locale everywhere we need the web, rather than just the...
Shaun McDonald [Fri, 29 May 2009 14:11:12 +0000 (14:11 +0000)]
Might be useful to set the locale everywhere we need the web, rather than just the diary entries.

11 years agoAdding some missing translations from the left menu
Shaun McDonald [Fri, 29 May 2009 12:01:31 +0000 (12:01 +0000)]
Adding some missing translations from the left menu

11 years agoi18n'ed the site set of views.
Shaun McDonald [Fri, 29 May 2009 11:42:11 +0000 (11:42 +0000)]
i18n'ed the site set of views.

11 years agoCouple of bugfixes, brackets and quotes
Shaun McDonald [Fri, 29 May 2009 10:04:50 +0000 (10:04 +0000)]
Couple of bugfixes, brackets and quotes

11 years agoAdding Jokru's translation into de so far.
Shaun McDonald [Fri, 29 May 2009 09:52:28 +0000 (09:52 +0000)]
Adding Jokru's translation into de so far.

11 years agoi18n'ing the site layout.
Shaun McDonald [Thu, 28 May 2009 18:07:11 +0000 (18:07 +0000)]
i18n'ing the site layout.

11 years agoimprove error handling when connection fails; closes #1864 and #1871
Richard Fairhurst [Wed, 27 May 2009 21:04:26 +0000 (21:04 +0000)]
improve error handling when connection fails; closes #1864 and #1871

11 years agoDiary entries pretty much i18n'd. Additional test that checks there are no missing...
Shaun McDonald [Wed, 27 May 2009 17:19:59 +0000 (17:19 +0000)]
Diary entries pretty much i18n'd. Additional test that checks there are no missing translation strings, need more like it.

11 years agoRemove the languages hash since we are now storing the languages in a table. Translat...
Shaun McDonald [Wed, 27 May 2009 15:50:55 +0000 (15:50 +0000)]
Remove the languages hash since we are now storing the languages in a table. Translated the posted by line in diary entry list.

11 years agoAdd Globalize2 so that we get some nice fall backs to other languages when a translat...
Shaun McDonald [Wed, 27 May 2009 15:39:14 +0000 (15:39 +0000)]
Add Globalize2 so that we get some nice fall backs to other languages when a translation is missing in the requested language.

11 years agoOnly use the db functions for migrations if USE_DB_FUNCTIONS is set
Tom Hughes [Wed, 27 May 2009 15:25:28 +0000 (15:25 +0000)]
Only use the db functions for migrations if USE_DB_FUNCTIONS is set
in the environment. This could possibly be revisited when we move to
rails 2.3 by using a nested transaction to try the function without
causing the surrounding transaction to abort.

11 years agotranslating the listing of diary entries. Adding some initial tests for checking...
Shaun McDonald [Wed, 27 May 2009 15:06:25 +0000 (15:06 +0000)]
translating the listing of diary entries. Adding some initial tests for checking that you don't get any errors in any locale, when listing the diary entries. Don't yet check for missing translations through an assert_select, .., :count => 0.

11 years agoDisabled edit tab until z13 is reached.
Tom Hughes [Wed, 27 May 2009 13:34:50 +0000 (13:34 +0000)]
Disabled edit tab until z13 is reached.

11 years agoUse a nicer less error prone version of the select helper
Shaun McDonald [Wed, 27 May 2009 13:15:58 +0000 (13:15 +0000)]
Use a nicer less error prone version of the select helper

11 years agoActually set the locale from the users browser request, rather than just parsing it.
Shaun McDonald [Wed, 27 May 2009 12:57:28 +0000 (12:57 +0000)]
Actually set the locale from the users browser request, rather than just parsing it.

11 years agoCreate a proper exception class for invalid bounding box exceptions.
Tom Hughes [Tue, 26 May 2009 23:47:45 +0000 (23:47 +0000)]
Create a proper exception class for invalid bounding box exceptions.

11 years agoMerge r15175 from i18n_2 branch.
Thomas Wood [Tue, 26 May 2009 22:33:28 +0000 (22:33 +0000)]
Merge r15175 from i18n_2 branch.

11 years agoWorking around mysql bug...
Matt Amos [Tue, 26 May 2009 16:55:05 +0000 (16:55 +0000)]
Working around mysql bug...

11 years agoAdded missing ordering to relation members. This was only visible in some relations...
Matt Amos [Tue, 26 May 2009 15:57:57 +0000 (15:57 +0000)]
Added missing ordering to relation members. This was only visible in some relations when grabbing from the history API.

11 years agoBetter testing of bbox handling in relations. Maybe fixes #1861, but wasn't able...
Matt Amos [Tue, 26 May 2009 15:37:29 +0000 (15:37 +0000)]
Better testing of bbox handling in relations. Maybe fixes #1861, but wasn't able to reproduce the exact case. Fixed bug handling bboxes where element is repeated in relation.

11 years agoDiary entry test for the new language field. Currently fails as expected.
Shaun McDonald [Tue, 26 May 2009 15:36:10 +0000 (15:36 +0000)]
Diary entry test for the new language field. Currently fails as expected.

11 years agoSome test improvements
Shaun McDonald [Tue, 26 May 2009 14:45:30 +0000 (14:45 +0000)]
Some test improvements

11 years agoUse SOTM logo to link to the SOTM site.
Tom Hughes [Tue, 26 May 2009 13:16:10 +0000 (13:16 +0000)]
Use SOTM logo to link to the SOTM site.

11 years agoFix the fixtures. Related changeset 15184.
Shaun McDonald [Tue, 26 May 2009 13:12:42 +0000 (13:12 +0000)]
Fix the fixtures. Related changeset 15184.

11 years agofix #1849
Richard Fairhurst [Mon, 25 May 2009 10:19:50 +0000 (10:19 +0000)]
fix #1849

11 years agofix upload item count
Richard Fairhurst [Sat, 23 May 2009 19:11:44 +0000 (19:11 +0000)]
fix upload item count

11 years agoUse a block to add the language record as rails seems to ignore any
Tom Hughes [Sat, 23 May 2009 12:39:45 +0000 (12:39 +0000)]
Use a block to add the language record as rails seems to ignore any
attempt to set the primary key in the argument list of the create method.