summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f8e9dc)
raw | patch | inline | side by side (parent: 1f8e9dc)
author | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 03:18:34 +0000 (04:18 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 03:18:34 +0000 (04:18 +0100) |
Print translator credits after the --version message.
po/POTFILES.in | patch | blob | history | |
src/options.c | patch | blob | history |
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ee07a18b4203da2e54a711f899ad1108d0e24824..687ad0d032594473c5d6ddc2065b6755e8034a39 100644 (file)
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
src/command.c
src/colors.c
src/conf.c
+src/options.c
diff --git a/src/options.c b/src/options.c
index 8a2ced94aaf8e80b1b921f7f63e4ab86a22c63df..7c82f7cefccba74739783ef895f8741621931b70 100644 (file)
--- a/src/options.c
+++ b/src/options.c
#include "charset.h"
#include "command.h"
#include "conf.h"
+#include "i18n.h"
#include <stdlib.h>
#include <stdio.h>
#endif
"\n");
+#ifndef NCMPC_MINI
+ if (strcmp("translator-credits", _("translator-credits")) != 0)
+ /* To translators: these credits are shown
+ when ncmpc is started with "--version" */
+ printf("\n%s\n", _("translator-credits"));
+#endif
exit(EXIT_SUCCESS);
case 'c': /* --colors */
#ifdef ENABLE_COLORS