translation infrastructure for i2prouter script

This commit is contained in:
zzz
2012-01-13 22:26:35 +00:00
parent 4ad6d699e7
commit ba5be7449b
7 changed files with 967 additions and 7 deletions

View File

@ -369,6 +369,14 @@
<ant dir="apps/susidns/src/" target="poupdate" />
<ant dir="apps/susimail/" target="poupdate" />
<ant dir="apps/desktopgui" target="poupdate" />
<ant dir="installer/resources/locale" target="poupdate" />
</target>
<target name="prep-script-translation" >
<ant dir="installer/resources/locale" target="bundle" />
<copy todir="pkg-temp/locale/">
<fileset dir="installer/resources/locale/mo/" />
</copy>
</target>
<target name="javadoc" depends="getReleaseNumber, getBuildNumber" >
@ -518,6 +526,7 @@
<ant dir="apps/systray/java/" target="distclean" />
<ant dir="apps/i2psnark/java/" target="distclean" />
<ant dir="apps/jetty/" target="distclean" />
<ant dir="installer/resources/locale" target="distclean" />
<!--
NOTE! We need to turn off the default excludes for these
patterns to work.
@ -595,7 +604,7 @@
<copy file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" />
</target>
<target name="preppkg-unix" depends="preppkg-base">
<target name="preppkg-unix" depends="preppkg-base, prep-script-translation" >
<copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
<!-- <copy file="apps/i2psnark/launch-i2psnark" todir="pkg-temp/" /> old feature that per zzz isn't used-->
<copy file="installer/resources/eepget" todir="pkg-temp/" />
@ -877,7 +886,8 @@
<zip destfile="i2pupdate.zip" basedir="pkg-temp" />
</target>
<target name="prepupdate" depends="build2, prepupdateSmall, prepConsoleDocUpdates, prepCertificates">
<!-- script translation added in 0.8.13, so don't need updates until .14, but put it in now so we don't forget -->
<target name="prepupdate" depends="build2, prepupdateSmall, prepConsoleDocUpdates, prepCertificates, prep-script-translation">
<copy file="build/BOB.jar" todir="pkg-temp/lib/" />
<copy file="build/sam.jar" todir="pkg-temp/lib/" />
<copy file="build/i2psnark.jar" todir="pkg-temp/lib" />

View File

@ -188,6 +188,8 @@
<args><arg value="$INSTALL_PATH/Start I2P Router.app" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/man" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/locale" /></args></executable>
<!-- Placeholder for an OSX 'shortcut' to the router console
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/I2P Router Console.webloc" /></args></executable>

View File

