Implement gettext localization

Bug #119723 reported by David Paleino
4
Affects Status Importance Assigned to Milestone
pastebinit
Wishlist
David Paleino

Bug Description

I'd like to see localization implemented in pastebinit.
It can be done using gettext, with proper .po files.

I propose myself to take this task ;-)

Cheers,
David

David Paleino (dpaleino)
Changed in pastebinit:
assignee: nobody → dpaleino
importance: Undecided → Wishlist
Revision history for this message
David Paleino (dpaleino) wrote :

I've already implemented it on my local copy, it works _great_. Here's a sample in Italian:

$ ./pastebinit
Errore, nessun argomento specificato!

pastebinit v0.8.1
Argomenti richiesti:
        -i <nomefile> (o attraverso una pipe)
Argomenti opzionali:
        -b <indirizzo pastebin:default è 'http://paste.stgraber.org'>
        -a <autore:default è 'http://paste.stgraber.org'>
        -f <formato:default è 'text'>
        -r <ID invii genitori:default è nessuno>
Argomenti opzionali supportati solo da 1t2.us e paste.stgraber.org:
        -j <jabberid per le notifiche:default è ''>
        -m <permatag per tutte le versioni di un post:default è nessuno>
        -t <titolo del paste:default è nessuno>
        -u <usename> -p <password>

I'm waiting for Stéphane and Daniel approval to commit my changes to bzr.

Kind regards,
David

Revision history for this message
Stéphane Graber (stgraber) wrote :

Please upload, the next thing will be to use Rosetta (Launchpad translation component) so people can easily translate it.

Revision history for this message
David Paleino (dpaleino) wrote :

Uploaded to bzr repository.

I hope this new "feature" will help our users ;-)

I've changed the version number to 0.8.2, as it seems to me a major improvement: please, feel free to "downgrade" it to 0.8.1-0ubuntu3 if you believe it's better so.

Kind regards,
David

P.S.: I'll study how Rosetta works, probably we just need to upload the .pot file, i.e. rosetta is a "web interface" for .po editing. Maybe rosetta outputs normal .po files, which we can work with. ;-)

Changed in pastebinit:
status: Unconfirmed → Fix Committed
Revision history for this message
Stéphane Graber (stgraber) wrote :

For Rosetta, you can upload the .pot file here : https://translations.launchpad.net/pastebinit/trunk/+translations-upload

Revision history for this message
David Paleino (dpaleino) wrote : Re: [Bug 119723] Re: Implement gettext localization

Il giorno Mon, 11 Jun 2007 08:29:29 -0000
Stéphane Graber <email address hidden> ha scritto:

> For Rosetta, you can upload the .pot file here :
> https://translations.launchpad.net/pastebinit/trunk/+translations-upload

Not allowed here

Sorry, you don't have permission to access this page.

You are logged in as David Paleino.

Maybe it's you the only authorized to upload translations. Or,
authorize the whole team :-)

--
 . ''`. Debian maintainer | http://snipurl.com/gofoxygo/
 : :' : Linuxer #334216 | http://www.hanskalabs.net/
 `. `'` GPG: 1392B174 | http://www.debianizzati.org/
   `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

David Paleino (dpaleino)
Changed in pastebinit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers