From 55b61eebb1a133c639e862a6f3bfdfb0d95a1677 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 30 Nov 2012 22:12:32 +0100 Subject: [PATCH] libapse.lib: use libtranslate.lib Signed-off-by: Davide Madrisan --- lib/libapse.lib.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/libapse.lib.in b/lib/libapse.lib.in index 2fb1a25..664e5bb 100644 --- a/lib/libapse.lib.in +++ b/lib/libapse.lib.in @@ -21,11 +21,10 @@ me=("libapse.lib" "@version@" "@date@") exit 1; } . @libdir@/libspec.lib -if [[ -z "$LANG" && -r /etc/sysconfig/i18n ]]; then - . /etc/sysconfig/i18n - [ "$LANG" ] && export LANG -fi -TEXTDOMAIN="@package@"; export TEXTDOMAIN +[ -r @libdir@/libtranslate.lib ] || + { echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2 + exit 1; } +. @libdir@/libtranslate.lib # function apse.cmpversion() # compare two version