rails.git
11 years agoAdd RSS feed for global recent changes & changes within a bbox. Solves #1737
Ævar Arnfjörð Bjarmason [Sun, 7 Jun 2009 02:39:45 +0000 (02:39 +0000)]
Add RSS feed for global recent changes & changes within a bbox. Solves #1737

This has so much copy/paste code it hurts, the new list*_rss methods
are just copies of the old list* methods, but see #1927 for that.

11 years agoDon't add a <comments> entry for anonymous users
Ævar Arnfjörð Bjarmason [Sun, 7 Jun 2009 02:32:16 +0000 (02:32 +0000)]
Don't add a <comments> entry for anonymous users

11 years agoImplement /user/$user/edits/rss, partially solves #1737
Ævar Arnfjörð Bjarmason [Sun, 7 Jun 2009 01:32:19 +0000 (01:32 +0000)]
Implement /user/$user/edits/rss, partially solves #1737

11 years agoIcelandic translations for rails-i18n. This still has to be merged upstream.
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 21:43:30 +0000 (21:43 +0000)]
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.

11 years agoMake URL that link to the OSM Wiki configurable by translations. A lot
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 21:36:49 +0000 (21:36 +0000)]
Make URL that link to the OSM Wiki configurable by translations. A lot
of these pages have been translated into other languages and users
using other languages would want to visit those in preference to the
English version.

11 years agonew translations
Jonas Krückel [Sat, 6 Jun 2009 21:18:44 +0000 (21:18 +0000)]
new translations

11 years agouptodate with en.yml 15703
Jonas Krückel [Sat, 6 Jun 2009 21:12:26 +0000 (21:12 +0000)]
uptodate with en.yml 15703

11 years agoTranslations for settings/setting errors
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 20:13:55 +0000 (20:13 +0000)]
Translations for settings/setting errors

11 years agoBreytt þann => Breytt, more succinct
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 19:36:12 +0000 (19:36 +0000)]
Breytt þann => Breytt, more succinct

11 years ago{{view_history_link}} -> {{view_details_link}}. This broke the site in Icelandic
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 19:30:46 +0000 (19:30 +0000)]
{{view_history_link}} -> {{view_details_link}}. This broke the site in Icelandic

11 years agoSpelling error in ''browse.start_rjs.object_list.api'': are => area
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 19:24:19 +0000 (19:24 +0000)]
Spelling error in ''browse.start_rjs.object_list.api'': are => area

11 years agoMore progress on ticket:1919
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 19:22:39 +0000 (19:22 +0000)]
More progress on ticket:1919

These messages now don't use JavaScript string concatenation but
variable interpolation:

 * browse.start_rjs.history_for_feature
 * browse.start_rjs.edited_by_user_at_timestamp
 * browse.start_rjs.object_list.selected.type.node
 * browse.start_rjs.object_list.selected.type.way
 * browse.start_rjs.object_list.history.type.node
 * browse.start_rjs.object_list.history.type.way

These previously extant messages have been deleted, merged, and given
more descriptive names:

 * browse.start_rjs.history_for
 * browse.start_rjs.edited_by
 * browse.start_rjs.at_timestamp

11 years agoobject_list.type.relation isn't used by anything
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 18:32:15 +0000 (18:32 +0000)]
object_list.type.relation isn't used by anything

11 years agoNuked 'browse.start_rjs.unable_to_load' and replaced it with
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 18:25:41 +0000 (18:25 +0000)]
Nuked 'browse.start_rjs.unable_to_load' and replaced it with
'browse.start_rjs.unable_to_load_size' which solves #1919 some more.

11 years agoDon't hardcode bbox size 0.25, use APP_CONFIG['max_request_area'] instead
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 18:13:11 +0000 (18:13 +0000)]
Don't hardcode bbox size 0.25, use APP_CONFIG['max_request_area'] instead

11 years agoImplement a hack so that we can interpolate JavaScript variables in
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 17:57:08 +0000 (17:57 +0000)]
Implement a hack so that we can interpolate JavaScript variables in
translation strings from Ruby, doing the string replacement lient-side
instead of on the server.

