summaryrefslogtreecommitdiff
path: root/po/guix/POTFILES.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-10 17:48:16 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-10 21:58:16 +0200
commit7887bcbf56f8ef154ba987e67e457c8695254fa5 (patch)
tree138845ef178a846e452174811dde755cb21b9423 /po/guix/POTFILES.in
parent3dbb0e5f8b9e8445818ca31861488666b948ce50 (diff)
downloadpatches-7887bcbf56f8ef154ba987e67e457c8695254fa5.tar
patches-7887bcbf56f8ef154ba987e67e457c8695254fa5.tar.gz
daemon: Internationalize guix-daemon.
* nix/nix-daemon/guix-daemon.cc (n_, _): New macros. (guix_textdomain): New variable. (doc): Use 'n_'. (options): Likewise, and lowercase messages. (argp): Add initializer for 'argp_domain' field. (parse_opt): Use '_' for messages. (main): Likewise, and add calls to 'setlocale', 'bindtextdomain', and 'textdomain'. * daemon.am (guix_daemon_CPPFLAGS): Add -DLOCALEDIR. * po/guix/Makevars (XGETTEXT_OPTIONS): Remove '--language' option. Add '--keyword=n_'. * po/guix/POTFILES.in: Add guix-daemon.cc.
Diffstat (limited to 'po/guix/POTFILES.in')
-rw-r--r--po/guix/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in
index 59f353e427..4f27f54d6c 100644
--- a/po/guix/POTFILES.in
+++ b/po/guix/POTFILES.in
@@ -20,3 +20,4 @@ guix/gnu-maintenance.scm
guix/ui.scm
guix/http-client.scm
guix/nar.scm
+nix/nix-daemon/guix-daemon.cc