diff --git a/src/common/messages/combinedMessages.prod.ts b/src/common/messages/combinedMessages.prod.ts index 7cc161e3..27e69c31 100644 --- a/src/common/messages/combinedMessages.prod.ts +++ b/src/common/messages/combinedMessages.prod.ts @@ -2530,6 +2530,10 @@ export const allMessages: Readonly ${remote})": { def: "Higher (${local} > ${remote})", es: "Superior (${local} > ${remote})", @@ -9570,6 +9574,10 @@ export const allMessages: Readonly ${remote})": "Higher (${local} > ${remote})", "Highlight diff": "Highlight diff", "How to display network errors when the sync server is unreachable.": "How to display network errors when the sync server is unreachable.", @@ -1028,6 +1029,7 @@ "Show history": "Show history", "Show icon only": "Show icon only", "Show only notifications": "Show only notifications", + "Show password": "Show password", "Show status as icons only": "Show status as icons only", "Show status icon instead of file warnings banner": "Show status icon instead of file warnings banner", "Show status inside the editor": "Show status inside the editor", diff --git a/src/common/messagesJson/es.json b/src/common/messagesJson/es.json index 957b1b60..a36a5d12 100644 --- a/src/common/messagesJson/es.json +++ b/src/common/messagesJson/es.json @@ -304,6 +304,7 @@ "Hidden Files": "Archivos ocultos", "Hide completely": "Ocultar por completo", "Hide not applicable items": "Ocultar elementos no aplicables", + "Hide password": "Ocultar contraseña", "Higher (${local} > ${remote})": "Superior (${local} > ${remote})", "Highlight diff": "Resaltar las diferencias", "How to display network errors when the sync server is unreachable.": "Cómo mostrar los errores de red cuando el servidor de sincronización no está disponible.", @@ -1069,6 +1070,7 @@ "Show history": "Mostrar el historial", "Show icon only": "Mostrar solo el icono", "Show only notifications": "Mostrar solo notificaciones", + "Show password": "Mostrar contraseña", "Show status as icons only": "Mostrar estado solo con íconos", "Show status icon instead of file warnings banner": "Mostrar icono de estado en lugar del banner de advertencia de archivos", "Show status inside the editor": "Mostrar estado dentro del editor", diff --git a/src/common/messagesYAML/en.yaml b/src/common/messagesYAML/en.yaml index 844842c5..4560fe54 100644 --- a/src/common/messagesYAML/en.yaml +++ b/src/common/messagesYAML/en.yaml @@ -401,6 +401,7 @@ Hidden file synchronization have been temporarily disabled. Please enable them a Hidden Files: Hidden Files Hide completely: Hide completely Hide not applicable items: Hide not applicable items +Hide password: Hide password Higher (${local} > ${remote}): Higher (${local} > ${remote}) Highlight diff: Highlight diff How to display network errors when the sync server is unreachable.: How to display network errors when the sync server is unreachable. @@ -1830,6 +1831,7 @@ Show full banner: Show full banner Show history: Show history Show icon only: Show icon only Show only notifications: Show only notifications +Show password: Show password Show status as icons only: Show status as icons only Show status icon instead of file warnings banner: Show status icon instead of file warnings banner Show status inside the editor: Show status inside the editor diff --git a/src/common/messagesYAML/es.yaml b/src/common/messagesYAML/es.yaml index 6b79fddc..7a6b0d49 100644 --- a/src/common/messagesYAML/es.yaml +++ b/src/common/messagesYAML/es.yaml @@ -425,6 +425,7 @@ Hidden file synchronization have been temporarily disabled. Please enable them a Hidden Files: Archivos ocultos Hide completely: Ocultar por completo Hide not applicable items: Ocultar elementos no aplicables +Hide password: Ocultar contraseña Higher (${local} > ${remote}): Superior (${local} > ${remote}) Highlight diff: Resaltar las diferencias How to display network errors when the sync server is unreachable.: @@ -1950,6 +1951,7 @@ Show full banner: Mostrar banner completo Show history: Mostrar el historial Show icon only: Mostrar solo el icono Show only notifications: Mostrar solo notificaciones +Show password: Mostrar contraseña Show status as icons only: Mostrar estado solo con íconos Show status icon instead of file warnings banner: Mostrar icono de estado en lugar del banner de advertencia de archivos Show status inside the editor: Mostrar estado dentro del editor diff --git a/src/modules/features/SetupWizard/dialogs/SetupRemoteE2EE.svelte b/src/modules/features/SetupWizard/dialogs/SetupRemoteE2EE.svelte index efce2429..0c6c00a1 100644 --- a/src/modules/features/SetupWizard/dialogs/SetupRemoteE2EE.svelte +++ b/src/modules/features/SetupWizard/dialogs/SetupRemoteE2EE.svelte @@ -52,13 +52,6 @@ {translateMessage("Please configure your end-to-end encryption settings.")} - {translateMessage( @@ -69,22 +62,29 @@ "Also, please note that if you are using Peer-to-Peer synchronization, this configuration will be used when you switch to other methods and connect to a remote server in the future." )} - - {translateMessage("This setting must be the same even when connecting to multiple synchronisation destinations.")} - - - - - - - {translateMessage( - "Obfuscating properties (e.g., path of file, size, creation and modification dates) adds an additional layer of security by making it harder to identify the structure and names of your files and folders on the remote server. This helps protect your privacy and makes it more difficult for unauthorized users to infer information about your data." - )} - +{#if encryptionSettings.encrypt} + + + + + {translateMessage( + "This setting must be the same even when connecting to multiple synchronisation destinations." + )} + + + + + + {translateMessage( + "Obfuscating properties (e.g., path of file, size, creation and modification dates) adds an additional layer of security by making it harder to identify the structure and names of your files and folders on the remote server. This helps protect your privacy and makes it more difficult for unauthorized users to infer information about your data." + )} + +{/if} diff --git a/src/modules/services/LiveSyncUI/DialogHost.svelte b/src/modules/services/LiveSyncUI/DialogHost.svelte index 6265c7bf..c71c257a 100644 --- a/src/modules/services/LiveSyncUI/DialogHost.svelte +++ b/src/modules/services/LiveSyncUI/DialogHost.svelte @@ -110,7 +110,7 @@ .dialog-host :global(label > span) { display: block; - width: 8em; + min-width: 8em; } .dialog-host :global(.note), diff --git a/src/modules/services/LiveSyncUI/components/Password.svelte b/src/modules/services/LiveSyncUI/components/Password.svelte index 5ebf3884..b3be8c80 100644 --- a/src/modules/services/LiveSyncUI/components/Password.svelte +++ b/src/modules/services/LiveSyncUI/components/Password.svelte @@ -18,6 +18,7 @@ let showPassword = $state(false); const type = $derived.by(() => (showPassword ? "text" : "password")); const translatedPlaceholder = $derived.by(() => translate(placeholder)); + const toggleLabel = $derived.by(() => translate(showPassword ? "Hide password" : "Show password")); - + + + diff --git a/styles.css b/styles.css index b5bf7ac6..5a537c3d 100644 --- a/styles.css +++ b/styles.css @@ -353,6 +353,12 @@ body { } .sls-onboarding-invitation-action { + display: inline; +} + +/* Touch devices need a larger tap target; on desktop this would just pad the + link with blank space and make it look like a misplaced button. */ +body.is-mobile .sls-onboarding-invitation-action { display: inline-flex; min-width: 44px; min-height: 44px;