Tom Hughes
168036d3a2
Add a simple edit control for the user's preferred languages.
2009-05-31 15:22:59 +00:00
Jenny Herbert
a53a30d37a
Added translations to trace_paging_nav
2009-05-31 15:13:43 +00:00
Jenny Herbert
32c0a7e5a8
Added tranlations to trace/_trace
2009-05-31 15:01:41 +00:00
Tom Hughes
0e96027a20
Sort out storage and use of user preferred languages.
2009-05-31 14:55:45 +00:00
Shaun McDonald
37749e07e1
Have a nice translated alt and title for the sotm and donation.
2009-05-31 14:51:41 +00:00
Andy Allan
c30f141f4b
more trace i18n
2009-05-31 14:25:19 +00:00
Jenny Herbert
ec9deb5dc2
Added translates to trace/view
2009-05-31 14:20:20 +00:00
Shaun McDonald
afce15dd86
Use a more rails like way for the new coordinates link, which also localizes the display of the lat lon numbers. Couple more translations.
2009-05-31 14:05:12 +00:00
Andy Allan
4766cccb54
fix bugs in translation
2009-05-31 13:56:56 +00:00
Andy Allan
1b1b1b2f57
Committing first of trace view i18n untested
2009-05-31 13:25:56 +00:00
Andy Allan
c451aa915c
i18n geocoder results
2009-05-31 13:12:21 +00:00
Tom Hughes
b1078ef268
Correct translation name.
2009-05-31 12:14:40 +00:00
Tom Hughes
ef313e7378
Fix warnings.
2009-05-31 12:06:57 +00:00
Andy Allan
1db6b392a6
i18n the export tab
2009-05-31 11:40:16 +00:00
Tom Hughes
3d906fe8c6
Merge 15165:15373 from trunk.
2009-05-31 11:32:32 +00:00
Shaun McDonald
e9bea64bf6
Add the ago translation in the user account view that was missed.
2009-05-31 11:30:53 +00:00
Andy Allan
fddda4efa6
i18n of the changeset views
2009-05-31 10:40:13 +00:00
Andy Allan
b22ae71613
Last of the databrowser i18n
2009-05-31 09:33:20 +00:00
Andy Allan
4e0cf1c5d3
Databrowser i18n. The stuff in start.rjs is a bit bizarre and might need a second pair of eyes
2009-05-30 17:45:31 +00:00
Tom Hughes
5b3b288fc2
Add a list of languages and fix a few issues with the schema. Also get
...
language selection for diary entries working.
2009-05-30 16:37:21 +00:00
Andy Allan
8f8cbc4ae8
more databrowser i18n
2009-05-30 16:17:10 +00:00
Shaun McDonald
f508cfb05f
Fix a few typos
2009-05-30 15:57:49 +00:00
Andy Allan
c48263e15c
more databrowser i18n
2009-05-30 15:44:39 +00:00
Andy Allan
b5cb37bdee
more translations, and this time with stuff in the locale file too
2009-05-30 14:58:35 +00:00
Shaun McDonald
3a599519eb
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.
2009-05-30 14:04:42 +00:00
Andy Allan
a6f88faa20
First two bits of databrowser i18n
2009-05-30 13:46:59 +00:00
Shaun McDonald
ea2baaee3b
friend map translations
2009-05-29 17:19:04 +00:00
Shaun McDonald
18292dcc43
new de translation. More of the user view translated.
2009-05-29 17:04:17 +00:00
Shaun McDonald
486803f84b
Typo in site key. More of the user view i18n'ed
2009-05-29 15:44:27 +00:00
Shaun McDonald
f2f9d797d5
Half the user view translated.
2009-05-29 15:10:36 +00:00
Shaun McDonald
035254c5fb
Might be useful to set the locale everywhere we need the web, rather than just the diary entries.
2009-05-29 14:11:12 +00:00
Shaun McDonald
d640ae3b93
Adding some missing translations from the left menu
2009-05-29 12:01:31 +00:00
Shaun McDonald
3a51160a5b
i18n'ed the site set of views.
2009-05-29 11:42:11 +00:00
Shaun McDonald
c014618ef2
Couple of bugfixes, brackets and quotes
2009-05-29 10:04:50 +00:00
Shaun McDonald
d06081a63e
i18n'ing the site layout.
2009-05-28 18:07:11 +00:00
Shaun McDonald
b377927a64
Diary entries pretty much i18n'd. Additional test that checks there are no missing translation strings, need more like it.
2009-05-27 17:19:59 +00:00
Shaun McDonald
ae70ea2858
Remove the languages hash since we are now storing the languages in a table. Translated the posted by line in diary entry list.
2009-05-27 15:50:55 +00:00
Shaun McDonald
6ba51da46e
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.
2009-05-27 15:06:25 +00:00
Shaun McDonald
544353a8d9
Use a nicer less error prone version of the select helper
2009-05-27 13:15:58 +00:00
Shaun McDonald
4ee48d2ad9
Actually set the locale from the users browser request, rather than just parsing it.
2009-05-27 12:57:28 +00:00
Tom Hughes
0e71278320
Rename language_code to code - language_code is tautological when it's
...
in the language table anyway.
2009-05-23 00:00:25 +00:00
Tom Hughes
2bf56c7be3
Don't ask the backend directly for the available locales - just ask
...
the I18n module and let it worry about where to find them.
2009-05-22 23:42:17 +00:00
Shaun McDonald
53b4d645d8
First stage of i18n. Some migrations and extra plugins.
2009-05-22 18:36:17 +00:00
Andy Allan
cdbfc1e341
Override interestingTagsExclude in GML layer - improve databrowser in US by ignoring vanilla TIGER nodes
2009-05-22 14:20:22 +00:00
Shaun McDonald
9985b9cb94
Reverting earlier change that means that zoom isn't set in certain code paths.
2009-05-21 23:20:46 +00:00
Tom Hughes
4a4d89138c
Rationalise API error classes by getting of the render_opts method which
...
was never used except to extract the data it contained. Instead each class
now has a status method that returns the HTTP status code to use and a
to_s method to return a textual description of the error.
2009-05-21 19:28:39 +00:00
Tom Hughes
912f708d62
Fix some comments to reflect reality.
2009-05-21 17:30:20 +00:00
Shaun McDonald
961020a5dc
allow the user to pass in a gpx and a zoom
2009-05-21 17:25:39 +00:00
Matt Amos
4ab495f5db
Added locking around update and delete methods on main API objects. This should remove the 500 errors which come from concurrent overlapping updates. Experimental - might be too slow for production.
2009-05-21 14:57:03 +00:00
Matt Amos
94c89838d4
Use utility method for error reporting.
2009-05-21 14:55:25 +00:00