From 4cb264afca7c5148c915d18ea8e516e308ed751d Mon Sep 17 00:00:00 2001 From: Cyril59310 <70776486+cyril59310@users.noreply.github.com> Date: Sat, 24 Aug 2024 22:56:42 +0200 Subject: [PATCH] Add translation keys (#5046) --- src/lang/en.json | 18 +++++++++++++++++- src/mixins/socket.js | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/lang/en.json b/src/lang/en.json index 6081e0146..4cdda0582 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -973,5 +973,21 @@ "privateOnesenderDesc": "Make sure the number phone is valid. To send message into private number phone, ex: 628123456789", "groupOnesenderDesc": "Make sure the GroupID is valid. To send message into Group, ex: 628123456789-342345", "Group ID": "Group ID", - "wayToGetOnesenderUrlandToken":"You can get the URL and Token by going to the Onesender website. More info {0}" + "wayToGetOnesenderUrlandToken":"You can get the URL and Token by going to the Onesender website. More info {0}", + "Add Remote Browser": "Add Remote Browser", + "New Group": "New Group", + "Group Name": "Group Name", + "OAuth2: Client Credentials": "OAuth2: Client Credentials", + "Authentication Method": "Authentication Method", + "Authorization Header": "Authorization Header", + "Form Data Body": "Form Data Body", + "OAuth Token URL": "OAuth Token URL", + "Client ID": "Client ID", + "Client Secret": "Client Secret", + "OAuth Scope": "OAuth Scope", + "Optional: Space separated list of scopes": "Optional: Space separated list of scopes", + "Go back to home page.": "Go back to home page.", + "No tags found.": "No tags found.", + "Lost connection to the socket server.": "Lost connection to the socket server.", + "Cannot connect to the socket server.": "Cannot connect to the socket server." } diff --git a/src/mixins/socket.js b/src/mixins/socket.js index 150e39a25..f305cc7c1 100644 --- a/src/mixins/socket.js +++ b/src/mixins/socket.js @@ -251,7 +251,7 @@ export default { socket.on("disconnect", () => { console.log("disconnect"); - this.connectionErrorMsg = "Lost connection to the socket server. Reconnecting..."; + this.connectionErrorMsg = `${this.$t("Lost connection to the socket server.")} ${this.$t("Reconnecting...")}`; this.socket.connected = false; });