Commit graph

2694 commits

Author SHA1 Message Date
Æ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
Thomas Wood
ec26e06706 5 character patch to only output duplicated nodes once in a way/full call
Unit tests not run - problems on this system
Fixes #2327
2009-09-29 02:55:35 +00:00
Tom Hughes
18f9ebaf71 Remove corrupt message from Dutch translation. 2009-09-28 21:34:10 +00:00
Ævar Arnfjörð Bjarmason
b14abdd888 Importing new messages to existing languages from Translatewiki. See
also [17832].

This commit can be reviewed in a sane manner by looking at
attachment🎫2305:first-translatewiki-patch.patch.gz

I've manually gone through it and searched for errors. I didn't find
any.
2009-09-28 21:02:47 +00:00
Ævar Arnfjörð Bjarmason
f59967a894 more SYNOPSIS instructions 2009-09-28 20:52:53 +00:00
Ævar Arnfjörð Bjarmason
8cdee8e0c7 Remove comment saying when these files were generated 2009-09-28 20:50:03 +00:00
Ævar Arnfjörð Bjarmason
b479b0c2b6 Actualy having autogenerated timestamps at the top of files which are
under version controll is a pretty lousy idea now that I think of it..
2009-09-28 20:43:48 +00:00
Ævar Arnfjörð Bjarmason
06836b839c Commiting 26 new language translations (although some are really
small) from Translatewiki. This more than doubles the translations we
have as we had 25 before.

This was merged with:

{{{
perl script/locale/merge-from-translatewiki --locales-dir config/locales --only-new
}}}

And here are some stats:

{{{
$ svn st config/locales/|awk '{print $2}'|xargs wc -l|sort -nr
  5212 total
   955 config/locales/hsb.yml
   646 config/locales/fi.yml
   608 config/locales/br.yml
   432 config/locales/nds.yml
   359 config/locales/km.yml
   306 config/locales/af.yml
   289 config/locales/sk.yml
   276 config/locales/sr-EC.yml
   217 config/locales/sv.yml
   162 config/locales/ksh.yml
   154 config/locales/no.yml
   140 config/locales/be-TARASK.yml
   125 config/locales/te.yml
   116 config/locales/gsw.yml
    86 config/locales/eo.yml
    72 config/locales/bg.yml
    71 config/locales/ar.yml
    37 config/locales/tr.yml
    30 config/locales/ps.yml
    26 config/locales/lv.yml
    21 config/locales/eu.yml
    20 config/locales/pt.yml
    20 config/locales/lt.yml
    16 config/locales/nn.yml
    14 config/locales/yi.yml
    14 config/locales/bs.yml
}}}
2009-09-28 20:38:39 +00:00
Ævar Arnfjörð Bjarmason
ea970889e5 Report on download progress 2009-09-28 20:27:50 +00:00
Ævar Arnfjörð Bjarmason
5524765d17 --only-new option
Don't spew so much debug output
2009-09-28 20:25:19 +00:00
Ævar Arnfjörð Bjarmason
134ff60ab7 * Add more keys from the optional list that we don't want to ignor
* Don't delete a singular form if the plural form exists in the source language (en)
 * Don't nuke site.key.table.entry singularls when the source language (en) has an array
2009-09-28 20:17:36 +00:00
Ævar Arnfjörð Bjarmason
1facda11d6 A hacky in-process script for merging translations from Translatewiki
while working around all the bugs in #2305
2009-09-28 19:06:34 +00:00
Jonas Krückel
d09d8c3296 small fix 2009-09-27 14:15:53 +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
088bd1dcb2 Deal with values which are arrays, before and after:
avar@aoeu:~/src/osm/sites/rails_port/config/locales$ perl ../../script/locale/diff --dump-flat de.yml|egrep "Nähe|Uni"
    message.inbox.people_mapping_nearby: Mappern in deiner Nähe
    message.outbox.people_mapping_nearby: Mappern in deiner Nähe
      - "Universit\xC3\xA4t"
    user.friend_map.nearby mapper: "Mapper in der Nähe: [[nearby_user]]"
    user.view.nearby users: "Benutzer in der Nähe:"
    user.view.no nearby users: Es gibt bisher keine Benutzer, die einen Standort in deiner Nähe angegeben haben.
    avar@aoeu:~/src/osm/sites/rails_port/config/locales$ perl ../../script/locale/diff --dump-flat de.yml|egrep "Nähe|Uni"
    message.inbox.people_mapping_nearby: Mappern in deiner Nähe
    message.outbox.people_mapping_nearby: Mappern in deiner Nähe
      - Universität
    user.friend_map.nearby mapper: "Mapper in der Nähe: [[nearby_user]]"
    user.view.nearby users: "Benutzer in der Nähe:"
    user.view.no nearby users: Es gibt bisher keine Benutzer, die einen Standort in deiner Nähe angegeben haben.
2009-09-26 20:03:52 +00:00
Balló György
425bf20b38 Updated Hungarian translation of OpenStreetMap website (Hu: -> HU: in wiki links) 2009-09-25 18:03:58 +00:00
Balló György
25bb6e4192 Updated Hungarian translation of OpenStreetMap website 2009-09-25 17:46:21 +00:00
Tom Hughes
b8afd4fbf3 Fix comment typo. 2009-09-24 23:27:45 +00:00
Tom Hughes
77ce1b2809 Ignore empty tags. Closes #2311. 2009-09-24 23:27:13 +00:00
Tom Hughes
2297dc9074 Wrap GPX API calls with the API error handler, and make sure the create
method throws on error so it can be trapped and reported. Closes #2310.
2009-09-24 23:15:35 +00:00
Ævar Arnfjörð Bjarmason
9b7e39dc49 I moved Potlatch's locales but didn't update this, which broke all i18n 2009-09-23 23:34:43 +00:00
Ævar Arnfjörð Bjarmason
2b2e754b3d Quick hack to add --dump-flat to get a human-readable flat version of the hash 2009-09-23 20:36:09 +00:00
Ævar Arnfjörð Bjarmason
e7d7f35120 Some of these files were in ISO-8859-1, no idea how that happened.
Fixed with:

{{{
for i in $(file *|grep ISO|awk '{print $1}'|sed s/://); do cat $i | iconv -f iso-8859-1 -t utf-8 > $i.utf8;done
for i in *yml; do mv $i.utf8 $i; done
}}}
2009-09-23 18:14:30 +00:00
Ævar Arnfjörð Bjarmason
65fec5d38a Removing zh-HANS: Just contained a few messages in English 2009-09-23 18:09:00 +00:00
Ævar Arnfjörð Bjarmason
623c0dcef8 Removed i18n messages which contained English - old crap from the wiki 2009-09-23 18:08:01 +00:00