From ae8f511c018935a133c685e98a0cfa6632d0a9b8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 28 Apr 2025 23:56:32 +0900 Subject: [PATCH] Documentation: Update various pages to be in sync with online version --- doc/html/en/Contact.html | 1 + doc/html/en/Donation_Bank.html | 2 +- doc/html/en/Language Packs.html | 4 +- doc/html/en/Release Notes.html | 7 ++- doc/html/en/styles.css | 94 +++++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 4 deletions(-) diff --git a/doc/html/en/Contact.html b/doc/html/en/Contact.html index 4afbe5eb..2e0ec696 100644 --- a/doc/html/en/Contact.html +++ b/doc/html/en/Contact.html @@ -46,6 +46,7 @@ our contact form.

We are also present on social media:
VeraCrypt on Twitter   +VeraCrypt on Mastodon   VeraCrypt on Facebook   VeraCrypt on Reddit

diff --git a/doc/html/en/Donation_Bank.html b/doc/html/en/Donation_Bank.html index b1c79d12..0c45d810 100644 --- a/doc/html/en/Donation_Bank.html +++ b/doc/html/en/Donation_Bank.html @@ -74,7 +74,7 @@ Reference: Open Source Donation
Account Holder: IDRIX SARL
Account number: 711714051
BSB Code: 802-985
-Address: Wise, 36-38 Gipps Street, Collingwood VIC 3066, Autralia.
+Address: Wise, 36-38 Gipps Street, Collingwood VIC 3066, Australia.
Reference: Open Source Donation

diff --git a/doc/html/en/Language Packs.html b/doc/html/en/Language Packs.html index dc4d42f9..da7b6f0a 100644 --- a/doc/html/en/Language Packs.html +++ b/doc/html/en/Language Packs.html @@ -47,8 +47,8 @@ To revert to English, select Settings -> . Then select English and click OK.
-You can still download an archive containing all language packs for the latest version (1.26.18) from - +You can still download an archive containing all language packs for the latest version (1.26.20) from + the following link.
diff --git a/doc/html/en/Release Notes.html b/doc/html/en/Release Notes.html index f6890b98..fe7048f5 100644 --- a/doc/html/en/Release Notes.html +++ b/doc/html/en/Release Notes.html @@ -57,7 +57,12 @@
  • Linux:
      -
    • Fix a regression in Linux Mint affecting administrator password authentication (GH #1473).
    • +
    • Fix a regression in Linux Mint affecting administrator password authentication (GH #1473). +
        +
      • /usr/bin/true is now used instead of /usr/bin/uptime to detect active sudo sessions.
      • +
      • If NOPASSWD used in sudoers with veracrypt and uptime, it should be changed to use /usr/bin/true instead of uptime.
      • +
      +
  • macOS: diff --git a/doc/html/en/styles.css b/doc/html/en/styles.css index 84c1515d..61d37dac 100644 --- a/doc/html/en/styles.css +++ b/doc/html/en/styles.css @@ -80,3 +80,97 @@ transform: translateY(-1px); transition: all 0.2s ease; } + +/* Language Selector Styles */ +#lang-selector { + position: absolute; + top: 18px; + right: 32px; + z-index: 9999; + font-family: inherit; + user-select: none; + } + + #lang-selector button { + background: #fff; + border: 1px solid #08aad7; + border-radius: 6px; + padding: 6px 12px 6px 8px; + display: flex; + align-items: center; + cursor: pointer; + min-width: 110px; + font-size: 15px; + box-shadow: 0 2px 8px rgba(8,170,215,0.08); + transition: border 0.2s; + } + + #lang-selector button:focus { + outline: 2px solid #08aad7; + } + + #lang-selector img { + width: 20px; + height: 13px; + border-radius: 3px; + margin-right: 7px; + vertical-align: middle; + } + + #lang-selector ul { + display: none; + position: absolute; + top: 40px; + right: 0; + background: #fff; + border: 1px solid #08aad7; + border-radius: 6px; + box-shadow: 0 4px 16px rgba(8,170,215,0.12); + margin: 0; + padding: 4px 0; + min-width: 150px; + list-style: none; + } + + #lang-selector ul.open { + display: block; + animation: fadeIn 0.15s; + } + + @keyframes fadeIn { + from { opacity: 0; transform: translateY(-8px);} + to { opacity: 1; transform: translateY(0);} + } + + #lang-selector li { + display: flex; + align-items: center; + padding: 7px 16px; + cursor: pointer; + font-size: 15px; + transition: background 0.15s; + } + + #lang-selector li[aria-selected="true"], + #lang-selector li:hover, + #lang-selector li:focus { + background: #e6f7fb; + } + + #lang-selector li img { + margin-right: 10px; + width: 20px; + height: 13px; + border-radius: 3px; + } + + @media (max-width: 600px) { + #lang-selector { + top: 8px; + right: 8px; + font-size: 14px; + } + #lang-selector ul { + min-width: 110px; + } + } \ No newline at end of file