rails.git
10 years agoRichardF forgot to nuke cz.yml in [17664]. Nuking
Ævar Arnfjörð Bjarmason [Thu, 1 Oct 2009 13:18:45 +0000 (13:18 +0000)]
RichardF forgot to nuke cz.yml in [17664]. Nuking

10 years agoPotlatch 1.2c
Richard Fairhurst [Thu, 1 Oct 2009 11:04:00 +0000 (11:04 +0000)]
Potlatch 1.2c

10 years agoThe 'more' message used in the history dialog (history.as) was missing
Ævar Arnfjörð Bjarmason [Thu, 1 Oct 2009 10:59:43 +0000 (10:59 +0000)]
The 'more' message used in the history dialog (history.as) was missing

10 years agoThis whitespace at the end of "Custom: " isn't needed. The layer
Ævar Arnfjörð Bjarmason [Thu, 1 Oct 2009 10:39:31 +0000 (10:39 +0000)]
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.

10 years agoFixed message key that was broken due to a broken regex I used during
Ævar Arnfjörð Bjarmason [Thu, 1 Oct 2009 10:21:12 +0000 (10:21 +0000)]
Fixed message key that was broken due to a broken regex I used during
importing. It had AS message params mixed up with it.

10 years agoshow buildings in pink
Richard Fairhurst [Wed, 30 Sep 2009 23:54:25 +0000 (23:54 +0000)]
show buildings in pink

10 years agoOpen up crossdomain policy to allow all headers from everywhere as I can't
Tom Hughes [Wed, 30 Sep 2009 23:47:26 +0000 (23:47 +0000)]
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.

10 years agoImport extra rails translations from http://github.com/svenfuchs/rails-i18n.
Tom Hughes [Wed, 30 Sep 2009 23:26:47 +0000 (23:26 +0000)]
Import extra rails translations from github.com/svenfuchs/rails-i18n.

10 years agocomment out dupe purging debug message
Ævar Arnfjörð Bjarmason [Wed, 30 Sep 2009 17:43:17 +0000 (17:43 +0000)]
comment out dupe purging debug message

10 years agocompile error in previous commit
Ævar Arnfjörð Bjarmason [Wed, 30 Sep 2009 17:43:02 +0000 (17:43 +0000)]
compile error in previous commit

10 years ago--cache option
Ævar Arnfjörð Bjarmason [Wed, 30 Sep 2009 17:42:06 +0000 (17:42 +0000)]
--cache option

10 years agoThere are a bunch of keys on Translatewiki that are equivalent to
Ævar Arnfjörð Bjarmason [Wed, 30 Sep 2009 11:04:16 +0000 (11:04 +0000)]
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.

10 years agoUpdated from Translatewiki with ''perl script/locale/merge-from-translatewiki''
Ævar Arnfjörð Bjarmason [Wed, 30 Sep 2009 10:58:00 +0000 (10:58 +0000)]
Updated from Translatewiki with ''perl script/locale/merge-from-translatewiki''

10 years agoUpdate language list.
Tom Hughes [Wed, 30 Sep 2009 08:50:21 +0000 (08:50 +0000)]
Update language list.

10 years agoAdd script to update config/languages.yml from translatewiki language list.
Tom Hughes [Wed, 30 Sep 2009 08:49:28 +0000 (08:49 +0000)]
Add script to update config/languages.yml from translatewiki language list.

10 years agoRename reload_languages to reload-languages for consistency.
Tom Hughes [Wed, 30 Sep 2009 08:49:00 +0000 (08:49 +0000)]
Rename reload_languages to reload-languages for consistency.

10 years agoRemove untranslated parts in he.yml
Translatewiki [Tue, 29 Sep 2009 17:32:01 +0000 (17:32 +0000)]
Remove untranslated parts in he.yml

10 years agoRevert r17851 and just give non-local flash clients access to
Tom Hughes [Tue, 29 Sep 2009 16:24:07 +0000 (16:24 +0000)]
Revert r17851 and just give non-local flash clients access to
the X_HTTP_METHOD_OVERRIDE header.

10 years agoCapitalize JavaScript as suggested on http://translatewiki.net/w/i.php?title=Special...
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 16:21:50 +0000 (16:21 +0000)]
Capitalize JavaScript as suggested on translatewiki.net/w/i.php?title=Special:Translate&task=review&group=out-osm&language=qqq&limit=2500

10 years agoMerged from Translatewiki with:
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 15:52:08 +0000 (15:52 +0000)]
Merged from Translatewiki with:
{{{
perl script/locale/merge-from-translatewiki
}}}

10 years agoMerge r17285 from the oauth branch - allow flash access to set headers, even when...
Andy Allan [Tue, 29 Sep 2009 14:18:33 +0000 (14:18 +0000)]
Merge r17285 from the oauth branch - allow flash access to set headers, even when hosted at non-openstreetmap domains

10 years ago * Reconstruct option
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 13:28:23 +0000 (13:28 +0000)]
 * Reconstruct option
 * I hate File::Basename and it hates absolute paths. I'm using my evil hack again

10 years agoActually make the last commit work. I thought Ruby's string interpolation syntax...
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 10:12:01 +0000 (10:12 +0000)]
Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently

10 years agoEscape user-supplied JavaScript. Fixes http://lists.openstreetmap.org/pipermail/talk...
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 09:23:11 +0000 (09:23 +0000)]
Escape user-supplied JavaScript. Fixes lists.openstreetmap.org/pipermail/talk/2009-September/042846.ht

10 years ago--locales-dir is now config/locales by default
Ævar Arnfjörð Bjarmason [Tue, 29 Sep 2009 09:00:53 +0000 (09:00 +0000)]
--locales-dir is now config/locales by default

10 years agoTests for [17838]
Thomas Wood [Tue, 29 Sep 2009 03:58:33 +0000 (03:58 +0000)]
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

10 years ago5 character patch to only output duplicated nodes once in a way/full call
Thomas Wood [Tue, 29 Sep 2009 02:55:35 +0000 (02:55 +0000)]
5 character patch to only output duplicated nodes once in a way/full call
Unit tests not run - problems on this system
Fixes #2327

10 years agoRemove corrupt message from Dutch translation.
Tom Hughes [Mon, 28 Sep 2009 21:34:10 +0000 (21:34 +0000)]
Remove corrupt message from Dutch translation.

10 years agoImporting new messages to existing languages from Translatewiki. See
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 21:02:47 +0000 (21:02 +0000)]
Importing new messages to existing languages from Translatewiki. See
also [17832].

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

I've manually gone through it and searched for errors. I didn't find
any.

10 years agomore SYNOPSIS instructions
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:52:53 +0000 (20:52 +0000)]
more SYNOPSIS instructions

10 years agoRemove comment saying when these files were generated
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:50:03 +0000 (20:50 +0000)]
Remove comment saying when these files were generated

10 years agoActualy having autogenerated timestamps at the top of files which are
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:43:48 +0000 (20:43 +0000)]
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..

10 years agoCommiting 26 new language translations (although some are really
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:38:39 +0000 (20:38 +0000)]
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
}}}

10 years agoReport on download progress
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:27:50 +0000 (20:27 +0000)]
Report on download progress

10 years ago--only-new option
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:25:19 +0000 (20:25 +0000)]
--only-new option

Don't spew so much debug output

10 years ago * Add more keys from the optional list that we don't want to ignor
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 20:17:36 +0000 (20:17 +0000)]
 * 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

10 years agoA hacky in-process script for merging translations from Translatewiki
Ævar Arnfjörð Bjarmason [Mon, 28 Sep 2009 19:06:34 +0000 (19:06 +0000)]
A hacky in-process script for merging translations from Translatewiki
while working around all the bugs in #2305

10 years agosmall fix
Jonas Krückel [Sun, 27 Sep 2009 14:15:53 +0000 (14:15 +0000)]
small fix

10 years agoEscape language codes before matching them in case they contain
Tom Hughes [Sat, 26 Sep 2009 22:39:09 +0000 (22:39 +0000)]
Escape language codes before matching them in case they contain
characters with special meaning in a regexp. Closes #2318.

10 years agoDeal with values which are arrays, before and after:
Ævar Arnfjörð Bjarmason [Sat, 26 Sep 2009 20:03:52 +0000 (20:03 +0000)]
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.

10 years agoUpdated Hungarian translation of OpenStreetMap website (Hu: -> HU: in wiki links)
Balló György [Fri, 25 Sep 2009 18:03:58 +0000 (18:03 +0000)]
Updated Hungarian translation of OpenStreetMap website (Hu: -> HU: in wiki links)

10 years agoUpdated Hungarian translation of OpenStreetMap website
Balló György [Fri, 25 Sep 2009 17:46:21 +0000 (17:46 +0000)]
Updated Hungarian translation of OpenStreetMap website

10 years agoFix comment typo.
Tom Hughes [Thu, 24 Sep 2009 23:27:45 +0000 (23:27 +0000)]
Fix comment typo.

10 years agoIgnore empty tags. Closes #2311.
Tom Hughes [Thu, 24 Sep 2009 23:27:13 +0000 (23:27 +0000)]
Ignore empty tags. Closes #2311.

10 years agoWrap GPX API calls with the API error handler, and make sure the create
Tom Hughes [Thu, 24 Sep 2009 23:15:35 +0000 (23:15 +0000)]
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.

10 years agoI moved Potlatch's locales but didn't update this, which broke all i18n
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 23:34:43 +0000 (23:34 +0000)]
I moved Potlatch's locales but didn't update this, which broke all i18n

10 years agoQuick hack to add --dump-flat to get a human-readable flat version of the hash
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 20:36:09 +0000 (20:36 +0000)]
Quick hack to add --dump-flat to get a human-readable flat version of the hash

10 years agoSome of these files were in ISO-8859-1, no idea how that happened.
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 18:14:30 +0000 (18:14 +0000)]
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
}}}

10 years agoRemoving zh-HANS: Just contained a few messages in English
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 18:09:00 +0000 (18:09 +0000)]
Removing zh-HANS: Just contained a few messages in English

10 years agoRemoved i18n messages which contained English - old crap from the wiki
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 18:08:01 +0000 (18:08 +0000)]
Removed i18n messages which contained English - old crap from the wiki

10 years agoMake the 'Advanced' menu translatable
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 18:03:20 +0000 (18:03 +0000)]
Make the 'Advanced' menu translatable

10 years agooops, removing debugging code
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 17:36:51 +0000 (17:36 +0000)]
oops, removing debugging code

10 years agoDelete redundant translations from localised files.
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 17:29:29 +0000 (17:29 +0000)]
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";
}
}}}

10 years agoUsed perl -pi -e 's/^.*?"action_createpoi":/ action_createpoi:/g' *yml
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 17:23:58 +0000 (17:23 +0000)]
Used perl -pi -e 's/^.*?"action_createpoi":/  action_createpoi:/g' *yml

10 years ago[2304]: Split the default English i18n parameter in Potlatch out to a YAML file
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 17:08:46 +0000 (17:08 +0000)]
[2304]: Split the default English i18n parameter in Potlatch out to a YAML file

10 years agoConvert all the Potlatch locale files to a rails-like format (to make
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 16:26:17 +0000 (16:26 +0000)]
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";
    }
}}}

10 years agodelete localised directory
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 16:05:56 +0000 (16:05 +0000)]
delete localised directory

10 years agoI'm hacking the Potlatch i18n system, moving the old files to the new location before...
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 16:05:09 +0000 (16:05 +0000)]
I'm hacking the Potlatch i18n system, moving the old files to the new location before I overwrite them to preserve history

10 years agoSyncing translations from the wiki. Hopefully for the last time :)
Ævar Arnfjörð Bjarmason [Wed, 23 Sep 2009 15:51:33 +0000 (15:51 +0000)]
Syncing translations from the wiki. Hopefully for the last time :)

10 years agoRemove remaining trailing spaces from translations.
Tom Hughes [Tue, 22 Sep 2009 20:15:09 +0000 (20:15 +0000)]
Remove remaining trailing spaces from translations.

10 years agoUse the list form for school instead of the colon
Ævar Arnfjörð Bjarmason [Tue, 22 Sep 2009 19:16:34 +0000 (19:16 +0000)]
Use the list form for school instead of the colon

10 years agoUse <br /> everywhere and not a mix of <br>, <br/> and <br /> so as to
Ævar Arnfjörð Bjarmason [Tue, 22 Sep 2009 12:40:59 +0000 (12:40 +0000)]
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.

