Using package variable to refere internally to live-helper.
This commit is contained in:
parent
d0276d0b16
commit
2b5f0a7a07
|
@ -8,6 +8,7 @@
|
|||
# under certain conditions; see COPYING for details.
|
||||
|
||||
PROGRAM="$(basename ${0})"
|
||||
PACKAGE="live-helper"
|
||||
VERSION="1.0.1"
|
||||
|
||||
PATH="${PWD}/scripts:${PATH}"
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
# This is free software, and you are welcome to redistribute it
|
||||
# under certain conditions; see COPYING for details.
|
||||
|
||||
if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PROGRAM}.mo
|
||||
if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PACKAGE}.mo
|
||||
then
|
||||
_L10N="enabled"
|
||||
|
||||
# gettext domain (.mo file name)
|
||||
TEXTDOMAIN="${PROGRAM}"
|
||||
TEXTDOMAIN="${PACKAGE}"
|
||||
export TEXTDOMAIN
|
||||
|
||||
# locale dir for gettext codes
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
Version ()
|
||||
{
|
||||
Echo "%s, version %s" "${PROGRAM}" "${VERSION}"
|
||||
Echo "This program is a part of live-helper."
|
||||
Echo "This program is a part of %s" "${PACKAGE}" "."
|
||||
echo
|
||||
Echo "Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org>"
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue