Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

I have resend this patch, as the earlier email didn't have [PATCH] in the subject.

--
Greetings,
Rob Snelders

Op 27-05-12 12:34, Rob Snelders schreef:
Hi,

I have created a patch that corrects the name of the default locale to the system default. When you selected the option then it would use the default locale but the name wasn't the default locale but the currently selected locale. So now the name corresponds with the option.

The Default Currency isn't updated correctly, but that will need to be looked at what the behavior should be, because I can see multiple ways it could be working.

--
Greetings,
Rob Snelders


Op 26-05-12 17:37, Rob Snelders schreef:
Hi All,

I saw this bug and I found where the change needs to be for this bug.
The problem is that the default-value for the "locale setting" is in the list the current setting, not the locale of the system. But can I solve this or should this be asked to the usability-mailinglist? And what is the emailaddress of that mailinglist?

--
Greetings,
Rob Snelders
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
From 37264bfc4a7cd8d87a4664913fc703c4be0caf31 Mon Sep 17 00:00:00 2001
From: Rob Snelders <programming@ertai.nl>
Date: Sun, 27 May 2012 12:05:56 +0200
Subject: [PATCH] fdo#45830 - Indicated Default Locale setting now correct

Change-Id: I73904225b2ea1c5b78453caafe382860fb9a3a0f
---
 i18npool/source/isolang/mslangid.cxx |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/i18npool/source/isolang/mslangid.cxx b/i18npool/source/isolang/mslangid.cxx
index 3cd877e..8fe16c0 100644
--- a/i18npool/source/isolang/mslangid.cxx
+++ b/i18npool/source/isolang/mslangid.cxx
@@ -94,10 +94,7 @@ LanguageType MsLangId::getRealLanguage( LanguageType nLang )
     switch (simplifySystemLanguages( nLang))
     {
         case LANGUAGE_SYSTEM :
-            if (nConfiguredSystemLanguage == LANGUAGE_SYSTEM)
-                nLang = getSystemLanguage();
-            else
-                nLang = nConfiguredSystemLanguage;
+            nLang = getSystemLanguage();
             break;
         case LANGUAGE_NONE :
             if (nConfiguredSystemUILanguage == LANGUAGE_SYSTEM)
-- 
1.7.5.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.