From 46dd812697a5fc7c138c6219928d4db4da2627c0 Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Sat, 13 Jul 2024 07:58:19 -0700 Subject: [PATCH] Updated locale schema. --- CHANGELOG.md | 1 + static/schemas/LocaleText.json | 114 ++++++++++++++++----------------- 2 files changed, 58 insertions(+), 57 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 869b6c4a3..a18754576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Dates are in `YYYY-MM-DD` format and versions are in [semantic versioning](http: - Added variation selectors to emojis for Safari. - Stripped machine translation tags from locale text on render. - Fixed name of locale text JSON schema. +- Hide login link on landing page if logged in. ## 0.10.4 2024-07-08 diff --git a/static/schemas/LocaleText.json b/static/schemas/LocaleText.json index 459dbfa3c..90421fc29 100644 --- a/static/schemas/LocaleText.json +++ b/static/schemas/LocaleText.json @@ -234,7 +234,7 @@ ], "type": "object" }, - "FunctionText<[def-alias-1170802340-4032-4278-1170802340-0-8520,def-alias-1170802340-4032-4278-1170802340-0-8520]>": { + "FunctionText<[def-alias-1170802340-4024-4270-1170802340-0-8512,def-alias-1170802340-4024-4270-1170802340-0-8512]>": { "additionalProperties": false, "properties": { "doc": { @@ -262,7 +262,7 @@ ], "type": "object" }, - "FunctionText<[def-alias-1170802340-4032-4278-1170802340-0-8520]>": { + "FunctionText<[def-alias-1170802340-4024-4270-1170802340-0-8512]>": { "additionalProperties": false, "properties": { "doc": { @@ -377,11 +377,11 @@ "description": "Functions in the type", "properties": { "and": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "not": { @@ -389,11 +389,11 @@ "description": "See `en-US.json` for documentation" }, "notequal": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "or": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -449,7 +449,7 @@ "description": "Functions in the type", "properties": { "add": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "all": { @@ -491,7 +491,7 @@ "type": "object" }, "append": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "combine": { @@ -533,7 +533,7 @@ "type": "object" }, "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "filter": { @@ -617,11 +617,11 @@ "description": "See `en-US.json` for documentation" }, "has": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "join": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "last": { @@ -633,7 +633,7 @@ "description": "See `en-US.json` for documentation" }, "notequals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "random": { @@ -641,7 +641,7 @@ "description": "See `en-US.json` for documentation" }, "replace": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%2Cdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%2Cdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "reverse": { @@ -649,11 +649,11 @@ "description": "See `en-US.json` for documentation" }, "sans": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "sansAll": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "sansFirst": { @@ -707,7 +707,7 @@ "type": "object" }, "subsequence": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%2Cdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%2Cdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "translate": { @@ -880,7 +880,7 @@ "description": "Functions in the type", "properties": { "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "filter": { @@ -922,15 +922,15 @@ "type": "object" }, "notequals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "remove": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "set": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%2Cdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%2Cdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "size": { @@ -976,7 +976,7 @@ "type": "object" }, "unset": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1047,11 +1047,11 @@ "description": "Functions in the type", "properties": { "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "notequals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1336,7 +1336,7 @@ "description": "Functions in the type", "properties": { "add": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "cos": { @@ -1344,43 +1344,43 @@ "description": "See `en-US.json` for documentation" }, "divide": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "equal": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "greaterOrEqual": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "greaterThan": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "lessOrEqual": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "lessThan": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "max": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "min": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "multiply": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "notequal": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "positive": { @@ -1388,15 +1388,15 @@ "description": "See `en-US.json` for documentation" }, "power": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "remainder": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "root": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "round": { @@ -1416,7 +1416,7 @@ "description": "See `en-US.json` for documentation" }, "subtract": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1490,15 +1490,15 @@ "description": "Functions in the type", "properties": { "add": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "difference": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "filter": { @@ -1540,15 +1540,15 @@ "type": "object" }, "intersection": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "notequals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "remove": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "size": { @@ -1594,7 +1594,7 @@ "type": "object" }, "union": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1662,11 +1662,11 @@ "description": "Functions in the type", "properties": { "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "notequal": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1721,11 +1721,11 @@ "description": "Functions in the type", "properties": { "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "notequal": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } }, @@ -1785,19 +1785,19 @@ "description": "Functions in the type", "properties": { "combine": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "ends": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "equals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "has": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "length": { @@ -1805,19 +1805,19 @@ "description": "See `en-US.json` for documentation" }, "notequals": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "repeat": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "segment": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" }, "starts": { - "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4032-4278-1170802340-0-8520%5D%3E", + "$ref": "#/definitions/FunctionText%3C%5Bdef-alias-1170802340-4024-4270-1170802340-0-8512%5D%3E", "description": "See `en-US.json` for documentation" } },