Commit graph

93 commits

Author SHA1 Message Date
Maxim Cournoyer
a0178d34f5
nls: Update translations. 2021-05-11 09:17:00 -04:00
Maxim Cournoyer
21fcced608
nls: Update translations. 2021-05-10 22:34:43 -04:00
Maxim Cournoyer
f13049f3a8
nls: Remove the doc-po-update target.
As discussed with Julien Lepiller on IRC, updating the PO files is not useful.
This change removes the target and associated rules that allowed updating
them.  This has the benefit of not having the PO files updated automatically
when generating the .pot files, which was causing spurious changes under the
po sub-directory.

* po/doc/local.mk (make-update-po-files-rule): Remove function and its uses.
(doc-po-update): Remove target.
2021-05-03 09:29:45 -04:00
Maxim Cournoyer
0084f0054f
build: Correct a mistake in the guix-manual.pot rule.
This is a follow-up to commit 0d353b06ec.

* po/doc/local.mk: Fix function name in comment.
(%D%/guix-manual.pot): Refer to *all* the prerequisites via the $^ special
variable rather than $<, which only refers to the first one.

Reported-by: Julien Lepiller <julien@lepiller.eu>
2021-04-30 18:03:10 -04:00
Maxim Cournoyer
0d353b06ec
build: Make doc-po-update and doc-pot-update targets idempotent.
It used to be that the running the doc-po-update and doc-pot-update targets
would redo the same work on every run.  This change splits the problem in
smaller chunks and specifies build dependencies in a way that outputs only get
rebuilt when their inputs changed.

* po/doc/local.mk (DOC_PO_FILES): Harmonize escapes.
(POT_OPTIONS): Re-indent uniformly.
(doc-po-update-%, doc-po-update-cookbook-%): Re-implement with...
(make-update-po-files-rule): ... this new function.
(TMP_POT_FILES): Remove variable.
(%D%/%.pot, %D%/guix-manual.pot): New pattern rules.
(doc-pot-update, doc-po-update): Adjust prerequisites accordingly.
2021-04-29 15:30:27 -04:00
Maxim Cournoyer
eaf79d319d
build: Build the guix.pot-update and contributing.pot-update targets only once.
* po/doc/local.mk (doc-pot-update): Fix an issue where guix.pot-update an
contributing.pot-update were built twice.
2021-04-29 14:09:23 -04:00
Julien Lepiller
1eb26d0e07
nls: Fix Chinese cookbook inclusion.
* po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
2021-04-18 22:29:44 +02:00
Julien Lepiller
0cfe02cf55
nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
Julien Lepiller
8830930e2b
nls: Add Chinese (Traditional) translation.
* po/doc/guix-cookbook.zh_Hans.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add it.
2021-04-18 13:18:29 +02:00
Julien Lepiller
0f355124af
nls: Add Korean translation.
* po/doc/guix-cookbook.ko.po: New file.
* po/doc/guix-manual.ko.po: New file.
* doc/local.mk (info_TEXINFOS): Add them.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* po/guix/ko.po: New file.
* po/guix/LINGUAS: Add 'ko'.
* po/packages/ko.po: New file.
* po/packages/LINGUAS: Add 'ko'.
2021-04-18 13:18:22 +02:00
Julien Lepiller
d2d6c20fee
nls: Add Italian translation.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk (DOC_PO_FILES): Add it.
* doc/local.mk (info_TEXINFOS): Add it.
* po/guix/it.po: New file.
* po/guix/LINGUAS: Add 'it'.
2021-04-18 13:18:20 +02:00
Julien Lepiller
43fb84da67
nls: Add Persian translation.
* po/packages/fa.po: New file.
* po/packages/LINGUAS: Add 'fa'.
* po/doc/guix-cookbook.fa.po: New file.
* po/doc/guix-manual.fa.po: New file.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* doc/local.mk (info_TEXINFOS): Add them.
2021-04-18 13:18:17 +02:00
Julien Lepiller
77c6c0aa57
nls: Add Slovak translation.
* po/packages/sk.po: New file.
* po/packages/LINGUAS: Add 'sk'.
* po/doc/guix-manual.sk.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_PO_FILES): Add it.
2021-04-18 13:18:13 +02:00
Julien Lepiller
c3eaff8a21
nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
Julien Lepiller
5d1f110b45
nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
Julien Lepiller
959eca8a92
nls: Update 'es' translations. 2021-04-18 13:17:40 +02:00
Julien Lepiller
2a18bcbfd3
nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
Julien Lepiller
5ebe6904ea
nls: Update 'fr' translations. 2021-04-18 13:17:35 +02:00
Julien Lepiller
58c5911652
nls: Add French translation of the cookbook. 2021-04-18 13:17:31 +02:00
Julien Lepiller
a00af77904
nls: Update 'fr' translation. 2021-01-28 16:41:18 +01:00
Ludovic Courtès
02e5c95db9
Revert "nls: Update 'fr' translation."
This reverts commit 5d03ef73c3, which led
to these errors:

  /gnu/store/…-guix/fr.po:7206: 'msgstr' is not a valid Scheme format string, unlike 'msgid'. Reason: In the directive number 3, the character ' ' is not a valid conversion specifier.
  /gnu/store/…-guix/fr.po:7554: format specifications in 'msgid' and 'msgstr' are not equivalent
  /gnu/store/…-gettext-minimal-0.20.1/bin/msgfmt: found 2 fatal errors
