about summary refs log tree commit diff
path: root/Doc/Zsh/mod_langinfo.yo
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-02-19 02:14:08 +0000
committerClint Adams <clint@users.sourceforge.net>2002-02-19 02:14:08 +0000
commit0de96fc47898c0ed4c9c8e000fb63c897fe965ae (patch)
tree056e1a9c1c4376dc7f42824504fe1636c92c170c /Doc/Zsh/mod_langinfo.yo
parent9511df82d856021d249938aa07edb9b3e3f3c682 (diff)
downloadzsh-0de96fc47898c0ed4c9c8e000fb63c897fe965ae.tar.gz
zsh-0de96fc47898c0ed4c9c8e000fb63c897fe965ae.tar.xz
zsh-0de96fc47898c0ed4c9c8e000fb63c897fe965ae.zip
16673: add langinfo module as an interface to locale information.
Diffstat (limited to 'Doc/Zsh/mod_langinfo.yo')
-rw-r--r--Doc/Zsh/mod_langinfo.yo37
1 files changed, 37 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_langinfo.yo b/Doc/Zsh/mod_langinfo.yo
new file mode 100644
index 000000000..0372a95be
--- /dev/null
+++ b/Doc/Zsh/mod_langinfo.yo
@@ -0,0 +1,37 @@
+COMMENT(!MOD!zsh/langinfo
+Interface to locale information.
+!MOD!)
+The tt(zsh/langinfo) module makes available one parameter:
+
+startitem()
+vindex(langinfo)
+item(tt(langinfo))(
+An associative array that maps langinfo elements to
+their values.
+
+Your implementation may support a number of the following keys:
+
+tt(CODESET),
+tt(D_T_FMT),
+tt(D_FMT),
+tt(T_FMT),
+tt(RADIXCHAR),
+tt(THOUSEP),
+tt(YESEXPR),
+tt(NOEXPR),
+tt(CRNCYSTR),
+tt(ABDAY_{1..7}),
+tt(DAY_{1..7}),
+tt(ABMON_{1..12}),
+tt(MON_{1..12}),
+tt(T_FMT_AMPM),
+tt(AM_STR),
+tt(PM_STR),
+tt(ERA),
+tt(ERA_D_FMT),
+tt(ERA_D_T_FMT),
+tt(ERA_T_FMT),
+tt(ALT_DIGITS)
+
+)
+enditem()