diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index 421fdb8..e15f478 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -95,9 +95,16 @@ our %Lexicon = ( "YOU_CAN_PASSWORD_PROTECT_JOIN" => "You can protect this room with a password", "PASSWORD" => "Password", "PASSWORD_PROTECT" => "Password protect", - "REMOVE_PASSWORD" => "Remove the password", "PASSWORD_SET" => "Password updated", "PASSWORD_REMOVED" => "Password removed", + "PASSWORDS_DO_NOT_MATCH" => "Passwords do not match", + "MAKE_THIS_ROOM_PERSISTENT" => "Make this room persistent", + "SET_OWNER_PASS_PERSISTENT" => "To make this room persistent, you must set a manager password. Keep it carefully, " . + "it'll let you access all the configuration menus next time you connect. Once this " . + "password is set, this room will be considered persistent, which means it won't be " . + "deleted even if it's not used for some time", + "CONFIRM_PASSWORD" => "Confirm password", + "PROTECT_ROOM_WITH_PASSWORD" => "If this password is set, participants will have to type it before the system let them in", "ERROR_COMMON_ROOM_NAME" => "Sorry, this room name is too comon to be reserved", "AUTHENTICATE" => "Authentication", "AUTH_TO_MANAGE_THE_ROOM" => "Authenticate to manage the room", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index 1d9a0a4..bfb1c65 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -102,9 +102,19 @@ our %Lexicon = ( "YOU_CAN_PASSWORD_PROTECT_JOIN" => "Protéger l'accès au salon par un mot de passe", "PASSWORD" => "Mot de passe", "PASSWORD_PROTECT" => "Protéger par mot de passe", - "REMOVE_PASSWORD" => "Supprimer le mot de passe", "PASSWORD_SET" => "Le mot de passe a été mis à jour", "PASSWORD_REMOVED" => "Le mot de passe a été supprimé", + "PASSWORDS_DO_NOT_MATCH" => "Les mots de passe ne correspondent pas", + "MAKE_THIS_ROOM_PERSISTENT" => "Rendre ce salon persistant", + "SET_OWNER_PASS_PERSISTENT" => "Pour rendre ce salon persistant, vous devez saisir un mot de passe " . + "de gestionnaire. Conservez soigneusement ce mot de passe, il vous " . + "permettra de retrouver l'accès aux menus de configuration si vous vous reconnectez " . + "plus tard. Une fois ce mot de passe saisi, ce salon sera considéré comme un salon " . + "persistant, c'est-à-dire qu'il ne sera pas supprimé, même s'il n'est pas utilisé " . + "pendant une période prolongée", + "CONFIRM_PASSWORD" => "Confirmation du mot de passe", + "PROTECT_ROOM_WITH_PASSWORD" => "Si ce mot de passe est configuré, les participants devront le saisir avant de pouvoir " . + "rejoindre le salon", "ERROR_COMMON_ROOM_NAME" => "Désolé, le nom de ce salon est trop commun pour être réservé", "AUTHENTICATE" => "Authentification", "AUTH_TO_MANAGE_THE_ROOM" => "Authentifiez-vous pour gérer le salon", diff --git a/public/js/vroom.js b/public/js/vroom.js index 0e27f9d..87edb0b 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -59,7 +59,7 @@ var locale = { DISPLAY_NAME_REQUIRED: '', A_ROOM_ADMIN: '', A_PARTICIPANT: '', - PASSWORDS_DOES_NOT_MATCH: '' + PASSWORDS_DO_NOT_MATCH: '' }; // Localize the strings we need @@ -1414,7 +1414,7 @@ function initVroom(room) { }); } else{ - $('#joinPassConfirm').notify(locale.PASSWORDS_DOES_NOT_MATCH, 'error'); + $('#joinPassConfirm').notify(locale.PASSWORDS_DO_NOT_MATCH, 'error'); } }); @@ -1500,7 +1500,7 @@ function initVroom(room) { }); } else{ - $('#ownerPassConfirm').notify(locale.PASSWORDS_DOES_NOT_MATCH, 'error'); + $('#ownerPassConfirm').notify(locale.PASSWORDS_DO_NOT_MATCH, 'error'); } });