Lagrange [release]

Prefs: Default translation is Auto-detect -> English

=> b8067c298bcc50a8d8d1d0aba525ead911b21e07

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. */
-        d->prefs.langFrom = 0;
+        postCommand_App("~translation.languages from:0 to:8");
     }
     /* 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->langFrom          = 3; /* fr */
-    d->langTo            = 2; /* en */
+    d->langFrom          = 0; /* auto-detect */
+    d->langTo            = 8; /* en */
     d->translationIgnorePre = iTrue;
     d->useSystemTheme    = iTrue;
     d->systemPreferredColorTheme[0] = d->systemPreferredColorTheme[1] = -1;
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/cdiff/b8067c298bcc50a8d8d1d0aba525ead911b21e07
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
27.817495 milliseconds
Gemini-to-HTML Time
0.265902 milliseconds

This content has been proxied by September (3851b).