aboutsummaryrefslogtreecommitdiff
path: root/libq
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-06-27 21:17:23 +0200
committerFabian Groffen <grobian@gentoo.org>2024-06-27 21:17:23 +0200
commit092dbac3c93d4a5f6fc2e5d496e17a0405c950a7 (patch)
tree5615ba34b47488d2463eac8110d4c492c9e616f8 /libq
parentqwhich: add -r option to limit search to a repository (diff)
downloadportage-utils-092dbac3c93d4a5f6fc2e5d496e17a0405c950a7.tar.gz
portage-utils-092dbac3c93d4a5f6fc2e5d496e17a0405c950a7.tar.bz2
portage-utils-092dbac3c93d4a5f6fc2e5d496e17a0405c950a7.zip
*: remove i18n/gettext support
This looked very rudimentary, and half, there were no translations, and not all strings were covered. It was never enabled, so dummy for many releases. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'libq')
-rw-r--r--libq/i18n.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/libq/i18n.h b/libq/i18n.h
deleted file mode 100644
index 50f36ea8..00000000
--- a/libq/i18n.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _I18N_H
-#define _I18N_H
-
-#if ENABLE_NLS
-# include <locale.h>
-# include <libintl.h>
-# define _(String) gettext (String)
-# define decimal_point localeconv()->decimal_point
-#else
-# define _(String) (String)
-# define setlocale(x,y)
-# define bindtextdomain(x,y)
-# define textdomain(x)
-# define decimal_point "."
-#endif
-
-#endif