summaryrefslogtreecommitdiff
path: root/guix/build/po.scm
Commit message (Collapse)AuthorAge
* po: Micro-optimize 'read-po-file'.Ludovic Courtès2020-06-23
| | | | | * guix/build/po.scm (parse-tree->assoc): Use dot instead of ellipsis in 'match' clause to avoid repeated calls to 'list?'.
* po: Avoid regexps when interpreting '\n' sequences.Ludovic Courtès2020-06-23
| | | | | | | | | | | This reduces the execution time of: (call-with-input-file "po/doc/guix-manual.de.po" read-po-file) from 4.7s to 4.0s. * guix/build/po.scm (interpret-newline-escape): New procedure. (parse-tree->assoc): Use it instead of 'regexp-substitute/global'.
* self: Rebuild translated manuals.Julien Lepiller2019-04-27
* guix/self.scm (info-manual): Run po4a and related commands to generate translated texi files before building translated manuals. * guix/build/po.scm: New file. * Makefile.am (MODULES_NOT_COMPILED): Add it.