Commit graph

63 commits

Author SHA1 Message Date
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
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
f80d250d77 RichardF forgot to nuke cz.yml in [17664]. Nuking 2009-10-01 13:18:45 +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
Æ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
Ævar Arnfjörð Bjarmason
f32dc6ff8c Make the 'Advanced' menu translatable 2009-09-23 18:03:20 +00:00
Ævar Arnfjörð Bjarmason
d5c71f697b Delete redundant translations from localised files.
I used this script:

{{{
#!/usr/bin/env perl
use feature ':5.10';
use strict;
use warnings;
use YAML::Syck qw(Load LoadFile Dump DumpFile);
use File::Slurp qw(slurp);
use Data::Dump 'dump';
use Encode qw(decode);
use autodie;

$YAML::Syck::Headless = 1;
$YAML::Syck::SortKeys = 1;
$YAML::Syck::ImplicitUnicode = 1;

my %lang;
chdir 'locales';
my @yml = glob "*.yml";
my @lang = map { s/\.yml//; $_ } @yml;

for my $lang (@lang) {
    say "Loading $lang";
    $lang{$lang} = LoadFile("$lang.yml")->{$lang};
}

for my $lang (grep { $_ ne 'en' } @lang) {
    while (my ($k, $v) = each %{ $lang{ $lang } }) {
        if ($lang{ $lang }->{$k} eq $lang{ en }->{$k}
            or (exists $lang{ $lang }->{$k} and not exists $lang{ en }->{$k})) {
            delete $lang{ $lang }->{$k};
        }
    }
}

for my $lang (@lang) {
    DumpFile("$lang.yml", { $lang => $lang{$lang} }) or die "arghl";
}
}}}
2009-09-23 17:29:29 +00:00
Ævar Arnfjörð Bjarmason
aeca7367be Used perl -pi -e 's/^.*?"action_createpoi":/ action_createpoi:/g' *yml 2009-09-23 17:23:58 +00:00
Ævar Arnfjörð Bjarmason
889523944f Convert all the Potlatch locale files to a rails-like format (to make
it easier for Translatewiki).

Here's the program I used to convert it:

{{{
    #!/usr/bin/env perl
    use feature ':5.10';
    use strict;
    use warnings;
    use YAML::Syck qw(Load LoadFile Dump DumpFile);
    use File::Slurp qw(slurp);
    use Data::Dump 'dump';
    use Encode qw(decode);
    use autodie;
    
    $YAML::Syck::Headless = 1;
    $YAML::Syck::SortKeys = 1;
    $YAML::Syck::ImplicitUnicode = 1;
    
    my %lang;
    chdir 'locales';
    my @yml = glob "*.yml";
    my @lang = map { s/\.yml//; $_ } @yml;
    
    for my $lang (@lang) {
        say "Loading $lang";
    
        my $file = "$lang.yml";
        $lang{$lang} = LoadFile($file);
        if (-f "$lang.html") {
            $lang{$lang}->{"help_html"} = slurp("$lang.html")
        }
    
        DumpFile("$lang.yml.new", { $lang => $lang{$lang} }) or die "arghl";
    }
}}}
2009-09-23 16:26:17 +00:00
Ævar Arnfjörð Bjarmason
c60743e615 I'm hacking the Potlatch i18n system, moving the old files to the new location before I overwrite them to preserve history 2009-09-23 16:05:09 +00:00
Ævar Arnfjörð Bjarmason
3d4270d452 Syncing translations from the wiki. Hopefully for the last time :) 2009-09-23 15:51:33 +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
8dd2ce3ff0 fix annoying retry bug, and fine-tune relations colours 2009-09-06 23:54:02 +00:00
Richard Fairhurst
737a36fada Potlatch 1.2a 2009-08-30 19:14:50 +00:00
Balló György
b108476b9e Updated Hungarian translation for Potlatch 1.2 2009-08-19 14:52:54 +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
55e8611653 add secondary_link 2009-08-05 08:51:08 +00:00
Richard Fairhurst
233f3ee527 Potlatch 1.2 2009-08-04 22:24:20 +00:00
Tom Hughes
e94d21f829 Remove bogus executable permissions. 2009-07-14 23:10:39 +00:00
Ævar Arnfjörð Bjarmason
47de08218f New Potlatch translations pulled in as a result of http://wiki.openstreetmap.org/index.php?title=Template%3APotlatch%2FTranslation&diff=302859&oldid=301148 2009-07-14 22:23:38 +00:00
Ævar Arnfjörð Bjarmason
85fe28cabf Updated Hungarian translation from the wiki 2009-07-14 22:06:12 +00:00
Ævar Arnfjörð Bjarmason
212d56ce88 Delete the old localised.yaml file Potlatch used before it was split into per-language files 2009-07-14 21:40:50 +00:00
Balló György
684ba8b26a Updated Hungarian translation of Potlatch 2009-07-13 15:47:51 +00:00
Balló György
866e982488 Updated Hungarian translation of Potlatch 2009-07-12 15:55:00 +00:00
Balló György
7488c5056a Updated Hungarian translation of Potlatch 2009-07-12 13:27:36 +00:00
Richard Fairhurst
1ef85668de and the accompanying SWF 2009-07-09 20:00:29 +00:00
Richard Fairhurst
369202787b Potlatch 1.1 (server code) 2009-07-08 20:52:02 +00:00
Claudius Henrichs
3ff00cf58e Added highway=road to Potlatch presets as "unknown road" 2009-06-02 13:09:43 +00:00
Richard Fairhurst
8100be1e8d Potlatch 1.0 2009-05-21 00:30:33 +00:00
Richard Fairhurst
e1005ce62f a few small fixes 2009-05-09 10:00:40 +00:00
Richard Fairhurst
8696d144ad Potlatch 0.11b 2009-05-04 23:37:06 +00:00
Richard Fairhurst
e827a04607 further work on 0.6 history (not quite complete yet) 2009-02-25 01:14:19 +00:00
Richard Fairhurst
ecefee485b various fixes/enhancements, including a couple to the 0.5 version 2008-11-25 00:15:30 +00:00
Shaun McDonald
797cbaab1e Covering the case of an entry not being found. More diary entry tests. 2008-11-12 18:48:58 +00:00
Richard Fairhurst
6ad0acf29a fix broken YAML 2008-10-24 14:35:01 +00:00
Richard Fairhurst
7aeead9175 Potlatch 0.10f 2008-10-23 08:42:07 +00:00
Richard Fairhurst
caa20ccc40 Potlatch 0.10e 2008-10-12 23:11:37 +00:00
Richard Fairhurst
ed2b100969 add railway=platform 2008-10-05 22:20:04 +00:00
Richard Fairhurst
97726826e1 Potlatch 0.10d 2008-10-05 00:21:35 +00:00
Richard Fairhurst
eb7862b4c6 Potlatch 0.10c 2008-09-18 17:04:28 +00:00
Richard Fairhurst
35ace2607b Potlatch 0.10a 2008-07-29 00:33:33 +00:00
Richard Fairhurst
62a1ec4748 Potlatch 0.10 2008-07-09 22:19:48 +00:00
Richard Fairhurst
f747951714 preset typo 2008-04-29 10:34:20 +00:00