This partially solves ticket:1919. I still have to move the rest of
the JS functions over to the new system.

11 years agoImprove the data browser translation logic.
Tom Hughes [Sat, 6 Jun 2009 15:46:41 +0000 (15:46 +0000)]
Improve the data browser translation logic.

11 years agoMade a bunch of start.rjs stuff translatable, including
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 15:05:39 +0000 (15:05 +0000)]
Made a bunch of start.rjs stuff translatable, including

 * Object list, API, Display object list, Details

Also make node/way/relation translatable, and in different contexts
too (e.g. Icelandic needs this).

This introduces more stuff that needs to be fixed in ticket 1919.

11 years agoTranslation for new strings in en.yml that weren't here already:
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 14:22:05 +0000 (14:22 +0000)]
Translation for new strings in en.yml that weren't here already:

 * Login to leave comment
 * Tooltip strings
 * Various new E-Mail templates translated

11 years agotranslation of tooltips
Jonas Krückel [Sat, 6 Jun 2009 13:45:17 +0000 (13:45 +0000)]
translation of tooltips

11 years agoAdded & cleaned up messages relating to a given user not existing
Ævar Arnfjörð Bjarmason [Sat, 6 Jun 2009 13:15:53 +0000 (13:15 +0000)]
Added & cleaned up messages relating to a given user not existing

