From 0de96fc47898c0ed4c9c8e000fb63c897fe965ae Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 19 Feb 2002 02:14:08 +0000 Subject: 16673: add langinfo module as an interface to locale information. --- Doc/Zsh/.distfiles | 2 +- Doc/Zsh/mod_langinfo.yo | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 Doc/Zsh/mod_langinfo.yo (limited to 'Doc') diff --git a/Doc/Zsh/.distfiles b/Doc/Zsh/.distfiles index 5b370bb5d..38cc249fe 100644 --- a/Doc/Zsh/.distfiles +++ b/Doc/Zsh/.distfiles @@ -4,7 +4,7 @@ DISTFILES_SRC=' cond.yo exec.yo expn.yo filelist.yo files.yo func.yo grammar.yo index.yo intro.yo invoke.yo jobs.yo manual.yo metafaq.yo mod_cap.yo mod_clone.yo mod_compctl.yo mod_complete.yo mod_complist.yo - mod_computil.yo mod_deltochar.yo mod_example.yo mod_files.yo + mod_computil.yo mod_deltochar.yo mod_example.yo mod_files.yo mod_langinfo.yo mod_mapfile.yo mod_mathfunc.yo mod_parameter.yo mod_pcre.yo mod_sched.yo mod_stat.yo mod_tcp.yo mod_termcap.yo mod_terminfo.yo mod_zftp.yo mod_zle.yo mod_zleparameter.yo mod_zutil.yo mod_zprof.yo mod_zpty.yo 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() -- cgit 1.4.1