Commit graph

2630 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
32a06b9e5b Use <br /> everywhere and not a mix of <br>, <br/> and <br /> so as to
not confuse translators.

I don't know if this gets sanitized in rails. Maybe this makes us more
XHTML compliant too.
2009-09-22 12:40:59 +00:00
Tom Hughes
d0bc9b9091 Update Vietnamese translation. Closes #2299. 2009-09-20 16:47:19 +00:00
Ævar Arnfjörð Bjarmason
421b611389 Use i18n() parameters for this JavaScript message instead of ad-hoc
string concatenation.

See [17712] for why I'm changing this.
2009-09-20 10:41:57 +00:00
Ævar Arnfjörð Bjarmason
185c7c24ae See [17712] for why I'm changing this
The 'user.view.mapper since' message is broken. It should be done with
translation parameters. But messages can't include HTML like <b> and I
don't want to experiment with making that work or changing this into a
HTML table that doesn't look crappy.
2009-09-20 10:25:31 +00:00
Ævar Arnfjörð Bjarmason
039a49a97b Translatewiki doesn't support trailing whitespace in messages. So if
we want to move to it (without hacking it) we're going to have to
eliminate those.

I compiled a list of them and I'm removing trailing whitespace from
those messages where the whitespace was a no-op. Mostly cases like
"<td>foo </td><td>bar</td>" or "<p>foo \n</p>"

These are the commands I ran to remove them:
    
    perl -pi -e 's[(      )(coordinates:)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[(      )(subject:|language:|location:|latitude:|latitude:|longitude:|coordinates:)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[(      )(recent_entries:)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[(      )(home location:|latitude:|longitude:|preferred languages:|profile description:|)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[^(        )(heading:)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[^(      )(email or username:|password:|confirm email address:|display name:|email address:|confirm password:|nearby users:)(\s*)"(.*?) "$][$1$2$3"$4"]g' *yml
    perl -pi -e 's[(      contact_webmaster:\s*)\x27(.*?) \x27][$1\x27$2\x27]' *yml
