Shaun McDonald
361819b0fe
Fix quoting in fr translation
2009-05-30 15:29:10 +00:00
Shaun McDonald
fda9f07850
Updated de translation
2009-05-30 15:13:03 +00:00
Shaun McDonald
debef67c0d
Fix typo in en translation file and add first pass of fr translation
2009-05-30 15:02:15 +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
c05d63d064
Fix typo
2009-05-30 14:26:28 +00:00
Shaun McDonald
12faadc7e1
Update the German translation
2009-05-30 14:19:20 +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
8c07aea75d
Hopefully fixing the eranious char at the start of the file.
2009-05-29 23:53:19 +00:00
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
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
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
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
Shaun McDonald
d5d4adb2f9
Fix the fixtures. Related changeset 15184.
2009-05-26 13:12:42 +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
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
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
Shaun McDonald
0d5136c1aa
Don't store the real database config in svn, instead store examples for Postgres and MySQL. (Reverting Edgemaster's silly revert.)
2009-05-21 14:45:16 +00:00