diff mbox series

localedata: add new locale tok

Message ID CADgfn_0OgHEfKLVjwF3=Ut0jjr6xE3QjSWp-Q67xNYBGp_0XjQ@mail.gmail.com
State New
Headers show
Series localedata: add new locale tok | expand

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Janet Blackquill Jan. 28, 2022, 3:57 p.m. UTC
Toki Pona was recently given an ISO-639-3 code, tok,
https://iso639-3.sil.org/code/tok.

Signed-off-by: Janet Blackquill <uhhadd@gmail.com>
diff mbox series

Patch

From 1aff3b5637d47b39b67197943d6642940535a674 Mon Sep 17 00:00:00 2001
From: Janet Blackquill <uhhadd@gmail.com>
Date: Fri, 28 Jan 2022 10:02:10 -0500
Subject: [PATCH] localedata: add new locale tok

Add the Toki Pona language

tok was recently given an ISO-639-3 code,
https://iso639-3.sil.org/code/tok.

Signed-off-by: Janet Blackquill <uhhadd@gmail.com>
---
 locale/iso-639.def     |   1 +
 localedata/locales/tok | 154 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 155 insertions(+)
 create mode 100644 localedata/locales/tok

diff --git a/locale/iso-639.def b/locale/iso-639.def
index 926aebada0..5dea4e3966 100644
--- a/locale/iso-639.def
+++ b/locale/iso-639.def
@@ -479,6 +479,7 @@  DEFINE_LANGUAGE_CODE3 ("Timne", tem, tem)
 DEFINE_LANGUAGE_CODE3 ("Tiv", tiv, tiv)
 DEFINE_LANGUAGE_CODE3 ("Tlingit", tli, tli)
 DEFINE_LANGUAGE_CODE3 ("Tok Pisin", tpi, tpi)
+DEFINE_LANGUAGE_CODE3 ("Toki Pona", tok, tok)
 DEFINE_LANGUAGE_CODE3 ("Tokelau", tkl, tkl)
 DEFINE_LANGUAGE_CODE3 ("Tonga (Nyasa)", tog, tog)
 DEFINE_LANGUAGE_CODE ("Tonga (Tonga Islands)", to, ton, ton)
diff --git a/localedata/locales/tok b/localedata/locales/tok
new file mode 100644
index 0000000000..01f1993f8a
--- /dev/null
+++ b/localedata/locales/tok
@@ -0,0 +1,154 @@ 
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Toki Pona Language Locale
+% Source: Toki Pona Dictionary
+% Address:
+% Contact: Janet Blackquill
+% Email: uhhadd@gmail.com
+% Tel:
+% Fax:
+% Language: tok
+% Territory:
+% Revision: 1.0
+% Date: 2022-01-28
+% Application: general
+% Users: general
+% License: Public Domain
+
+LC_IDENTIFICATION
+title      "Toki Pona language locale"
+source     ""
+address    ""
+contact    ""
+email      ""
+tel        ""
+fax        ""
+language   "Toki Pona"
+territory  ""
+revision   "1.0"
+date       "2022-01-28"
+
+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
+copy "i18n"
+END LC_CTYPE
+
+LC_COLLATE
+
+copy "iso14651_t1"
+
+END LC_COLLATE
+
+LC_MONETARY
+int_curr_symbol     "XDR "
+currency_symbol     "<U00A4>"
+mon_decimal_point   "."
+mon_thousands_sep   "<U202F>"
+mon_grouping        3;3
+positive_sign       ""
+negative_sign       "-"
+int_frac_digits     2
+frac_digits         2
+p_cs_precedes       1
+p_sep_by_space      1
+n_cs_precedes       1
+n_sep_by_space      1
+p_sign_posn         1
+n_sign_posn         1
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point "."
+thousands_sep "<U202F>"
+grouping      0;0
+END LC_NUMERIC
+
+LC_TIME
+abday	"suno esun #7";/
+	"suno esun #1";"suno esun #2";/
+	"suno esun #3";"suno esun #4";/
+	"suno esun #5";"suno esun #6"
+day	"tenpo suno esun nanpa 7";/
+	"tenpo suno esun nanpa 1";/
+	"tenpo suno esun nanpa 2";/
+	"tenpo suno esun nanpa 3";/
+	"tenpo suno esun nanpa 4";/
+	"tenpo suno esun nanpa 5";/
+	"tenpo suno esun nanpa 6"
+abmon	"mun #1";"mun #2";"mun #3";"mun #4";"mun #5";"mun #6";"mun #7";"mun #8";"mun #9";"mun #10";"mun #11";"mun #12"
+mon	"tenpo mun nanpa 1";/
+	"tenpo mun nanpa 2";/
+	"tenpo mun nanpa 3";/
+	"tenpo mun nanpa 4";/
+	"tenpo mun nanpa 5";/
+	"tenpo mun nanpa 6";/
+	"tenpo mun nanpa 7";/
+	"tenpo mun nanpa 8";/
+	"tenpo mun nanpa 9";/
+	"tenpo mun nanpa 10";/
+	"tenpo mun nanpa 11";/
+	"tenpo mun nanpa 12"
+am_pm "";""
+t_fmt_ampm ""
+d_t_fmt  "suno #%d (%a) %b sike #%Y tenpo %T"
+date_fmt "suno #%d (%a) %b sike #%Y tenpo %T %z"
+d_fmt   "suno #%d mun #%m sike #%Y"
+t_fmt   "tenpo %T"
+week 7;19971130;1
+END LC_TIME
+
+LC_MESSAGES
+yesexpr "^[+1yYlLwW]"
+noexpr  "^[-0nNaA]"
+yesstr  "lon"
+nostr   "ala"
+END LC_MESSAGES
+
+LC_PAPER
+copy "i18n"
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt "+%c %a%t%l"
+int_select  "00"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "i18n"
+END LC_MEASUREMENT
+
+LC_NAME
+name_fmt    "%d%t%g%t%m%t%f"
+name_mr     "jan"
+name_mrs    "jan"
+name_ms     "jan"
+name_gen    "jan"
+name_miss   "jan"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt   "%f%N%a%N%d%N%b%N%s %h %e %r%N%%z %T%N%c%N"
+lang_name    "toki pona"
+lang_term    "tok"
+END LC_ADDRESS
-- 
2.34.1