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
ee660ba9
Kaydet (Commit)
ee660ba9
authored
Ock 10, 2012
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added DateAcceptancePattern element
üst
b7595847
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
de_DE.xml
i18npool/source/localedata/data/de_DE.xml
+1
-0
en_US.xml
i18npool/source/localedata/data/en_US.xml
+1
-0
locale.dtd
i18npool/source/localedata/data/locale.dtd
+16
-1
No files found.
i18npool/source/localedata/data/de_DE.xml
Dosyayı görüntüle @
ee660ba9
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
<MeasurementSystem>
metric
</MeasurementSystem>
<MeasurementSystem>
metric
</MeasurementSystem>
</LC_CTYPE>
</LC_CTYPE>
<LC_FORMAT>
<LC_FORMAT>
<DateAcceptancePattern>
D.M.
</DateAcceptancePattern>
<FormatElement
msgid=
"FixedFormatskey1"
default=
"true"
type=
"medium"
usage=
"FIXED_NUMBER"
formatindex=
"0"
>
<FormatElement
msgid=
"FixedFormatskey1"
default=
"true"
type=
"medium"
usage=
"FIXED_NUMBER"
formatindex=
"0"
>
<FormatCode>
Standard
</FormatCode>
<FormatCode>
Standard
</FormatCode>
</FormatElement>
</FormatElement>
...
...
i18npool/source/localedata/data/en_US.xml
Dosyayı görüntüle @
ee660ba9
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
<MeasurementSystem>
US
</MeasurementSystem>
<MeasurementSystem>
US
</MeasurementSystem>
</LC_CTYPE>
</LC_CTYPE>
<LC_FORMAT
replaceFrom=
"[CURRENCY]"
replaceTo=
"[$$-409]"
>
<LC_FORMAT
replaceFrom=
"[CURRENCY]"
replaceTo=
"[$$-409]"
>
<DateAcceptancePattern>
M/D
</DateAcceptancePattern>
<FormatElement
msgid=
"FixedFormatskey1"
default=
"true"
type=
"medium"
usage=
"FIXED_NUMBER"
formatindex=
"0"
>
<FormatElement
msgid=
"FixedFormatskey1"
default=
"true"
type=
"medium"
usage=
"FIXED_NUMBER"
formatindex=
"0"
>
<FormatCode>
General
</FormatCode>
<FormatCode>
General
</FormatCode>
</FormatElement>
</FormatElement>
...
...
i18npool/source/localedata/data/locale.dtd
Dosyayı görüntüle @
ee660ba9
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
that otherwise inherit the format codes.
that otherwise inherit the format codes.
-->
-->
<!ELEMENT LC_FORMAT (FormatElement*) >
<!ELEMENT LC_FORMAT (
DateAcceptancePattern*,
FormatElement*) >
<!-- All FormatElement elements must be given if the RefLocale mechanism is not used! -->
<!-- All FormatElement elements must be given if the RefLocale mechanism is not used! -->
<!ATTLIST LC_FORMAT %RefLocale;>
<!ATTLIST LC_FORMAT %RefLocale;>
<!ATTLIST LC_FORMAT %replaceFrom;>
<!ATTLIST LC_FORMAT %replaceFrom;>
...
@@ -145,6 +145,21 @@
...
@@ -145,6 +145,21 @@
to be omitted. LCIDs are defined in i18npool/inc/i18npool/lang.h
to be omitted. LCIDs are defined in i18npool/inc/i18npool/lang.h
-->
-->
<!ELEMENT DateAcceptancePattern (#PCDATA)>
<!-- Pattern that defines an input sequence match to be accepted as
(abbreviated) date. For example, in en_US locale "M/D" accepts an input of
11/23 as CurrentYear-November-23 whereas 11/23/ would not be a date. In
de_DE locale "D.M." accepts an input of 23.11. as CurrentYear-November-23
whereas 23.11 would not be a date.
For each locale one pattern that matches a full date is automatically
generated from FormatElement formatIndex="21" and does not need to be
defined, for example "M/D/Y" or "D.M.Y", so only if you want abbreviations
to be in effect add some patterns.
NOTE: use only single letter D,M,Y. Multiple patterns can be defined.
-->
<!ELEMENT LC_FORMAT_1 (FormatElement*) >
<!ELEMENT LC_FORMAT_1 (FormatElement*) >
<!ATTLIST LC_FORMAT_1 %RefLocale;>
<!ATTLIST LC_FORMAT_1 %RefLocale;>
<!ATTLIST LC_FORMAT_1 %replaceFrom;>
<!ATTLIST LC_FORMAT_1 %replaceFrom;>
...
...
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