format: Add specifier ~h for localized number output.
authorLudovic Courtès <ludo@gnu.org>
Fri, 3 Feb 2012 15:35:06 +0000 (16:35 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 3 Feb 2012 15:35:06 +0000 (16:35 +0100)
commitafd08fdf87caa499abf3423c663eb44be57cceb9
treef461305f64808a40ad3a5120b33d54dd8f57a55c
parentc76fdf69a833378ce18228d242e926009df9add1
format: Add specifier ~h for localized number output.

* doc/ref/misc-modules.texi (Formatted Output): Document ~h.  Recommend
  use of ~h instead of ~:d.

* module/ice-9/format.scm (format): Add support for ~h.

* test-suite/tests/format.test ("~h localized number"): New test prefix.

* test-suite/tests/i18n.test (%american-english-locale-name,
  %american-english-locale): New variables.
  (under-american-english-locale-or-unresolved): New procedure.
  ("format ~h"): New test prefix.
doc/ref/misc-modules.texi
module/ice-9/format.scm
test-suite/tests/format.test
test-suite/tests/i18n.test