4842231 Build: use standard infrastructure for translations

15 files Authored by pspacek 7 years ago, Committed by mbasti 7 years ago,
    Build: use standard infrastructure for translations
    
    We now use standard framework generatedby "gettextize" utility.
    
    It has two limitations which I do not consider sufficiently important
    to invest into hand-made solution:
    
    1. It can automatically gather strings only from files which have some
       file extension like .c or .py. Right now we do not have any
       translatable strings in Python files without extensions. Given that these
       files will be removed from source tree and replaced with entry points
       from setuptools I do not see a reason to invest into supporting this.
    
    2. It does not automatically strip untranslated strings from po files.
       This is a manual step in mainteiner's in workflow anyway so I will
       add separate Makefile target for it later on.
    
    This commit contains gettextize instrastructure + filled-in files
    Makevars and POTFILES.in.
    
    https://fedorahosted.org/freeipa/ticket/6418
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
    
        
file modified
+14 -0
file modified
+3 -0
file modified
+9 -31
file modified
+1 -0
file removed
-225
file added
+80
file added
+627
file modified
+40 -78
file added
+58
file added
+10
file added
+22
file added
+23
file added
+6