From f85ca9fbda500c3ff8934f38e815a5deceff177f Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Tue, 14 Apr 2026 13:32:42 -0400 Subject: [PATCH] localedata: Consistently use one space after 'category' Consistently use one space after catgory keyword in all 352 locales. We adjust gen_unicode_ctype.py to emit the same format for i18n_ctype. This makes the files more consistent for command line tooling to manipulate. --- localedata/locales/C | 25 ++++++++++---------- localedata/locales/ab_GE | 24 +++++++++---------- localedata/locales/bi_VU | 24 +++++++++---------- localedata/locales/ca_ES@valencia | 26 ++++++++++----------- localedata/locales/de_LI | 22 ++++++++--------- localedata/locales/gbm_IN | 22 ++++++++--------- localedata/locales/hif_FJ | 24 +++++++++---------- localedata/locales/i18n_ctype | 3 ++- localedata/locales/mjw_IN | 22 ++++++++--------- localedata/locales/mnw_MM | 24 +++++++++---------- localedata/locales/sah_RU | 24 +++++++++---------- localedata/locales/sm_WS | 24 +++++++++---------- localedata/locales/to_TO | 24 +++++++++---------- localedata/locales/tpi_PG | 24 +++++++++---------- localedata/unicode-gen/gen_unicode_ctype.py | 3 ++- 15 files changed, 159 insertions(+), 156 deletions(-) diff --git a/localedata/locales/C b/localedata/locales/C index 14d65b6d504..20619a0658d 100644 --- a/localedata/locales/C +++ b/localedata/locales/C @@ -22,18 +22,19 @@ language "" territory "" revision "2.1" date "2022-01-30" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE -category "i18n:2012";LC_MEASUREMENT + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/ab_GE b/localedata/locales/ab_GE index 0aec826aa73..dfff0958d39 100644 --- a/localedata/locales/ab_GE +++ b/localedata/locales/ab_GE @@ -27,18 +27,18 @@ territory "Georgia" revision "1.0" date "2021-08-20" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/bi_VU b/localedata/locales/bi_VU index 7d6b6d2f139..ada9e883bbc 100644 --- a/localedata/locales/bi_VU +++ b/localedata/locales/bi_VU @@ -26,18 +26,18 @@ territory "Vanuatu" revision "0.1" date "2017-07-13" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/ca_ES@valencia b/localedata/locales/ca_ES@valencia index bb0d4e678ff..d0555319c52 100644 --- a/localedata/locales/ca_ES@valencia +++ b/localedata/locales/ca_ES@valencia @@ -26,19 +26,19 @@ language "Catalan" territory "Spain" revision "1.0" date "2006-04-06" -% -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_TIME -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE -category "i18n:2012";LC_MEASUREMENT + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_TIME +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_MEASUREMENT END LC_IDENTIFICATION diff --git a/localedata/locales/de_LI b/localedata/locales/de_LI index 51d31fca79b..4b2493379bf 100644 --- a/localedata/locales/de_LI +++ b/localedata/locales/de_LI @@ -23,17 +23,17 @@ territory "Liechtenstein" revision "1.0" date "2007-11-27" % -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/gbm_IN b/localedata/locales/gbm_IN index 5fb05976d07..f780fc4f709 100644 --- a/localedata/locales/gbm_IN +++ b/localedata/locales/gbm_IN @@ -25,17 +25,17 @@ territory "India" revision "1.0" date "2016-01-17" % -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION diff --git a/localedata/locales/hif_FJ b/localedata/locales/hif_FJ index aa9a902873b..eca9b895573 100644 --- a/localedata/locales/hif_FJ +++ b/localedata/locales/hif_FJ @@ -24,18 +24,18 @@ territory "Fiji" revision "0.1" date "2017-03-21" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/i18n_ctype b/localedata/locales/i18n_ctype index ce19a039a28..7cceab61d34 100644 --- a/localedata/locales/i18n_ctype +++ b/localedata/locales/i18n_ctype @@ -27,7 +27,8 @@ language "" territory "Earth" revision "14.0.0" date "2025-08-18" -category "i18n:2012";LC_CTYPE + +category "i18n:2012";LC_CTYPE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/mjw_IN b/localedata/locales/mjw_IN index 3dc905af522..89d0a438eae 100644 --- a/localedata/locales/mjw_IN +++ b/localedata/locales/mjw_IN @@ -23,17 +23,17 @@ territory "India" revision "1.1" date "2013-08-08" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_COLLATE diff --git a/localedata/locales/mnw_MM b/localedata/locales/mnw_MM index 0a8ab081cda..489ffd5398f 100644 --- a/localedata/locales/mnw_MM +++ b/localedata/locales/mnw_MM @@ -22,18 +22,18 @@ territory "Myanmar" revision "1" date "2019-10-27" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/sah_RU b/localedata/locales/sah_RU index 228c6a513bb..c6053b4db79 100644 --- a/localedata/locales/sah_RU +++ b/localedata/locales/sah_RU @@ -32,18 +32,18 @@ territory "Russian Federation" revision "1.1.0" date "2018-07-06" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/sm_WS b/localedata/locales/sm_WS index 1bb2005e107..d83ee32f135 100644 --- a/localedata/locales/sm_WS +++ b/localedata/locales/sm_WS @@ -24,18 +24,18 @@ territory "Samoa" revision "0.1" date "2017-03-21" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/to_TO b/localedata/locales/to_TO index 055f3834ca5..f0fedec852b 100644 --- a/localedata/locales/to_TO +++ b/localedata/locales/to_TO @@ -23,18 +23,18 @@ territory "Tonga" revision "1.0" date "2017-03-23" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/locales/tpi_PG b/localedata/locales/tpi_PG index 1c41ca03769..657c4949444 100644 --- a/localedata/locales/tpi_PG +++ b/localedata/locales/tpi_PG @@ -24,18 +24,18 @@ territory "Papua New Guinea" revision "0.1" date "2017-03-21" -category "i18n:2012";LC_IDENTIFICATION -category "i18n:2012";LC_CTYPE -category "i18n:2012";LC_COLLATE -category "i18n:2012";LC_TIME -category "i18n:2012";LC_NUMERIC -category "i18n:2012";LC_MONETARY -category "i18n:2012";LC_PAPER -category "i18n:2012";LC_MEASUREMENT -category "i18n:2012";LC_MESSAGES -category "i18n:2012";LC_NAME -category "i18n:2012";LC_ADDRESS -category "i18n:2012";LC_TELEPHONE +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE diff --git a/localedata/unicode-gen/gen_unicode_ctype.py b/localedata/unicode-gen/gen_unicode_ctype.py index e5d9c526b19..c1e23879937 100755 --- a/localedata/unicode-gen/gen_unicode_ctype.py +++ b/localedata/unicode-gen/gen_unicode_ctype.py @@ -181,7 +181,8 @@ def output_head(i18n_file, unicode_version, head=''): i18n_file.write('revision "{:s}"\n'.format(unicode_version)) i18n_file.write('date "{:s}"\n'.format( time.strftime('%Y-%m-%d'))) - i18n_file.write('category "i18n:2012";LC_CTYPE\n') + i18n_file.write('\n') + i18n_file.write('category "i18n:2012";LC_CTYPE\n') i18n_file.write('END LC_IDENTIFICATION\n') i18n_file.write('\n') i18n_file.write('LC_CTYPE\n') -- 2.47.3