@ -38,6 +38,10 @@ I2PTEMP="%SYSTEM_java_io_tmpdir"
APP_NAME="i2p"
APP_LONG_NAME="I2P Service"
# gettext - todo find it in the path, default to /bin/false?
# fallback to echo is below, we can't set it to echo here.
GETTEXT=/usr/bin/gettext
# If specified, the Wrapper will be run as the specified user.
# IMPORTANT - Make sure that the user has the required privileges to write
# the PID file and wrapper.log files. Failure to be able to write the log
@ -461,13 +465,17 @@ fi
gettext() {
# TODO provide translations and call external gettext.
# For now, don't attempt to translate via the wrapper,
# Call external gettext using our own translation files.
# Don't attempt to translate via the wrapper,
# it probably isn't supported in the community edition.
#"$WRAPPER_CMD" --translate "$1" "$WRAPPER_CONF" 2>/dev/null
#if [ $? != 0 ] ; then
if [ "X${LANG#en}" = "X$LANG" ] ; then
TEXTDOMAINDIR=$I2P/locale $GETTEXT -d i2prouter "$1"
if [ $? != 0 ] ; then
echo "$1"
fi
else
echo "$1"
#fi
fi
}
outputFile() {

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="i2prouter" default="bundle" basedir=".">
<target name="bundle" >
<mkdir dir="mo" />
<!-- Update the messages_*.po files.
We need to supply the bat file for windows, and then change the fail property to true -->
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
<arg value="./bundle-messages.sh" />
</exec>
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >
<arg value="./bundle-messages.sh" />
</exec>
<!-- multi-lang is optional -->
<exec executable="sh" osfamily="windows" failifexecutionfails="false" >
<arg value="./bundle-messages.sh" />
</exec>
</target>
<target name="poupdate" >
<!-- Update the messages_*.po files. -->
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
<arg value="./bundle-messages.sh" />
<arg value="-p" />
</exec>
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
<arg value="./bundle-messages.sh" />
<arg value="-p" />
</exec>
<exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
<arg value="./bundle-messages.sh" />
<arg value="-p" />
</exec>
</target>
<target name="clean">
<delete dir="mo" />
</target>
<target name="distclean" depends="clean" />
</project>

View File

@ -0,0 +1,99 @@
#
# Update messages_xx.po and .mo files
# Requires installed programs xgettext, msgfmt, msgmerge, and find.
#
# usage:
# bundle-messages.sh (generates the resource bundle from the .po file)
# bundle-messages.sh -p (updates the .po file from the source tags, then generates the resource bundle)
#
# zzz - public domain
#
TMPFILE=filelist.txt
export TZ=UTC
RC=0
if [ "$1" = "-p" ]
then
POUPDATE=1
fi
# on windows, one must specify the path of commnad find
# since windows has its own retarded version of find.
if which find|grep -q -i windows ; then
export PATH=.:/bin:/usr/local/bin:$PATH
fi
# Fast mode - update ondemond
# set LG2 to the language you need in envrionment varibales to enable this
JPATHS=".."
for i in po/messages_*.po
do
# get language
LG=${i#po/messages_}
LG=${LG%.po}
# skip, if specified
if [ $LG2 ]; then
[ $LG != $LG2 ] && continue || echo INFO: Language update is set to [$LG2] only.
fi
if [ "$POUPDATE" = "1" ]
then
# make list of java files newer than the .po file
find $JPATHS -maxdepth 1 -name i2prouter -newer $i > $TMPFILE
fi
if [ -s mo/$LG/LC_MESSAGES/i2prouter.mo -a \
mo/$LG/LC_MESSAGES/i2prouter.mo -nt $i -a \
! -s $TMPFILE ]
then
continue
fi
if [ "$POUPDATE" = "1" ]
then
echo "Updating the $i file from the tags..."
# extract strings from files, and update messages.po files
find $JPATHS -maxdepth 1 -name i2prouter > $TMPFILE
xgettext -f $TMPFILE -F -L Shell --from-code=UTF-8 \
-o ${i}t
if [ $? -ne 0 ]
then
echo "ERROR - xgettext failed on ${i}, not updating translations"
rm -f ${i}t
RC=1
break
fi
msgmerge -U --backup=none $i ${i}t
if [ $? -ne 0 ]
then
echo "ERROR - msgmerge failed on ${i}, not updating translations"
rm -f ${i}t
RC=1
break
fi
rm -f ${i}t
# so we don't do this again
touch $i
fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating $LG ResourceBundle..."
# convert to class files in build/obj
mkdir -p mo/$LG/LC_MESSAGES
msgfmt --statistics -o mo/$LG/LC_MESSAGES/i2prouter.mo $i
if [ $? -ne 0 ]
then
echo "ERROR - msgfmt failed on ${i}, not updating translations"
# msgfmt leaves the class file there so the build would work the next time
rm -rf mo/$LG/LC_MESSAGES
RC=1
break
fi
fi
done
rm -f $TMPFILE
exit $RC

View File

@ -0,0 +1,400 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-01-11 14:27+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../i2prouter:328
msgid "Unable to locate \"tr\"."
msgstr ""
#: ../i2prouter:329 ../i2prouter:634
msgid ""
"Please report this message along with the location of the command on your "
"system."
msgstr ""
#: ../i2prouter:483
msgid " $1 Found but not executable."
msgstr ""
#: ../i2prouter:542
msgid "Unable to locate any of the following binaries:"
msgstr ""
#: ../i2prouter:633
msgid "Unable to locate \"id\"."
msgstr ""
#: ../i2prouter:773
#, sh-format
msgid "Removed stale pid file: $PIDFILE"
msgstr ""
#: ../i2prouter:778
#, sh-format
msgid "Cannot read $PIDFILE."
msgstr ""
#: ../i2prouter:867 ../i2prouter:893 ../i2prouter:967 ../i2prouter:995
#: ../i2prouter:1018
#, sh-format
msgid "$APP_LONG_NAME is already running."
msgstr ""
#: ../i2prouter:878
#, sh-format
msgid "Running $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:900
#, sh-format
msgid "Waiting for $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:947
#, sh-format
msgid " WARNING: $APP_LONG_NAME may have failed to start."
msgstr ""
#: ../i2prouter:950
#, sh-format
msgid " running: PID:$pid"
msgstr ""
#: ../i2prouter:959
#, sh-format
msgid ""
"Starting $APP_LONG_NAME. Detected Mac OSX and installed launchd daemon."
msgstr ""
#: ../i2prouter:961 ../i2prouter:989 ../i2prouter:1176 ../i2prouter:1372
msgid "Must be root to perform this action."
msgstr ""
#: ../i2prouter:987
#, sh-format
msgid "Starting $APP_LONG_NAME. Detected Linux and installed upstart."
msgstr ""
#: ../i2prouter:1005
#, sh-format
msgid "Starting $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1029
#, sh-format
msgid "Stopping $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1033 ../i2prouter:1101 ../i2prouter:1520
#, sh-format
msgid "$APP_LONG_NAME was not running."
msgstr ""
#: ../i2prouter:1046 ../i2prouter:1054 ../i2prouter:1116 ../i2prouter:1124
#, sh-format
msgid "Unable to stop $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1072
#, sh-format
msgid "Waiting for $APP_LONG_NAME to exit..."
msgstr ""
#: ../i2prouter:1086
#, sh-format
msgid "Failed to stop $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1089
#, sh-format
msgid "Stopped $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1097
#, sh-format
msgid "Stopping $APP_LONG_NAME gracefully..."
msgstr ""
#: ../i2prouter:1132
#, sh-format
msgid "Pausing $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1136
#, sh-format
msgid "Resuming $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1143
#, sh-format
msgid "$APP_LONG_NAME is not running."
msgstr ""
#: ../i2prouter:1148
#, sh-format
msgid "$APP_LONG_NAME is running: PID:$pid"
msgstr ""
#: ../i2prouter:1151
#, sh-format
msgid "$APP_LONG_NAME is running: PID:$pid, Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1158
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon using upstart.."
msgstr ""
#: ../i2prouter:1160
#, sh-format
msgid " a custom upstart conf file ${APP_NAME}.conf found"
msgstr ""
#: ../i2prouter:1163
msgid " creating default upstart conf file.."
msgstr ""
#: ../i2prouter:1181 ../i2prouter:1378
msgid "Detected Solaris:"
msgstr ""
#: ../i2prouter:1183 ../i2prouter:1195 ../i2prouter:1214 ../i2prouter:1225
#: ../i2prouter:1239 ../i2prouter:1253 ../i2prouter:1281 ../i2prouter:1319
#: ../i2prouter:1354
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed."
msgstr ""
#: ../i2prouter:1186 ../i2prouter:1201 ../i2prouter:1217 ../i2prouter:1242
#: ../i2prouter:1256 ../i2prouter:1270 ../i2prouter:1284 ../i2prouter:1322
#: ../i2prouter:1357
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon.."
msgstr ""
#: ../i2prouter:1193 ../i2prouter:1391
msgid "Detected RHEL or Fedora:"
msgstr ""
#: ../i2prouter:1208
msgid "Detected Arch Linux:"
msgstr ""
#: ../i2prouter:1209
msgid "Installing as a daemon is not yet supported in Arch Linux."
msgstr ""
#: ../i2prouter:1212 ../i2prouter:1405
msgid "Detected SuSE or SLES:"
msgstr ""
#: ../i2prouter:1223 ../i2prouter:1415
msgid "Detected Debian-based distribution:"
msgstr ""
#: ../i2prouter:1231
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon using init.d.."
msgstr ""
#: ../i2prouter:1237 ../i2prouter:1428
msgid "Detected Linux:"
msgstr ""
#: ../i2prouter:1251 ../i2prouter:1441
msgid "Detected HP-UX:"
msgstr ""
#: ../i2prouter:1262 ../i2prouter:1453
msgid "Detected AIX:"
msgstr ""
#: ../i2prouter:1264
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed as rc.d script."
msgstr ""
#: ../i2prouter:1267
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed as SRC service."
msgstr ""
#: ../i2prouter:1272
msgid ""
" The task /usr/sbin/install_assist was found in the inittab, this might "
"cause problems for all subsequent tasks to launch at this process is known "
"to block the init task. Please make sure this task is not needed anymore and "
"remove/deactivate it."
msgstr ""
#: ../i2prouter:1279 ../i2prouter:1471
msgid "Detected FreeBSD:"
msgstr ""
#: ../i2prouter:1317 ../i2prouter:1484
msgid "Detected Mac OSX:"
msgstr ""
#: ../i2prouter:1352 ../i2prouter:1498
msgid "Detected z/OS:"
msgstr ""
#: ../i2prouter:1364
#, sh-format
msgid "Install not currently supported for $DIST_OS"
msgstr ""
#: ../i2prouter:1380 ../i2prouter:1393 ../i2prouter:1407 ../i2prouter:1430
#: ../i2prouter:1443 ../i2prouter:1455 ../i2prouter:1473 ../i2prouter:1486
#: ../i2prouter:1500
#, sh-format
msgid " Removing $APP_LONG_NAME daemon..."
msgstr ""
#: ../i2prouter:1386 ../i2prouter:1401 ../i2prouter:1411 ../i2prouter:1424
#: ../i2prouter:1436 ../i2prouter:1449 ../i2prouter:1467 ../i2prouter:1480
#: ../i2prouter:1494 ../i2prouter:1505
#, sh-format
msgid " The $APP_LONG_NAME daemon is not currently installed."
msgstr ""
#: ../i2prouter:1398 ../i2prouter:1421
#, sh-format
msgid " Removing $APP_LONG_NAME daemon from upstart..."
msgstr ""
#: ../i2prouter:1417
#, sh-format
msgid " Removing $APP_LONG_NAME daemon from init.d..."
msgstr ""
#: ../i2prouter:1509
#, sh-format
msgid "Remove not currently supported for $DIST_OS"
msgstr ""
#: ../i2prouter:1516
#, sh-format
msgid "Dumping $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1526
#, sh-format
msgid "Failed to dump $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1529
#, sh-format
msgid "Dumped $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1539
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:Stopped"
msgstr ""
#: ../i2prouter:1543
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:Running"
msgstr ""
#: ../i2prouter:1546
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1556
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:Stopped"
msgstr ""
#: ../i2prouter:1560
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:Running"
msgstr ""
#: ../i2prouter:1563
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1573
msgid "Unexpected command: $1"
msgstr ""
#: ../i2prouter:1577
msgid "Usage: "
msgstr ""
#: ../i2prouter:1604
msgid "Commands:"
msgstr ""
#: ../i2prouter:1605
msgid " console Launch in the current console."
msgstr ""
#: ../i2prouter:1606
msgid " start Start in the background as a daemon process."
msgstr ""
#: ../i2prouter:1607
msgid " stop Stop if running as a daemon or in another console."
msgstr ""
#: ../i2prouter:1608
msgid " graceful Stop gracefully, may take up to 11 minutes."
msgstr ""
#: ../i2prouter:1609
msgid " restart Stop if running and then start."
msgstr ""
#: ../i2prouter:1610
msgid " condrestart Restart only if already running."
msgstr ""
#: ../i2prouter:1612
msgid " pause Pause if running."
msgstr ""
#: ../i2prouter:1613
msgid " resume Resume if paused."
msgstr ""
#: ../i2prouter:1615
msgid " status Query the current status."
msgstr ""
#: ../i2prouter:1616
msgid " install Install to start automatically when system boots."
msgstr ""
#: ../i2prouter:1617
msgid " remove Uninstall."
msgstr ""
#: ../i2prouter:1618
msgid " dump Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1622
msgid ""
"JavaAppArgs: Zero or more arguments which will be passed to the Java "
"application."
msgstr ""

View File

@ -0,0 +1,400 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-01-11 14:27+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../i2prouter:328
msgid "Unable to locate \"tr\"."
msgstr ""
#: ../i2prouter:329 ../i2prouter:634
msgid ""
"Please report this message along with the location of the command on your "
"system."
msgstr ""
#: ../i2prouter:483
msgid " $1 Found but not executable."
msgstr ""
#: ../i2prouter:542
msgid "Unable to locate any of the following binaries:"
msgstr ""
#: ../i2prouter:633
msgid "Unable to locate \"id\"."
msgstr ""
#: ../i2prouter:773
#, sh-format
msgid "Removed stale pid file: $PIDFILE"
msgstr ""
#: ../i2prouter:778
#, sh-format
msgid "Cannot read $PIDFILE."
msgstr ""
#: ../i2prouter:867 ../i2prouter:893 ../i2prouter:967 ../i2prouter:995
#: ../i2prouter:1018
#, sh-format
msgid "$APP_LONG_NAME is already running."
msgstr ""
#: ../i2prouter:878
#, sh-format
msgid "Running $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:900
#, sh-format
msgid "Waiting for $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:947
#, sh-format
msgid " WARNING: $APP_LONG_NAME may have failed to start."
msgstr ""
#: ../i2prouter:950
#, sh-format
msgid " running: PID:$pid"
msgstr ""
#: ../i2prouter:959
#, sh-format
msgid ""
"Starting $APP_LONG_NAME. Detected Mac OSX and installed launchd daemon."
msgstr ""
#: ../i2prouter:961 ../i2prouter:989 ../i2prouter:1176 ../i2prouter:1372
msgid "Must be root to perform this action."
msgstr ""
#: ../i2prouter:987
#, sh-format
msgid "Starting $APP_LONG_NAME. Detected Linux and installed upstart."
msgstr ""
#: ../i2prouter:1005
#, sh-format
msgid "Starting $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1029
#, sh-format
msgid "Stopping $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1033 ../i2prouter:1101 ../i2prouter:1520
#, sh-format
msgid "$APP_LONG_NAME was not running."
msgstr ""
#: ../i2prouter:1046 ../i2prouter:1054 ../i2prouter:1116 ../i2prouter:1124
#, sh-format
msgid "Unable to stop $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1072
#, sh-format
msgid "Waiting for $APP_LONG_NAME to exit..."
msgstr ""
#: ../i2prouter:1086
#, sh-format
msgid "Failed to stop $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1089
#, sh-format
msgid "Stopped $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1097
#, sh-format
msgid "Stopping $APP_LONG_NAME gracefully..."
msgstr ""
#: ../i2prouter:1132
#, sh-format
msgid "Pausing $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1136
#, sh-format
msgid "Resuming $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1143
#, sh-format
msgid "$APP_LONG_NAME is not running."
msgstr ""
#: ../i2prouter:1148
#, sh-format
msgid "$APP_LONG_NAME is running: PID:$pid"
msgstr ""
#: ../i2prouter:1151
#, sh-format
msgid "$APP_LONG_NAME is running: PID:$pid, Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1158
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon using upstart.."
msgstr ""
#: ../i2prouter:1160
#, sh-format
msgid " a custom upstart conf file ${APP_NAME}.conf found"
msgstr ""
#: ../i2prouter:1163
msgid " creating default upstart conf file.."
msgstr ""
#: ../i2prouter:1181 ../i2prouter:1378
msgid "Detected Solaris:"
msgstr ""
#: ../i2prouter:1183 ../i2prouter:1195 ../i2prouter:1214 ../i2prouter:1225
#: ../i2prouter:1239 ../i2prouter:1253 ../i2prouter:1281 ../i2prouter:1319
#: ../i2prouter:1354
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed."
msgstr ""
#: ../i2prouter:1186 ../i2prouter:1201 ../i2prouter:1217 ../i2prouter:1242
#: ../i2prouter:1256 ../i2prouter:1270 ../i2prouter:1284 ../i2prouter:1322
#: ../i2prouter:1357
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon.."
msgstr ""
#: ../i2prouter:1193 ../i2prouter:1391
msgid "Detected RHEL or Fedora:"
msgstr ""
#: ../i2prouter:1208
msgid "Detected Arch Linux:"
msgstr ""
#: ../i2prouter:1209
msgid "Installing as a daemon is not yet supported in Arch Linux."
msgstr ""
#: ../i2prouter:1212 ../i2prouter:1405
msgid "Detected SuSE or SLES:"
msgstr ""
#: ../i2prouter:1223 ../i2prouter:1415
msgid "Detected Debian-based distribution:"
msgstr ""
#: ../i2prouter:1231
#, sh-format
msgid " Installing the $APP_LONG_NAME daemon using init.d.."
msgstr ""
#: ../i2prouter:1237 ../i2prouter:1428
msgid "Detected Linux:"
msgstr ""
#: ../i2prouter:1251 ../i2prouter:1441
msgid "Detected HP-UX:"
msgstr ""
#: ../i2prouter:1262 ../i2prouter:1453
msgid "Detected AIX:"
msgstr ""
#: ../i2prouter:1264
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed as rc.d script."
msgstr ""
#: ../i2prouter:1267
#, sh-format
msgid " The $APP_LONG_NAME daemon is already installed as SRC service."
msgstr ""
#: ../i2prouter:1272
msgid ""
" The task /usr/sbin/install_assist was found in the inittab, this might "
"cause problems for all subsequent tasks to launch at this process is known "
"to block the init task. Please make sure this task is not needed anymore and "
"remove/deactivate it."
msgstr ""
#: ../i2prouter:1279 ../i2prouter:1471
msgid "Detected FreeBSD:"
msgstr ""
#: ../i2prouter:1317 ../i2prouter:1484
msgid "Detected Mac OSX:"
msgstr ""
#: ../i2prouter:1352 ../i2prouter:1498
msgid "Detected z/OS:"
msgstr ""
#: ../i2prouter:1364
#, sh-format
msgid "Install not currently supported for $DIST_OS"
msgstr ""
#: ../i2prouter:1380 ../i2prouter:1393 ../i2prouter:1407 ../i2prouter:1430
#: ../i2prouter:1443 ../i2prouter:1455 ../i2prouter:1473 ../i2prouter:1486
#: ../i2prouter:1500
#, sh-format
msgid " Removing $APP_LONG_NAME daemon..."
msgstr ""
#: ../i2prouter:1386 ../i2prouter:1401 ../i2prouter:1411 ../i2prouter:1424
#: ../i2prouter:1436 ../i2prouter:1449 ../i2prouter:1467 ../i2prouter:1480
#: ../i2prouter:1494 ../i2prouter:1505
#, sh-format
msgid " The $APP_LONG_NAME daemon is not currently installed."
msgstr ""
#: ../i2prouter:1398 ../i2prouter:1421
#, sh-format
msgid " Removing $APP_LONG_NAME daemon from upstart..."
msgstr ""
#: ../i2prouter:1417
#, sh-format
msgid " Removing $APP_LONG_NAME daemon from init.d..."
msgstr ""
#: ../i2prouter:1509
#, sh-format
msgid "Remove not currently supported for $DIST_OS"
msgstr ""
#: ../i2prouter:1516
#, sh-format
msgid "Dumping $APP_LONG_NAME..."
msgstr ""
#: ../i2prouter:1526
#, sh-format
msgid "Failed to dump $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1529
#, sh-format
msgid "Dumped $APP_LONG_NAME."
msgstr ""
#: ../i2prouter:1539
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:Stopped"
msgstr ""
#: ../i2prouter:1543
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:Running"
msgstr ""
#: ../i2prouter:1546
#, sh-format
msgid "Starting $APP_LONG_NAME... Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1556
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:Stopped"
msgstr ""
#: ../i2prouter:1560
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:Running"
msgstr ""
#: ../i2prouter:1563
#, sh-format
msgid "Stopping $APP_LONG_NAME... Wrapper:$STATUS, Java:$JAVASTATUS"
msgstr ""
#: ../i2prouter:1573
msgid "Unexpected command: $1"
msgstr ""
#: ../i2prouter:1577
msgid "Usage: "
msgstr ""
#: ../i2prouter:1604
msgid "Commands:"
msgstr ""
#: ../i2prouter:1605
msgid " console Launch in the current console."
msgstr ""
#: ../i2prouter:1606
msgid " start Start in the background as a daemon process."
msgstr ""
#: ../i2prouter:1607
msgid " stop Stop if running as a daemon or in another console."
msgstr ""
#: ../i2prouter:1608
msgid " graceful Stop gracefully, may take up to 11 minutes."
msgstr ""
#: ../i2prouter:1609
msgid " restart Stop if running and then start."
msgstr ""
#: ../i2prouter:1610
msgid " condrestart Restart only if already running."
msgstr ""
#: ../i2prouter:1612
msgid " pause Pause if running."
msgstr ""
#: ../i2prouter:1613
msgid " resume Resume if paused."
msgstr ""
#: ../i2prouter:1615
msgid " status Query the current status."
msgstr ""
#: ../i2prouter:1616
msgid " install Install to start automatically when system boots."
msgstr ""
#: ../i2prouter:1617
msgid " remove Uninstall."
msgstr ""
#: ../i2prouter:1618
msgid " dump Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1622
msgid ""
"JavaAppArgs: Zero or more arguments which will be passed to the Java "
"application."
msgstr ""