Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Hi Thomas, *,

On Wed, Nov 27, 2013 at 7:07 PM, Thomas Hackert <> wrote:
Hello Christian, *,
On Mittwoch, 27. November 2013 18:02 Christian Lohmaier wrote:
On Mon, Nov 25, 2013 at 6:10 PM, Christian Lohmaier
<> wrote:
On Sun, Nov 24, 2013 at 4:23 PM, Stanislav Horáček
<> wrote:

:-))) - here's the hacky script that is now run. It should save
about 12000 words.

Wow :)

<big snip>

Would it not be better to use some mechanism to ask, which user is
using this script ;?

well, as it is only used to update the files on the pootle server/not
meant to be run by translators, I don't care about that - just want a
name that is not used by something else :-))

foreach my $file (@files) {
print "Datei: $file\n";

"G" ... The whole text in English, and than "Datei" ;?

Yeah :-)

Thanks you for your work (though I have to nag a bit ... ;) ) :)
I hope, I will have time to test your scripts on my system the next
days ... ;)

See above - there should be no need for you to run the scripts - they
are run on the pootle server. German has the luck of being further up
in the alphabet (well, at least "de" is :-), so you should already see
progress there.


PS: fixed part of the script, otherwise it would miss hits when the
pattern shifts because of matches in commented out parts

                while(<GREP>) {
                        if (/^msgid/) {
                                $orig = $_;
                                $_ = <GREP>;
                                last unless $_;
                                if (/^msgstr/) {
                                        $translations{$orig} = $_;
                                } elsif (/^msgid/) {
                                } else {
                                        # either there is no
translation or it matches a commented-out entry
                                        print "$language - translation
doesn't start with msgstr! ($_)";
                close GREP;

Also forgot about ca-valencia (formerly ca_XV) that is not caught by
the script because the rename - but thankfully noticed myself :-)


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.