chore: extract lang

This commit is contained in:
Kieran 2023-02-18 21:28:28 +00:00
parent 4c1513676e
commit a0fa1fd3dd
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
3 changed files with 292 additions and 281 deletions

View File

@ -57,9 +57,8 @@
"build": "react-app-rewired build", "build": "react-app-rewired build",
"test": "react-app-rewired test", "test": "react-app-rewired test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"intl-extract": "formatjs extract 'src/**/*.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 --flatten true",
"intl-compile": "formatjs compile src/lang.json --out-file src/translations/en.ts --format transifex", "intl-compile": "formatjs compile src/lang.json --out-file src/translations/en.json",
"transifex": "formatjs compile src/translations/$LNG.json --out-file src/translations/$LNG.json --format transifex",
"format": "prettier --write .", "format": "prettier --write .",
"eslint": "eslint .", "eslint": "eslint .",
"prepare": "cd ../.. && husky install" "prepare": "cd ../.. && husky install"

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
{ {
"+D82kt": "Are you sure you want to repost: {id}", "+D82kt": "Are you sure you want to repost: {id}",
"+aZY2h": "Zap Type",
"+vIQlC": "Please make sure to save the following password in order to manage your handle in the future", "+vIQlC": "Please make sure to save the following password in order to manage your handle in the future",
"/4tOwT": "Skip", "/4tOwT": "Skip",
"/JE/X+": "Account Support", "/JE/X+": "Account Support",
@ -100,12 +101,14 @@
"KQvWvD": "Deleted", "KQvWvD": "Deleted",
"KWuDfz": "I have saved my keys, continue", "KWuDfz": "I have saved my keys, continue",
"KahimY": "Unknown event kind: {kind}", "KahimY": "Unknown event kind: {kind}",
"LXxsbk": "Anonymous",
"LgbKvU": "Comment", "LgbKvU": "Comment",
"LxY9tW": "Generate Key", "LxY9tW": "Generate Key",
"M3Oirc": "Debug Menus", "M3Oirc": "Debug Menus",
"MBAYRO": "Shows \"Copy ID\" and \"Copy Event JSON\" in the context menu on each message", "MBAYRO": "Shows \"Copy ID\" and \"Copy Event JSON\" in the context menu on each message",
"MI2jkA": "Not available:", "MI2jkA": "Not available:",
"MRp6Ly": "Twitter username", "MRp6Ly": "Twitter username",
"MWTx65": "Default Page",
"MzRYWH": "Buying {item}", "MzRYWH": "Buying {item}",
"N2IrpM": "Confirm", "N2IrpM": "Confirm",
"NdOYJJ": "Hmm nothing here.. Checkout {newUsersPage} to follow some recommended nostrich's!", "NdOYJJ": "Hmm nothing here.. Checkout {newUsersPage} to follow some recommended nostrich's!",
@ -259,4 +262,4 @@
"zjJZBd": "You're ready!", "zjJZBd": "You're ready!",
"zonsdq": "Failed to load LNURL service", "zonsdq": "Failed to load LNURL service",
"zvCDao": "Automatically show latest notes" "zvCDao": "Automatically show latest notes"
} }