Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: the user placeholder translation issue #8219 (#8233)

BasmaAwatef70fcabd13683
diff --git a/lang/main-nb.json b/lang/main-nb.json
index 06aec4cb07..83c18f1202 100644
--- a/lang/main-nb.json
+++ b/lang/main-nb.json
@@ -104,7 +104,7 @@
},
"deepLinking": {
"downloadApp": "Last ned programmet",
- "openApp": "Fortsett til programmet",
+ "openApp": "Fortsett til programmet"
},
"defaultLink": "f.eks.",
"deviceError": {
diff --git a/lang/main.json b/lang/main.json
index 2862a9876b..98cba630bd 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -300,6 +300,7 @@
"tokenAuthFailedTitle": "Authentication failed",
"transcribing": "Transcribing",
"unlockRoom": "Remove meeting $t(lockRoomPassword)",
+ "user": "user",
"userPassword": "user password",
"WaitForHostMsg": "The conference <b>{{room}}</b> has not yet started. If you are the host then please authenticate. Otherwise, please wait for the host to arrive.",
"WaitForHostMsgWOk": "The conference <b>{{room}}</b> has not yet started. If you are the host then please press Ok to authenticate. Otherwise, please wait for the host to arrive.",
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 94f7bb80ac..559f828ecf 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -319,6 +319,7 @@ UI.showLoginPopup = function(callback) {
const message
= `<input name="username" type="text"
placeholder="[email protected]"
+ data-i18n="[placeholder]dialog.user"
class="input-control" autofocus>
<input name="password" type="password"
data-i18n="[placeholder]dialog.userPassword"
diff --git a/modules/UI/authentication/LoginDialog.js b/modules/UI/authentication/LoginDialog.js
index fe39badbcf..b7756d222e 100644
--- a/modules/UI/authentication/LoginDialog.js
+++ b/modules/UI/authentication/LoginDialog.js
@@ -17,6 +17,7 @@ function getPasswordInputHtml() {
return `
<input name="username" type="text"
class="input-control"
+ data-i18n="[placeholder]dialog.user
placeholder=${placeholder} autofocus>
<input name="password" type="password"
class="input-control"