[Xfce4-commits] <gigolo:master> And sort the list of available languages before writing them into the LINGUAS file

Enrico Tröger noreply at xfce.org
Mon Jan 18 00:04:02 CET 2010


Updating branch refs/heads/master
         to fe79d1bf25ac86d5472a1870196f6f72c750dd04 (commit)
       from e8e5b30a18d3bfac3f3b3a7e1d74f80add23f618 (commit)

commit fe79d1bf25ac86d5472a1870196f6f72c750dd04
Author: Enrico Tröger <enrico at xfce.org>
Date:   Sun Jan 17 18:53:45 2010 +0100

    And sort the list of available languages before writing them into the LINGUAS file
    
    This is not necessary at all but just nice

 wscript |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wscript b/wscript
index 0889e7d..973841e 100644
--- a/wscript
+++ b/wscript
@@ -92,6 +92,7 @@ def write_linguas_file(self):
 		linguas = Build.bld.env['LINGUAS']
 	else:
 		files = os.listdir('%s/po' % self.path.abspath())
+		files.sort()
 		for f in files:
 			if f.endswith('.po'):
 				linguas += '%s ' % f[:-3]



More information about the Xfce4-commits mailing list