Skip to content

Commit

Permalink
luci-app-frpc: IP string swap
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Apr 23, 2024
1 parent f79634d commit e68be6c
Show file tree
Hide file tree
Showing 37 changed files with 100 additions and 100 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ var startupConf = [
];

var commonConf = [
[form.Value, 'server_addr', _('Server address'), _('ServerAddr specifies the address of the server to connect to.<br />By default, this value is "0.0.0.0".'), {datatype: 'host'}],
[form.Value, 'server_addr', _('Server address'), _('ServerAddr specifies the address of the server to connect to.<br />By default, this value is "127.0.0.1".'), {datatype: 'host'}],
[form.Value, 'server_port', _('Server port'), _('ServerPort specifies the port to connect to the server on.<br />By default, this value is 7000.'), {datatype: 'port'}],
[form.Value, 'http_proxy', _('HTTP proxy'), _('HttpProxy specifies a proxy address to connect to the server through. If this value is "", the server will be connected to directly.<br />By default, this value is read from the "http_proxy" environment variable.')],
[form.Value, 'log_file', _('Log file'), _('LogFile specifies a file where logs will be written to. This value will only be used if LogWay is set appropriately.<br />By default, this value is "console".')],
[form.ListValue, 'log_level', _('Log level'), _('LogLevel specifies the minimum log level. Valid values are "trace", "debug", "info", "warn", and "error".<br />By default, this value is "info".'), {values: ['trace', 'debug', 'info', 'warn', 'error']}],
[form.Value, 'log_max_days', _('Log max days'), _('LogMaxDays specifies the maximum number of days to store log information before deletion. This is only used if LogWay == "file".<br />By default, this value is 0.'), {datatype: 'uinteger'}],
[form.Flag, 'disable_log_color', _('Disable log color'), _('DisableLogColor disables log colors when LogWay == "console" when set to true.'), {datatype: 'bool', default: 'false'}],
[form.Value, 'token', _('Token'), _('Token specifies the authorization token used to create keys to be sent to the server. The server must have a matching token for authorization to succeed. <br />By default, this value is "".')],
[form.Value, 'admin_addr', _('Admin address'), _('AdminAddr specifies the address that the admin server binds to.<br />By default, this value is "127.0.0.1".'), {datatype: 'ipaddr'}],
[form.Value, 'admin_addr', _('Admin address'), _('AdminAddr specifies the address that the admin server binds to.<br />By default, this value is "0.0.0.0".'), {datatype: 'ipaddr'}],
[form.Value, 'admin_port', _('Admin port'), _('AdminPort specifies the port for the admin server to listen on. If this value is 0, the admin server will not be started.<br />By default, this value is 0.'), {datatype: 'port'}],
[form.Value, 'admin_user', _('Admin user'), _('AdminUser specifies the username that the admin server will use for login.<br />By default, this value is "admin".')],
[form.Value, 'admin_pwd', _('Admin password'), _('AdminPwd specifies the password that the admin server will use for login.<br />By default, this value is "admin".'), {password: true}],
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/ar/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -348,7 +348,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/bg/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/bn_BD/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -350,7 +350,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/ca/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/cs/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr "Port serveru"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/da/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
8 changes: 4 additions & 4 deletions applications/luci-app-frpc/po/de/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ msgstr "Admin-Nutzer"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""
"AdminAddr spezifiziert die Adresse auf der der Admin-Server lauscht.<br /"
">Standard für diesen Wert ist \"127.0.0.1\"."
">Standard für diesen Wert ist \"0.0.0.0\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
msgid ""
Expand Down Expand Up @@ -396,10 +396,10 @@ msgstr "Server-Port"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""
"ServerAddr spezifiziert die Adresse des Servers zu dem Verbunden werden soll."
"<br />Standardwert hierfür ist \"0.0.0.0\"."
"<br />Standardwert hierfür ist \"127.0.0.1\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/el/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/en/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
8 changes: 4 additions & 4 deletions applications/luci-app-frpc/po/es/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ msgstr "Usuario del administrador"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""
"AdminAddr especifica la dirección a la que se une el servidor de "
"administración.<br />De manera predeterminada, este valor es \"127.0.0.1\"."
"administración.<br />De manera predeterminada, este valor es \"0.0.0.0\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
msgid ""
Expand Down Expand Up @@ -399,10 +399,10 @@ msgstr "Puerto del servidor"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""
"ServerAddr especifica la dirección del servidor al que conectarse.<br />Por "
"defecto, este valor es \"0.0.0.0\"."
"defecto, este valor es \"127.0.0.1\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/fi/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr "Palvelinportti"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
8 changes: 4 additions & 4 deletions applications/luci-app-frpc/po/fr/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ msgstr "Utilisateur administrateur"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""
"AdminAddr spécifie l'adresse à laquelle le serveur d'administration se lie."
"<br />Par défaut, cette valeur est \"127.0.0.1\"."
"<br />Par défaut, cette valeur est \"0.0.0.0\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
msgid ""
Expand Down Expand Up @@ -397,10 +397,10 @@ msgstr "Port serveur"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""
"ServerAddr spécifie l'adresse du serveur auquel se connecter.<br />Par "
"défaut, cette valeur est \"0.0.0.0\"."
"défaut, cette valeur est \"127.0.0.1\"."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/he/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -348,7 +348,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/hi/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -341,7 +341,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
6 changes: 3 additions & 3 deletions applications/luci-app-frpc/po/hu/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ msgstr "Rendszergazda felhasználó"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""
"AdminAddr azt a címet határozza meg amihez az admin szerver kötődik.<br /"
">Alapértelmezés szerint ez az érték „127.0.1”."
">Alapértelmezés szerint ez az érték „0.0.0.0”."

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
msgid ""
Expand Down Expand Up @@ -361,7 +361,7 @@ msgstr "Kiszolgáló port"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/it/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr "Utente admin"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -348,7 +348,7 @@ msgstr "Porta del server"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/ja/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr "サーバーのポート"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/ko/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -347,7 +347,7 @@ msgstr ""
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-frpc/po/lt/frpc.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ msgstr "Administratoriaus vartotojas/naudotojas"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:28
msgid ""
"AdminAddr specifies the address that the admin server binds to.<br />By "
"default, this value is \"127.0.0.1\"."
"default, this value is \"0.0.0.0\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:29
Expand Down Expand Up @@ -353,7 +353,7 @@ msgstr "Serverio prievadas"
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:20
msgid ""
"ServerAddr specifies the address of the server to connect to.<br />By "
"default, this value is \"0.0.0.0\"."
"default, this value is \"127.0.0.1\"."
msgstr ""

#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:21
Expand Down
Loading

0 comments on commit e68be6c

Please sign in to comment.