libmalcontent-ui: Use library i18n functions

Rather than application i18n functions and `#include`s. This ensures
that the correct translation domain is used.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-04-27 11:55:10 +01:00
parent 0d31a38855
commit 3556813c55
4 changed files with 10 additions and 4 deletions

View file

@ -20,11 +20,13 @@
* - Philip Withnall <withnall@endlessm.com>
*/
#include "config.h"
#include <libmalcontent/malcontent.h>
#include <locale.h>
#include <gio/gio.h>
#include <gio/gdesktopappinfo.h>
#include <glib/gi18n.h>
#include <glib/gi18n-lib.h>
#include <strings.h>
#include "gs-content-rating.h"