add option to randomize keys
This commit is contained in:
@@ -137,7 +137,16 @@ export function SettingsPage(
|
||||
></input>
|
||||
</div>
|
||||
</label>
|
||||
<div class="flex-row justify-end width-input">
|
||||
<div class="flex-row width-input">
|
||||
<button
|
||||
class="width-50"
|
||||
on:click={
|
||||
settingsPageViewModel.randomizeKey
|
||||
}
|
||||
>
|
||||
{coreViewModel.translations.chatPage.settings.randomizeKey}
|
||||
<span class="icon">shuffle</span>
|
||||
</button>
|
||||
<button
|
||||
class="width-50"
|
||||
aria-label={
|
||||
@@ -167,7 +176,7 @@ export function SettingsPage(
|
||||
coreViewModel.translations.chatPage.settings
|
||||
.showEncryptionKey
|
||||
}
|
||||
</label>
|
||||
</label>
|
||||
|
||||
<hr></hr>
|
||||
|
||||
|
||||
@@ -236,6 +236,7 @@ const englishTranslations = {
|
||||
encryptionKeyLabel: "Encryption key",
|
||||
setEncryptionKeyButtonAudioLabel: "set encryption key",
|
||||
showEncryptionKey: "Show encryption key",
|
||||
randomizeKey: "Randomize",
|
||||
|
||||
setColorButtonAudioLabel: "set color",
|
||||
|
||||
@@ -605,6 +606,7 @@ export const allTranslations: {
|
||||
encryptionKeyLabel: "Schlüssel",
|
||||
setEncryptionKeyButtonAudioLabel: "Schlüssel festlegen",
|
||||
showEncryptionKey: "Schlüssel anzeigen",
|
||||
randomizeKey: "Zufällig generieren",
|
||||
|
||||
setColorButtonAudioLabel: "Farbe festlegen",
|
||||
|
||||
@@ -948,6 +950,7 @@ export const allTranslations: {
|
||||
setEncryptionKeyButtonAudioLabel:
|
||||
"establecer clave de encriptación",
|
||||
showEncryptionKey: "Mostrar clave de encriptación",
|
||||
randomizeKey: "Aleatorizar",
|
||||
|
||||
setColorButtonAudioLabel: "establecer color",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user