mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
applied i18n to background context menus
This commit is contained in:
@@ -107,7 +107,7 @@ function initPasswordGenerationService() {
|
||||
|
||||
var bits_needed = Math.ceil(Math.log2(range));
|
||||
if (bits_needed > 53) {
|
||||
throw new Exception("We cannot generate numbers larger than 53 bits.");
|
||||
throw new Exception('We cannot generate numbers larger than 53 bits.');
|
||||
}
|
||||
var bytes_needed = Math.ceil(bits_needed / 8);
|
||||
var mask = Math.pow(2, bits_needed) - 1;
|
||||
|
||||
Reference in New Issue
Block a user