Add update check, upgrade dependencies and format code and change ver

This commit is contained in:
2026-07-14 07:51:46 +01:00
parent 8f93dde120
commit 7c19abb6ae
10 changed files with 247 additions and 31 deletions
+22 -8
View File
@@ -13,6 +13,8 @@ var enGB = map[string]string{ // British English
"send": "Send",
"error": "Error",
"close": "Close",
"yes": "Yes",
"no": "No",
"userRequested": "User requested",
"configResourceEmptyWarning": "Config resource is empty! Generating a random one",
"attention": "Attention",
@@ -61,15 +63,15 @@ var enGB = map[string]string{ // British English
// gtk-message.go
"unsupportedMessage": "Unsupported message.",
"bannedWidget": " has been banned by ",
"unsupportedMessage": "Unsupported message.",
"bannedWidget": " has been banned by ",
"bannedWidgetNoActor": "has been banned",
"readWidget": " has read to this point",
"isTyping": " is typing...",
"whispers": " whispers",
"noBodySet": "No body set",
"affilChange": "'s affiliation has been changed to ",
"linkPreviewWarning": "This link preview was generated by the client sending it and may not be accurate of the actual website content",
"readWidget": " has read to this point",
"isTyping": " is typing...",
"whispers": " whispers",
"noBodySet": "No body set",
"affilChange": "'s affiliation has been changed to ",
"linkPreviewWarning": "This link preview was generated by the client sending it and may not be accurate of the actual website content",
// gtk-helpers.go
@@ -87,6 +89,7 @@ var enGB = map[string]string{ // British English
"gettingVersion": "Getting version...",
"connectedWithRole": "Connected with role ",
"affiliatedAs": "Affiliated as ",
"unaffiliated": "Unaffiliated",
"participants": "participant(s)",
"versionQueryEmpty": "Client responded with empty version",
"versionQueryError": "Got error trying to get version",
@@ -99,6 +102,17 @@ var enGB = map[string]string{ // British English
"SINicknameLabel": "Nickname: ",
"SIInsecureLabel": "Insecure: (?)",
"SIInsecureLabelTooltip": "Tick this if you need to connect without TLS, usually for connecting to Tor XMPP servers",
// gtk-update.go
"updateAvailable": "Dear user, there's an update available!!",
"versionAvailable": "Version %d is available now.",
"seeSite": "See website",
"updateCheck": "Check for updates",
"updateWarning": "Lambda can contact a server in order to check if your version is out of date.\nNo information other than your IP address will be collected.",
"updateSave": "Lambda %s check the upstream server for updates. You can change this at any time via preferences.",
"updateWill": "will",
"updateWont": "won't",
}
var kaGE = map[string]string{ // Georgian (Georgia)