summaryrefslogtreecommitdiff
path: root/po/webid-oidc.pot
diff options
context:
space:
mode:
Diffstat (limited to 'po/webid-oidc.pot')
-rw-r--r--po/webid-oidc.pot237
1 files changed, 143 insertions, 94 deletions
diff --git a/po/webid-oidc.pot b/po/webid-oidc.pot
index ae6f474..84850fc 100644
--- a/po/webid-oidc.pot
+++ b/po/webid-oidc.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: webid-oidc SNAPSHOT\n"
"Report-Msgid-Bugs-To: vivien@planete-kraus.eu\n"
-"POT-Creation-Date: 2021-06-27 00:20+0200\n"
+"POT-Creation-Date: 2021-06-27 21:10+0200\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"
@@ -795,9 +795,8 @@ msgid "Warning: generating a new key pair."
msgstr ""
#: src/scm/webid-oidc/identity-provider.scm:148
-#: src/scm/webid-oidc/reverse-proxy.scm:124
#: src/scm/webid-oidc/hello-world.scm:31 src/scm/webid-oidc/client.scm:619
-#: src/scm/webid-oidc/example-app.scm:100
+#: src/scm/webid-oidc/example-app.scm:100 src/scm/webid-oidc/program.scm:50
msgid "command-line|version"
msgstr ""
@@ -841,12 +840,12 @@ msgid "comand-line|port"
msgstr ""
#: src/scm/webid-oidc/identity-provider.scm:168
-#: src/scm/webid-oidc/reverse-proxy.scm:136 src/scm/webid-oidc/client.scm:633
+#: src/scm/webid-oidc/client.scm:633 src/scm/webid-oidc/program.scm:62
msgid "comand-line|log-file"
msgstr ""
#: src/scm/webid-oidc/identity-provider.scm:170
-#: src/scm/webid-oidc/reverse-proxy.scm:138 src/scm/webid-oidc/client.scm:635
+#: src/scm/webid-oidc/client.scm:635 src/scm/webid-oidc/program.scm:64
msgid "comand-line|error-file"
msgstr ""
@@ -924,9 +923,8 @@ msgid ""
msgstr ""
#: src/scm/webid-oidc/identity-provider.scm:267
-#: src/scm/webid-oidc/reverse-proxy.scm:210
#: src/scm/webid-oidc/hello-world.scm:61 src/scm/webid-oidc/client.scm:700
-#: src/scm/webid-oidc/example-app.scm:143
+#: src/scm/webid-oidc/example-app.scm:143 src/scm/webid-oidc/program.scm:177
#, scheme-format
msgid "~a version ~a\n"
msgstr ""
@@ -960,7 +958,6 @@ msgid "You need to set the token endpoint URI.\n"
msgstr ""
#: src/scm/webid-oidc/identity-provider.scm:327
-#: src/scm/webid-oidc/reverse-proxy.scm:238
#: src/scm/webid-oidc/hello-world.scm:72 src/scm/webid-oidc/client.scm:738
msgid "The port should be a number between 0 and 65535.\n"
msgstr ""
@@ -1115,92 +1112,6 @@ msgstr ""
msgid "~a: authentication failure: ~a\n"
msgstr ""
-#: src/scm/webid-oidc/reverse-proxy.scm:126
-msgid "command-line|help"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:128
-msgid "command-line|port"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:130
-msgid "command-line|inbound-uri"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:132
-msgid "command-line|outbound-uri"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:134
-msgid "command-line|header"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:152
-#, scheme-format
-msgid ""
-"Usage: ~a [OPTIONS]...\n"
-"\n"
-"Run a reverse proxy, taking requests with webid-oidc authentication\n"
-"and passing them to the outbound URI with an additional header\n"
-"containing the webid of the agent.\n"
-"\n"
-"Options:\n"
-" -h, --~a:\n"
-" display this help message and exit.\n"
-" -v, --~a:\n"
-" display the version information (~a) and exit.\n"
-" -p PORT, --~a=8080:\n"
-" set the port to bind.\n"
-" -i URI, --~a=URI: \n"
-" set the public URI of the reverse proxy.\n"
-" -o URI, --~a=URI:\n"
-" pass the requests to the server running at URI.\n"
-" -H HEADER, --~a=HEADER:\n"
-" pass request with optional HEADER set to the webid, XXX-Agent by "
-"default.\n"
-" -l FILE.log, --~a=FILE.log:\n"
-" dump the standard output to that file.\n"
-" -e FILE.err, --~a=FILE.err:\n"
-" dump the standard error to that file.\n"
-"\n"
-"Environment variables:\n"
-"\n"
-" LANG: set the locale of the sysadmin-facing interface. It is\n"
-"currently ~a.\n"
-"\n"
-"Example:\n"
-"\n"
-"Suppose that you operate data.provider.com. Since everything is behind\n"
-"a big global reverse proxy, the authenticated proxy listens on\n"
-"http://localhost:8080. You have the data server running at\n"
-"https://private.data.provider.com, set up so that only you can query\n"
-"it. The private server needs the XXX-Agent header to contain the\n"
-"authenticated webid of the user, if the user is authenticated. That’s\n"
-"why you don’t want anyone to query it. You would run:\n"
-"\n"
-" export LANG=C\n"
-" webid-oidc-reverse-proxy \\\n"
-" --port 8080 \\\n"
-" --inbound-uri https://data.provider.com \\\n"
-" --outbound-uri https://private.data.provider.com \\\n"
-" --header XXX-Agent \\\n"
-" --log-file /var/log/proxy.log \\\n"
-" --error-file /var/log/proxy.err\n"
-"\n"
-"If you find a bug, send a report to ~a.\n"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:243
-msgid ""
-"The public name of the server must be present (with scheme) as --inbound-"
-"uri.\n"
-msgstr ""
-
-#: src/scm/webid-oidc/reverse-proxy.scm:248
-msgid ""
-"The address of the proxy must be present (with scheme) as --outbound-uri.\n"
-msgstr ""
-
#: src/scm/webid-oidc/hello-world.scm:44
#, scheme-format
msgid ""
@@ -1399,3 +1310,141 @@ msgstr ""
#, scheme-format
msgid "There was an error: ~a\n"
msgstr ""
+
+#: src/scm/webid-oidc/program.scm:52
+msgid "command-line|help"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:54
+msgid "command-line|server|port"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:56
+msgid "command-line|server|server-name"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:58
+msgid "command-line|server|reverse-proxy|backend-uri"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:60
+msgid "command-line|server|reverse-proxy|header"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:78
+#, scheme-format
+msgid ""
+"Usage: ~a COMMAND [OPTIONS]...\n"
+"\n"
+"Run the webid-oidc COMMAND.\n"
+"\n"
+"Available commands:\n"
+" ~a: \n"
+" run an authenticating reverse proxy.\n"
+"\n"
+"General options:\n"
+" -h, --~a:\n"
+" display a short help message and exit.\n"
+" -v, --~a:\n"
+" display the version information (~a) and exit.\n"
+" -l FILE.log, --~a=FILE.log:\n"
+" redirect the program standard output to FILE.log.\n"
+" -e FILE.err, --~a=FILE.err:\n"
+" redirect the program errors to FILE.err.\n"
+"\n"
+"General server-side options:\n"
+" -p PORT, --~a=PORT:\n"
+" set the server port to bind, 8080 by default.\n"
+" -n URI, --~a=URI:\n"
+" set the public server URI (scheme, userinfo, host, and port).\n"
+"\n"
+"Options for the reverse proxy:\n"
+" -H HEADER, --~a=HEADER:\n"
+" the HEADER field contains the webid of the authenticated user,\n"
+" XXX-Agent by default.\n"
+" -b URI, --~a=URI:\n"
+" set the backend URI for the reverse proxy, only for the\n"
+" reverse-proxy command.\n"
+"\n"
+"Environment variables:\n"
+"\n"
+" LANG: set the locale of the user interface (for the server commands,\n"
+"the user is the system administrator).~a\n"
+"\n"
+"Running a reverse proxy\n"
+"\n"
+"Suppose that you operate data.provider.com. You want to run an\n"
+"authenticating reverse proxy, that will receive incoming requests\n"
+"through http://localhost:8080, and forward them to\n"
+"https://private.data.provider.com. The backend will look for the\n"
+"XXX-Agent header, and if it is found, then its value will be\n"
+"considered the webid of the authenticated\n"
+"user. https://private.data.provider.com should only accept requests\n"
+"from this reverse proxy.\n"
+"\n"
+" ~a ~a \\\n"
+" --~a 8080 \\\n"
+" --~a 'https://data.provider.com' \\\n"
+" --~a 'https://private.data.provider.com' \\\n"
+" --~a 'XXX-Agent' \\\n"
+" --~a '/var/log/proxy.log' \\\n"
+" --~a '/var/log/proxy.err'\n"
+"\n"
+"If you find a bug, then please send a report to ~a.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:139 src/scm/webid-oidc/program.scm:170
+#: src/scm/webid-oidc/program.scm:236
+msgid "command-line|command|reverse-proxy"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:163
+#, scheme-format
+msgid "an environment variable| It is currently set to ~s."
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:165
+msgid "an environment variable| It is currently unset."
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:185
+#, scheme-format
+msgid "The --~a argument must be a number, not ~s.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:191
+#, scheme-format
+msgid "The --~a argument must be an integer, not ~s.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:197
+#, scheme-format
+msgid "The --~a argument must be positive, ~s is invalid.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:202
+#, scheme-format
+msgid "The --~a argument must be less than 65536, ~s is invalid.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:220
+#, scheme-format
+msgid ""
+"Usage: ~a COMMAND [OPTIONS]...\n"
+"See --~a (-h).\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:239
+#, scheme-format
+msgid "You must pass --~a to set the server name.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:243
+#, scheme-format
+msgid "You must pass --~a to set the backend URI.\n"
+msgstr ""
+
+#: src/scm/webid-oidc/program.scm:255
+#, scheme-format
+msgid "Unknown command ~s\n"
+msgstr ""