The following pages now have a <title> that can be set in localizations:

 * /user/USER_DOES_NOT_EXIST
 * /user/USER_DOES_NOT_EXIST/diary
 * /user/USER_DOES_NOT_EXIST/traces
 * /message/*/ID_DOES_NOT_EXIST

In addition I've cleaned up the i18n message keys of all the
''no_such_user.rhtml'' pages involved. They now all use
title/heading/body for the <title>, <h2> and <p> respectively. And the
message key {{user}} instead of {{name}}.

11 years agoMake tab tooltips translatable.
Tom Hughes [Sat, 6 Jun 2009 13:12:57 +0000 (13:12 +0000)]
Make tab tooltips translatable.

11 years agoCorrections
Jonas Krückel [Sat, 6 Jun 2009 12:20:01 +0000 (12:20 +0000)]
Corrections

11 years agonew translations (mainly email)
Jonas Krückel [Sat, 6 Jun 2009 11:58:10 +0000 (11:58 +0000)]
new translations (mainly email)

11 years agouptodate with en.yml 15675
Jonas Krückel [Sat, 6 Jun 2009 10:59:56 +0000 (10:59 +0000)]
uptodate with en.yml 15675

11 years agoSet reviewboard:url property on the locales dir.
Łukasz Jernaś [Sat, 6 Jun 2009 09:17:29 +0000 (09:17 +0000)]
Set reviewboard:url property on the locales dir.

11 years agoChanges to Polish translation from balrog-kun.
Łukasz Jernaś [Sat, 6 Jun 2009 09:09:13 +0000 (09:09 +0000)]
Changes to Polish translation from balrog-kun.

11 years agoMake the rest of the email translatable.
Tom Hughes [Fri, 5 Jun 2009 23:53:47 +0000 (23:53 +0000)]
Make the rest of the email translatable.

11 years agoAdd an extra message to detect Postgres deadlocks.
Tom Hughes [Fri, 5 Jun 2009 23:08:29 +0000 (23:08 +0000)]
Add an extra message to detect Postgres deadlocks.

11 years agoUpdate deadlock_retry plugin with latest upstream code.
Tom Hughes [Fri, 5 Jun 2009 23:07:10 +0000 (23:07 +0000)]
Update deadlock_retry plugin with latest upstream code.

11 years agoEscape quotes to keep javascript happy.
Tom Hughes [Fri, 5 Jun 2009 22:56:09 +0000 (22:56 +0000)]
Escape quotes to keep javascript happy.

11 years agoCatch creation of en.po
Thomas Wood [Fri, 5 Jun 2009 22:38:04 +0000 (22:38 +0000)]
Catch creation of en.po

11 years agoAdd bulk yaml production to yaml2po
Thomas Wood [Fri, 5 Jun 2009 22:27:21 +0000 (22:27 +0000)]
Add bulk yaml production to yaml2po

11 years agomore translations
Jonas Krückel [Fri, 5 Jun 2009 21:53:25 +0000 (21:53 +0000)]
more translations

11 years agoupdated translations
Jonas Krückel [Fri, 5 Jun 2009 21:48:44 +0000 (21:48 +0000)]
updated translations

11 years agouptodate with en.yml 15663
Jonas Krückel [Fri, 5 Jun 2009 21:40:21 +0000 (21:40 +0000)]
uptodate with en.yml 15663

11 years agofuther minor improvements
Artem Dudarev [Fri, 5 Jun 2009 20:21:57 +0000 (20:21 +0000)]
futher minor improvements

11 years agoAdd the counterpart script, po2yaml, and use strctxt rather than #: for identifying...
Thomas Wood [Fri, 5 Jun 2009 19:03:39 +0000 (19:03 +0000)]
Add the counterpart script, po2yaml, and use strctxt rather than #: for identifying strings.

11 years agoMake node/way/relation which is fed into the the 'browse.not_found.sorry' message...
Ævar Arnfjörð Bjarmason [Fri, 5 Jun 2009 19:02:31 +0000 (19:02 +0000)]
Make node/way/relation which is fed into the the 'browse.not_found.sorry' message translatable

11 years agoMake "Login to leave a comment" translatable.
Tom Hughes [Fri, 5 Jun 2009 18:11:50 +0000 (18:11 +0000)]
Make "Login to leave a comment" translatable.

11 years agoUpdate key when the zoom changes, even if the language is not english.
Tom Hughes [Fri, 5 Jun 2009 18:06:38 +0000 (18:06 +0000)]
Update key when the zoom changes, even if the language is not english.

11 years agoadded missing translations
Jonas Krückel [Fri, 5 Jun 2009 16:46:55 +0000 (16:46 +0000)]
added missing translations

11 years ago * Translated new things from en.yml since the last import
Ævar Arnfjörð Bjarmason [Fri, 5 Jun 2009 15:46:52 +0000 (15:46 +0000)]
 * Translated new things from en.yml since the last import
 * Changen innbox/útbox to innhólf/úthólf, as suggested by http://herdubreid.rhi.hi.is:1026/wordbank/search
 * Translated "add a marker" in Export tab
 * Translated some more e-mail stuff

11 years agochanged to plural diary_entry: view: title
Artem Dudarev [Fri, 5 Jun 2009 15:26:39 +0000 (15:26 +0000)]
changed to plural diary_entry: view: title

11 years agouptodate with en.yml 15653 now
Jonas Krückel [Fri, 5 Jun 2009 15:21:54 +0000 (15:21 +0000)]
uptodate with en.yml 15653 now

11 years agoremove_friend.success was missing a closing paren, so '{{name}' showed up literally...
Ævar Arnfjörð Bjarmason [Fri, 5 Jun 2009 15:09:41 +0000 (15:09 +0000)]
remove_friend.success was missing a closing paren, so '{{name}' showed up literally in all these languages when removing a friend

11 years agoFix indentation.
Tom Hughes [Fri, 5 Jun 2009 15:03:26 +0000 (15:03 +0000)]
Fix indentation.

11 years agoTranslate the title of the user diary view.
Tom Hughes [Fri, 5 Jun 2009 14:59:13 +0000 (14:59 +0000)]
Translate the title of the user diary view.

11 years agoRemove byte order mark from start of file and convert DOS line endings.
Tom Hughes [Fri, 5 Jun 2009 14:29:32 +0000 (14:29 +0000)]
Remove byte order mark from start of file and convert DOS line endings.

11 years agoRename zh-cn to zh-CN which is the recommended capitalisation.
Tom Hughes [Fri, 5 Jun 2009 14:21:26 +0000 (14:21 +0000)]
Rename zh-cn to zh-CN which is the recommended capitalisation.

11 years agoAdd zh-CN to OpenLayers.
Tom Hughes [Fri, 5 Jun 2009 14:20:15 +0000 (14:20 +0000)]
Add zh-CN to OpenLayers.

11 years agomeine changed to eigene, more corrections and changes, closing #1889
Jonas Krückel [Fri, 5 Jun 2009 14:15:36 +0000 (14:15 +0000)]
meine changed to eigene, more corrections and changes, closing #1889

11 years agoNew Chinese .yml file. Part done.
Jenny Herbert [Fri, 5 Jun 2009 14:04:34 +0000 (14:04 +0000)]
New Chinese .yml file.  Part done.

11 years agomore translations and corrections
Jonas Krückel [Fri, 5 Jun 2009 13:49:10 +0000 (13:49 +0000)]
more translations and corrections

11 years agonew translations
Jonas Krückel [Fri, 5 Jun 2009 13:25:45 +0000 (13:25 +0000)]
new translations

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 13:11:29 +0000 (13:11 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 13:01:02 +0000 (13:01 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:57:50 +0000 (12:57 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:54:14 +0000 (12:54 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:51:46 +0000 (12:51 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:49:51 +0000 (12:49 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:46:55 +0000 (12:46 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:45:31 +0000 (12:45 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:42:27 +0000 (12:42 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:40:05 +0000 (12:40 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 12:39:00 +0000 (12:39 +0000)]

11 years agosecond draft of Russian collective translation
Artem Dudarev [Fri, 5 Jun 2009 12:10:08 +0000 (12:10 +0000)]
second draft of Russian collective translation

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 11:19:38 +0000 (11:19 +0000)]

11 years ago(no commit message)
Davide Prade [Fri, 5 Jun 2009 10:05:00 +0000 (10:05 +0000)]

11 years agoMore work on optimisation the location of nearby users - it turns out
Tom Hughes [Fri, 5 Jun 2009 09:30:31 +0000 (09:30 +0000)]
More work on optimisation the location of nearby users - it turns out
that getting the database to do the filtering is much better as it
avoids us constructing thousands of user objects only to then throw
most of them away again.

11 years agoOptimise the finding of nearby users a bit.
Tom Hughes [Fri, 5 Jun 2009 08:27:45 +0000 (08:27 +0000)]
Optimise the finding of nearby users a bit.

11 years agoDon't send a 417 error if "Expect: 100-continue" is sent by the client.
Tom Hughes [Thu, 4 Jun 2009 23:34:13 +0000 (23:34 +0000)]
Don't send a 417 error if "Expect: 100-continue" is sent by the client.

11 years agoDon't set the Status header - it is set automatically by the FastCGI code
Tom Hughes [Thu, 4 Jun 2009 22:53:05 +0000 (22:53 +0000)]
Don't set the Status header - it is set automatically by the FastCGI code
and this manually set one conflicts with that and causes a 200 response
in rails 2.3.2 it seems.

11 years agoAdjusted for new location of script.
Tom Hughes [Thu, 4 Jun 2009 21:53:49 +0000 (21:53 +0000)]
Adjusted for new location of script.

11 years agoFix a couple of syntax errors.
Tom Hughes [Thu, 4 Jun 2009 21:30:59 +0000 (21:30 +0000)]
Fix a couple of syntax errors.

11 years agoMore words translated in Hebrew yml
Jenny Herbert [Thu, 4 Jun 2009 20:58:50 +0000 (20:58 +0000)]
More words translated in Hebrew yml

11 years agoreverting to collective version for Russian
Artem Dudarev [Thu, 4 Jun 2009 20:49:04 +0000 (20:49 +0000)]
reverting to collective version for Russian

11 years agosome minor changes
Artem Dudarev [Thu, 4 Jun 2009 20:40:11 +0000 (20:40 +0000)]
some minor changes

11 years agoSet the OpenLayers locale when creating a map.
Tom Hughes [Thu, 4 Jun 2009 20:37:59 +0000 (20:37 +0000)]
Set the OpenLayers locale when creating a map.

11 years agochanged en to ru at the beginning
Artem Dudarev [Thu, 4 Jun 2009 20:35:06 +0000 (20:35 +0000)]
changed en to ru at the beginning

11 years agoCreate a custom build of OpenLayers to allow us to pull in extra
Tom Hughes [Thu, 4 Jun 2009 20:31:58 +0000 (20:31 +0000)]
Create a custom build of OpenLayers to allow us to pull in extra
languages. This also helps minimise the size of our OpenLayers.

11 years agosome problems with translation, reverted original partial draft
Artem Dudarev [Thu, 4 Jun 2009 20:29:37 +0000 (20:29 +0000)]
some problems with translation, reverted original partial draft

11 years agofirst draft of collective translation thanks to http://translated.by/you/locale-for...
Artem Dudarev [Thu, 4 Jun 2009 19:28:16 +0000 (19:28 +0000)]
first draft of collective translation thanks to translated.by/you/locale-for-openstreetmap-site/

11 years agoFix typo. Closes #1915.
Tom Hughes [Thu, 4 Jun 2009 18:54:41 +0000 (18:54 +0000)]
Fix typo. Closes #1915.

11 years agoReplaced Polish translation with the one from balrog-kun. Closes #1912.
Łukasz Jernaś [Thu, 4 Jun 2009 18:00:19 +0000 (18:00 +0000)]
Replaced Polish translation with the one from balrog-kun. Closes #1912.
Added some minor tweaks, like the fact that we are not using camel case in Polish.

11 years agofix issue with searched-for relations
Richard Fairhurst [Thu, 4 Jun 2009 14:44:51 +0000 (14:44 +0000)]
fix issue with searched-for relations

11 years agoHebrew is he now, now iw.
Tom Hughes [Thu, 4 Jun 2009 11:39:50 +0000 (11:39 +0000)]
Hebrew is he now, now iw.

11 years agoRemove binary flag.
Tom Hughes [Thu, 4 Jun 2009 11:19:53 +0000 (11:19 +0000)]
Remove binary flag.

11 years agoConvert from UTF-16 to UTF-8 and replace DOS line endings.
Tom Hughes [Thu, 4 Jun 2009 11:18:39 +0000 (11:18 +0000)]
Convert from UTF-16 to UTF-8 and replace DOS line endings.

11 years agoNew Hebrew .yml. Not much translated yet.
Jenny Herbert [Thu, 4 Jun 2009 11:06:58 +0000 (11:06 +0000)]
New Hebrew .yml.  Not much translated yet.

11 years agoRemoved patch for rails 2.2 bug.
Tom Hughes [Thu, 4 Jun 2009 09:22:31 +0000 (09:22 +0000)]
Removed patch for rails 2.2 bug.

11 years agoConvert DOS line endings to Unix.
Tom Hughes [Thu, 4 Jun 2009 09:06:42 +0000 (09:06 +0000)]
Convert DOS line endings to Unix.

11 years agoAdd Italian translation. Closes #1914.
Tom Hughes [Thu, 4 Jun 2009 09:06:01 +0000 (09:06 +0000)]
Add Italian translation. Closes #1914.

11 years agoRemoved available_locales monkey patch as rails 2.3 has it already.
Tom Hughes [Thu, 4 Jun 2009 08:56:40 +0000 (08:56 +0000)]
Removed available_locales monkey patch as rails 2.3 has it already.

11 years agoMake the polish locale really polish...
Tom Hughes [Thu, 4 Jun 2009 08:43:53 +0000 (08:43 +0000)]
Make the polish locale really polish...

11 years agoMake the russian really russian...
Tom Hughes [Thu, 4 Jun 2009 08:42:55 +0000 (08:42 +0000)]
Make the russian really russian...

11 years agoGo back to using to_sentence now that we are using rails 2.3 for the site.
Tom Hughes [Thu, 4 Jun 2009 08:40:37 +0000 (08:40 +0000)]
Go back to using to_sentence now that we are using rails 2.3 for the site.

11 years agoMove to version 2.3.2 of rails.
Tom Hughes [Thu, 4 Jun 2009 08:08:24 +0000 (08:08 +0000)]
Move to version 2.3.2 of rails.

11 years agostarted Russian translation
Artem Dudarev [Thu, 4 Jun 2009 07:46:56 +0000 (07:46 +0000)]
started Russian translation

11 years agoadded svn:executable property
Štefan Baebler [Thu, 4 Jun 2009 05:38:26 +0000 (05:38 +0000)]
added svn:executable property