diff --git a/go/handlers/appHandler.go b/go/handlers/appHandler.go index b6bb9869..f598903c 100644 --- a/go/handlers/appHandler.go +++ b/go/handlers/appHandler.go @@ -73,7 +73,7 @@ func App(gcd *ui.GrandCentralDispatcher, subscribed chan bool, reloadingAccounts initialProfileLoad = false gcd.Loaded() } else { - gcd.ErrorLoaded0() + gcd.InvokePopup("0-profiles") } } diff --git a/go/ui/gcd.go b/go/ui/gcd.go index 3d6ae68e..31206650 100644 --- a/go/ui/gcd.go +++ b/go/ui/gcd.go @@ -60,7 +60,6 @@ type GrandCentralDispatcher struct { // profile management stuff _ func() `signal:"Loaded"` _ func(handle, displayname, image, tag string, unread int, online bool) `signal:"AddProfile"` - _ func() `signal:"ErrorLoaded0"` _ func() `signal:"ResetProfile"` _ func() `signal:"ResetProfileList"` _ func(failed bool) `signal:"ChangePasswordResponse"` diff --git a/i18n/translation_de.ts b/i18n/translation_de.ts index 1c49f66a..f69f9f63 100644 --- a/i18n/translation_de.ts +++ b/i18n/translation_de.ts @@ -81,19 +81,13 @@ - + server Server - - invitation - Invitation - - - - + group-addr Address @@ -122,19 +116,19 @@ ChatOverlay - + chat-history-default This conversation will be deleted when Cwtch is closed! Message history can be enabled per-conversation via the Settings menu in the upper right. - + chat-history-disabled Message history is disabled. - + chat-history-enabled Message history is enabled. @@ -148,7 +142,7 @@ Adresse hier hinzufügen, um einen Kontakt aufzunehmen - + blocked @@ -561,7 +555,7 @@ ProfileList - + add-new-profile-btn @@ -580,19 +574,13 @@ - - error-0-profiles-loaded-for-password - 0 profiles loaded with that password - - - - + your-profiles Your Profiles - + your-servers Your Profiles @@ -752,5 +740,11 @@ New Connection + + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + + diff --git a/i18n/translation_en.qm b/i18n/translation_en.qm index bc4dbdc6..3bcd5684 100644 Binary files a/i18n/translation_en.qm and b/i18n/translation_en.qm differ diff --git a/i18n/translation_en.ts b/i18n/translation_en.ts index 7606e16f..f6167b17 100644 --- a/i18n/translation_en.ts +++ b/i18n/translation_en.ts @@ -81,19 +81,18 @@ Group name - + server Server Server - invitation Invitation - Invitation + Invitation - + group-addr Address Address @@ -135,19 +134,19 @@ ChatOverlay - + chat-history-default This conversation will be deleted when Cwtch is closed! Message history can be enabled per-conversation via the Settings menu in the upper right. Your history with this peer is ephemeral and will not be saved. If you would like to save history, please go to settings and turn it on. - + chat-history-disabled Message history is disabled. Message history is disabled. - + chat-history-enabled Message history is enabled. Message history is enabled. @@ -161,7 +160,7 @@ ... paste an address here to add a contact... - + blocked Blocked @@ -680,7 +679,7 @@ Right-click to reset. ProfileList - + add-new-profile-btn Add new profile @@ -699,19 +698,18 @@ Right-click to reset. Password - error-0-profiles-loaded-for-password 0 profiles loaded with that password - 0 profiles loaded with that password + 0 profiles loaded with that password - + your-profiles Your Profiles Your Profiles - + your-servers Your Profiles Your Servers @@ -893,5 +891,11 @@ Right-click to reset. New Connection New Connection + + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + 0 profiles loaded with that password + diff --git a/i18n/translation_es.qm b/i18n/translation_es.qm index 7207bbfb..fea63b99 100644 Binary files a/i18n/translation_es.qm and b/i18n/translation_es.qm differ diff --git a/i18n/translation_es.ts b/i18n/translation_es.ts index 5a4a52f9..2e5db596 100644 --- a/i18n/translation_es.ts +++ b/i18n/translation_es.ts @@ -75,7 +75,7 @@ invitation Invitation - Invitación + Invitación group-addr @@ -557,7 +557,7 @@ error-0-profiles-loaded-for-password 0 profiles loaded with that password - 0 perfiles cargados con esa contraseña + 0 perfiles cargados con esa contraseña your-profiles @@ -717,5 +717,10 @@ New Connection Nueva conexión + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + 0 perfiles cargados con esa contraseña + diff --git a/i18n/translation_fr.ts b/i18n/translation_fr.ts index 7d18891b..fd1ec94e 100644 --- a/i18n/translation_fr.ts +++ b/i18n/translation_fr.ts @@ -81,19 +81,13 @@ - + server Server - - invitation - Invitation - - - - + group-addr Address @@ -122,19 +116,19 @@ ChatOverlay - + chat-history-default This conversation will be deleted when Cwtch is closed! Message history can be enabled per-conversation via the Settings menu in the upper right. - + chat-history-disabled Message history is disabled. - + chat-history-enabled Message history is enabled. @@ -148,7 +142,7 @@ ... coller une adresse ici pour ajouter un contact... - + blocked @@ -561,7 +555,7 @@ ProfileList - + add-new-profile-btn @@ -580,19 +574,13 @@ - - error-0-profiles-loaded-for-password - 0 profiles loaded with that password - - - - + your-profiles Your Profiles - + your-servers Your Profiles @@ -752,5 +740,11 @@ New Connection + + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + + diff --git a/i18n/translation_it.qm b/i18n/translation_it.qm index e23dfed4..bb3d2f57 100644 Binary files a/i18n/translation_it.qm and b/i18n/translation_it.qm differ diff --git a/i18n/translation_it.ts b/i18n/translation_it.ts index 520b5821..bd1e4da2 100644 --- a/i18n/translation_it.ts +++ b/i18n/translation_it.ts @@ -1,654 +1,730 @@ - + + + - AddGroupPane - - create-group-title - Crea un gruppo - - - server-label - Server - - - group-name-label - Nome del gruppo - - - default-group-name - Gruppo fantastico - - - create-group-btn - Crea - + AddGroupPane + + create-group-title + Crea un gruppo + + + server-label + Server + + + group-name-label + Nome del gruppo + + + default-group-name + Gruppo fantastico + + + create-group-btn + Crea + - AddPeerGroupPane - - profile-oniblon-label - Inviare questo indirizzo ai peer con cui si desidera connettersi - - - copy-btn - Copia - - - copied-to-clipboard-notification - Copiato negli Appunti - - - add-peer-tab - Aggiungi un peer - - - create-group-tab - Crea un gruppo - - - join-group-tab - Unisciti a un gruppo - - - peer-address - Indirizzo - - - peer-name - Nome - - - group-name - Nome del gruppo - - - server - Server - - - invitation - Invito - - - group-addr - Indirizzo - - - add-peer - Aggiungi peer - - - create-group - Crea un gruppo - - - join-group - Unisciti al gruppo - + AddPeerGroupPane + + profile-oniblon-label + Send this address to peers you want to connect with + Inviare questo indirizzo ai peer con cui si desidera connettersi + + + copy-btn + Copia + + + copied-to-clipboard-notification + notification: copied to clipboard + Copiato negli Appunti + + + add-peer-tab + Aggiungi un peer + + + create-group-tab + Crea un gruppo + + + join-group-tab + Unisciti a un gruppo + + + peer-address + Address + Indirizzo + + + peer-name + Name + Nome + + + group-name + Group Name + Nome del gruppo + + + server + Server + Server + + + invitation + Invito + + + group-addr + Address + Indirizzo + + + add-peer + Aggiungi peer + + + create-group + Crea un gruppo + + + join-group + Unisciti al gruppo + - BulletinOverlay - - new-bulletin-label - Nuovo bollettino - - - post-new-bulletin-label - Pubblica un nuovo bollettino - - - title-placeholder - titolo... - + BulletinOverlay + + new-bulletin-label + Nuovo bollettino + + + post-new-bulletin-label + Post a new Bulletin Post + Pubblica un nuovo bollettino + + + title-placeholder + title place holder text + titolo... + - ContactList - - paste-address-to-add-contact - ... incolla qui un indirizzo per aggiungere un contatto... - - - blocked - Bloccato - + ChatOverlay + + chat-history-default + This conversation will be deleted when Cwtch is closed! Message history can be enabled per-conversation via the Settings menu in the upper right. + + + + chat-history-disabled + Message history is disabled. + + + + chat-history-enabled + Message history is enabled. + + - EmojiDrawer - - cycle-cats-android - Fare clic per scorrere le categorie. + ContactList + + paste-address-to-add-contact + ... incolla qui un indirizzo per aggiungere un contatto... + + + blocked + Bloccato + + + + EmojiDrawer + + cycle-cats-android + Fare clic per scorrere le categorie. Pressione lunga per resettare. - - - cycle-cats-desktop - Fare clic per scorrere le categorie. + + + cycle-cats-desktop + Fare clic per scorrere le categorie. Cliccare con il tasto destro per resettare. - - - cycle-morphs-android - Fare clic per scorrere i morph. + + + cycle-morphs-android + Fare clic per scorrere i morph. Pressione lunga per resettare. - - - cycle-morphs-desktop - Fare clic per scorrere i morph. + + + cycle-morphs-desktop + Fare clic per scorrere i morph. Cliccare con il tasto destro per resettare. - - - cycle-colours-android - Fare clic per scorrere i colori. + + + cycle-colours-android + Fare clic per scorrere i colori. Pressione lunga per resettare. - - - cycle-colours-desktop - Fare clic per scorrere i colori. + + + cycle-colours-desktop + Fare clic per scorrere i colori. Cliccare con il tasto destro per resettare. - - - search - Ricerca... - + + + search + Ricerca... + - GroupSettingsPane - - server-label - Server - - - copy-btn - Copia - - - copied-to-clipboard-notification - Copiato negli Appunti - - - invitation-label - Invito - - - server-info - Informazioni sul server - - - server-connectivity-connected - Server connesso - - - server-connectivity-disconnected - Server disconnesso - - - server-synced - Sincronizzato - - - server-not-synced - Non sincronizzato - - - view-server-info - Informazioni sul server - - - group-name-label - Nome del gruppo - - - save-btn - Salva - - - invite-to-group-label - Invitare nel gruppo - - - invite-btn - Invitare - - - delete-btn - Elimina - + GroupSettingsPane + + server-label + Server + + + copy-btn + Copia + + + copied-to-clipboard-notification + notification: copied to clipboard + Copiato negli Appunti + + + invitation-label + Invito + + + server-info + Informazioni sul server + + + server-connectivity-connected + Server connesso + + + server-connectivity-disconnected + Server disconnesso + + + server-synced + Sincronizzato + + + server-not-synced + Non sincronizzato + + + view-server-info + Informazioni sul server + + + group-name-label + Nome del gruppo + + + save-btn + Salva + + + invite-to-group-label + Invitare nel gruppo + + + invite-btn + Invitare + + + delete-btn + Elimina + - InplaceEditText - - Update - Aggiornamento - + InplaceEditText + + Update + Aggiornamento + - ListOverlay - - search-list - Cerca nella lista - - - peer-not-online - Il peer è offline. Le applicazioni non possono essere utilizzate in questo momento. - - - add-list-item-btn - Aggiungi elemento - - - add-list-item - Aggiungi un nuovo elemento alla lista - - - add-new-item - Aggiungi un nuovo elemento alla lista - - - todo-placeholder - Da fare... - + ListOverlay + + search-list + ex: "Find..." + Cerca nella lista + + + peer-not-online + Il peer è offline. Le applicazioni non possono essere utilizzate in questo momento. + + + add-list-item-btn + Aggiungi elemento + + + add-list-item + Aggiungi un nuovo elemento alla lista + + + add-new-item + Aggiungi un nuovo elemento alla lista + + + todo-placeholder + Da fare... + - MembershipOverlay - - membership-description - Di seguito è riportato un elenco di utenti che hanno inviato messaggi al gruppo. Questo elenco potrebbe non corrispondere a tutti gli utenti che hanno accesso al gruppo. - + MembershipOverlay + + membership-description + Below is a list of users who have sent messages to the group. This list may not reflect all users who have access to the group. + Di seguito è riportato un elenco di utenti che hanno inviato messaggi al gruppo. Questo elenco potrebbe non corrispondere a tutti gli utenti che hanno accesso al gruppo. + - Message - - dm-tooltip - Clicca per inviare un Messagio Diretto - - - could-not-send-msg-error - Impossibile inviare questo messaggio - - - acknowledged-label - Riconosciuto - - - pending-label - In corso - + Message + + dm-tooltip + Click to DM + Clicca per inviare un Messagio Diretto + + + could-not-send-msg-error + Could not send this message + Impossibile inviare questo messaggio + + + acknowledged-label + Riconosciuto + + + pending-label + In corso + - MessageEditor - - peer-blocked-message - Il peer è bloccato - - - peer-offline-message - Il peer è offline, i messaggi non possono essere recapitati in questo momento - + MessageEditor + + peer-blocked-message + Peer is blocked + Il peer è bloccato + + + peer-offline-message + Peer is offline, messages can't be delivered right now + Il peer è offline, i messaggi non possono essere recapitati in questo momento + - MyProfile - - copy-btn - Copia - - - copied-clipboard-notification - Copiato negli Appunti - - - new-group-btn - Crea un nuovo gruppo - - - paste-address-to-add-contact - ... incolla qui un indirizzo per aggiungere un contatto ... - + MyProfile + + copy-btn + Copia + + + copied-clipboard-notification + Copiato negli Appunti + + + new-group-btn + Crea un nuovo gruppo + + + paste-address-to-add-contact + ... incolla qui un indirizzo per aggiungere un contatto ... + - OverlayPane - - accept-group-invite-label - Vuoi accettare l'invito a - - - accept-group-btn - Accetta - - - reject-group-btn - Rifiuta - - - chat-btn - Chat - - - lists-btn - Liste - - - bulletins-btn - Bollettini - - - puzzle-game-btn - Gioco di puzzle - + OverlayPane + + accept-group-invite-label + Vuoi accettare l'invito a + + + accept-group-btn + Accetta + + + reject-group-btn + Rifiuta + + + chat-btn + Chat + + + lists-btn + Liste + + + bulletins-btn + Bollettini + + + puzzle-game-btn + Gioco di puzzle + - PeerSettingsPane - - address-label - Indirizzo - - - copy-btn - Copia - - - copied-to-clipboard-notification - Copiato negli Appunti - - - display-name-label - Nome visualizzato - - - save-btn - Salva - - - block-btn - Blocca il peer - - - save-peer-history - Salva cronologia peer - - - save-peer-history-description - Determina se eliminare o meno ogni cronologia eventualmente associata al peer. - - - dont-save-peer-history - Elimina cronologia dei peer - - - unblock-btn - Sblocca il peer - - - delete-btn - Elimina - + PeerSettingsPane + + address-label + Indirizzo + + + copy-btn + Copia + + + copied-to-clipboard-notification + notification: copied to clipboard + Copiato negli Appunti + + + display-name-label + Nome visualizzato + + + save-btn + Salva + + + block-btn + Blocca il peer + + + save-peer-history + Save Peer History + Salva cronologia peer + + + save-peer-history-description + Determina se eliminare o meno ogni cronologia eventualmente associata al peer. + + + dont-save-peer-history + Elimina cronologia dei peer + + + unblock-btn + Sblocca il peer + + + delete-btn + Elimina + - ProfileAddEditPane - - add-profile-title - Aggiungi nuovo profilo - - - edit-profile-title - Modifica profilo - - - profile-name - Nome visualizzato - - - default-profile-name - Alice - - - new-profile - Nuovo profilo - - - edit-profile - Modifica profilo - - - profile-onion-label - Inviare questo indirizzo ai peer con cui si desidera connettersi - - - copy-btn - Copia - - - copied-to-clipboard-notification - Copiato negli appunti - - - radio-use-password - Password - - - radio-no-password - Non criptato (senza password) - - - no-password-warning - Non utilizzare una password su questo account significa che tutti i dati archiviati localmente non verranno criptati - - - profile-oniblon-label - Inviare questo indirizzo ai peer con cui si desidera connettersi - - - your-display-name - Il tuo nome visualizzato - - - current-password-label - Password corrente - - - password1-label - Password - - - password2-label - Reinserire la password - - - password-error-empty - La password non può essere vuota - - - create-profile-btn - Crea un profilo - - - save-profile-btn - Salva il profilo - - - password-error-match - Le password non corrispondono - - - password-change-error - Errore durante la modifica della password: password fornita rifiutata - - - delete-profile-btn - Elimina profilo - - - delete-confirm-label - Digita ELIMINA per confermare - - - delete-profile-confirm-btn - Elimina realmente il profilo - - - delete-confirm-text - ELIMINA - + ProfileAddEditPane + + add-profile-title + Aggiungi nuovo profilo + + + edit-profile-title + Modifica profilo + + + profile-name + Nome visualizzato + + + default-profile-name + Alice + + + new-profile + New Profile || Edit Profile + Nuovo profilo + + + edit-profile + Modifica profilo + + + profile-onion-label + Inviare questo indirizzo ai peer con cui si desidera connettersi + + + copy-btn + Copia + + + copied-to-clipboard-notification + notification: copied to clipboard + Copiato negli appunti + + + radio-use-password + Password + Password + + + radio-no-password + Unencrypted (No password) + Non criptato (senza password) + + + no-password-warning + Not using a password on this account means that all data stored locally will not be encrypted + Non utilizzare una password su questo account significa che tutti i dati archiviati localmente non verranno criptati + + + profile-oniblon-label + Send this address to peers you want to connect with + Inviare questo indirizzo ai peer con cui si desidera connettersi + + + your-display-name + Your Display Name + Il tuo nome visualizzato + + + current-password-label + Current Password + Password corrente + + + password1-label + Password + Password + + + password2-label + Reenter password + Reinserire la password + + + password-error-empty + Passwords do not match + La password non può essere vuota + + + create-profile-btn + Create || Save + Crea un profilo + + + save-profile-btn + Salva il profilo + + + password-error-match + Le password non corrispondono + + + password-change-error + Error changing password: Supplied password rejected + Errore durante la modifica della password: password fornita rifiutata + + + delete-profile-btn + Delete Profile + Elimina profilo + + + delete-confirm-label + Type DELETE to confirm + Digita ELIMINA per confermare + + + delete-profile-confirm-btn + Really Delete Profile + Elimina realmente il profilo + + + delete-confirm-text + DELETE + ELIMINA + - ProfileList - - add-new-profile-btn - Aggiungi nuovo profilo - + ProfileList + + add-new-profile-btn + Aggiungi nuovo profilo + - ProfileManagerPane - - enter-profile-password - Inserisci una password per visualizzare i tuoi profili - - - password - Password - - - error-0-profiles-loaded-for-password - 0 profili caricati con quella password - - - your-profiles - I tuoi profili - - - your-servers - I tuoi server - - - unlock - Sblocca - + ProfileManagerPane + + enter-profile-password + Enter a password to view your profiles + Inserisci una password per visualizzare i tuoi profili + + + password + Password + + + error-0-profiles-loaded-for-password + 0 profili caricati con quella password + + + your-profiles + Your Profiles + I tuoi profili + + + your-servers + Your Profiles + I tuoi server + + + unlock + Unlock + Sblocca + - SettingsPane - - cwtch-settings-title - Impostazioni di Cwtch - - - version %1 builddate %2 - Versione: %1 Costruito il: %2 - - - zoom-label - Zoom dell'interfaccia (influisce principalmente sulle dimensioni del testo e dei pulsanti) - - - block-unknown-label - Blocca peer sconosciuti - - - setting-language - Lingua - - - locale-en - Inglese - - - locale-fr - Francese - - - locale-pt - Portoghese - - - locale-de - Tedesco - - - setting-interface-zoom - Livello di zoom - - - large-text-label - Grande - - - setting-theme - Tema - - - theme-light - Chiaro - - - theme-dark - Scuro - - - experiments-enabled - Esperimenti abilitati - - - version %1 tor %2 - Versione %1 con tor %2 - - - version %1 - Versione %1 - - - builddate %2 - Costruito il: %2 - - - default-scaling-text - Testo di dimensioni predefinite (fattore di scala: - - - small-text-label - Piccolo - - - locale-es - Spagnolo - - - locale-it - Italiano - + SettingsPane + + cwtch-settings-title + Impostazioni di Cwtch + + + version %1 builddate %2 + Versione: %1 Costruito il: %2 + + + zoom-label + Zoom dell'interfaccia (influisce principalmente sulle dimensioni del testo e dei pulsanti) + + + block-unknown-label + Blocca peer sconosciuti + + + setting-language + Language + Lingua + + + locale-en + Inglese + + + locale-fr + Francese + + + locale-pt + Portoghese + + + locale-de + Tedesco + + + setting-interface-zoom + Interface Zoom + Livello di zoom + + + large-text-label + Grande + + + setting-theme + Theme + Tema + + + theme-light + Chiaro + + + theme-dark + Scuro + + + experiments-enabled + Theme + Esperimenti abilitati + + + version %1 tor %2 + Version %1 with tor %2 + Versione %1 con tor %2 + + + version %1 + Versione %1 + + + builddate %2 + Built on: %2 + Costruito il: %2 + + + default-scaling-text + Testo di dimensioni predefinite (fattore di scala: + + + small-text-label + Piccolo + + + locale-es + Spagnolo + + + locale-it + Italiano + - SplashPane - - loading-tor - Caricamento di tor... - + SplashPane + + loading-tor + Loading tor... + Caricamento di tor... + - StackToolbar - - view-group-membership-tooltip - Visualizza i membri del gruppo - + StackToolbar + + view-group-membership-tooltip + Visualizza i membri del gruppo + - Statusbar - - network-status-disconnected - Disconnesso da Internet, controlla la tua connessione - - - network-status-attempting-tor - Tentativo di connessione alla rete Tor - - - network-status-connecting - Connessione alla rete e ai peer ... - - - network-status-online - Online - + Statusbar + + network-status-disconnected + Disconnected from the internet, check your connection + Disconnesso da Internet, controlla la tua connessione + + + network-status-attempting-tor + Attempting to connect to Tor network + Tentativo di connessione alla rete Tor + + + network-status-connecting + Connecting... + Connessione alla rete e ai peer ... + + + network-status-online + Online + Online + - main - - new-connection-pane-title - Nuova connessione - + main + + new-connection-pane-title + New Connection + Nuova connessione + + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + 0 profili caricati con quella password + diff --git a/i18n/translation_pt.ts b/i18n/translation_pt.ts index 2d52e119..e93a2316 100644 --- a/i18n/translation_pt.ts +++ b/i18n/translation_pt.ts @@ -81,19 +81,13 @@ - + server Server - - invitation - Invitation - - - - + group-addr Address @@ -122,19 +116,19 @@ ChatOverlay - + chat-history-default This conversation will be deleted when Cwtch is closed! Message history can be enabled per-conversation via the Settings menu in the upper right. - + chat-history-disabled Message history is disabled. - + chat-history-enabled Message history is enabled. @@ -148,7 +142,7 @@ … cole um endereço aqui para adicionar um contato… - + blocked @@ -561,7 +555,7 @@ ProfileList - + add-new-profile-btn @@ -580,19 +574,13 @@ - - error-0-profiles-loaded-for-password - 0 profiles loaded with that password - - - - + your-profiles Your Profiles - + your-servers Your Profiles @@ -752,5 +740,11 @@ New Connection + + + error-0-profiles-loaded-for-password + 0 profiles loaded with that password + + diff --git a/qml/main.qml b/qml/main.qml index a2a6f6a2..f51aa1f0 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -391,6 +391,13 @@ ApplicationWindow { radius: 15 visible: false + // We store error messages in QML referenced by an ID so they can be called from go + // and the qupdate / qml i18n system can easily find and translate them here + property var errorMessages: (new Map([ + //: 0 profiles loaded with that password + ["0-profiles", qsTr("error-0-profiles-loaded-for-password")], + ])) + Label { id: lblPopup @@ -401,12 +408,13 @@ ApplicationWindow { } } - - Connections { // POPUPS ARE INVOKED BY GO FUNCS target: gcd onInvokePopup: function(str) { + if (popup.errorMessages.get(str) != undefined) { + str = popup.errorMessages.get(str) + } lblPopup.text = str popup.opacity = 0.5 popup.visible = true diff --git a/qml/panes/ProfileAddEditPane.qml b/qml/panes/ProfileAddEditPane.qml index 180f2c0e..f929234b 100644 --- a/qml/panes/ProfileAddEditPane.qml +++ b/qml/panes/ProfileAddEditPane.qml @@ -134,11 +134,16 @@ Opaque.Flickable { performTransform: true overlayColor: Theme.portraitProfileBadgeTextColor - badgeContent: Image {// Profle Type + badgeContent: Opaque.Icon {// Profle Type id: profiletype - source: radioUsePassword.checked ? gcd.assetPath + "core/lock-24px.webp" : gcd.assetPath + "core/lock-open-24px.webp" + source: radioUsePassword.checked ? gcd.assetPath + "core/lock-24px.webp" : gcd.assetPath + "core/lock_open-24px.webp" + height: 40 * gcd.themeScale width: height + + iconColor: Theme.defaultButtonTextColor + backgroundColor: portrait.badgeColor + hilightBackgroundColor: portrait.badgeColor } } diff --git a/qml/panes/ProfileManagerPane.qml b/qml/panes/ProfileManagerPane.qml index f21ff010..a6f3e741 100644 --- a/qml/panes/ProfileManagerPane.qml +++ b/qml/panes/ProfileManagerPane.qml @@ -65,7 +65,6 @@ ColumnLayout { onClicked: { gcd.unlockProfiles(txtPassword.text) txtPassword.text = "" - error.visible = false } } } @@ -74,8 +73,7 @@ ColumnLayout { id: error Layout.alignment: Qt.AlignHCenter color: Theme.textfieldErrorColor - //: 0 profiles loaded with that password - text: qsTr("error-0-profiles-loaded-for-password") + visible: false }