parameterize

This commit is contained in:
kytv
2013-05-28 10:50:51 +00:00
parent 4092eba606
commit ca569038e8
8 changed files with 36 additions and 57 deletions

View File

@@ -1785,7 +1785,7 @@ showUsage() {
}
showsetusermesg() {
echo "`gettext 'Please edit i2prouter and set the variable RUN_AS_USER'`."
echo "`gettext \"Please edit $0 and set the variable RUN_AS_USER\"`."
}
checkifstartingasroot() {
@@ -1793,7 +1793,7 @@ checkifstartingasroot() {
echo "`gettext 'Running I2P as the root user is *not* recommended.'`"
showsetusermesg
echo
echo "`gettext 'To run as root anyway, edit i2prouter and set ALLOW_ROOT=true.'`"
echo "`gettext \"To run as root anyway, edit $0 and set ALLOW_ROOT=true.\"`"
exit 1
fi
}

View File

@@ -192,14 +192,14 @@ msgid "Request a Java thread dump if running."
msgstr "Falls gestartet, fordere einen Java Thread dump an"
#: ../i2prouter:1788
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgstr "Bitte bearbeite i2prouter und setze die Variable RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr "Bitte bearbeite $0 und setze die Variable RUN_AS_USER"
#: ../i2prouter:1793
msgid "Running I2P as the root user is *not* recommended."
msgstr "I2P als root Benutzer auszuführen ist *nicht* empfehlenswert."
#: ../i2prouter:1796
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr ""
"Um I2P trotzdem als root auszuführen bearbeite i2prouter und setze ALLOW_ROOT=true."
"Um I2P trotzdem als root auszuführen bearbeite $0 und setze ALLOW_ROOT=true."

View File

@@ -185,7 +185,7 @@ msgid "Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1788
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr ""
#: ../i2prouter:1793
@@ -193,5 +193,5 @@ msgid "Running I2P as the root user is *not* recommended."
msgstr ""
#: ../i2prouter:1796
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr ""

View File

@@ -187,7 +187,7 @@ msgid "Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1780
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr ""
#: ../i2prouter:1785
@@ -196,5 +196,5 @@ msgstr ""
"Faire fonctionner I2P en tant qu'utilisateur root n'est *pas* recommandé."
#: ../i2prouter:1788
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr ""

View File

@@ -187,7 +187,7 @@ msgid "Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1780
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr ""
#: ../i2prouter:1785
@@ -195,5 +195,5 @@ msgid "Running I2P as the root user is *not* recommended."
msgstr ""
#: ../i2prouter:1788
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr ""

View File

@@ -188,7 +188,7 @@ msgid "Request a Java thread dump if running."
msgstr ""
#: ../i2prouter:1780
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr ""
#: ../i2prouter:1785
@@ -196,5 +196,5 @@ msgid "Running I2P as the root user is *not* recommended."
msgstr ""
#: ../i2prouter:1788
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr ""

View File

@@ -187,13 +187,13 @@ msgid "Request a Java thread dump if running."
msgstr "Fråga efter en Java thread dump vid drift."
#: ../i2prouter:1780
msgid "Please edit i2prouter and set the variable RUN_AS_USER"
msgstr "Var god ändra i2prouter och sätt variabeln RUN_AS_USER"
msgid "Please edit $0 and set the variable RUN_AS_USER"
msgstr "Var god ändra $0 och sätt variabeln RUN_AS_USER"
#: ../i2prouter:1785
msgid "Running I2P as the root user is *not* recommended."
msgstr "Att köra I2P som användare root är *inte* rekommenderat."
#: ../i2prouter:1788
msgid "To run as root anyway, edit i2prouter and set ALLOW_ROOT=true."
msgstr "För att köra som root iallafall, ändra i2prouter och sätt ALLOW_ROOT=true"
msgid "To run as root anyway, edit $0 and set ALLOW_ROOT=true."
msgstr "För att köra som root iallafall, ändra $0 och sätt ALLOW_ROOT=true"