2009-09-20 10:10:12 +00:00
Richard Fairhurst
00332614f9 add ability to specify custom background in the query string 2009-09-18 14:11:18 +00:00
Ævar Arnfjörð Bjarmason
658a34714f When displaying objects in /browse/* and in the JavaScript "Data"
feature use the name key corresponding to the user's
locale. E.g. "name:is" for Icelandic.

This will fall back on "name". The interface will be equivalent unless
the user has selected another language than English in the preferences
and objects with localized name:* tags corresponding to the user's
language are being displayed.
2009-09-17 23:36:54 +00:00
Ævar Arnfjörð Bjarmason
619cacba7c "Athugasemd eftir Foo þann fimmtudaginn [...]" is grammatically
incorrect. Use "Athugasemd eftir Foo sett inn fimmtudaginn [...]"
2009-09-17 22:58:10 +00:00
Ævar Arnfjörð Bjarmason
eef5ac2c73 Icelandic day names should be in lower case 2009-09-17 22:49:42 +00:00
Richard Fairhurst
1db51102cd Or maybe this one. #2279. Ugh. 2009-09-17 00:51:45 +00:00
Richard Fairhurst
34fb52dcb7 Localisation 2009-09-17 00:48:55 +00:00
Richard Fairhurst
8c8d1475d5 Potlatch 1.2b 2009-09-17 00:38:20 +00:00
Tom Hughes
6fafe7f309 Display the changeset comment (if any) as part of the description of
any object in the data browser. Closes #2282.
2009-09-15 22:03:09 +00:00
Tom Hughes
cded3db315 Update be locale. Closes #2284. 2009-09-15 20:20:21 +00:00
Tom Hughes
3d06c902f6 Remove scale bar. Closes #1704. 2009-09-15 16:01:50 +00:00
Ævar Arnfjörð Bjarmason
da28349f51 So the way [17620] did it sucked but [17624] broke it unless you
didn't have any changes because .item_count is the number of edits,
not pages.

Using .page_count works though, Whee!
2009-09-14 23:36:21 +00:00
Ævar Arnfjörð Bjarmason
835e12925e auto_link() changeset comments in the global/user/bbox/etc history too
(as well as in changeset detail & atom feeds)
2009-09-14 23:26:36 +00:00
Tom Hughes
00ec185fe7 Update Russian translation. Closes #2281. 2009-09-14 23:22:10 +00:00
Tom Hughes
26bd59a1da Output tags to the feed as raw HTML so that links are not escaped (any
real HTML in the tag has already been escaped). Closes #2264.
2009-09-14 23:17:52 +00:00
Tom Hughes
9200520395 Escape tag values - there is no reason at all to render things which
might look like HTML tags in a tag value.
2009-09-14 23:17:02 +00:00
Tom Hughes
253e8a272d Improve handling of the case where there is only one page of changesets. 2009-09-14 23:04:06 +00:00
Ævar Arnfjörð Bjarmason
466f640138 While we don't have the sanitizing backend to safely solve ticket
#2264 I'm going to remove the auto_link feature of changeset tags. The
links are broken in all conforming Atom readers at the moment.
2009-09-14 21:08:17 +00:00
Ævar Arnfjörð Bjarmason
332f8d3a4f Now when all the entries fit on one page a trailing slash won't be
included after "Showing page %d (%d of %d)"
2009-09-14 19:42:32 +00:00
Ævar Arnfjörð Bjarmason
2118dd06af Link to username in "Send message to" message 2009-09-14 19:32:29 +00:00
Tom Hughes
06a17b6bc6 Treat an explicit public=0 argument as meaning private. 2009-09-12 16:46:25 +00:00
Tom Hughes
244af65b2b Update zh-TW translation. Closes #2272. 2009-09-12 10:57:33 +00:00
Ævar Arnfjörð Bjarmason
88060d443e oops, wrong e-mail address 2009-09-07 19:29:25 +00:00
Tom Hughes
7b632da44a Add xid_to_int4() function for Postgres. 2009-09-07 16:44:54 +00:00
Ævar Arnfjörð Bjarmason
b3ff342e6b There was no "Sorry not found" message for changesets so
/browse/changeset/123456789 would return the message "Sorry, the with
the id 123456789, could not be found.". It now says "Sorry, the
changeset with the id 123456789, could not be found."
2009-09-07 12:16:17 +00:00
Richard Fairhurst
3a2014dfd6 cancel upload howler 2009-09-07 11:16:35 +00:00
Richard Fairhurst
8dd2ce3ff0 fix annoying retry bug, and fine-tune relations colours 2009-09-06 23:54:02 +00:00
Richard Fairhurst
a9de148b48 fix menu issue spotted by randomjunk 2009-09-04 14:51:48 +00:00
Tom Hughes
49906c99cd Workaround rails 2.3.4 bogus deprecation warnings. 2009-09-04 10:52:58 +00:00
Tom Hughes
63b399c9b2 Update to rails 2.3.4 for security fixes. 2009-09-04 08:45:38 +00:00
Tom Hughes
73340e1780 Add support for reloading the language table. 2009-09-03 21:55:42 +00:00
Tom Hughes
d40b83af67 Add Guadeloupean Creole French translation of web site. Closes #2255. 2009-09-03 21:31:34 +00:00
Richard Fairhurst
d5e4492586 (binary) 2009-09-01 14:38:52 +00:00
Jonas Krückel
6ac776d733 typo correction 2009-09-01 10:47:24 +00:00
Jonas Krückel
7d47e33f55 more translations 2009-09-01 10:37:47 +00:00
Matt Amos
69ab396f08 Fixed bug when oauthorizing with a token which no longer exists (merged 17416 from oauth branch). 2009-09-01 10:25:53 +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
Tom Hughes
783748b1e5 Tidy up. 2009-08-31 23:32:03 +00:00
Tom Hughes
543e8c5503 Fix backwards compatibility code to handle an old style public
attribute correctly. Closes #2242.
2009-08-31 23:28:51 +00:00
Matt Amos
ade96da19f Added user ID, description, languages and image link to the user details API call. 2009-08-31 23:11:15 +00:00
Richard Fairhurst
737a36fada Potlatch 1.2a 2009-08-30 19:14:50 +00:00
Jonas Krückel
d918a8fc37 new translations 2009-08-28 11:54:29 +00:00
Tom Hughes
096459404c Format dates in the changeset list so the year is shown. Closes #2232. 2009-08-28 07:55:34 +00:00
Shaun McDonald
0f9fb8af8b fix indentation in yaml 2009-08-28 07:15:06 +00:00
Jonas Krückel
e91669b05c uptodate with en.yml 17163 2009-08-27 23:30:06 +00:00
Tom Hughes
9a0b4f92e6 Revert es.yml to utf-8 encoding. Closes #2231. 2009-08-27 22:42:14 +00:00