[nautilus-sendto] main: Fix help messages in some locales
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] main: Fix help messages in some locales
- Date: Mon, 11 Jan 2016 10:30:45 +0000 (UTC)
commit 4b6a5146068e5c4f0d60aabbf2901bc9a9bce4a2
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Jan 11 14:34:50 2016 +0800
main: Fix help messages in some locales
Call setlocale() first thing in the main() function
https://bugzilla.gnome.org/show_bug.cgi?id=760433
src/nautilus-sendto.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-sendto.c b/src/nautilus-sendto.c
index c0b6fea..c804c31 100644
--- a/src/nautilus-sendto.c
+++ b/src/nautilus-sendto.c
@@ -497,6 +497,7 @@ int main (int argc, char **argv)
NautilusSendto *nst;
int ret = 0;
+ setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]