Skip to content

Commit da717e7

Browse files
authored
[PHP 8.4] Add ext-intl constant typesの翻訳 (#278)
* [PHP 8.4] Add ext-intl constant typesの翻訳 * EN-Revisionの更新
1 parent dbfb9bb commit da717e7

18 files changed

+3548
-820
lines changed

reference/intl/collator-constants.xml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 6e6c154057b6d96518de039f40ff1e4feb44b04f Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 1f68eecaa7c4c723abe72a5a040ea7b15023a5aa Maintainer: takagi Status: ready -->
44
<section xml:id="intl.collator-constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
&reftitle.constants;
66
<para>
77
<variablelist>
88
<varlistentry xml:id="collator.constants.french-collation">
99
<term>
1010
<constant>Collator::FRENCH_COLLATION</constant>
11+
<type>int</type>
1112
</term>
1213
<listitem>
1314
<para>
@@ -101,6 +102,7 @@
101102
<varlistentry xml:id="collator.constants.case-first">
102103
<term>
103104
<constant>Collator::CASE_FIRST</constant>
105+
<type>int</type>
104106
</term>
105107
<listitem>
106108
<para>
@@ -146,6 +148,7 @@
146148
<varlistentry xml:id="collator.constants.case-level">
147149
<term>
148150
<constant>Collator::CASE_LEVEL</constant>
151+
<type>int</type>
149152
</term>
150153
<listitem>
151154
<para>
@@ -181,6 +184,7 @@
181184
<varlistentry xml:id="collator.constants.normalization-mode">
182185
<term>
183186
<constant>Collator::NORMALIZATION_MODE</constant>
187+
<type>int</type>
184188
</term>
185189
<listitem>
186190
<para>
@@ -211,6 +215,7 @@
211215
<varlistentry xml:id="collator.constants.strength">
212216
<term>
213217
<constant>Collator::STRENGTH</constant>
218+
<type>int</type>
214219
</term>
215220
<listitem>
216221
<para>
@@ -239,6 +244,7 @@
239244
<varlistentry xml:id="collator.constants.hiragana-quaternary-mode">
240245
<term>
241246
<constant>Collator::HIRAGANA_QUATERNARY_MODE</constant>
247+
<type>int</type>
242248
</term>
243249
<listitem>
244250
<para>
@@ -262,6 +268,7 @@
262268
<varlistentry xml:id="collator.constants.numeric-collation">
263269
<term>
264270
<constant>Collator::NUMERIC_COLLATION</constant>
271+
<type>int</type>
265272
</term>
266273
<listitem>
267274
<para>
@@ -282,6 +289,7 @@
282289
<varlistentry xml:id="collator.constants.default-value">
283290
<term>
284291
<constant>Collator::DEFAULT_VALUE</constant>
292+
<type>int</type>
285293
</term>
286294
<listitem>
287295
<simpara>
@@ -293,6 +301,7 @@
293301
<varlistentry xml:id="collator.constants.primary">
294302
<term>
295303
<constant>Collator::PRIMARY</constant>
304+
<type>int</type>
296305
</term>
297306
<listitem>
298307
<simpara>
@@ -304,6 +313,7 @@
304313
<varlistentry xml:id="collator.constants.secondary">
305314
<term>
306315
<constant>Collator::SECONDARY</constant>
316+
<type>int</type>
307317
</term>
308318
<listitem>
309319
<simpara>
@@ -315,6 +325,7 @@
315325
<varlistentry xml:id="collator.constants.tertiary">
316326
<term>
317327
<constant>Collator::TERTIARY</constant>
328+
<type>int</type>
318329
</term>
319330
<listitem>
320331
<simpara>
@@ -326,6 +337,7 @@
326337
<varlistentry xml:id="collator.constants.default-strength">
327338
<term>
328339
<constant>Collator::DEFAULT_STRENGTH</constant>
340+
<type>int</type>
329341
</term>
330342
<listitem>
331343
<simpara>
@@ -337,6 +349,7 @@
337349
<varlistentry xml:id="collator.constants.quaternary">
338350
<term>
339351
<constant>Collator::QUATERNARY</constant>
352+
<type>int</type>
340353
</term>
341354
<listitem>
342355
<simpara>
@@ -348,6 +361,7 @@
348361
<varlistentry xml:id="collator.constants.identical">
349362
<term>
350363
<constant>Collator::IDENTICAL</constant>
364+
<type>int</type>
351365
</term>
352366
<listitem>
353367
<simpara>
@@ -359,6 +373,7 @@
359373
<varlistentry xml:id="collator.constants.off">
360374
<term>
361375
<constant>Collator::OFF</constant>
376+
<type>int</type>
362377
</term>
363378
<listitem>
364379
<simpara>
@@ -370,6 +385,7 @@
370385
<varlistentry xml:id="collator.constants.on">
371386
<term>
372387
<constant>Collator::ON</constant>
388+
<type>int</type>
373389
</term>
374390
<listitem>
375391
<simpara>
@@ -381,6 +397,7 @@
381397
<varlistentry xml:id="collator.constants.shifted">
382398
<term>
383399
<constant>Collator::SHIFTED</constant>
400+
<type>int</type>
384401
</term>
385402
<listitem>
386403
<simpara>
@@ -392,6 +409,7 @@
392409
<varlistentry xml:id="collator.constants.non-ignorable">
393410
<term>
394411
<constant>Collator::NON_IGNORABLE</constant>
412+
<type>int</type>
395413
</term>
396414
<listitem>
397415
<simpara>
@@ -403,6 +421,7 @@
403421
<varlistentry xml:id="collator.constants.lower-first">
404422
<term>
405423
<constant>Collator::LOWER_FIRST</constant>
424+
<type>int</type>
406425
</term>
407426
<listitem>
408427
<simpara>
@@ -414,6 +433,7 @@
414433
<varlistentry xml:id="collator.constants.upper-first">
415434
<term>
416435
<constant>Collator::UPPER_FIRST</constant>
436+
<type>int</type>
417437
</term>
418438
<listitem>
419439
<simpara>
@@ -423,21 +443,30 @@
423443
</varlistentry>
424444

425445
<varlistentry xml:id="collator.constants.sort-regular">
426-
<term><constant>Collator::SORT_REGULAR</constant></term>
446+
<term>
447+
<constant>Collator::SORT_REGULAR</constant>
448+
<type>int</type>
449+
</term>
427450
<listitem>
428451
<para/>
429452
</listitem>
430453
</varlistentry>
431454

432455
<varlistentry xml:id="collator.constants.sort-string">
433-
<term><constant>Collator::SORT_STRING</constant></term>
456+
<term>
457+
<constant>Collator::SORT_STRING</constant>
458+
<type>int</type>
459+
</term>
434460
<listitem>
435461
<para/>
436462
</listitem>
437463
</varlistentry>
438464

439465
<varlistentry xml:id="collator.constants.sort-numeric">
440-
<term><constant>Collator::SORT_NUMERIC</constant></term>
466+
<term>
467+
<constant>Collator::SORT_NUMERIC</constant>
468+
<type>int</type>
469+
</term>
441470
<listitem>
442471
<para/>
443472
</listitem>

reference/intl/collator.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 2a8b2f1c53edae923b5bb196183e476e5cca46a3 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 1f68eecaa7c4c723abe72a5a040ea7b15023a5aa Maintainer: takagi Status: ready -->
44
<reference xml:id="class.collator" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
55
<title>Collator クラス</title>
66
<titleabbrev>Collator</titleabbrev>
@@ -198,6 +198,28 @@
198198
}}} -->
199199

