Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
02b435f2
Kaydet (Commit)
02b435f2
authored
Tem 08, 2012
tarafından
Rob Snelders
Kaydeden (comit)
Eike Rathke
Tem 09, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- fdo#45830 - Language/User Interface: current choice indicated as default
Change-Id: I3ac2e8e3219c12be84ce38cb98342f0dce0d6476
üst
43d7d068
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
optgdlg.cxx
cui/source/options/optgdlg.cxx
+3
-3
langtab.src
svtools/source/misc/langtab.src
+1
-0
langbox.hxx
svx/inc/svx/langbox.hxx
+1
-0
langbox.cxx
svx/source/dialog/langbox.cxx
+11
-0
No files found.
cui/source/options/optgdlg.cxx
Dosyayı görüntüle @
02b435f2
...
...
@@ -1355,7 +1355,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe
aComplexLanguageLB
.
InsertDefaultLanguage
(
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
COMPLEX
);
aLocaleSettingLB
.
SetLanguageList
(
LANG_LIST_ALL
|
LANG_LIST_ONLY_KNOWN
,
sal_False
,
sal_False
,
sal_False
);
aLocaleSettingLB
.
Insert
DefaultLanguage
(
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
WEAK
);
aLocaleSettingLB
.
Insert
SystemLanguage
(
);
const
NfCurrencyTable
&
rCurrTab
=
SvNumberFormatter
::
GetTheCurrencyTable
();
const
NfCurrencyEntry
&
rCurr
=
SvNumberFormatter
::
GetCurrencyEntry
(
LANGUAGE_SYSTEM
);
...
...
@@ -1697,7 +1697,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet )
if
(
!
sLang
.
isEmpty
()
)
aLocaleSettingLB
.
SelectLanguage
(
lcl_LangStringToLangType
(
sLang
));
else
aLocaleSettingLB
.
SelectLanguage
(
LANGUAGE_
SYSTEM
);
aLocaleSettingLB
.
SelectLanguage
(
LANGUAGE_
USER_SYSTEM_CONFIG
);
sal_Bool
bReadonly
=
pLangConfig
->
aSysLocaleOptions
.
IsReadOnly
(
SvtSysLocaleOptions
::
E_LOCALE
);
aLocaleSettingLB
.
Enable
(
!
bReadonly
);
aLocaleSettingFT
.
Enable
(
!
bReadonly
);
...
...
@@ -1904,7 +1904,7 @@ IMPL_LINK( OfaLanguagesTabPage, LocaleSettingHdl, SvxLanguageBox*, pBox )
}
sal_uInt16
nPos
;
if
(
eLang
==
LANGUAGE_
SYSTEM
)
if
(
eLang
==
LANGUAGE_
USER_SYSTEM_CONFIG
)
nPos
=
aCurrencyLB
.
GetEntryPos
(
(
void
*
)
NULL
);
else
{
...
...
svtools/source/misc/langtab.src
Dosyayı görüntüle @
02b435f2
...
...
@@ -41,6 +41,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "[None]" ; LANGUAGE_NONE ; > ;
< "Unknown" ; LANGUAGE_DONTKNOW ; > ;
< "Default" ; LANGUAGE_SYSTEM ; > ;
< "Default" ; LANGUAGE_USER_SYSTEM_CONFIG ; > ;
< "Afrikaans (South Africa)" ; LANGUAGE_AFRIKAANS ; > ;
< "Albanian" ; LANGUAGE_ALBANIAN ; > ;
< "Arabic" ; LANGUAGE_ARABIC_PRIMARY_ONLY ; > ;
...
...
svx/inc/svx/langbox.hxx
Dosyayı görüntüle @
02b435f2
...
...
@@ -89,6 +89,7 @@ public:
sal_uInt16
InsertLanguage
(
const
LanguageType
eLangType
,
sal_uInt16
nPos
=
LISTBOX_APPEND
);
sal_uInt16
InsertDefaultLanguage
(
sal_Int16
nType
,
sal_uInt16
nPos
=
LISTBOX_APPEND
);
sal_uInt16
InsertSystemLanguage
(
sal_uInt16
nPos
=
LISTBOX_APPEND
);
sal_uInt16
InsertLanguage
(
const
LanguageType
eLangType
,
sal_Bool
bCheckEntry
,
sal_uInt16
nPos
=
LISTBOX_APPEND
);
void
RemoveLanguage
(
const
LanguageType
eLangType
);
...
...
svx/source/dialog/langbox.cxx
Dosyayı görüntüle @
02b435f2
...
...
@@ -349,6 +349,10 @@ sal_uInt16 SvxLanguageBox::ImplInsertLanguage( const LanguageType nLangType, sal
nRealLang
=
MsLangId
::
resolveSystemLanguageByScriptType
(
nRealLang
,
nType
);
aStrEntry
.
AppendAscii
(
" - "
);
aStrEntry
.
Append
(
m_pLangTable
->
GetString
(
nRealLang
));
}
else
if
(
nRealLang
==
LANGUAGE_USER_SYSTEM_CONFIG
)
{
nRealLang
=
MsLangId
::
getSystemLanguage
();
aStrEntry
.
AppendAscii
(
" - "
);
aStrEntry
.
Append
(
m_pLangTable
->
GetString
(
nRealLang
));
}
aStrEntry
=
ApplyLreOrRleEmbedding
(
aStrEntry
);
...
...
@@ -385,6 +389,13 @@ sal_uInt16 SvxLanguageBox::InsertDefaultLanguage( sal_Int16 nType, sal_uInt16 nP
//------------------------------------------------------------------------
sal_uInt16
SvxLanguageBox
::
InsertSystemLanguage
(
sal_uInt16
nPos
)
{
return
ImplInsertLanguage
(
LANGUAGE_USER_SYSTEM_CONFIG
,
nPos
,
::
com
::
sun
::
star
::
i18n
::
ScriptType
::
WEAK
);
}
//------------------------------------------------------------------------
sal_uInt16
SvxLanguageBox
::
InsertLanguage
(
const
LanguageType
nLangType
,
sal_Bool
bCheckEntry
,
sal_uInt16
nPos
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment