Re: [virt-tools-list] [virt-viewer] win32: Look up translations relative to installation directory

2018-04-24 Thread Daniel P . Berrangé
On Fri, Apr 20, 2018 at 12:36:18PM +0200, Christophe Fergeau wrote: > On Windows, we can't use bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); as > LOCALE_DIR is a compile-time constant, while the location of the > translations will be dependant on where the user installs virt-viewer. > This results

[virt-tools-list] [virt-viewer] win32: Look up translations relative to installation directory

2018-04-20 Thread Christophe Fergeau
On Windows, we can't use bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); as LOCALE_DIR is a compile-time constant, while the location of the translations will be dependant on where the user installs virt-viewer. This results in an untranslated virt-viewer UI on Windows. This commit calls