From 9b2dc95d5b4412cc8d7ce7ef8489907fb770b97b Mon Sep 17 00:00:00 2001 From: Irka Date: Thu, 4 Sep 2014 04:01:58 +0300 Subject: [PATCH] MT#8437 Fixes in translation of passwd policy messages --- db_scripts/diff/15098.down | 12 ++++++------ db_scripts/diff/15098.up | 16 +++++++++++----- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/db_scripts/diff/15098.down b/db_scripts/diff/15098.down index d3e8452a..ec662260 100644 --- a/db_scripts/diff/15098.down +++ b/db_scripts/diff/15098.down @@ -1,9 +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'); +DELETE FROM language_strings WHERE code in ('Client.Voip.PasswordMusthaveLowercase','Client.Voip.PasswordMusthaveUppercase','Client.Voip.PasswordMusthaveDigit','Client.Voip.PasswordMusthaveSpecialchar','Client.Voip.PasswordMaxLength','Client.Voip.PasswordMinLength'); -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 +UPDATE language_strings set string = 'The password is too short, please use 6 characters at least.' where code = 'Client.Voip.PassLength' and language = 'en'; +UPDATE language_strings set string = 'Das Passwort ist zu kurz, bitte verwenden Sie mindestens 6 Zeichen.' where code = 'Client.Voip.PassLength' 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.PassLength' 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.PassLength' and language = 'fr'; +UPDATE language_strings set string = 'La password e\' troppo breve, prego usare almeno 6 caratteri.' where code = 'Client.Voip.PassLength' and language = 'it'; \ No newline at end of file diff --git a/db_scripts/diff/15098.up b/db_scripts/diff/15098.up index ddde1289..3b92bedb 100644 --- a/db_scripts/diff/15098.up +++ b/db_scripts/diff/15098.up @@ -2,11 +2,17 @@ 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'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PassLength' and language = 'en'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PassLength' and language = 'de'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PassLength' and language = 'es'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PassLength' and language = 'fr'; +UPDATE language_strings set string = 'The password is too short' where code = 'Client.Voip.PassLength' and language = 'it'; + +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMinLength', 'en', 'The password is too short'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMinLength', 'de', 'The password is too short'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMinLength', 'es', 'The password is too short'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMinLength', 'fr', 'The password is too short'); +INSERT INTO language_strings (code, language, string) VALUES ('Client.Voip.PasswordMinLength', 'it', 'The password is too short'); 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');