Invidious is an alternative front-end to YouTube
Fix "placeholder=" text in locales
Omar Roth05513bcd1e45
diff --git a/locales/ar.json b/locales/ar.jsonindex 572ea904..15f582fb 100644--- a/locales/ar.json+++ b/locales/ar.json@@ -34,15 +34,15 @@"Login": "تسجيل الدخول","Login/Register": "تسجيل الدخول\\إنشاء حساب","Login to Google": "تسجيل الدخول بإستخدام جوجل",- "User ID:": "إسم المستخدم:",- "Password:": "الرقم السرى:",+ "User ID": "إسم المستخدم",+ "Password": "الرقم السرى","Time (h:mm:ss):": "(يجب ان يكتب مثل هذا التنسيق) الوقت (h(ساعات):mm(دقائق):ss(ثوانى)):","Text CAPTCHA": "CAPTCHA كلامية","Image CAPTCHA": "CAPTCHA صورية","Sign In": "تسجيل الدخول","Register": "انشاء الحساب",- "Email:": "الإيميل:",- "Google verification code:": "رمز تحقق جوجل:",+ "Email": "الإيميل",+ "Google verification code": "رمز تحقق جوجل","Preferences": "التفضيلات","Player preferences": "التفضيلات المشغل","Always loop: ": "كرر الفيديو دائما: ",diff --git a/locales/de.json b/locales/de.jsonindex 440f75e9..473cf7f2 100644--- a/locales/de.json+++ b/locales/de.json@@ -34,15 +34,15 @@"Login": "Einloggen","Login/Register": "Einloggen/Registrieren","Login to Google": "In Google einloggen",- "User ID:": "Benutzer ID:",- "Password:": "Passwort:",+ "User ID": "Benutzer ID",+ "Password": "Passwort","Time (h:mm:ss):": "Zeit (h:mm:ss):","Text CAPTCHA": "Text CAPTCHA","Image CAPTCHA": "Image CAPTCHA","Sign In": "Einloggen","Register": "Registrieren",- "Email:": "Email:",- "Google verification code:": "Google Bestätigungscode:",+ "Email": "Email",+ "Google verification code": "Google Bestätigungscode","Preferences": "Einstellungen","Player preferences": "Playereinstellungen","Always loop: ": "Immer wiederholen: ",diff --git a/locales/en-US.json b/locales/en-US.jsonindex 88c035b5..2b817dd7 100644--- a/locales/en-US.json+++ b/locales/en-US.json@@ -34,15 +34,15 @@"Login": "Login","Login/Register": "Login/Register","Login to Google": "Login to Google",- "User ID:": "User ID:",- "Password:": "Password:",+ "User ID": "User ID",+ "Password": "Password","Time (h:mm:ss):": "Time (h:mm:ss):","Text CAPTCHA": "Text CAPTCHA","Image CAPTCHA": "Image CAPTCHA","Sign In": "Sign In","Register": "Register",- "Email:": "Email:",- "Google verification code:": "Google verification code:",+ "Email": "Email",+ "Google verification code": "Google verification code","Preferences": "Preferences","Player preferences": "Player preferences","Always loop: ": "Always loop: ",diff --git a/locales/es.json b/locales/es.jsonindex 9cf54fe1..5a12c7bc 100644--- a/locales/es.json+++ b/locales/es.json@@ -34,15 +34,15 @@"Login": "Iniciar sesión","Login/Register": "Iniciar sesión/Registrarse","Login to Google": "Iniciar sesión en Google",- "User ID:": "Nombre:",- "Password:": "Contraseña:",+ "User ID": "Nombre",+ "Password": "Contraseña","Time (h:mm:ss):": "Hora (h:mm:ss):","Text CAPTCHA": "CAPTCHA en texto","Image CAPTCHA": "CAPTCHA en imagen","Sign In": "Iniciar sesión","Register": "Registrarse",- "Email:": "Correo:",- "Google verification code:": "Código de verificación de Google:",+ "Email": "Correo",+ "Google verification code": "Código de verificación de Google","Preferences": "Preferencias","Player preferences": "Preferencias del reproductor","Always loop: ": "Repetir siempre: ",diff --git a/locales/eu.json b/locales/eu.jsonindex ddd00a4c..4ec5c46b 100644--- a/locales/eu.json+++ b/locales/eu.json@@ -34,8 +34,8 @@"Login": "Saioa hasi","Login/Register": "Saioa hasi/Izena eman","Login to Google": "Googlekin hasi saioa",- "User ID:": "Erabiltzaile IDa:",- "Password:": "Pasahitza:",+ "User ID": "Erabiltzaile IDa",+ "Password": "Pasahitza","Time (h:mm:ss):": "Denbora (o:mm:ss):","Text CAPTCHA": "Testu CAPTCHA","Image CAPTCHA": "Irudi CAPTCHA",diff --git a/locales/fr.json b/locales/fr.jsonindex fec1053e..69427f8e 100644--- a/locales/fr.json+++ b/locales/fr.json@@ -34,15 +34,15 @@"Login": "Se connecter","Login/Register": "Se connecter/Créer un compte","Login to Google": "Se connecter avec Google",- "User ID:": "Identifiant utilisateur :",- "Password:": "Mot de passe :",+ "User ID": "Identifiant utilisateur",+ "Password": "Mot de passe","Time (h:mm:ss):": "Heure (h:mm:ss) :","Text CAPTCHA": "CAPTCHA Texte","Image CAPTCHA": "CAPTCHA Image","Sign In": "Se connecter","Register": "S'inscrire",- "Email:": "E-mail :",- "Google verification code:": "Code de vérification Google :",+ "Email": "E-mail",+ "Google verification code": "Code de vérification Google","Preferences": "Préférences","Player preferences": "Préférences du lecteur","Always loop: ": "Lire en boucle : ",diff --git a/locales/it.json b/locales/it.jsonindex 9bd72ea5..1def7c2e 100644--- a/locales/it.json+++ b/locales/it.json@@ -34,15 +34,15 @@"Login": "Entra","Login/Register": "Entra/Registrati","Login to Google": "Entra con Google",- "User ID:": "ID utente:",- "Password:": "Password:",+ "User ID": "ID utente",+ "Password": "Password","Time (h:mm:ss):": "Orario (h:mm:ss):","Text CAPTCHA": "Testo del CAPTCHA","Image CAPTCHA": "Immagine CAPTCHA","Sign In": "Entra","Register": "Registrati",- "Email:": "Email:",- "Google verification code:": "Codice di verifica Google:",+ "Email": "Email",+ "Google verification code": "Codice di verifica Google","Preferences": "Preferenze","Player preferences": "Preferenze del riproduttore","Always loop: ": "Ripeti sempre: ",diff --git a/locales/nb_NO.json b/locales/nb_NO.jsonindex 6d032e6f..0de28379 100644--- a/locales/nb_NO.json+++ b/locales/nb_NO.json@@ -34,15 +34,15 @@"Login": "Logg inn","Login/Register": "Logg inn/registrer","Login to Google": "Logg inn med Google",- "User ID:": "Bruker-ID:",- "Password:": "Passord:",+ "User ID": "Bruker-ID",+ "Password": "Passord","Time (h:mm:ss):": "Tid (h:mm:ss):","Text CAPTCHA": "Tekst-CAPTCHA","Image CAPTCHA": "Bilde-CAPTCHA","Sign In": "Innlogging","Register": "Registrer",- "Email:": "E-post:",- "Google verification code:": "Google-bekreftelseskode:",+ "Email": "E-post",+ "Google verification code": "Google-bekreftelseskode","Preferences": "Innstillinger","Player preferences": "Avspillerinnstillinger","Always loop: ": "Alltid gjenta: ",diff --git a/locales/nl.json b/locales/nl.jsonindex 69c43b5b..ac5f4ea5 100644--- a/locales/nl.json+++ b/locales/nl.json@@ -34,15 +34,15 @@"Login": "Inloggen","Login/Register": "Inloggen/Registreren","Login to Google": "Inloggen op Google",- "User ID:": "Gebruiker ID:",- "Password:": "Wachtwoord:",+ "User ID": "Gebruiker ID",+ "Password": "Wachtwoord","Time (h:mm:ss):": "Tijd (h:mm:ss):","Text CAPTCHA": "Tekst CAPTCHA","Image CAPTCHA": "Afbeelding CAPTCHA","Sign In": "Aanmelden","Register": "Registreren",- "Email:": "Email:",- "Google verification code:": "Google verificatie code:",+ "Email": "Email",+ "Google verification code": "Google verificatie code","Preferences": "Voorkeuren","Player preferences": "Afspeler voorkeuren","Always loop: ": "Altijd herhalen: ",diff --git a/locales/pl.json b/locales/pl.jsonindex 901892eb..f4c4f6b2 100644--- a/locales/pl.json+++ b/locales/pl.json@@ -34,15 +34,15 @@"Login": "Zaloguj","Login/Register": "Zaloguj/Zarejestruj","Login to Google": "Zaloguj do Google",- "User ID:": "ID użytkownika:",- "Password:": "Hasło:",+ "User ID": "ID użytkownika",+ "Password": "Hasło","Time (h:mm:ss):": "Godzina (h:mm:ss):","Text CAPTCHA": "Tekst CAPTCHA","Image CAPTCHA": "Obraz CAPTCHA","Sign In": "Zaloguj się","Register": "Zarejestruj się",- "Email:": "Email:",- "Google verification code:": "Kod weryfikacyjny Google:",+ "Email": "Email",+ "Google verification code": "Kod weryfikacyjny Google","Preferences": "Preferencje","Player preferences": "Ustawienia odtwarzacza","Always loop: ": "Zawsze zapętlaj: ",diff --git a/locales/ru.json b/locales/ru.jsonindex a287cb80..80c4d0d1 100644--- a/locales/ru.json+++ b/locales/ru.json@@ -34,15 +34,15 @@"Login": "Войти","Login/Register": "Войти/Регистрация","Login to Google": "Войти через Google",- "User ID:": "ID пользователя:",- "Password:": "Пароль:",+ "User ID": "ID пользователя",+ "Password": "Пароль","Time (h:mm:ss):": "Время (ч:мм:сс):","Text CAPTCHA": "Текст капчи","Image CAPTCHA": "Изображение капчи","Sign In": "Войти","Register": "Регистрация",- "Email:": "Эл. почта:",- "Google verification code:": "Код подтверждения Google:",+ "Email": "Эл. почта",+ "Google verification code": "Код подтверждения Google","Preferences": "Настройки","Player preferences": "Настройки проигрывателя","Always loop: ": "Всегда повторять: ",diff --git a/src/invidious/views/login.ecr b/src/invidious/views/login.ecrindex b26aa373..ec5dc147 100644--- a/src/invidious/views/login.ecr+++ b/src/invidious/views/login.ecr@@ -25,15 +25,15 @@<% if email %><input name="email" type="hidden" value="<%= email %>"><% else %>- <label for="email"><%= translate(locale, "User ID:") %></label>- <input required class="pure-input-1" name="email" type="text" placeholder="User ID">+ <label for="email"><%= translate(locale, "User ID") %> :</label>+ <input required class="pure-input-1" name="email" type="text" placeholder="<%= translate(locale, "User ID") %>"><% end %><% if password %><input name="password" type="hidden" value="<%= password %>"><% else %>- <label for="password"><%= translate(locale, "Password:") %></label>- <input required class="pure-input-1" name="password" type="password" placeholder="Password">+ <label for="password"><%= translate(locale, "Password") %> :</label>+ <input required class="pure-input-1" name="password" type="password" placeholder="<%= translate(locale, "Password") %>"><% end %><% if captcha %>@@ -56,7 +56,7 @@<% end %><input type="hidden" name="captcha_type" value="text"><label for="answer"><%= captcha[:question] %></label>- <input type="text" name="answer" type="text" placeholder="Answer">+ <input type="text" name="answer" type="text" placeholder="<%= translate(locale, "Answer") %>"><% end %><button type="submit" name="action" value="signin" class="pure-button pure-button-primary">@@ -90,20 +90,20 @@<% if email %><input name="email" type="hidden" value="<%= email %>"><% else %>- <label for="email"><%= translate(locale, "Email:") %></label>- <input required class="pure-input-1" name="email" type="email" placeholder="Email">+ <label for="email"><%= translate(locale, "Email") %> :</label>+ <input required class="pure-input-1" name="email" type="email" placeholder="<%= translate(locale, "Email") %>"><% end %><% if password %><input name="password" type="hidden" value="<%= password %>"><% else %>- <label for="password"><%= translate(locale, "Password:") %></label>- <input required class="pure-input-1" name="password" type="password" placeholder="Password">+ <label for="password"><%= translate(locale, "Password") %> :</label>+ <input required class="pure-input-1" name="password" type="password" placeholder="<%= translate(locale, "Password") %>"><% end %><% if tfa %>- <label for="tfa"><%= translate(locale, "Google verification code:") %></label>- <input required class="pure-input-1" name="tfa" type="text" placeholder="Google verification code">+ <label for="tfa"><%= translate(locale, "Google verification code") %> :</label>+ <input required class="pure-input-1" name="tfa" type="text" placeholder="<%= translate(locale, "Google verification code") %>"><% end %><button type="submit" class="pure-button pure-button-primary"><%= translate(locale, "Sign In") %></button>