add localisation support

currently only en_GB (TODO: dynamic language pack imports)
This commit is contained in:
ari melody 2025-07-13 18:35:26 +01:00
parent 970590497f
commit e326ac858e
Signed by: ari
GPG key ID: CF99829C92678188
17 changed files with 263 additions and 90 deletions

88
src/lang/en_GB.json Normal file
View file

@ -0,0 +1,88 @@
{
"compose_placeholders": [
"What's cooking, $1?",
"Speak your mind!",
"Federate something...",
"I sure love posting!",
"Another day, another $1 post!"
],
"login": {
"welcome": "Welcome, fediverse user!",
"enter_domain": "Please enter your server domain to log in.",
"experimental": "Please note this is\n<strong><em>extremely experimental software</em></strong>;\nthings are likely to break!\n<br>\nIf that's all cool with you, welcome aboard!",
"button": "Log in",
"error": {
"no_domain": "Please enter an server domain.",
"connection_failed": "Failed to connect to the server.\nCheck the browser console for details!",
"create_app": "Failed to create an application for this server."
},
"made_with_tagline": "made with ❤ by <a href=\"https://bliss.town\">bliss town</a>"
},
"navigation": {
"timeline": "Timeline",
"notifications": "Notifications",
"explore": "Explore",
"lists": "Lists",
"favourites": "Favourites",
"bookmarks": "Bookmarks",
"hashtags": "Hashtags",
"profile_information": "Profile information",
"settings": "Settings",
"log_out": "Log out"
},
"timeline": {
"home": "Home",
"local": "Local",
"federated": "Federated",
"fetching": "getting the feed..."
},
"notification": {
"and_others": "and <strong>%1</strong> others",
"mention": "%1 mentioned you.",
"reblog": "%1 boosted your post.",
"reaction": "%1 reacted to your post.",
"follow": "%1 followed you.",
"follow_request": "%1 requested to follow you.",
"favourite": "%1 favourited your post.",
"poll": "%1's poll as ended.",
"update": "%1 updated their post.",
"default": "%1 poked you!",
"fetching": "fetching notifications..."
},
"post": {
"time": "%1 ago",
"boosted": "%1 boosted this post.",
"actions": {
"reply": "Reply",
"boost": "Boost",
"favourite": "Favourite",
"quote": "Quote",
"react": "React",
"more": "More",
"delete": "Delete"
},
"warning": {
"show": "(click to reveal)",
"hide": "(click to hide)"
},
"visibility": {
"public": "public",
"unlisted": "unlisted",
"private": "private",
"direct": "direct"
}
},
"compose": "Post",
"search": "Search",
"source": "source",
"issues": "issues"
}