mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-09 19:36:04 +00:00
website: tweaks (#6945)
This commit is contained in:
@@ -54,7 +54,7 @@ const globalConfig = {
|
||||
}
|
||||
|
||||
const translationsDirectoryPath = './langs'
|
||||
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", ""]
|
||||
const supportedRoutes = ["blog", "contact", "invitation", "messaging", "docs", "fdroid", "why", "file", ""]
|
||||
let supportedLangs = []
|
||||
fs.readdir(translationsDirectoryPath, (err, files) => {
|
||||
if (err) {
|
||||
|
||||
@@ -48,6 +48,7 @@ for lang in "${langs[@]}"; do
|
||||
cp src/invitation.html src/$lang
|
||||
cp src/fdroid.html src/$lang
|
||||
cp src/why.html src/$lang
|
||||
cp src/file.html src/$lang
|
||||
echo "{\"lang\":\"$lang\"}" > src/$lang/$lang.json
|
||||
echo "done $lang copying"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user