mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tools: setup translations for sysprof-cli
This commit is contained in:
@ -117,6 +117,12 @@ main (gint argc,
|
||||
g_unix_signal_add (SIGINT, sigint_handler, main_loop);
|
||||
g_unix_signal_add (SIGTERM, sigint_handler, main_loop);
|
||||
|
||||
/* Set up gettext translations */
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
/* Before we start processing argv, look for "--" and take everything after
|
||||
* it as arguments as a "-c" replacement.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user