|
|
8d419f |
From 1fb9fa1c16f46ce830324173dd0920eddf13c9d6 Mon Sep 17 00:00:00 2001
|
|
|
8d419f |
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
|
8d419f |
Date: Tue, 14 Jun 2022 09:06:00 +0900
|
|
|
8d419f |
Subject: [PATCH] locale-util: align locale entries
|
|
|
8d419f |
|
|
|
8d419f |
(cherry picked from commit d2e96a4f87f814f3d5c8be986a4d4f616bfd67f4)
|
|
|
8d419f |
|
|
|
8d419f |
Related: #2087652
|
|
|
8d419f |
---
|
|
|
8d419f |
src/basic/locale-util.c | 26 +++++++++++++-------------
|
|
|
8d419f |
1 file changed, 13 insertions(+), 13 deletions(-)
|
|
|
8d419f |
|
|
|
8d419f |
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c
|
|
|
8d419f |
index bd36cdd1cd..8098369db5 100644
|
|
|
8d419f |
--- a/src/basic/locale-util.c
|
|
|
8d419f |
+++ b/src/basic/locale-util.c
|
|
|
8d419f |
@@ -336,19 +336,19 @@ void locale_variables_free(char *l[_VARIABLE_LC_MAX]) {
|
|
|
8d419f |
}
|
|
|
8d419f |
|
|
|
8d419f |
static const char * const locale_variable_table[_VARIABLE_LC_MAX] = {
|
|
|
8d419f |
- [VARIABLE_LANG] = "LANG",
|
|
|
8d419f |
- [VARIABLE_LANGUAGE] = "LANGUAGE",
|
|
|
8d419f |
- [VARIABLE_LC_CTYPE] = "LC_CTYPE",
|
|
|
8d419f |
- [VARIABLE_LC_NUMERIC] = "LC_NUMERIC",
|
|
|
8d419f |
- [VARIABLE_LC_TIME] = "LC_TIME",
|
|
|
8d419f |
- [VARIABLE_LC_COLLATE] = "LC_COLLATE",
|
|
|
8d419f |
- [VARIABLE_LC_MONETARY] = "LC_MONETARY",
|
|
|
8d419f |
- [VARIABLE_LC_MESSAGES] = "LC_MESSAGES",
|
|
|
8d419f |
- [VARIABLE_LC_PAPER] = "LC_PAPER",
|
|
|
8d419f |
- [VARIABLE_LC_NAME] = "LC_NAME",
|
|
|
8d419f |
- [VARIABLE_LC_ADDRESS] = "LC_ADDRESS",
|
|
|
8d419f |
- [VARIABLE_LC_TELEPHONE] = "LC_TELEPHONE",
|
|
|
8d419f |
- [VARIABLE_LC_MEASUREMENT] = "LC_MEASUREMENT",
|
|
|
8d419f |
+ [VARIABLE_LANG] = "LANG",
|
|
|
8d419f |
+ [VARIABLE_LANGUAGE] = "LANGUAGE",
|
|
|
8d419f |
+ [VARIABLE_LC_CTYPE] = "LC_CTYPE",
|
|
|
8d419f |
+ [VARIABLE_LC_NUMERIC] = "LC_NUMERIC",
|
|
|
8d419f |
+ [VARIABLE_LC_TIME] = "LC_TIME",
|
|
|
8d419f |
+ [VARIABLE_LC_COLLATE] = "LC_COLLATE",
|
|
|
8d419f |
+ [VARIABLE_LC_MONETARY] = "LC_MONETARY",
|
|
|
8d419f |
+ [VARIABLE_LC_MESSAGES] = "LC_MESSAGES",
|
|
|
8d419f |
+ [VARIABLE_LC_PAPER] = "LC_PAPER",
|
|
|
8d419f |
+ [VARIABLE_LC_NAME] = "LC_NAME",
|
|
|
8d419f |
+ [VARIABLE_LC_ADDRESS] = "LC_ADDRESS",
|
|
|
8d419f |
+ [VARIABLE_LC_TELEPHONE] = "LC_TELEPHONE",
|
|
|
8d419f |
+ [VARIABLE_LC_MEASUREMENT] = "LC_MEASUREMENT",
|
|
|
8d419f |
[VARIABLE_LC_IDENTIFICATION] = "LC_IDENTIFICATION"
|
|
|
8d419f |
};
|
|
|
8d419f |
|