Commit graph

45 commits

Author SHA1 Message Date
Tom Hughes
744b2e8676 Import extra rails translations from http://github.com/svenfuchs/rails-i18n. 2009-09-30 23:26:47 +00:00
Tom Hughes
f0d3831f12 Escape language codes before matching them in case they contain
characters with special meaning in a regexp. Closes #2318.
2009-09-26 22:39:09 +00:00
Ævar Arnfjörð Bjarmason
eef5ac2c73 Icelandic day names should be in lower case 2009-09-17 22:49:42 +00:00
Tom Hughes
e72ebb7eac Fix file_column plugin to generate absolute URLs without falling over
in a heap and then use that in the user details view.
2009-08-31 23:43:15 +00:00
Matt Amos
eff06faf46 Moved find_token method into the token class, since that seems a more appropriate place for it. 2009-08-03 14:00:29 +00:00
Matt Amos
05e2120273 Merged 16488:16743 from trunk. 2009-07-31 10:42:06 +00:00
Ævar Arnfjörð Bjarmason
705ae98e9a Updated this using the en.yml file in the ruby.git distribution for reference
* Numbers are now correctly formatted
 * Added source code comments
 * Finished error message translations
2009-07-29 10:56:40 +00:00
Tom Hughes
6af3f93761 Update the :en and :sl pluralizers to default to :other if a more
specific key does not exist. This then allows r16613 to be reverted
as there is no need to distinguish the cases. Fixes #2087.
2009-07-21 20:23:07 +00:00
Tom Hughes
25d0017b18 Fix compatible_language_from in the http_accept_language plugin to
correctly follow the RFC 2616 language selection algorithm and then
revert to the previous way of selecting languages.
2009-07-15 23:42:56 +00:00
Tom Hughes
64fb530581 Merge 16110:16487 from trunk. 2009-07-14 08:03:24 +00:00
Štefan Baebler
1f0acba946 improved pluralization, continuation of #2049 2009-07-13 18:51:32 +00:00
Tom Hughes
b8746b6113 Add extra keys to custom Slovenian pluralization. 2009-07-13 08:59:07 +00:00
Štefan Baebler
b69b19c5e9 improved translations 2009-07-09 06:13:37 +00:00
Tom Hughes
f4571eeb7c Revert r16046.
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Ævar Arnfjörð Bjarmason
0f0123c565 Add word connectors to is.yml, still needs upstream merge 2009-06-22 19:30:21 +00:00
Matt Amos
b8f6dbd403 Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests. 2009-06-22 16:54:37 +00:00
Tom Hughes
662ae3f6d8 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...
2009-06-15 11:34:23 +00:00
Tom Hughes
719a06fdfa Add irs_process_scripts plugin to replace process control scripts used
by live site which were dropped in rails 2.3 core.
2009-06-15 11:32:41 +00:00
Tom Hughes
5475a9ec35 Revert r15900 for now. 2009-06-14 09:53:42 +00:00
Štefan Baebler
61123eaeb4 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)
2009-06-14 07:25:08 +00:00
Štefan Baebler
2d5e190785 further translations 2009-06-11 22:58:09 +00:00
Štefan Baebler
9498e7cc38 experimental slovenian locale for rails-i18n 2009-06-10 05:32:43 +00:00
Ævar Arnfjörð Bjarmason
451525973f Support word connectors in German, translates the node/way/relation
browser.

This needs to be merged upstream.
2009-06-09 18:43:29 +00:00
Ævar Arnfjörð Bjarmason
991c940138 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.
2009-06-06 21:43:30 +00:00
Tom Hughes
606e5ed267 Add an extra message to detect Postgres deadlocks. 2009-06-05 23:08:29 +00:00
Tom Hughes
2b9f430908 Update deadlock_retry plugin with latest upstream code. 2009-06-05 23:07:10 +00:00
Tom Hughes
2f3e23f6eb Move to version 2.3.2 of rails. 2009-06-04 08:08:24 +00:00
Tom Hughes
fd62c04463 Make setting of user_preferred_languages work. 2009-05-31 15:22:38 +00:00
Tom Hughes
0e96027a20 Sort out storage and use of user preferred languages. 2009-05-31 14:55:45 +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
53b4d645d8 First stage of i18n. Some migrations and extra plugins. 2009-05-22 18:36:17 +00:00
Tom Hughes
d58d7e30ea Add gem specification file to stop rake test complaining. 2009-05-08 18:12:30 +00:00
Shaun McDonald
62f999cd83 Updating for rails 2.2.2 2009-05-08 18:04:08 +00:00
Tom Hughes
3a0f4d30cf Patch composite_primary_keys to work around issue when one component of
a composite key is called "id".
2009-05-08 17:56:12 +00:00
Tom Hughes
a69f380fa5 Add version 2.2.2 of composite_primary_keys. 2009-05-08 17:54:49 +00:00
Tom Hughes
7ee10192eb Cope with sessions which don't exist. 2009-04-28 12:08:47 +00:00
Tom Hughes
42359afa7e Fix session plugin work with the new ruby pg driver for postgresql. 2009-04-28 10:57:25 +00:00
Shaun McDonald
2ed84e26cd Adding pagination to the changesets, thus allowing you to browe large changesets, without MySQL complaining about memory. Probably needs some fine tuning. You currently can only page one of nodes, ways, and relations, without manually setting the relations. Fixing deprection notice for the classic_pagination plugin. 2008-11-27 17:06:43 +00:00
Shaun McDonald
d74e2196a0 Freezing composite primary key so that we can apply TomH's patch to it, and that way Potlatch will work in Rails mode without a problem. Please test. 2008-11-15 01:11:27 +00:00
Shaun McDonald
252c2f7022 Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment.rb file. Moving the vendor/plugins externals into our svn. 2008-10-28 20:42:48 +00:00
Shaun McDonald
6bf25141de Adding the classic_pagination to svn as the svn external is no longer working 2008-10-07 22:59:59 +00:00
Tom Hughes
4bc8fcf5b4 Import the output_compression plugin as the SVN external never works. 2008-08-07 17:59:27 +00:00
Tom Hughes
06f38caccb Import the daemon generator as the SVN external never works. 2008-08-07 17:46:34 +00:00
Shaun McDonald
0436b4878c Removing rspec from svn, as it isn't being used. 2008-07-25 10:22:52 +00:00
Xin Zheng
3f607d565b added RSpec and RSpec on Rails 2008-01-22 16:39:09 +00:00