Commit graph

418 commits

Author SHA1 Message Date
Tom Hughes
f4dba81b64 Modify the existing i18n() javascript function to lookup strings in
the javascript i18n array as well as expanding arguments, and make all
lookups go through it.
2009-10-02 23:41:19 +00:00
Tom Hughes
596ab82461 Move javascript translations to a separate key based on the path to
the javascript file that uses them and amend the layout to automatically
find and output all javascript strings.
2009-10-02 23:33:17 +00:00
Tom Hughes
52126dc3c1 There is no need to translate the names of layers which are not shown
in the layer switcher.
2009-10-02 23:03:42 +00:00
Ævar Arnfjörð Bjarmason
4c84709c80 Follow up to [17948]: Make the layer switcher translatable too! 2009-10-02 20:39:47 +00:00
Ævar Arnfjörð Bjarmason
b0e1560875 Some of our JavaScript files have UI messages but we don't want to
make them dynamic.

So I'm creating a globally scoped JavaScript array called rails_i18n
which holds some of these messages. It's loaded in <head> before any
of the JavaScript files so it should always be available.
2009-10-02 20:19:28 +00:00
Ævar Arnfjörð Bjarmason
8c1d3fdd6b Amend [17942]:
* Center-align donation text
 * Add title="" to the donate link
 * Use an official cc_button.png from http://1.1.1.1/bmi/i.creativecommons.org/l/by-sa/2.0/88x31.png that doesn't include English text
 * Add rel=license to license link as suggested by CC
 * Add width/height to CC button
2009-10-02 13:04:47 +00:00
Tom Hughes
968e6c417f Replace the donate button with a text version that can be translated. 2009-10-02 12:29:44 +00:00
Richard Fairhurst
817aee0536 fix GPS offset 2009-10-02 07:05:05 +00:00
Richard Fairhurst
ef7825ce0c compile avar's latest commit 2009-10-01 16:01:12 +00:00
Richard Fairhurst
d7de7a8567 Potlatch 1.2c 2009-10-01 11:04:00 +00:00
Tom Hughes
c192b95021 Open up crossdomain policy to allow all headers from everywhere as I can't
find any information anywhere that gives me any idea why we would want to
restrict what headers can be sent.
2009-09-30 23:47:26 +00:00
Tom Hughes
53c2f0dccc Revert r17851 and just give non-local flash clients access to
the X_HTTP_METHOD_OVERRIDE header.
2009-09-29 16:24:07 +00:00
Andy Allan
5d07b6d76c Merge r17285 from the oauth branch - allow flash access to set headers, even when hosted at non-openstreetmap domains 2009-09-29 14:18:33 +00:00
Richard Fairhurst
8c8d1475d5 Potlatch 1.2b 2009-09-17 00:38:20 +00:00
Tom Hughes
3d06c902f6 Remove scale bar. Closes #1704. 2009-09-15 16:01:50 +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
Richard Fairhurst
d5e4492586 (binary) 2009-09-01 14:38:52 +00:00
Richard Fairhurst
737a36fada Potlatch 1.2a 2009-08-30 19:14:50 +00:00
Tom Hughes
e8a048045e Wrap tile numbers at the international dateline. Closes #2226. 2009-08-27 15:50:52 +00:00
Matt Amos
26a9f98dc1 Allowing flash to do what all other HTTP clients can (well, apart from the bits which are broken by design). 2009-08-26 14:49:49 +00:00
Matt Amos
498832eb37 Re-committing experimental CSS media queries stuff for mobile and other small-screen browsers. 2009-08-19 09:42:33 +00:00
Matt Amos
1eb58bc607 Reverting experimental stuff in r17121. 2009-08-18 16:33:18 +00:00
Matt Amos
6674873478 Experimental CSS media queries to support iPhone and other small-screen devices. 2009-08-18 16:06:26 +00:00
Dave Stubbs
c742d88309 add crossdomain.xml to allow flash to access oauth 2009-08-16 15:59:56 +00:00
Tom Hughes
7a7c567436 Remove layers argument from the shortlink if we change to mapnik from
a non-mapnik layer.
2009-08-13 14:02:49 +00:00
Richard Fairhurst
6e6b44e494 small parallel way fix, plus handy new 'join' keypress (J) 2009-08-07 00:25:00 +00:00
Richard Fairhurst
a9a55db130 ibid 2009-08-06 10:49:01 +00:00
Richard Fairhurst
d50288a89f argh, caught out by annoying Ming 0.3>0.4 change. Recommit with correct line widths 2009-08-06 08:26:06 +00:00
Richard Fairhurst
c0c506adde handful of small fixes 2009-08-05 23:16:22 +00:00
Richard Fairhurst
9968ea4308 bunch of small tweaks 2009-08-05 23:14:27 +00:00
Richard Fairhurst
b938f26313 ibid 2009-08-05 14:11:13 +00:00
Richard Fairhurst
a36c938c85 ibid 2009-08-05 08:49:37 +00:00
Richard Fairhurst
233f3ee527 Potlatch 1.2 2009-08-04 22:24:20 +00:00
Richard Fairhurst
b19a12140e and the binary 2009-07-16 14:37:17 +00:00
Tom Hughes
7b07b8ccbf Set a pointRadius on the object style so nodes are visible. Fixes #2070. 2009-07-16 14:32:42 +00:00
Tom Hughes
7eaf671999 Remove executable permission from SWF files. 2009-07-16 07:42:34 +00:00
Richard Fairhurst
793c9ca790 remove debug statement 2009-07-16 01:24:46 +00:00
Richard Fairhurst
6599fe0586 Potlatch 1.1a 2009-07-16 01:20:47 +00:00
Tom Hughes
b5a6493aff Remove SOTM advert from site. 2009-07-13 08:11:11 +00:00
Richard Fairhurst
23781c9195 and the binary 2009-07-12 07:57:00 +00:00
Richard Fairhurst
229e166eb3 and the binary 2009-07-11 09:55:38 +00:00
Richard Fairhurst
2e3730f910 ...and the accompanying binary 2009-07-11 07:12:19 +00:00
Richard Fairhurst
1ef85668de and the accompanying SWF 2009-07-09 20:00:29 +00:00
Richard Fairhurst
94f7108202 revised SWF 2009-07-09 14:58:34 +00:00
Richard Fairhurst
c89a31b319 fix #2046 2009-07-09 06:37:19 +00:00
Richard Fairhurst
8eb77ef5e1 "list mode" should really be "live mode" :) 2009-07-08 22:29:45 +00:00
Richard Fairhurst
369202787b Potlatch 1.1 (server code) 2009-07-08 20:52:02 +00:00
Matt Amos
57e571d241 Changed shortlink zoom level correction char to '-', as this seems to fare better with twitter et al.'s URL highlighting. Decoder is backwards-compatible with the old system. 2009-07-02 16:40:29 +00:00