10 years agoUpdate Vietnamese translation. Closes #2299.
Tom Hughes [Sun, 20 Sep 2009 16:47:19 +0000 (16:47 +0000)]
Update Vietnamese translation. Closes #2299.

10 years agoUse i18n() parameters for this JavaScript message instead of ad-hoc
Ævar Arnfjörð Bjarmason [Sun, 20 Sep 2009 10:41:57 +0000 (10:41 +0000)]
Use i18n() parameters for this JavaScript message instead of ad-hoc
string concatenation.

See [17712] for why I'm changing this.

10 years agoSee [17712] for why I'm changing this
Ævar Arnfjörð Bjarmason [Sun, 20 Sep 2009 10:25:31 +0000 (10:25 +0000)]
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.

10 years agoTranslatewiki doesn't support trailing whitespace in messages. So if
Ævar Arnfjörð Bjarmason [Sun, 20 Sep 2009 10:10:12 +0000 (10:10 +0000)]
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

10 years agoadd ability to specify custom background in the query string
Richard Fairhurst [Fri, 18 Sep 2009 14:11:18 +0000 (14:11 +0000)]
add ability to specify custom background in the query string

10 years agoWhen displaying objects in /browse/* and in the JavaScript "Data"
Ævar Arnfjörð Bjarmason [Thu, 17 Sep 2009 23:36:54 +0000 (23:36 +0000)]
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.

10 years ago"Athugasemd eftir Foo þann fimmtudaginn [...]" is grammatically
Ævar Arnfjörð Bjarmason [Thu, 17 Sep 2009 22:58:10 +0000 (22:58 +0000)]
"Athugasemd eftir Foo þann fimmtudaginn [...]" is grammatically
incorrect. Use "Athugasemd eftir Foo sett inn fimmtudaginn [...]"

10 years agoIcelandic day names should be in lower case
Ævar Arnfjörð Bjarmason [Thu, 17 Sep 2009 22:49:42 +0000 (22:49 +0000)]
Icelandic day names should be in lower case

10 years agoOr maybe this one. #2279. Ugh.
Richard Fairhurst [Thu, 17 Sep 2009 00:51:45 +0000 (00:51 +0000)]
Or maybe this one. #2279. Ugh.

10 years agoLocalisation
Richard Fairhurst [Thu, 17 Sep 2009 00:48:55 +0000 (00:48 +0000)]
Localisation

10 years agoPotlatch 1.2b
Richard Fairhurst [Thu, 17 Sep 2009 00:38:20 +0000 (00:38 +0000)]
Potlatch 1.2b

10 years agoDisplay the changeset comment (if any) as part of the description of
Tom Hughes [Tue, 15 Sep 2009 22:03:09 +0000 (22:03 +0000)]
Display the changeset comment (if any) as part of the description of
any object in the data browser. Closes #2282.

10 years agoUpdate be locale. Closes #2284.
Tom Hughes [Tue, 15 Sep 2009 20:20:21 +0000 (20:20 +0000)]
Update be locale. Closes #2284.

10 years agoRemove scale bar. Closes #1704.
Tom Hughes [Tue, 15 Sep 2009 16:01:50 +0000 (16:01 +0000)]
Remove scale bar. Closes #1704.

10 years agoSo the way [17620] did it sucked but [17624] broke it unless you
Ævar Arnfjörð Bjarmason [Mon, 14 Sep 2009 23:36:21 +0000 (23:36 +0000)]
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!

10 years agoauto_link() changeset comments in the global/user/bbox/etc history too
Ævar Arnfjörð Bjarmason [Mon, 14 Sep 2009 23:26:36 +0000 (23:26 +0000)]
auto_link() changeset comments in the global/user/bbox/etc history too
(as well as in changeset detail & atom feeds)

10 years agoUpdate Russian translation. Closes #2281.
Tom Hughes [Mon, 14 Sep 2009 23:22:10 +0000 (23:22 +0000)]
Update Russian translation. Closes #2281.

10 years agoOutput tags to the feed as raw HTML so that links are not escaped (any
Tom Hughes [Mon, 14 Sep 2009 23:17:52 +0000 (23:17 +0000)]
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.

10 years agoEscape tag values - there is no reason at all to render things which
Tom Hughes [Mon, 14 Sep 2009 23:17:02 +0000 (23:17 +0000)]
Escape tag values - there is no reason at all to render things which
might look like HTML tags in a tag value.

10 years agoImprove handling of the case where there is only one page of changesets.
Tom Hughes [Mon, 14 Sep 2009 23:04:06 +0000 (23:04 +0000)]
Improve handling of the case where there is only one page of changesets.

10 years agoWhile we don't have the sanitizing backend to safely solve ticket
Ævar Arnfjörð Bjarmason [Mon, 14 Sep 2009 21:08:17 +0000 (21:08 +0000)]
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.

10 years agoNow when all the entries fit on one page a trailing slash won't be
Ævar Arnfjörð Bjarmason [Mon, 14 Sep 2009 19:42:32 +0000 (19:42 +0000)]
Now when all the entries fit on one page a trailing slash won't be
included after "Showing page %d (%d of %d)"

10 years agoLink to username in "Send message to" message
Ævar Arnfjörð Bjarmason [Mon, 14 Sep 2009 19:32:29 +0000 (19:32 +0000)]
Link to username in "Send message to" message

10 years agoTreat an explicit public=0 argument as meaning private.
Tom Hughes [Sat, 12 Sep 2009 16:46:25 +0000 (16:46 +0000)]
Treat an explicit public=0 argument as meaning private.

10 years agoUpdate zh-TW translation. Closes #2272.
Tom Hughes [Sat, 12 Sep 2009 10:57:33 +0000 (10:57 +0000)]
Update zh-TW translation. Closes #2272.

10 years agooops, wrong e-mail address
Ævar Arnfjörð Bjarmason [Mon, 7 Sep 2009 19:29:25 +0000 (19:29 +0000)]
oops, wrong e-mail address

10 years agoAdd xid_to_int4() function for Postgres.
Tom Hughes [Mon, 7 Sep 2009 16:44:54 +0000 (16:44 +0000)]
Add xid_to_int4() function for Postgres.

10 years agoThere was no "Sorry not found" message for changesets so
Ævar Arnfjörð Bjarmason [Mon, 7 Sep 2009 12:16:17 +0000 (12:16 +0000)]
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."

10 years agocancel upload howler
Richard Fairhurst [Mon, 7 Sep 2009 11:16:35 +0000 (11:16 +0000)]
cancel upload howler

10 years agofix annoying retry bug, and fine-tune relations colours
Richard Fairhurst [Sun, 6 Sep 2009 23:54:02 +0000 (23:54 +0000)]
fix annoying retry bug, and fine-tune relations colours

10 years agofix menu issue spotted by randomjunk
Richard Fairhurst [Fri, 4 Sep 2009 14:51:48 +0000 (14:51 +0000)]
fix menu issue spotted by randomjunk

10 years agoWorkaround rails 2.3.4 bogus deprecation warnings.
Tom Hughes [Fri, 4 Sep 2009 10:52:58 +0000 (10:52 +0000)]
Workaround rails 2.3.4 bogus deprecation warnings.

10 years agoUpdate to rails 2.3.4 for security fixes.
Tom Hughes [Fri, 4 Sep 2009 08:45:38 +0000 (08:45 +0000)]
Update to rails 2.3.4 for security fixes.

10 years agoAdd support for reloading the language table.
Tom Hughes [Thu, 3 Sep 2009 21:55:42 +0000 (21:55 +0000)]
Add support for reloading the language table.

10 years agoAdd Guadeloupean Creole French translation of web site. Closes #2255.
Tom Hughes [Thu, 3 Sep 2009 21:31:34 +0000 (21:31 +0000)]
Add Guadeloupean Creole French translation of web site. Closes #2255.

10 years ago(binary)
Richard Fairhurst [Tue, 1 Sep 2009 14:38:52 +0000 (14:38 +0000)]
(binary)

10 years agotypo correction
Jonas Krückel [Tue, 1 Sep 2009 10:47:24 +0000 (10:47 +0000)]
typo correction

10 years agomore translations
Jonas Krückel [Tue, 1 Sep 2009 10:37:47 +0000 (10:37 +0000)]
more translations