summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-08 21:12:54 +0200
committerMattias Andrée <maandree@kth.se>2021-09-08 21:17:18 +0200
commit94254949137ab16a9f2f4b83cb61559e93a723d3 (patch)
treee4f04b213df4ced20b12e4b8f4352ef36e6fd3ad
parentm + add TODO (diff)
downloadlibnumtext-94254949137ab16a9f2f4b83cb61559e93a723d3.tar.gz
libnumtext-94254949137ab16a9f2f4b83cb61559e93a723d3.tar.bz2
libnumtext-94254949137ab16a9f2f4b83cb61559e93a723d3.tar.xz
Swedish: rename pascal case to money case
In pascal case, all words are changed so that the begin with an upper case, and everything else is left lower case, than all spaces are removes. Swedish does not have spaces in spelled out numbers so calling it pascal case is in error, it's just the components (not all though) that are changed to begin with an upper case letter. Since this case is basically only and always used when spelling out large sums of money, the name money case is a much better description. Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libnumtext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnumtext.h b/libnumtext.h
index 27bd73f..c484e51 100644
--- a/libnumtext.h
+++ b/libnumtext.h
@@ -37,7 +37,7 @@ enum libnumtext_language {
#define LIBNUMTEXT_N2T_SWEDISH_HYPHENATED UINT32_C(0x00000080) /* …, femhundra-trettio-två, … */
#define LIBNUMTEXT_N2T_SWEDISH_LOWER_CASE UINT32_C(0) /* …, femhundratrettiotvå, … */
-#define LIBNUMTEXT_N2T_SWEDISH_PASCAL_CASE UINT32_C(0x00000100) /* …, FemhundraTrettioTvå, … */
+#define LIBNUMTEXT_N2T_SWEDISH_MONEY_CASE UINT32_C(0x00000100) /* …, FemhundraTrettioTvå, … */
#define LIBNUMTEXT_N2T_SWEDISH_UPPER_CASE UINT32_C(0x00000200) /* …, FEMHUNDRATRETTIOTVÅ, … */
#define LIBNUMTEXT_N2T_SWEDISH_SENTENCE_CASE UINT32_C(0x00000300) /* …, Femhundratrettiotvå, … */