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/
_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker