[latex3-commits] [latex3/babel] main: Chinese dates (numeric and sexagenary). (a5c6481)
github at latex-project.org
github at latex-project.org
Sat Sep 2 09:59:47 CEST 2023
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/a5c6481375305437edf1cb4227e70399d1d14d79
>---------------------------------------------------------------
commit a5c6481375305437edf1cb4227e70399d1d14d79
Author: Javier <email at localhost>
Date: Sat Sep 2 09:59:47 2023 +0200
Chinese dates (numeric and sexagenary).
>---------------------------------------------------------------
a5c6481375305437edf1cb4227e70399d1d14d79
README.md | 3 ++-
babel-code.pdf | Bin 634660 -> 634601 bytes
babel.dtx | 8 +++++---
babel.ins | 2 +-
babel.pdf | Bin 406547 -> 406447 bytes
bbcompat.dtx | 2 +-
locale/zh/babel-chinese.tex | 18 ++++++++++++++++++
locale/zh/babel-zh-Hans-HK.ini | 36 ++++++++++++++++++++++++++++++++----
locale/zh/babel-zh-Hans-MO.ini | 36 ++++++++++++++++++++++++++++++++----
locale/zh/babel-zh-Hans-SG.ini | 35 ++++++++++++++++++++++++++++++++---
locale/zh/babel-zh-Hans.ini | 36 ++++++++++++++++++++++++++++++++----
locale/zh/babel-zh-Hant-HK.ini | 35 ++++++++++++++++++++++++++++++++---
locale/zh/babel-zh-Hant-MO.ini | 35 ++++++++++++++++++++++++++++++++---
locale/zh/babel-zh-Hant.ini | 35 ++++++++++++++++++++++++++++++++---
locale/zh/babel-zh.ini | 38 ++++++++++++++++++++++++++++++++------
15 files changed, 283 insertions(+), 36 deletions(-)
diff --git a/README.md b/README.md
index 2128bc2..9a0a851 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.93.24475
+## Babel 3.93.24539
**Development**
@@ -49,6 +49,7 @@ respective authors.
### Summary of latest changes
```
3.94 (dev)
+ * Chinese dates (numeric and sexagenary).
* Fixes:
- #256.
diff --git a/babel-code.pdf b/babel-code.pdf
index afb7f06..c265768 100644
Binary files a/babel-code.pdf and b/babel-code.pdf differ
diff --git a/babel.dtx b/babel.dtx
index 81f2ddc..0fca42a 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2023/09/01 v3.93.24475 The Babel package]
+\ProvidesFile{babel.dtx}[2023/09/02 v3.93.24539 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -5499,8 +5499,8 @@ wouldn’t exist.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.93.24475>>
-%<<date=2023/09/01>>
+%<<version=3.93.24539>>
+%<<date=2023/09/02>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -11212,6 +11212,7 @@ wouldn’t exist.
{There is little you can do. Sorry.}%
\fi\fi\fi\fi}}
\newcommand\BabelDateyyyy[1]{{\number#1}} % TODO - add leading 0
+\newcommand\BabelDateU[1]{{\number#1}}%
\def\bbl at replace@finish at iii#1{%
\bbl at exp{\def\\#1####1####2####3{\the\toks@}}}
\def\bbl at TG@@date{%
@@ -11227,6 +11228,7 @@ wouldn’t exist.
\bbl at replace\bbl at toreplace{[yyyy]}{\BabelDateyyyy{####1}}%
\bbl at replace\bbl at toreplace{[U]}{\BabelDateU{####1}}%
\bbl at replace\bbl at toreplace{[y|}{\bbl at datecntr[####1|}%
+ \bbl at replace\bbl at toreplace{[U|}{\bbl at datecntr[####1|}%
\bbl at replace\bbl at toreplace{[m|}{\bbl at datecntr[####2|}%
\bbl at replace\bbl at toreplace{[d|}{\bbl at datecntr[####3|}%
\bbl at replace@finish at iii\bbl at toreplace}
diff --git a/babel.ins b/babel.ins
index 44049da..841242b 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%%
-\def\filedate{2023/09/01}
+\def\filedate{2023/09/02}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/babel.pdf b/babel.pdf
index 1653715..82d31ae 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 3137414..72b2a3f 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/09/01 v3.93.24475]
+\ProvidesFile{bbcompat.dtx}[2023/09/02 v3.93.24539]
%</dtx>
%
%% File 'bbcompat.dtx'
diff --git a/locale/zh/babel-chinese.tex b/locale/zh/babel-chinese.tex
index 50ca3c4..8785660 100644
--- a/locale/zh/babel-chinese.tex
+++ b/locale/zh/babel-chinese.tex
@@ -9,4 +9,22 @@
\fi
\BabelBeforeIni{zh}{%
}
+
+\ifcase\bbl at engine\else
+
+% Shared with zh-*.ini files
+\@namedef{bbl at cntr@date.sexagenary@\CurrentOption}#1{%
+ \ifcase\fpeval{\bbl at fpmod{(#1-4)}{60}} 甲子\or 乙丑\or
+ 丙寅\or 丁卯\or 戊辰\or 己巳\or 庚午\or 辛未\or 壬申\or
+ 癸酉\or 甲戌\or 乙亥\or 丙子\or 丁丑\or 戊寅\or 己卯\or
+ 庚辰\or 辛巳\or 壬午\or 癸未\or 甲申\or 乙酉\or 丙戌\or
+ 丁亥\or 戊子\or 己丑\or 庚寅\or 辛卯\or 壬辰\or 癸巳\or
+ 甲午\or 乙未\or 丙申\or 丁酉\or 戊戌\or 己亥\or 庚子\or
+ 辛丑\or 壬寅\or 癸卯\or 甲辰\or 乙巳\or 丙午\or 丁未\or
+ 戊申\or 己酉\or 庚戌\or 辛亥\or 壬子\or 癸丑\or 甲寅\or
+ 乙卯\or 丙辰\or 丁巳\or 戊午\or 己未\or 庚申\or 辛酉\or
+ 壬戌\or 癸亥\fi}
+
+\fi
+
\endinput
\ No newline at end of file
diff --git a/locale/zh/babel-zh-Hans-HK.ini b/locale/zh/babel-zh-Hans-HK.ini
index dd9afee..153f073 100644
--- a/locale/zh/babel-zh-Hans-HK.ini
+++ b/locale/zh/babel-zh-Hans-HK.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.10
-date = 2023-08-13
+version = 1.11
+date = 2023-09-02
name.local = 简体中文
name.english = Simplified Chinese
name.opentype = Chinese Simplified
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -131,7 +132,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 腊月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰腊月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -207,5 +235,5 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hans-MO.ini b/locale/zh/babel-zh-Hans-MO.ini
index cf39fdc..f76a28a 100644
--- a/locale/zh/babel-zh-Hans-MO.ini
+++ b/locale/zh/babel-zh-Hans-MO.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.10
-date = 2023-08-13
+version = 1.11
+date = 2023-09-02
name.local = 简体中文
name.english = Simplified Chinese
name.opentype = Chinese Simplified
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -131,7 +132,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 腊月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰腊月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -207,5 +235,5 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hans-SG.ini b/locale/zh/babel-zh-Hans-SG.ini
index bffbc09..585aecf 100644
--- a/locale/zh/babel-zh-Hans-SG.ini
+++ b/locale/zh/babel-zh-Hans-SG.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.10
-date = 2023-08-13
+version = 1.11
+date = 2023-09-02
name.local = 简体中文
name.english = Simplified Chinese
name.opentype = Chinese Simplified
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -131,7 +132,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 腊月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰腊月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -207,5 +235,6 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hans.ini b/locale/zh/babel-zh-Hans.ini
index 9a85f72..5be94ef 100644
--- a/locale/zh/babel-zh-Hans.ini
+++ b/locale/zh/babel-zh-Hans.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.12
-date = 2023-08-13
+version = 1.13
+date = 2023-09-02
name.local = 简体中文
name.english = Simplified Chinese
name.opentype = Chinese Simplified
@@ -27,6 +27,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -134,7 +135,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 腊月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰腊月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -210,5 +238,5 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hant-HK.ini b/locale/zh/babel-zh-Hant-HK.ini
index 8a6cb79..6a97220 100644
--- a/locale/zh/babel-zh-Hant-HK.ini
+++ b/locale/zh/babel-zh-Hant-HK.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.10
-date = 2023-08-13
+version = 1.11
+date = 2023-09-02
name.local = 繁體中文
name.english = Traditional Chinese
name.opentype = Chinese Traditional
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -131,7 +132,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 十二月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰十二月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -207,5 +235,6 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hant-MO.ini b/locale/zh/babel-zh-Hant-MO.ini
index a8d9239..d6654cd 100644
--- a/locale/zh/babel-zh-Hant-MO.ini
+++ b/locale/zh/babel-zh-Hant-MO.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.10
-date = 2023-08-13
+version = 1.11
+date = 2023-09-02
name.local = 繁體中文
name.english = Traditional Chinese
name.opentype = Chinese Traditional
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -131,7 +132,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 冬月
+months.wide.12 = 臘月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰冬月
+months.wide.24 = 闰臘月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -207,5 +235,6 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh-Hant.ini b/locale/zh/babel-zh-Hant.ini
index 647ed76..9f8b22b 100644
--- a/locale/zh/babel-zh-Hant.ini
+++ b/locale/zh/babel-zh-Hant.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.11
-date = 2023-08-13
+version = 1.12
+date = 2023-09-02
name.local = 繁體中文
name.english = Traditional Chinese
name.opentype = Chinese Traditional
@@ -27,6 +27,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
; bib, contents - with en space
@@ -136,7 +137,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 冬月
+months.wide.12 = 臘月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰冬月
+months.wide.24 = 闰臘月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -212,5 +240,6 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
diff --git a/locale/zh/babel-zh.ini b/locale/zh/babel-zh.ini
index c64ecd8..1a182d0 100644
--- a/locale/zh/babel-zh.ini
+++ b/locale/zh/babel-zh.ini
@@ -11,8 +11,8 @@
[identification]
charset = utf8
-version = 1.12
-date = 2023-08-13
+version = 1.13
+date = 2023-09-02
name.local = 中文
name.english = Chinese
name.opentype = Chinese Simplified
@@ -28,6 +28,7 @@ script.tag.opentype = hani
level = 1
encodings =
derivate = no
+require.babel = chinese
[captions]
preface =
@@ -135,7 +136,34 @@ dayPeriods.wide.am = 上午
dayPeriods.wide.pm = 下午
[date.chinese]
-date.long = [d] [MMMM] [y]
+date.long = [y|digits]年[MMMM][d|date.days]
+months.wide.1 = 正月
+months.wide.2 = 二月
+months.wide.3 = 三月
+months.wide.4 = 四月
+months.wide.5 = 五月
+months.wide.6 = 六月
+months.wide.7 = 七月
+months.wide.8 = 八月
+months.wide.9 = 九月
+months.wide.10 = 十月
+months.wide.11 = 十一月
+months.wide.12 = 腊月
+months.wide.13 = 闰正月
+months.wide.14 = 闰二月
+months.wide.15 = 闰三月
+months.wide.16 = 闰四月
+months.wide.17 = 闰五月
+months.wide.18 = 闰六月
+months.wide.19 = 闰七月
+months.wide.20 = 闰八月
+months.wide.21 = 闰九月
+months.wide.22 = 闰十月
+months.wide.23 = 闰十一月
+months.wide.24 = 闰腊月
+
+[date.chinese.Sexagenary]
+date.long = [U|date.sexagenary]年[MMMM][d|date.days]
months.wide.1 = 正月
months.wide.2 = 二月
months.wide.3 = 三月
@@ -211,6 +239,4 @@ circled.ideograph = ㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
parenthesized.ideograph = ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
fullwidth.lower.alpha = a b c d e f g h i j k l m n o p q r s t u v w x y z
fullwidth.upper.alpha = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-
-
-
+date.days = 初一 初二 初三 初四 初五 初六 初七 初八 初九 初十 十一 十二 十三 十四 十五 十六 十七 十八 十九 二十 廿一 廿二 廿三 廿四 廿五 廿六 廿七 廿八 廿九 三十
More information about the latex3-commits
mailing list.