aboutsummaryrefslogtreecommitdiff
path: root/idp
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-02-02 06:53:12 -0800
committerChristine Dodrill <me@christine.website>2019-02-02 06:53:12 -0800
commit7bcfbc6a4da40f498af83e40c3c57ef02ec212cf (patch)
treeee224b7b08722e06d78f49bc557249891264e38f /idp
parentda3595468056f1dd04d79c908f8a65dc0c5a397f (diff)
downloadx-7bcfbc6a4da40f498af83e40c3c57ef02ec212cf.tar.xz
x-7bcfbc6a4da40f498af83e40c3c57ef02ec212cf.zip
web: use error type, simplify some code
Diffstat (limited to 'idp')
-rw-r--r--idp/translations/en_US.json15
-rw-r--r--idp/translations/jbo_latn.json15
2 files changed, 30 insertions, 0 deletions
diff --git a/idp/translations/en_US.json b/idp/translations/en_US.json
new file mode 100644
index 0000000..ae7d293
--- /dev/null
+++ b/idp/translations/en_US.json
@@ -0,0 +1,15 @@
+{
+ "errors": {
+ "not_allowed": "Not Allowed",
+ "forbidden": "Forbidden",
+ "url_error": "URL Error"
+ },
+
+ "prose": {
+ "index": "This is a private identity provider supporting IndieAuth for Christine Dodrill. Unauthorized access is forbidden.",
+ "auth": "Log in to {0} as {1}"
+ },
+
+ "auth_title": "Auth",
+ "submit_button": "Submit"
+}
diff --git a/idp/translations/jbo_latn.json b/idp/translations/jbo_latn.json
new file mode 100644
index 0000000..3356371
--- /dev/null
+++ b/idp/translations/jbo_latn.json
@@ -0,0 +1,15 @@
+{
+ "errors": {
+ "not_allowed": "na e'akne",
+ "forbidden": "narplicru",
+ "url_error": "na jimpe lo urli"
+ },
+
+ "prose": {
+ "index": "ni'o ti samse'u fi lo nu e'ande po la kristin.dadril .i lo narplicru pilno cu na e'akne",
+ "auth": ".i tolna'e fa zoi .uy. {1} .uy. be zoi .uy. {0} .uy."
+ },
+
+ "auth_title": "dubju'o",
+ "submit_button": "dudydatni"
+}