[gimp] Issue #4871: Plug-ins not translated.



commit 39890a49eba5ab7b772129813e5184daf3c6d76a
Author: Jehan <jehan girinstud io>
Date:   Wed Apr 1 18:02:42 2020 +0200

    Issue #4871: Plug-ins not translated.
    
    Revert "app: also localize LC_TIME to GUI language."
    This reverts commit a4e65ac83668fdea7f58efe8c0bfaec535f6bb8b.
    
    LC_TIME format apparently does not accept the broader format with just
    the lang part, for instance "fr". The region is necessary, like "fr_FR".
    In our supported languages, we were mostly using lang only except for a
    few langs where we support regional variants.
    This makes sense as time format may be quite different depending on
    regions (dates are quite different in GB vs US, though that was actually
    one of the cases where we were using accurate locale format).
    
    And the main issue is that it was not only breaking time localization.
    Normal string localization (LANGUAGE) got somehow broken as well by
    broken LC_TIME.
    
    Anyway for now let's just stick to whatever OS-set time format (even
    though it may differ from GIMP Preferences-set language defaults).

 app/language.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/app/language.c b/app/language.c
index 5a99ffaeb3..581ff67802 100644
--- a/app/language.c
+++ b/app/language.c
@@ -735,6 +735,5 @@ language_init (const gchar *language)
     return;
 
   g_setenv ("LANGUAGE", language, TRUE);
-  g_setenv ("LC_TIME", language, TRUE);
   setlocale (LC_ALL, "");
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]