From b8067c298bcc50a8d8d1d0aba525ead911b21e07 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Thu, 16 Mar 2023 12:52:23 +0200

Subject: [PATCH 1/1] Prefs: Default translation is Auto-detect -> English


src/app.c | 2 +-

src/prefs.c | 4 ++--

2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app.c b/src/app.c

index bce81c10..a0fd6054 100644

--- a/src/app.c

+++ b/src/app.c

@@ -633,7 +633,7 @@ static void loadPrefs_App_(iApp *d) {

#endif

 if (cmp_Version(&upgradedFromAppVersion, &(iVersion){ 1, 15, 5 }) < 0) {

     /* LibreTranslate updated with new language models, now defaulting to Auto-Detect. */

 }

 /* Some settings have fixed values depending on the platform/config. */

#if !defined (LAGRANGE_ENABLE_CUSTOM_FRAME)

diff --git a/src/prefs.c b/src/prefs.c

index cd0b3fee..eab7bcd7 100644

--- a/src/prefs.c

+++ b/src/prefs.c

@@ -34,8 +34,8 @@ void init_Prefs(iPrefs *d) {

     init_String(&d->strings[i]);

 }

 d->dialogTab         = 0;

 d->translationIgnorePre = iTrue;

 d->useSystemTheme    = iTrue;

 d->systemPreferredColorTheme[0] = d->systemPreferredColorTheme[1] = -1;

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.11/patch/a87fefcee8b14a69340a56bea8fc5cf1cbc018e1.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
142.03698 milliseconds
Gemini-to-HTML Time
1.087818 milliseconds

This content has been proxied by September (ba2dc).