diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-12 10:23:59 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-12 10:25:14 +0200 |
commit | 108a0454d05c744c4a05e298cfc8cbf157952414 (patch) | |
tree | ca99bed5d49eabfb644c3b1c0a397b1354efdaf3 /doc/ref/guile/translation.texi | |
parent | Change overarching structure of info document. (diff) | |
download | calp-108a0454d05c744c4a05e298cfc8cbf157952414.tar.gz calp-108a0454d05c744c4a05e298cfc8cbf157952414.tar.xz |
Rework file tree structure for info files.
Diffstat (limited to '')
-rw-r--r-- | doc/ref/guile/translation.texi | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/doc/ref/guile/translation.texi b/doc/ref/guile/translation.texi deleted file mode 100644 index 0e710c47..00000000 --- a/doc/ref/guile/translation.texi +++ /dev/null @@ -1,31 +0,0 @@ -@node Translation -@section Translation - -Base for string translation in the application. Calp uses Guile's -built in gettext bindings. The text domain used is ``calp''. - -@defun translate str -@anchor{translate} -Translate a string from english into an (through enviroment) specified -target language. All newlines in the source string will be changed to -spaces. - -This procedure is both used as the ``backend'' for @ref{G_}, but also -for non-literal strings which should be translated. -@end defun - -@defun G_ msg ... -@anchor{G_} -The ``global'' binding indicating a string to be translated. - -All arguments must be strings, and will be concatenated before being -passed to @ref{translate} (meaning newlines will be ignored). -@end defun - -@defun yes-no-check string [locale=%global-locale] -Checks @var{string} if it's a yes or no response in the given -@var{locale}. - -Returns @code{'yes} or @code{'no}, or @code{#f} if the string couldn't -be parsed as a yes/no predicate in the current locale. -@end defun |