2021-01-22 08:48:00 +01:00
Julien Lepiller
5d03ef73c3
nls: Update 'fr' translation. 2021-01-22 00:31:28 +01:00
Ludovic Courtès
41fb3d5a9a
nls: Update 'fr' translation of the manual. 2020-12-03 16:18:45 +01:00
Ludovic Courtès
cf53ea79dd
nls: Update 'fr' translation of the manual. 2020-11-21 15:49:36 +01:00
Ludovic Courtès
7547be7d99
nls: Update translations of the manual. 2020-11-12 10:12:45 +01:00
Julien Lepiller
74fdbbfaad
nls: Update translations of the manual. 2020-11-12 09:39:17 +01:00
Tobias Geerinckx-Rice
1aced9aa0c
nls: Fix Texinfo typo.
* po/doc/guix-manual.de.po: Fix ‘@sasmp{}’ that broke ‘make’.
2020-11-03 13:30:23 +01:00
Julien Lepiller
595cd9cdb9
nls: Update translations of the manual. 2020-11-03 12:47:43 +01:00
Florian Pelz
86e878f107
nls: Update ‘de’ cookbook translation. 2020-11-01 12:52:59 +00:00
Julien Lepiller
61e839a9f9
nls: Update 'fr' translation of the manual. 2020-10-30 00:59:37 +01:00
Julien Lepiller
759774bc69
nls: Update 'ru' translation of the manual. 2020-10-29 20:19:05 +01:00
Ludovic Courtès
b35550c3d8
nls: Update. 2020-10-27 00:40:24 +01:00
Ludovic Courtès
4dd989708c
nls: Update manual translations. 2020-10-16 15:00:49 +02:00
Julien Lepiller
c69156fc89
nls: Fix documentation pot generation.
* po/doc/local.mk: Fix POT_OPTIONS to properly assign copyright and
define the proper license.
2020-09-29 15:33:20 +02:00
Ludovic Courtès
0701274446
nls: Update. 2020-05-05 23:45:56 +02:00
Ludovic Courtès
935ef44b39
nls: Update. 2020-04-12 00:18:05 +02:00
Ludovic Courtès
86603d8660
nls: Update. 2020-03-23 00:06:58 +01:00
Florian Pelz
895e6e8af6
doc: Fix build of German Cookbook translation.
This is a follow-up to f98e83a17f.
See <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00095.html>.
Reported there by Vagrant Cascadian <vagrant@debian.org>.

* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Use correct file name.
(doc-po-update-cookbook-%): Use correct PO file name.
2020-03-06 20:50:18 +00:00
Florian Pelz
f98e83a17f
doc: Add German Cookbook translation.
* doc/local.mk (info_TEXINFOS): Add guix-cookbook.de.texi.
(TRANSLATED_INFO): Add guix-cookbook.de.texi.
* po/doc/guix-cookbook.de.po: New file.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add guix-cookbook.de.po.
2020-02-17 06:52:11 +00:00
Christopher Baines
57718bdf68
Revert "nls: Update 'es' translation of the manual."
I believe this change breaks guix pull:

  ./guix.es.texi:20971: @samp missing closing brace

This reverts commit d156e3fbcd.
2020-02-14 09:01:29 +00:00
Julien Lepiller
561185d279
nls: Update 'de' translation of the manual. 2020-02-14 04:45:56 +01:00
Julien Lepiller
d156e3fbcd
nls: Update 'es' translation of the manual. 2020-02-14 04:45:53 +01:00
Ludovic Courtès
11da634a6e
Merge branch 'master' into core-updates 2019-09-24 10:11:38 +02:00
Ricardo Wurmus
7bc46ecc34
doc: Add Guix Cookbook.
* .gitignore: Update ignore list.
* Makefile.am (assert-no-store-file-names): Exclude the cookbook.
* bootstrap: Generate po files for cookbook translations.
* doc/guix-cookbook.texi: New file.
* doc/local.mk (info_TEXINFOS): Add it; add a rule to build cookbook
translations.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): New variable.
(EXTRA_DIST): Add cookbook pot file and po files.
(doc-po-update-cookbook-%): New target.
(doc-pot-update): Also update cookbook pot file.
(doc-po-update): Also update cookbook po files.
2019-09-18 11:38:14 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Julien Lepiller
e60a3e7440
nls: Update 'fr' translation of the manual. 2019-08-31 21:30:09 +02:00
Julien Lepiller
b212fef4b0
nls: Update 'es' translation of the manual. 2019-08-31 21:29:46 +02:00
Mark H Weaver
0481289cbc
Merge branch 'master' into core-updates 2019-08-29 17:19:18 -04:00
Ludovic Courtès
127a07152f
nls: Update 'de' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
3bbd30e9b0
nls: Update 'fr' translation. 2019-08-25 22:48:41 +02:00