From 6a1780864c57d598446eb0c1d4faf7ea238c04d4 Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Sun, 19 Nov 2023 01:31:40 +0200 Subject: Linux/FreeBSD/macOS: Implement language selection settings (#1253) * Implement Language selection into settings Initial commit to create a new tab in PreferencesNotebook for Language selection. By default, if nothing is chosen, it uses the current behaviour of using the language from system environment variables. If another language is chosen from the settings, it is saved into the Configuration.xml and this is used instead. * Fix SetStringSelection() assert issue on macOS * Add header include to fix build * Add current language pack, authors and way to use literal strings * Translations also for FreeBSD * Minimal GTK3 WX build on FreeBSD requires wxGraphicsContext * Get Preferences properly instead of workaround function * Use WrapSizer instead of BoxSizer for author line This forces long author lists to be put on a new line, reducing the need to increase window width. * Update Finnish translation * Borrow translation from IDM_LANGUAGE where it makes sense * Remove colon and thus unneeded function * Simplify Language tab layout * Reintroduce macOS specific fixes to Forms.cpp * cleanup --- src/Common/Language.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Common') diff --git a/src/Common/Language.xml b/src/Common/Language.xml index 32930193..e3e96a1f 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -1635,6 +1635,9 @@ Important information on using third-party file extensions Disable memory protection for Accessibility tools compatibility WARNING: Disabling memory protection significantly reduces security. Enable this option ONLY if you rely on Accessibility tools, like Screen Readers, to interact with VeraCrypt's UI. + Language + Select system's default language + For the language change to come into effect, VeraCrypt needs to be restarted. -- cgit v1.2.3