duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [patch #6700] Make duplicity translatable


From: Michael Terry
Subject: [Duplicity-tracker] [patch #6700] Make duplicity translatable
Date: Sat, 20 Dec 2008 05:06:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5

URL:
  <http://savannah.nongnu.org/patch/?6700>

                 Summary: Make duplicity translatable
                 Project: duplicity
            Submitted by: mikix
            Submitted on: Sat 20 Dec 2008 12:05:58 AM EST
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The attached patch and files make duplicity translatable.

It adds a runtime dependency on the gettext python module, and a build-time
dependency on the python-distutils-extra package.

I've included a sample (exceedingly partial, mostly just --help) translation
into Ido (a not-very-popular constructed language).

Going forward, any user-visible string should be surrounded with the _()
function (which is an alias for the gettext.gettext() function).

Also be aware of the gettext.ngettext() function for use with plural forms. 
There are several examples of it in the patch.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 20 Dec 2008 12:05:58 AM EST  Name: gettext.diff  Size: 69kB   By:
mikix

<http://savannah.nongnu.org/patch/download.php?file_id=17095>
-------------------------------------------------------
Date: Sat 20 Dec 2008 12:05:58 AM EST  Name: podir.tar.bz2  Size: 6kB   By:
mikix

<http://savannah.nongnu.org/patch/download.php?file_id=17096>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6700>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]