Commit b2d54b76 authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

some more translations

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent bd054586
......@@ -115,21 +115,23 @@
if (secret.website_password_password.length <= _MIN_PASSWORD_LENGTH) {
return {
score: _MIN_SCORE,
advise: 'Set longer password (length <= ' + _MIN_PASSWORD_LENGTH + ')'
advise: 'SET_LONGER_PASSWORD',
min_password_length: _MIN_PASSWORD_LENGTH
};
}
if (secret.website_password_username && secret.website_password_username !== '' && secret.website_password_password.toLowerCase().indexOf(secret.website_password_username.toLowerCase()) !== -1) {
return {
score:0,
advise: 'Remove username from password.'
advise: 'REMOVE_USERNAME_FROM_PASSWORD'
};
}
if (secret.website_password_password.length >= _MAX_PASSWORD_LENGTH) {
return {
score: _MAX_SCORE,
advise: ''
advise: '',
max_password_length: _MAX_PASSWORD_LENGTH
};
}
......@@ -138,13 +140,13 @@
if (secret.website_password_password.length <= _MIN_VARIATION_ENFORCE_PASSWORD_LENGTH && variation_count < _MIN_VARIATION_LENGTH) {
return {
score: Math.round(Math.max(Math.min(score * (1 - (_MIN_VARIATION_LENGTH - variation_count)*_VARIATION_PENALTY), _MAX_SCORE), _MIN_SCORE) * 10) / 10,
advise: 'Set longer or more complex password.'
advise: 'SET_LONGER_OR_MORE_COMPLEX_PASSWORD.'
};
}
return {
score: Math.round(Math.max(Math.min(score, _MAX_SCORE), _MIN_SCORE) * 10) / 10,
advise: 'Set longer password.'
advise: 'SET_LONGER_PASSWORD_10'
};
};
......@@ -250,6 +252,8 @@
name: secrets[i]['name'],
password: secrets[i]['website_password_password'],
rating: rating['score'],
min_password_length: rating['min_password_length'],
pwned: rating['pwned'],
input_type: 'password',
advise: rating['advise'],
create_age: get_age_in_days(secrets[i]['create_date']),
......@@ -285,7 +289,7 @@
if (lookup_dict.hasOwnProperty(analysis.passwords[i].password)) {
analysis.passwords[i].duplicate = true;
lookup_dict[analysis.passwords[i].password].duplicate = true;
lookup_dict[analysis.passwords[i].password].advise = 'Change password, do not use passwords twice.';
lookup_dict[analysis.passwords[i].password].advise = 'DO_NOT_USE_PASSWORDS_TWICE';
} else {
lookup_dict[analysis.passwords[i].password] = analysis.passwords[i];
}
......@@ -324,9 +328,9 @@
}
entry.pwned = suffix[1];
if (entry.pwned > 1) {
entry.advise = 'Change password, it has been compromised ' + entry.pwned + ' times.';
entry.advise = 'PASSWORD_HAS_BEEN_COMPROMISED_MULTIPLE_TIMES';
} else {
entry.advise = 'Change password, it has been compromised.';
entry.advise = 'PASSWORD_HAS_BEEN_COMPROMISED';
}
entry.rating = 0;
......
{
"SET_LONGER_PASSWORD": "Benutzen sie ein längeres Passwort (length <= {{ min_password_length }})",
"SET_LONGER_PASSWORD_10": "Benutzen sie ein längeres Passwort",
"REMOVE_USERNAME_FROM_PASSWORD": "Entfernen sie den Benutzernamen vom Passwort",
"SET_LONGER_OR_MORE_COMPLEX_PASSWORD": "Benutzen sie ein längeres oder komplexeres Passwort",
"DO_NOT_USE_PASSWORDS_TWICE": "Passwort ändern, benutzen sie keine Passwörter doppelt.",
"PASSWORD_HAS_BEEN_COMPROMISED": "Passwort ändern, es wurde bereits kompromittiert.",
"PASSWORD_HAS_BEEN_COMPROMISED_MULTIPLE_TIMES": "Passwort ändern, es wurde bereits {{ pwned }} mal kompromittiert.",
"ANALYSIS_CAN_TAKE_SEVERAL_MINUTES": "Diese Analyse kann mehrere Minuten benötigen.",
"HAVEIBEENPAWND_ANALYSIS": "Haveibeenpawnd Analyse",
"DOWNLOADING_PASSWORDS": "Herunterladen von Passwörtern",
"START_ANALYSIS": "Analyse Starten",
"CHECK_AGAINST": "Checken gegen",
"YOUR_PASSWORD": "Ihr Passwort",
"OPTIONAL_IN_BRACKETS": "(optional)",
"SECURITY_REPORT_GOAL": "Psono's Ziel ist es ihr Sicherheitsbewusstsein mit dieser Analyse zu verbessern. Wir werden alle Passwörter auf ihre Stärke und Komplexität analysieren und ihnen Tips geben wie sie ihre Sicherheit verbessern können und welche Passwörter sie ändern sollten. Bei diesem Prozess werden wir alle Passwörter und andere Informationen einlesen und in ihrem Browser entschlüsseln und analysieren.",
"GENERATE_SECURITY_REPORT": "Sicherheitsanalyse Starten",
"AGE": "Alter",
"PWNED": "Pwned",
"RATING": "Bewertung",
"DAYS": "Tage",
"PASSWORD_AGE": "Passwort Alter",
"SCORE": "Bewertung",
"ADVISE": "Ratschlag",
"DUPLICATE": "Duplikat",
"DUPLICATES": "Duplikate",
"NO_DUPLICATES": "Keine Duplikate",
"WEAK_PASSWORDS": "Schwache Passwörter",
"NO_WEAK_PASSWORDS": "Keine Schwachen Passwörter",
"PASSWORD_STRENGTH": "Passwort Stärke",
"CONSIDER_ENABLING_MULTIFACTOR_AUTHENTICATION": "Bitte ziehen sie es in Erwägung Multifaktor Authentifizierung zu aktivieren da es signifikant die Sicherheit ihres Kontos verbessert.",
"CONSIDER_ENABLING_RECOVERY_CODES": "Bitte ziehen sie es in Erwägung einen Wiederherstellungs Code für Ihr Konto zu generieren um Ihr Konto vor dem Verlust ihres Passworts zu schützen.",
"ACCEPT": "Annehmen",
"ACCEPT_NEW_SHARES": "Neue Shares Annehmen",
"DECLINE": "Abweisen",
......
{
"SET_LONGER_PASSWORD": "Set longer password (length <= {{ min_password_length }})",
"SET_LONGER_PASSWORD_10": "Set a longer password",
"REMOVE_USERNAME_FROM_PASSWORD": "Remove username from password",
"SET_LONGER_OR_MORE_COMPLEX_PASSWORD": "Set a longer password or more complex password",
"DO_NOT_USE_PASSWORDS_TWICE": "Change password, do not use passwords twice.",
"PASSWORD_HAS_BEEN_COMPROMISED": "Change password, it has been compromised.",
"PASSWORD_HAS_BEEN_COMPROMISED_MULTIPLE_TIMES": "Change password, it has been compromised {{ pwned }} times.",
"ANALYSIS_CAN_TAKE_SEVERAL_MINUTES": "This analysis can take several minutes to complete.",
"HAVEIBEENPAWND_ANALYSIS": "Haveibeenpawnd Analysis",
"DOWNLOADING_PASSWORDS": "Downloading passwords",
"START_ANALYSIS": "Start Analysis",
"CHECK_AGAINST": "Check against",
"YOUR_PASSWORD": "Your Password",
"OPTIONAL_IN_BRACKETS": "(optional)",
"SECURITY_REPORT_GOAL": "Psono's goal is to increase your security awareness with this report. We will analyze all passwords for their strength and complexity, and give you tips how to improve security and which passwords you should change. In the process we will read all passwords and other information from the server and then decrypt and analyse them completely in your browser.",
"GENERATE_SECURITY_REPORT": "Generate Security Report",
"AGE": "Age",
"PWNED": "Pwned",
"RATING": "Rating",
"DAYS": "Days",
"PASSWORD_AGE": "Password Age",
"SCORE": "Score",
"ADVISE": "Advise",
"DUPLICATE": "Duplicate",
"DUPLICATES": "Duplicates",
"NO_DUPLICATES": "No Duplicates",
"WEAK_PASSWORDS": "Weak Passwords",
"NO_WEAK_PASSWORDS": "No Weak Passwords",
"PASSWORD_STRENGTH": "Password Strength",
"CONSIDER_ENABLING_MULTIFACTOR_AUTHENTICATION": "Please consider enabling multifactor authentication as it significantly improves your account's security.",
"CONSIDER_ENABLING_RECOVERY_CODES": "Please consider creating a recovery code to recover your account in case of a lost passwords.",
"ACCEPT": "Accept",
"ACCEPT_NEW_SHARES": "Accept New Shares",
"DECLINE": "Decline",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment