[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/27: doc: Fix pxref translation issue.
From: |
guix-commits |
Subject: |
01/27: doc: Fix pxref translation issue. |
Date: |
Sun, 18 Apr 2021 07:22:01 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 0571edc179fd2ba8edd603487c808717d6733604
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun Apr 18 04:51:49 2021 +0200
doc: Fix pxref translation issue.
* doc/local.mk (xref_command): Change regexp to match properly.
---
doc/local.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/local.mk b/doc/local.mk
index 97122c7..53f41f1 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -100,7 +100,7 @@ cat "$@.tmp" | egrep '@p?x?ref' -A1 | sed 'N;s|--\n||g;P;D'
| sed 's|^| |g' | \
line=$$(grep -n "^msgid \"$$e\"" "$<" | cut -f1 --delimiter=":") ;\
((line++)) ;\
if [ "$$line" != "1" ]; then \
- translation=$$(head -n "$$line" "$<" | tail -1 | grep msgstr | sed
's|msgstr "\(.*\)"|\1|') ;\
+ translation=$$(head -n "$$line" "$<" | tail -1 | grep msgstr | sed
's|msgstr "\([^"]*\)"|\1|') ;\
if [ "$$translation" != "" ]; then \
sed "N;s@\(p\?x\?ref\){$$(echo $$e | sed 's| |[\\n
]|g')\(,\|}\)@\1{$$translation\2@g;P;D" -i "$@.tmp" ;\
fi ;\
- branch master updated (9f2da0a -> 0cfe02c), guix-commits, 2021/04/18
- 01/27: doc: Fix pxref translation issue.,
guix-commits <=
- 03/27: nls: Update 'fr' translations., guix-commits, 2021/04/18
- 04/27: nls: Update 'de' translations., guix-commits, 2021/04/18
- 09/27: nls: Update 'hu' translations., guix-commits, 2021/04/18
- 16/27: nls: Update 'vi' translation., guix-commits, 2021/04/18
- 02/27: nls: Add French translation of the cookbook., guix-commits, 2021/04/18
- 08/27: nls: Update 'da' translations., guix-commits, 2021/04/18
- 12/27: gnu: Update 'sv' translation., guix-commits, 2021/04/18
- 06/27: nls: Update 'eo' translations., guix-commits, 2021/04/18
- 21/27: nls: Add Persian translation., guix-commits, 2021/04/18
- 25/27: nls: Add Russian translation., guix-commits, 2021/04/18