From f44535f76f009d0afc9ab6de60fb97747363b42e Mon Sep 17 00:00:00 2001 From: Irka Date: Thu, 4 Sep 2014 03:45:14 +0300 Subject: [PATCH] MT#8437 Translation of errors for ngcp-panel password policy --- db_scripts/diff/15098.down | 9 +++++++++ db_scripts/diff/15098.up | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 db_scripts/diff/15098.down create mode 100644 db_scripts/diff/15098.up diff --git a/db_scripts/diff/15098.down b/db_scripts/diff/15098.down new file mode 100644 index 00000000..d3e8452a --- /dev/null +++ b/db_scripts/diff/15098.down @@ -0,0 +1,9 @@ +USE provisioning; + +DELETE FROM language_strings WHERE code in ('Client.Voip.PasswordMusthaveLowercase','Client.Voip.PasswordMusthaveUppercase','Client.Voip.PasswordMusthaveDigit','Client.Voip.PasswordMusthaveSpecialchar','Client.Voip.PasswordMaxLength'); + +UPDATE language_strings set string = 'The password is too short, please use 6 characters at least.' where code = 'Client.Voip.PasswordMaxLength' and language = 'en'; +UPDATE language_strings set string = 'Das Passwort ist zu kurz, bitte verwenden Sie mindestens 6 Zeichen.' where code = 'Client.Voip.PasswordMaxLength' and language = 'de'; +UPDATE language_strings set string = 'La contraseña es demasiado corta. Por favor use una de al menos 6 caracteres.' where code = 'Client.Voip.PasswordMaxLength' and language = 'es'; +UPDATE language_strings set string = 'Le mot de passe est trop court, utilisez au moins 6 caractères.' where code = 'Client.Voip.PasswordMaxLength' and language = 'fr'; +UPDATE language_strings set string = 'La password e\' troppo breve, prego usare almeno 6 caratteri.' where code = 'Client.Voip.PasswordMaxLength' and language = 'it'; \ No newline at end of file diff --git a/db_scripts/diff/15098.up b/db_scripts/diff/15098.up new file mode 100644 index 00000000..ddde1289 --- /dev/null +++ b/db_scripts/diff/15098.up @@ -0,0 +1,39 @@ +USE provisioning; + +SET AUTOCOMMIT=0; + +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PasswordMaxLength' and language = 'en'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PasswordMaxLength' and language = 'de'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PasswordMaxLength' and language = 'es'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PasswordMaxLength' and language = 'fr'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PasswordMaxLength' and language = 'it'; + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMaxLength', 'en', 'The password is too long'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMaxLength', 'de', 'The password is too long'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMaxLength', 'es', 'The password is too long'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMaxLength', 'fr', 'The password is too long'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMaxLength', 'it', 'The password is too long'); + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveLowercase', 'en', 'The password must contain lower-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveLowercase', 'de', 'Kleinbuchstaben müssen enthalten sein'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveLowercase', 'fr', 'The password must contain lower-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveLowercase', 'es', 'The password must contain lower-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveLowercase', 'it', 'The password must contain lower-case character'); + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveUppercase', 'en', 'The password must contain upper-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveUppercase', 'de', 'Spezialzeichen müssen enthalten sein'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveUppercase', 'fr', 'The password must contain upper-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveUppercase', 'es', 'The password must contain upper-case character'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveUppercase', 'it', 'The password must contain upper-case character'); + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveDigit', 'en', 'The password must contain digit'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveDigit', 'de', 'Ziffern müssen enthalten sein'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveDigit', 'fr', 'The password must contain digit'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveDigit', 'es', 'The password must contain digit'); + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveSpecialchar', 'en', 'The password must contain special characters'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveSpecialchar', 'de', 'Spezialzeichen müssen enthalten sein'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveSpecialchar', 'fr', 'The password must contain special characters'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMusthaveSpecialchar', 'es', 'The password must contain special characters'); + +COMMIT;