[gnome-keysign: 22/22] setup: import translate_appdata_file and translate_desktop_file



commit 216c3677e68960afc517edc00529323e85909323
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Thu Oct 24 13:16:35 2019 +0200

    setup: import translate_appdata_file and translate_desktop_file
    
    oops. This hopefully fixes an installation error.

 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/setup.py b/setup.py
index 662117b..456f967 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ class BuildWithCompile(build):
     sub_commands = [('compile_catalog', None)] + build.sub_commands
 
     def run(self):
-        # from babelglade import translate_desktop_file
+        from babelglade.translate import translate_desktop_file, translate_appdata_file
         translate_desktop_file('data/org.gnome.Keysign.raw.desktop', 'data/org.gnome.Keysign.desktop', 
'keysign/locale')
         translate_appdata_file('data/org.gnome.Keysign.raw.appdata.xml', 
'data/org.gnome.Keysign.appdata.xml', 'keysign/locale')
         build.run(self)


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