Shaun McDonald
96d58e37d8
Fixing indentation problem in de translation.
2009-05-29 17:24:37 +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
74b2813719
Adding Jokru's translation into de so far.
2009-05-29 09:52:28 +00:00
Shaun McDonald
d06081a63e
i18n'ing the site layout.
2009-05-28 18:07:11 +00:00
Richard Fairhurst
112706a651
improve error handling when connection fails; closes #1864 and #1871
2009-05-27 21:04:26 +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
283a3e9ba9
Add Globalize2 so that we get some nice fall backs to other languages when a translation is missing in the requested language.
2009-05-27 15:39:14 +00:00
Tom Hughes
9bc483ad98
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.
2009-05-27 15:25:28 +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
Tom Hughes
044febd3aa
Disabled edit tab until z13 is reached.
2009-05-27 13:34:50 +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
40e920bd52
Create a proper exception class for invalid bounding box exceptions.
2009-05-26 23:47:45 +00:00
Thomas Wood
68ea927f5b
Merge r15175 from i18n_2 branch.
2009-05-26 22:33:28 +00:00
Matt Amos
ce667bbbb1
Working around mysql bug...
2009-05-26 16:55:05 +00:00
Matt Amos
96b6cfbf0c
Added missing ordering to relation members. This was only visible in some relations when grabbing from the history API.
2009-05-26 15:57:57 +00:00
Matt Amos
04dbf32b73
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.
2009-05-26 15:37:29 +00:00
Shaun McDonald
7cda38bb25
Diary entry test for the new language field. Currently fails as expected.
2009-05-26 15:36:10 +00:00
Shaun McDonald
f183bd8ec8
Some test improvements
2009-05-26 14:45:30 +00:00
Tom Hughes
20992870ab
Use SOTM logo to link to the SOTM site.
2009-05-26 13:16:10 +00:00
Shaun McDonald
d5d4adb2f9
Fix the fixtures. Related changeset 15184.
2009-05-26 13:12:42 +00:00
Richard Fairhurst
33e3d3d576
fix #1849
2009-05-25 10:19:50 +00:00
Richard Fairhurst
c6061461d3
fix upload item count
2009-05-23 19:11:44 +00:00
Tom Hughes
ded669bb4d
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.
2009-05-23 12:39:45 +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
68eeaabb9d
Altered to match rails 2.3.2 implementation.
2009-05-22 23:49:08 +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
Richard Fairhurst
a3a792e137
adapt for larger fonts on Linux; fix indexing with renumbered nodes
2009-05-22 19:43:56 +00:00
Thomas Wood
e3d4948daa
Fix missing require in migrations.
2009-05-22 18:53:24 +00:00
Shaun McDonald
6fe22d41a9
Reverting config file that shouldn't have been committed.
2009-05-22 18:41:33 +00:00
Shaun McDonald
53b4d645d8
First stage of i18n. Some migrations and extra plugins.
2009-05-22 18:36:17 +00:00
Shaun McDonald
6ac7f91734
Making new short lived branch for the Rails 2.2 based internationalization.
2009-05-22 15:36:56 +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
Matt Amos
95c6974763
Disabled automatic parsing of XML to a hash in request bodies for a modest 15% speedup.
2009-05-21 23:48:34 +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
4f6dc55683
Check for wrapped timeout errors properly.
2009-05-21 21:55:30 +00:00
Matt Amos
2006c416d2
Fixed typo.
2009-05-21 21:24:29 +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
33157534e1
Fixup AMF controller tests.
2009-05-21 17:30:32 +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
Shaun McDonald
d1eeb7f2f3
Add svn ignore for the sql files used for dumping the db schema.
2009-05-21 14:57:47 +00:00