200200
&reference.intl.collator-constants;
201+
202+
<section role="changelog" xml:id="collator.changelog">
203+
&reftitle.changelog;
204+
<informaltable>
205+
<tgroup cols="2">
206+
<thead>
207+
<row>
208+
<entry>&Version;</entry>
209+
<entry>&Description;</entry>
210+
</row>
211+
</thead>
212+
<tbody>
213+
<row>
214+
<entry>8.4.0</entry>
215+
<entry>
216+
クラス定数が型付けされました。
217+
</entry>
218+
</row>
219+
</tbody>
220+
</tgroup>
221+
</informaltable>
222+
</section>
201223
</partintro>
202224

203225
&reference.intl.entities.collator;

reference/intl/dateformatter-constants.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 6e6c154057b6d96518de039f40ff1e4feb44b04f Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 1f68eecaa7c4c723abe72a5a040ea7b15023a5aa Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<section xml:id="intl.intldateformatter-constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
&reftitle.constants;
@@ -12,6 +12,7 @@
1212
<varlistentry xml:id="intldateformatter.constants.none">
1313
<term>
1414
<constant>IntlDateFormatter::NONE</constant>
15+
<type>int</type>
1516
</term>
1617
<listitem>
1718
<simpara>この要素を含まない</simpara>
@@ -20,6 +21,7 @@
2021
<varlistentry xml:id="intldateformatter.constants.full">
2122
<term>
2223
<constant>IntlDateFormatter::FULL</constant>
24+
<type>int</type>
2325
</term>
2426
<listitem>
2527
<simpara>完全に指定した形式 (Tuesday, April 12, 1952 AD あるいは 3:30:42pm PST)</simpara>
@@ -28,6 +30,7 @@
2830
<varlistentry xml:id="intldateformatter.constants.long">
2931
<term>
3032
<constant>IntlDateFormatter::LONG</constant>
33+
<type>int</type>
3134
</term>
3235
<listitem>
3336
<simpara>長い形式 (January 12, 1952 あるいは 3:30:32pm)</simpara>
@@ -36,6 +39,7 @@
3639
<varlistentry xml:id="intldateformatter.constants.medium">
3740
<term>
3841
<constant>IntlDateFormatter::MEDIUM</constant>
42+
<type>int</type>
3943
</term>
4044
<listitem>
4145
<simpara>中間の形式 (Jan 12, 1952)</simpara>
@@ -44,6 +48,7 @@
4448
<varlistentry xml:id="intldateformatter.constants.short">
4549
<term>
4650
<constant>IntlDateFormatter::SHORT</constant>
51+
<type>int</type>
4752
</term>
4853
<listitem>
4954
<simpara>不可欠なデータのみを扱う最も省略した形式 (12/13/52 あるいは 3:30pm)</simpara>
@@ -52,6 +57,7 @@
5257
<varlistentry xml:id="intldateformatter.constants.relative-full">
5358
<term>
5459
<constant>IntlDateFormatter::RELATIVE_FULL</constant>
60+
<type>int</type>
5561
</term>
5662
<listitem>
5763
<simpara>
@@ -67,6 +73,7 @@
6773
<varlistentry xml:id="intldateformatter.constants.relative-long">
6874
<term>
6975
<constant>IntlDateFormatter::RELATIVE_LONG</constant>
76+
<type>int</type>
7077
</term>
7178
<listitem>
7279
<simpara>
@@ -82,6 +89,7 @@
8289
<varlistentry xml:id="intldateformatter.constants.relative-medium">
8390
<term>
8491
<constant>IntlDateFormatter::RELATIVE_MEDIUM</constant>
92+
<type>int</type>
8593
</term>
8694
<listitem>
8795
<simpara>
@@ -97,6 +105,7 @@
97105
<varlistentry xml:id="intldateformatter.constants.relative-short">
98106
<term>
99107
<constant>IntlDateFormatter::RELATIVE_SHORT</constant>
108+
<type>int</type>
100109
</term>
101110
<listitem>
102111
<simpara>
@@ -121,6 +130,7 @@
121130
<varlistentry xml:id="intldateformatter.constants.traditional">
122131
<term>
123132
<constant>IntlDateFormatter::TRADITIONAL</constant>
133+
<type>int</type>
124134
</term>
125135
<listitem>
126136
<simpara>非グレゴリオ暦</simpara>
@@ -129,6 +139,7 @@
129139
<varlistentry xml:id="intldateformatter.constants.gregorian">
130140
<term>
131141
<constant>IntlDateFormatter::GREGORIAN</constant>
142+
<type>int</type>
132143
</term>
133144
<listitem>
134145
<simpara>グレゴリオ暦</simpara>

reference/intl/dateformatter.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 1f68eecaa7c4c723abe72a5a040ea7b15023a5aa Maintainer: takagi Status: ready -->
44
<reference xml:id="class.intldateformatter" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
55
<title>IntlDateFormatter クラス</title>
66
<titleabbrev>IntlDateFormatter</titleabbrev>
@@ -130,6 +130,28 @@
130130
</section>
131131

132132
&reference.intl.dateformatter-constants;
133+
134+
<section role="changelog" xml:id="intldateformatter.changelog">
135+
&reftitle.changelog;
136+
<informaltable>
137+
<tgroup cols="2">
138+
<thead>
139+
<row>
140+
<entry>&Version;</entry>
141+
<entry>&Description;</entry>
142+
</row>
143+
</thead>
144+
<tbody>
145+
<row>
146+
<entry>8.4.0</entry>
147+
<entry>
148+
クラス定数が型付けされました。
149+
</entry>
150+
</row>
151+
</tbody>
152+
</tgroup>
153+
</informaltable>
154+
</section>
133155
</partintro>
134156

135157
&reference.intl.entities.dateformatter;

0 commit comments

Comments
 (0)