summaryrefslogtreecommitdiff
path: root/doc/ref/api-i18n.texi
Commit message (Collapse)AuthorAgeFilesLines
* Use "G_" as the conventional alias for gettextAndy Wingo2019-09-121-7/+12
| | | | | | | | | | | | | | Since the change in 2.2 noted in the NEWS as "Fix literal matching for module-bound literals", defining `_' makes `syntax-rules' and `match' fail to recognize `_' as the catch-all literal. This change adapts the recommendations to current practice in 2.2, as users have had to adapt to this change. * doc/ref/api-i18n.texi (Gettext Support): Update documentation. * module/language/tree-il/analyze.scm (proc-ref?, gettext?): G_ is the conventional abbreviation, not _. * test-suite/tests/tree-il.test: Adapt. * module/ice-9/command-line.scm: Use G_ instead of _.
* i18n: 'number->locale-string' guesses the minimum number of decimals.Ludovic Courtès2017-03-011-4/+6
| | | | | | | | | | | | | | | | | This feature was removed by 4aead68cdb86ca60cc372f0cd558cadda90ddec5. * module/ice-9/i18n.scm (number-decimal-string): Rewrite the case where DIGIT-COUNT is not an integer. (number->locale-string): Always pass FRACTION-DIGITS to 'number-decimal-string'. * test-suite/tests/format.test ("~h localized number")["1234.5"] ["padding", "padchar"]: Remove decimal specifier. * test-suite/tests/i18n.test ("number->locale-string") ["fraction", * test-suite/tests/i18n.test ("format ~h")["12 345,678"]: Remove decimal specifier. Remove one decimal. * doc/ref/api-i18n.texi (Number Input and Output): Update 'number->locale-string' doc to mention the number of decimals.
* Fix minor mistakes in documentation.Mark H Weaver2013-09-301-1/+1
| | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/15487>. Reported by Josep Portella Florit <jpf@primfilat.com>. * doc/ref/api-i18n.texi (i18n Introduction, Text Collation, Internationalization, Internationalization): LC_MESSAGE --> LC_MESSAGES. * doc/ref/api-procedures.texi (Compiled Procedures): program-lambda-alist --> program-lambda-list. * THANKS: Fix alignment of Josep Portella Florit.
* Merge branch 'wip-manual-2'Neil Jerram2010-04-161-1/+0
|\ | | | | | | | | | | Conflicts: doc/ref/api-translation.texi
| * Merge branch 'master' into wip-manual-2Neil Jerram2010-04-101-0/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/ref/api-procedures.texi doc/ref/misc-modules.texi (Caused by me removing `@page' from a couple of sections that have been modified by others.)
| * | Remove page breaks except before new chapters and indicesNeil Jerram2009-12-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/ref/api-binding.texi, doc/ref/api-compound.texi, doc/ref/api-control.texi, doc/ref/api-data.texi, doc/ref/api-debug.texi, doc/ref/api-evaluation.texi, doc/ref/api-i18n.texi, doc/ref/api-io.texi, doc/ref/api-memory.texi, doc/ref/api-modules.texi, doc/ref/api-options.texi, doc/ref/api-overview.texi, doc/ref/api-procedures.texi, doc/ref/api-scheduling.texi, doc/ref/api-smobs.texi, doc/ref/api-translation.texi, doc/ref/api-utility.texi, doc/ref/expect.texi, doc/ref/libguile-concepts.texi, doc/ref/libguile-program.texi, doc/ref/misc-modules.texi, doc/ref/repl-modules.texi, doc/ref/scheme-debugging.texi, doc/ref/scheme-reading.texi, doc/ref/scheme-scripts.texi, doc/ref/script-getopt.texi, doc/ref/scsh.texi, doc/ref/srfi-modules.texi: Remove @page before @section.
* | | fix bugs in ice-9 i18n demo (invalid input)Andy Wingo2010-04-161-4/+7
| | | | | | | | | | | | | | | * doc/ref/api-i18n.texi (Accessing Locale Information): Crucial bugfixes.
* | | fixes to api-i18n.texiAndy Wingo2010-04-161-5/+1
| |/ |/| | | | | | | * doc/ref/api-i18n.texi (Character Case Mapping): Remove note about lack of support for multibute characters.
* | Improved support for Unicode title case in Guile's string and character APIs.Julian Graham2009-12-221-0/+12
|/ | | | | | | | | | | | | | | | | | | | | | | | * doc/ref/api-data.texi (Characters): Documentation for `char-titlecase'. * doc/ref/api-i18n.texi (Character Case Mapping): Documentation for `char-locale-titlecase' and `string-locale-titlecase'. * libguile/chars.c, libguile/chars.h (scm_char_titlecase, scm_c_titlecase): New functions. * libguile/i18n.c, libguile/i18n.h (chr_to_case, scm_char_locale_titlecase, str_to_case, scm_string_locale_titlecase): New functions. * libguile/i18n.c (scm_char_locale_downcase, scm_char_locale_upcase, scm_string_locale_downcase, scm_string_locale_upcase): Refactor to share code via chr_to_case and str_to_case, as appropriate. * module/ice-9/i18n.scm (char-locale-title-case, string-locale-titlecase): New functions. * libguile/srfi-13.c (string_titlecase_x): Use uc_totitle instead of uc_toupper. * test-suite/tests/chars.test: Tests for `char-titlecase'. * test-suite/tests/i18n.test: Tests for `char-locale-titlecase' and `string-locale-titlecase'. * test-suite/tests/srfi-13.test: Tests for `string-titlecase'.
* more typo fixesBrian Gough2009-12-181-1/+1
| | | | | | | | | | | | | | | More spelling corrections and fixes for doubled words (e.g. "the the") -- Brian Gough Network Theory Ltd, Publishing Free Software Manuals --- http://www.network-theory.co.uk/ >From 7be02beedc739c32cce2c8ec8f4ac814c994a13f Mon Sep 17 00:00:00 2001 From: Brian Gough <bjg@gnu.org> Date: Mon, 14 Dec 2009 22:06:22 +0000 Subject: [PATCH] fix various documentation typos (spelling & doubled words)
* Merge `libguile-i18n' into `libguile'.Ludovic Courtès2009-09-141-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * GUILE-VERSION (LIBGUILE_I18N_MAJOR, LIBGUILE_I18N_INTERFACE_CURRENT, LIBGUILE_I18N_INTERFACE_REVISION, LIBGUILE_I18N_INTERFACE_AGE, LIBGUILE_I18N_INTERFACE): Remove. * doc/ref/api-i18n.texi (i18n Introduction): Don't mention `libguile-i18n'. * libguile.h: Include "libguile/i18n.h". * libguile/Makefile.am (lib_LTLIBRARIES): Remove `libguile-i18n-v*'. (libguile_la_SOURCES): Add `i18n.c'. (libguile_i18n_v_*_SOURCES, libguile_i18n_v_*_CFLAGS, libguile_i18n_v_*_LIBADD, libguile_i18n_v_*_LDFLAGS): Remove. * libguile/i18n.c (scm_bootstrap_i18n): New function. * libguile/i18n.h (scm_nl_langinfo, scm_init_i18n): Made internal. (scm_bootstrap_i18n): New declaration. * libguile/init.c (scm_i_init_guile): Invoke `scm_bootstrap_i18n ()'. * module/ice-9/i18n.scm: Load from `libguile' instead of `libguile-i18n-v-0'.
* Changes from arch/CVS synchronizationLudovic Courtès2007-01-311-133/+310
|
* Changes from arch/CVS synchronizationLudovic Courtès2006-11-181-2/+290
|
* merge from 1.8 branchKevin Ryde2006-10-091-1/+2
|
* (Internationalization): Expand and revise a bit for clarity.Kevin Ryde2005-01-231-19/+134
|
* Synched docstrings from libguile/Marius Vollmer2004-09-231-2/+6
|
* * api-i18n.texi: New file.Marius Vollmer2004-09-231-0/+38
* Makefile.am (guile_TEXINFOS): Added it.