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
f51aff9e
Kaydet (Commit)
f51aff9e
authored
Nis 03, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
let IsoLangEntry decide how to form a language tag string
Change-Id: I868cd8ea0610b6b8dd8155cdc72f7d238f279ef2
üst
f8e697ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
mslangid.hxx
i18npool/inc/i18npool/mslangid.hxx
+3
-0
isolang.cxx
i18npool/source/isolang/isolang.cxx
+8
-0
No files found.
i18npool/inc/i18npool/mslangid.hxx
Dosyayı görüntüle @
f51aff9e
...
@@ -180,6 +180,9 @@ public:
...
@@ -180,6 +180,9 @@ public:
LanguageType
mnLang
;
LanguageType
mnLang
;
sal_Char
maLangStr
[
4
];
sal_Char
maLangStr
[
4
];
sal_Char
maCountry
[
3
];
sal_Char
maCountry
[
3
];
/** Obtain a language tag string with '-' separator. */
OUString
getTagString
()
const
;
};
};
/** @internal - Return a pointer to the IsoLangEntry of the underlying table,
/** @internal - Return a pointer to the IsoLangEntry of the underlying table,
...
...
i18npool/source/isolang/isolang.cxx
Dosyayı görüntüle @
f51aff9e
...
@@ -520,6 +520,14 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
...
@@ -520,6 +520,14 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
static
MsLangId
::
IsoLangEntry
aLastResortFallbackEntry
=
static
MsLangId
::
IsoLangEntry
aLastResortFallbackEntry
=
{
LANGUAGE_ENGLISH_US
,
"en"
,
"US"
};
{
LANGUAGE_ENGLISH_US
,
"en"
,
"US"
};
OUString
MsLangId
::
IsoLangEntry
::
getTagString
()
const
{
if
(
maCountry
[
0
])
return
OUString
(
OUString
::
createFromAscii
(
maLangStr
)
+
"-"
+
OUString
::
createFromAscii
(
maCountry
));
else
return
OUString
::
createFromAscii
(
maLangStr
);
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
// In this table are the countries which should mapped to a specific
// In this table are the countries which should mapped to a specific
...
...
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