From 72f63eeb61d8ebfc9e36febb1dddd7ae2ceb524c Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 10 Feb 2023 22:39:57 +0000 Subject: [PATCH] bug: fix msg extraction --- package.json | 2 +- src/lang.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fcfbbf..0ff74a0 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "build": "react-app-rewired build", "test": "react-app-rewired test", "eject": "react-scripts eject", - "intl-extract": "formatjs extract **/messages.ts **/*.ts* --ignore='**/*.d.ts' --out-file src/lang.json --format transifex --flatten true", + "intl-extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --out-file src/lang.json --format transifex --flatten true", "intl-compile": "formatjs compile src/lang.json --out-file src/translations/en.json --format transifex", "format": "prettier --write .", "eslint": "eslint .", diff --git a/src/lang.json b/src/lang.json index 26eb625..37e6473 100644 --- a/src/lang.json +++ b/src/lang.json @@ -50,6 +50,10 @@ "3cc4Ct": { "string": "Light" }, + "3xCwbZ": { + "developer_comment": "Seperator text for Login / Generate Key", + "string": "OR" + }, "450Fty": { "string": "None" }, @@ -77,6 +81,10 @@ "6ewQqw": { "string": "Likes ({n})" }, + "6tUqAb": { + "developer_comment": "Note about key security before generating a new key", + "string": "Generate a public / private key pair. Do not share your private key with anyone, this acts as your password. Once lost, it cannot be “reset” or recovered. Keep safe!" + }, "7+Domh": { "string": "Notes" }, @@ -113,6 +121,10 @@ "9WRlF4": { "string": "Send" }, + "9gqH2W": { + "developer_comment": "Login button", + "string": "Login" + }, "9wO4wJ": { "string": "Lightning Invoice" }, @@ -251,6 +263,10 @@ "LgbKvU": { "string": "Comment" }, + "LxY9tW": { + "developer_comment": "Button: Generate a new key", + "string": "Generate Key" + }, "M3Oirc": { "string": "Debug Menus" }, @@ -299,6 +315,14 @@ "PrsIg7": { "string": "Reactions will be shown on every page, if disabled no reactions will be shown" }, + "QTdJfH": { + "developer_comment": "Heading for generate key flow", + "string": "Create an Account" + }, + "QxCuTo": { + "developer_comment": "Artwork attribution label", + "string": "Art by {name}" + }, "RDZVQL": { "string": "Check" }, @@ -329,6 +353,10 @@ "VnXp8Z": { "string": "Avatar" }, + "VtPV/B": { + "developer_comment": "Login button for NIP7 key manager extension", + "string": "Login with Extension (NIP-07)" + }, "Vx7Zm2": { "string": "How do keys work?" }, @@ -506,12 +534,20 @@ "nwZXeh": { "string": "{n} blocked" }, + "o6Uy3d": { + "developer_comment": "Explanation for public key only login is read-only", + "string": "Only the secret key can be used to publish (sign events), everything else logs you in read-only mode." + }, "o7e+nJ": { "string": "{n} followers" }, "odFwjL": { "string": "Follows only" }, + "odhABf": { + "developer_comment": "Login header", + "string": "Login" + }, "osUr8O": { "string": "You can also use these extensions to login to most Nostr sites." }, @@ -587,6 +623,10 @@ "wEQDC6": { "string": "Edit" }, + "wLtRCF": { + "developer_comment": "Label for key input", + "string": "Your key" + }, "wih7iJ": { "string": "name is blocked" },