Commit graph

2718 commits

Author SHA1 Message Date
Translatewiki
a56a2c4fe0 * localisation updates from translatewiki.net (2009-10-05)
* svn:eol-style native
2009-10-05 08:20:20 +00:00
Translatewiki
15aa686d97 Another update for ru.yml. If this does not work, please let me know. Would also like to get rid of the leading newlines... 2009-10-04 11:35:49 +00:00
Translatewiki
cfb8d4cfbd Fix syntax error in r17978 2009-10-04 11:32:30 +00:00
Translatewiki
65c0675acb Localisation updates from translatewiki.net (2009-10-04) 2009-10-04 11:28:57 +00:00
Translatewiki
1a46f41219 Localisation updates from translatewiki.net (2009-10-04) 2009-10-04 11:10:29 +00:00
Ævar Arnfjörð Bjarmason
d3c9842d50 Make Mail/Revert in History dialog i18n-able 2009-10-04 08:40:37 +00:00
Ævar Arnfjörð Bjarmason
ba7436868d Synced from Translatewiki. Including one new language (gl) 2009-10-04 07:54:27 +00:00
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
c5247537c8 Synced from Translatewiki 2009-10-02 20:58:59 +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
Tom Hughes
d0f2288797 Add parentheses to avoid warnings. 2009-10-02 14:40:25 +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
Translatewiki
9c5755b647 Localisation updates from translatewiki.net (2009-10-02) 2009-10-02 11:28:35 +00:00
Translatewiki
3d4adecbc6 * Remove trailing newline from help_html
* Update message order
2009-10-02 11:20:57 +00:00
Ævar Arnfjörð Bjarmason
2dab83d57b use {{count}} instead of {{sent_count}} so rails plural forms will kick in 2009-10-02 10:41:47 +00:00
Richard Fairhurst
817aee0536 fix GPS offset 2009-10-02 07:05:05 +00:00
Ævar Arnfjörð Bjarmason
1db1f04974 Synced from Translatewiki 2009-10-01 16:48:31 +00:00
Richard Fairhurst
ef7825ce0c compile avar's latest commit 2009-10-01 16:01:12 +00:00
Translatewiki
1812b01564 * Localisation updates from translatewiki.net (2009-10-01)
* svn:eol-style native
2009-10-01 13:42:46 +00:00
Ævar Arnfjörð Bjarmason
a0905290b7 Translatewiki URLs changed. Adjust script to match 2009-10-01 13:41:51 +00:00
Ævar Arnfjörð Bjarmason
f80d250d77 RichardF forgot to nuke cz.yml in [17664]. Nuking 2009-10-01 13:18:45 +00:00
Richard Fairhurst
d7de7a8567 Potlatch 1.2c 2009-10-01 11:04:00 +00:00
Ævar Arnfjörð Bjarmason
03fd04be95 The 'more' message used in the history dialog (history.as) was missing 2009-10-01 10:59:43 +00:00
Ævar Arnfjörð Bjarmason
5f7586fb0a This whitespace at the end of "Custom: " isn't needed. The layer
selector looks the same without it and Translatewiki pukes on it.

In any case this needs to be turned into a message with
parameters. But Potlatch's code is too hairy so I'm not touching it.
2009-10-01 10:39:31 +00:00
Ævar Arnfjörð Bjarmason
7ac795ff54 Fixed message key that was broken due to a broken regex I used during
importing. It had AS message params mixed up with it.
2009-10-01 10:21:12 +00:00
Richard Fairhurst
495b8e2cb6 show buildings in pink 2009-09-30 23:54:25 +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
744b2e8676 Import extra rails translations from http://github.com/svenfuchs/rails-i18n. 2009-09-30 23:26:47 +00:00
Ævar Arnfjörð Bjarmason
95c8b2a01d comment out dupe purging debug message 2009-09-30 17:43:17 +00:00
Ævar Arnfjörð Bjarmason
b2a1abf6e9 compile error in previous commit 2009-09-30 17:43:02 +00:00
Ævar Arnfjörð Bjarmason
289c1c3cd9 --cache option 2009-09-30 17:42:06 +00:00
Ævar Arnfjörð Bjarmason
ab878d4844 There are a bunch of keys on Translatewiki that are equivalent to
English for some reason. Probably because they were there at import
time. Nuke them.
2009-09-30 11:04:16 +00:00
Ævar Arnfjörð Bjarmason
5a76cbe760 Updated from Translatewiki with ''perl script/locale/merge-from-translatewiki'' 2009-09-30 10:58:00 +00:00
Tom Hughes
cd599a2998 Update language list. 2009-09-30 08:50:21 +00:00
Tom Hughes
69b586a8f4 Add script to update config/languages.yml from translatewiki language list. 2009-09-30 08:49:28 +00:00
Tom Hughes
d13c0e5bb8 Rename reload_languages to reload-languages for consistency. 2009-09-30 08:49:00 +00:00
Translatewiki
1f58d4a066 Remove untranslated parts in he.yml 2009-09-29 17:32:01 +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
Ævar Arnfjörð Bjarmason
6eed92c0d6 Capitalize JavaScript as suggested on http://translatewiki.net/w/i.php?title=Special:Translate&task=review&group=out-osm&language=qqq&limit=2500 2009-09-29 16:21:50 +00:00
Ævar Arnfjörð Bjarmason
4df60ea589 Merged from Translatewiki with:
{{{
perl script/locale/merge-from-translatewiki 
}}}
2009-09-29 15:52:08 +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
Ævar Arnfjörð Bjarmason
d9c17e930d * Reconstruct option
* I hate File::Basename and it hates absolute paths. I'm using my evil hack again
2009-09-29 13:28:23 +00:00
Ævar Arnfjörð Bjarmason
801182d2ea Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently 2009-09-29 10:12:01 +00:00
Ævar Arnfjörð Bjarmason
0197460689 Escape user-supplied JavaScript. Fixes http://lists.openstreetmap.org/pipermail/talk/2009-September/042846.ht 2009-09-29 09:23:11 +00:00
Ævar Arnfjörð Bjarmason
1355455f83 --locales-dir is now config/locales by default 2009-09-29 09:00:53 +00:00
Thomas Wood
76b6d7d876 Tests for [17838]
Why is our testing fixtures such a mess? It took me half an hour to find a useable node. And I'm still not sure if it's ok, since I want to get to bed. kthxbye
2009-09-29 03:58:33 +00:00