public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Janet Blackquill <uhhadd@gmail.com>
To: libc-alpha@sourceware.org
Cc: Janet Blackquill <uhhadd@gmail.com>
Subject: [PATCH] localedata: add data for tok (Toki Pona)
Date: Sat,  6 Jan 2024 21:38:49 -0500	[thread overview]
Message-ID: <20240107023848.372587-2-uhhadd@gmail.com> (raw)
In-Reply-To: <CADgfn_0OgHEfKLVjwF3=Ut0jjr6xE3QjSWp-Q67xNYBGp_0XjQ@mail.gmail.com>

glibc can recognise its code, but does not have its data.
This patch remedies that.

Signed-off-by: Janet Blackquill <uhhadd@gmail.com>
---
 localedata/locales/tok | 154 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 154 insertions(+)
 create mode 100644 localedata/locales/tok

diff --git a/localedata/locales/tok b/localedata/locales/tok
new file mode 100644
index 0000000000..04292226fe
--- /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 "pi open suno";"pi pini suno"
+t_fmt_ampm "%I:%M:%S %p"
+d_t_fmt  "#%Y)#%m)#%d tenpo %T"
+date_fmt "#%Y)#%m)#%d tenpo %T lon %z"
+d_fmt   "#%Y)#%m)#%d"
+t_fmt   "%H:%M:%S"
+week 7;19971130;1
+END LC_TIME
+
+LC_MESSAGES
+yesexpr "^[+1wW]"
+noexpr  "^[-0aA]"
+yesstr  "wile"
+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.43.0


      reply	other threads:[~2024-01-07  2:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 15:57 [PATCH] localedata: add new locale tok Janet Blackquill
2024-01-07  2:38 ` Janet Blackquill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240107023848.372587-2-uhhadd@gmail.com \
    --to=uhhadd@gmail.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).