mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 09:45:52 +00:00
Remove unused code for old "todo"
This commit is contained in:
parent
00ad2b88d5
commit
abe344016c
@ -37,10 +37,6 @@ const user = {
|
||||
playSound: true,
|
||||
showNotification: true,
|
||||
},
|
||||
block: {
|
||||
playSound: true,
|
||||
showNotification: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
module.exports = user
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Passwort",
|
||||
"download": "Sicherungsdatei herunterladen",
|
||||
"choose": "Bitte wählen Sie ein Passwort, um Ihr Backup zu verschlüsseln. (Dies kann dasselbe sein wie das, mit dem Sie sich angemeldet haben, oder ein anderes)",
|
||||
"block": "Block Benachrichtigungen (Kommt bald...)",
|
||||
"playsound": "Ton abspielen",
|
||||
"shownotifications": "Zeige Benachrichtigungen",
|
||||
"nodeurl": "Knotenverbindung",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Contraseña",
|
||||
"download": "Descargar copia de seguridad",
|
||||
"choose": "Por favor, elija una contraseña para cifrar su copia de seguridad. (Puede ser la misma con la que ha iniciado la sesión, o diferente)",
|
||||
"block": "Bloquear Notificaciones (próximamente...)",
|
||||
"playsound": "Reproducir Sonido",
|
||||
"shownotifications": "Mostrar Notificaciones",
|
||||
"nodeurl": "URL del Nodo",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Salasõna",
|
||||
"Lae alla": "Laadi varukoopia fail alla",
|
||||
"choose": "Palun vali salasõna, millega varukoopia krüpteerida. (See võib olla sama, millega sisse logisid, või erinev).",
|
||||
"block": "Ploki Teavitused (Tulemas varsti...)",
|
||||
"playsound": "Mängi heli",
|
||||
"shownotifications": "Näita teavitusi",
|
||||
"nodeurl": "Sõlme Url",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Mot de passe",
|
||||
"download": "Télécharger le fichier de sauvegarde",
|
||||
"choose": "Veuillez choisir un mot de passe pour chiffrer votre sauvegarde. (Il peut s’agir du même mot de passe que celui avec lequel vous vous êtes connecté, ou différent)",
|
||||
"block": "Notification de bloc (Pour bientôt...)",
|
||||
"playsound": "Lire le son",
|
||||
"shownotifications": "Afficher les notifications",
|
||||
"nodeurl": "Url du noeud",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "पासवर्ड",
|
||||
"download": "बैकअप फ़ाइल डाउनलोड करें",
|
||||
"choose": "कृपया अपने बैकअप को एन्क्रिप्ट करने के लिए पासवर्ड चुनें। (यह वही हो सकता है जैसा आपने एक लॉग इन किया है, या अलग)",
|
||||
"block": "ब्लॉक सूचनाएं (जल्द ही आ रही ...",
|
||||
"playsound": "ध्वनि चलाएं",
|
||||
"shownotifications": "सूचनाएं दिखाएं",
|
||||
"nodeurl": "नोड यूआरएल",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Lozinka",
|
||||
"download": "Preuzmite sigurnosnu kopiju računa",
|
||||
"choose": "Odaberite lozinku za šifriranje sigurnosne kopije. (Ovo može biti ista kao i ona sa kojom ste se prijavili ili različita)",
|
||||
"block": "Blok obavijesti (uskoro dolaze ...)",
|
||||
"playsound": "Puštanje zvuka",
|
||||
"shownotifications": "Prikaži obavijesti",
|
||||
"nodeurl": "URL čvora",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Jelszó",
|
||||
"download": "Biztonságimásolat-fájl letöltése",
|
||||
"choose": "Válasszon egy jelszót a biztonsági mentés titkosításához. (Ez lehet ugyanaz, mint az, amelyikbe bejelentkezett, vagy más)",
|
||||
"block": "Értesítések blokkolása (hamarosan...)",
|
||||
"playsound": "Hang lejátszása",
|
||||
"shownotifications": "Értesítések megjelenítése",
|
||||
"nodeurl": "Csomópont URL-címe",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Password",
|
||||
"download": "Scarica il file di backup",
|
||||
"choose": "Scegli una password con cui crittare il tuo backup. (Può essere uguale a quella con cui hai effettuato l'accesso o diversa)",
|
||||
"block": "Notifiche di blocco (in arrivo...)",
|
||||
"playsound": "Riproduci suono",
|
||||
"shownotifications": "Mostra notifiche",
|
||||
"nodeurl": "URL nodo",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "パスワード",
|
||||
"download": "バックアップ ファイルをダウンロード",
|
||||
"choose": "バックアップを暗号化するためのパスワードを入力してください。(ログインに使用したパスワードと同じでも、別のものでも構いません)",
|
||||
"block": "通知をブロックする (近日公開予定...)",
|
||||
"playsound": "音を鳴らす",
|
||||
"shownotifications": "通知を表示",
|
||||
"nodeurl": "ノード URL",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "비밀번호",
|
||||
"download": "백업 파일 다운로드",
|
||||
"choose": "백업을 암호화할 암호를 선택하십시오. 암호는 로그인한 암호와 같거나 다를 수 있습니다.",
|
||||
"block": "블록 알림",
|
||||
"playsound": "소리 재생",
|
||||
"shownotifications": "알림 표시",
|
||||
"nodeurl": "노드 url",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Wachtwoord",
|
||||
"download": "Download backup-bestand",
|
||||
"choose": "Kies een wachtwoord om het backup-bestand te versleutelen. (Dit kan hetzelfde zijn als bij aanmelding, of een ander)",
|
||||
"block": "Blokkeer waarschuwingen (Komt binnenkort...)",
|
||||
"playsound": "Geluid afspelen",
|
||||
"shownotifications": "Toon waarschuwingen",
|
||||
"nodeurl": "Adres van de node",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Passord",
|
||||
"download": "Last ned backup-fil",
|
||||
"choose": "Velg et passord for å kryptere din backup med. (Dette kan være det samme som du logget på med, eller et annet)",
|
||||
"block": "Blokkvarsler (Kommer snart...)",
|
||||
"playsound": "Spill av lyd",
|
||||
"shownotifications": "Vis varsler",
|
||||
"nodeurl": "Node-URL",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Hasło",
|
||||
"download": "Pobierz plik kopii zapasowej",
|
||||
"choose": "Proszę wybrać hasło do zaszyfrowania kopii zapasowej. (Może to być to samo, za pomocą którego się zalogowałeś lub inne)",
|
||||
"block": "Blokuj powiadomienia (wkrótce...)",
|
||||
"playsound": "Odtwórz dźwięk",
|
||||
"shownotifications": "Pokaż powiadomienia",
|
||||
"nodeurl": "URL węzła",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Senha",
|
||||
"download": "Baixar Arquivo BackUp",
|
||||
"choose": "Por favor, escolha uma senha para criptografar seu backup. (Essa pode ser a mesma que você fez login, ou outra diferente)",
|
||||
"block": "Notificações de bloco (em breve...)",
|
||||
"playsound": "Reproduzir som",
|
||||
"shownotifications": "Mostrar notificações",
|
||||
"nodeurl": "Url do nódulo",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Parola",
|
||||
"download": "Descarca copia de siguranta",
|
||||
"choose": "Va rugam sa alegeti o parola cu care sa va criptati copia de rezerva. (Aceasta poate fi aceeasi cu cea cu care v-ati logat sau diferita)",
|
||||
"block": "Blocare notificari (Disponibil in curand...)",
|
||||
"playsound": "Redare sunet",
|
||||
"shownotifications": "Arata notificarile",
|
||||
"nodeurl": "Adresa url a nodului",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Lozinka",
|
||||
"download": "Skinite Datoteku Rezervne kopije",
|
||||
"choose": "Molim vas izaberite lozinku sa kojom ćete šifrovati rezervnu kopiju. (Ovo može biti ista lozinka sa kojom se prijavljujete, a može biti i različita)",
|
||||
"block": "Blokirajte Notifikacije (Uskoro...)",
|
||||
"playsound": "Pustite Zvuk",
|
||||
"shownotifications": "Prikažite notifikacije",
|
||||
"nodeurl": "URL Čvora",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Пароль",
|
||||
"download": "Загрузить файл резервной копии",
|
||||
"choose": "Пожалуйста, выберите пароль для шифрования вашей резервной копии. (Это может быть тот же пароль, с которым вы вошли в систему, или другой)",
|
||||
"block": "Блокировать уведомления (скоро…)",
|
||||
"playsound": "Воспроизвести звук",
|
||||
"shownotifications": "Показать уведомления",
|
||||
"nodeurl": "URL-адрес узла",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "Password",
|
||||
"download": "Download Backup File",
|
||||
"choose": "Please choose a password to encrypt your backup with. (This can be the same as the one you logged in with, or different)",
|
||||
"block": "Block Notifications (Coming Soon...)",
|
||||
"playsound": "Play Sound",
|
||||
"shownotifications": "Show Notifications",
|
||||
"nodeurl": "Node Url",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "密码",
|
||||
"download": "下载备份文件",
|
||||
"choose": "请输入一组密码加密你的备份文件。(可使用你刚才登入时的相同密码或者不同的密码)",
|
||||
"block": "区块通知(即将推出...)",
|
||||
"playsound": "开启音效",
|
||||
"shownotifications": "显示通知",
|
||||
"nodeurl": "节点地址",
|
||||
|
@ -182,7 +182,6 @@
|
||||
"password": "密碼",
|
||||
"download": "下載備份文件",
|
||||
"choose": "請輸入一組密碼加密你的備份文件。(可使用你剛才登入時的相同密碼或者不同的密碼)",
|
||||
"block": "區塊通知(即將推出...)",
|
||||
"playsound": "開啓音效",
|
||||
"shownotifications": "顯示通知",
|
||||
"nodeurl": "節點地址",
|
||||
|
@ -13,7 +13,6 @@ class NotificationsView extends connect(store)(LitElement) {
|
||||
return {
|
||||
notificationConfig: { type: Object },
|
||||
q_chatConfig: { type: Object },
|
||||
blockConfig: { type: Object },
|
||||
theme: { type: String, reflect: true },
|
||||
appNotificationList: {type: Array}
|
||||
}
|
||||
@ -23,7 +22,6 @@ class NotificationsView extends connect(store)(LitElement) {
|
||||
super()
|
||||
this.notificationConfig = {}
|
||||
this.q_chatConfig = {}
|
||||
this.blockConfig = {}
|
||||
this.theme = localStorage.getItem('qortalTheme') ? localStorage.getItem('qortalTheme') : 'light'
|
||||
this.appNotificationList = [] // Fetch the list of apps from local storage
|
||||
}
|
||||
@ -151,19 +149,6 @@ class NotificationsView extends connect(store)(LitElement) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<h4> ${translate("settings.block")} </h4>
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox indeterminate disabled id="blockPlaySound"></mwc-checkbox>
|
||||
<label for="blockPlaySound">${translate("settings.playsound")}</label>
|
||||
</div>
|
||||
|
||||
<div style="line-height: 3rem;">
|
||||
<mwc-checkbox indeterminate disabled id="blockShowNotification"></mwc-checkbox>
|
||||
<label for="blockShowNotification">${translate("settings.shownotifications")}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-box">
|
||||
<h4>${translate("settings.qappNotification1")}</h4>
|
||||
${this.appNotificationList.map((app)=> html`
|
||||
<div style="display: flex; justify-content: space-between; margin-top: 10px;">
|
||||
@ -223,7 +208,6 @@ class NotificationsView extends connect(store)(LitElement) {
|
||||
stateChanged(state) {
|
||||
this.notificationConfig = state.user.notifications
|
||||
this.q_chatConfig = this.notificationConfig.q_chat
|
||||
this.blockConfig = this.notificationConfig.block
|
||||
}
|
||||
|
||||
setQChatNotificationConfig(valueObject) {
|
||||
|
@ -13,11 +13,9 @@ export const doLoadNotificationConfig = () => {
|
||||
.then(data => {
|
||||
|
||||
const notifications = {
|
||||
q_chat: {},
|
||||
block: {}
|
||||
q_chat: {}
|
||||
}
|
||||
notifications.q_chat = data.config.user.notifications.q_chat
|
||||
notifications.block = data.config.user.notifications.block
|
||||
return dispatch(loadNotificationConfig(notifications))
|
||||
})
|
||||
.catch(err => {
|
||||
|
@ -15,8 +15,7 @@ const DEFAULT_INITIAL_STATE = {
|
||||
// nameStatus: ''
|
||||
},
|
||||
notifications: {
|
||||
q_chat: {},
|
||||
block: {}
|
||||
q_chat: {}
|
||||
},
|
||||
loaded: false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user