From 6e79b08e5b984b8dbfc97d5029707719e30a3749 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 8 Jul 2017 17:18:40 -0400 Subject: po/HACKING: mention package dependencies --- po/HACKING | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'po') diff --git a/po/HACKING b/po/HACKING index 2a29adc..9ab35a7 100644 --- a/po/HACKING +++ b/po/HACKING @@ -9,8 +9,12 @@ files, and then (2) copy them and (3) fill them in. libretools' .pot files are not tracked in git; they are created by running `make` (you'll need a checkout of both devtools-par and - libretools to run `make` if building from git): + libretools to run `make` if building from git). In addition to the + usual (`base-devel`) depenencies when running `make`, you'll need + the `ruby-ronn` package as well. + $ sudo pacman -S --needed base-devel ruby-ronn + ... $ git clone https://git.parabola.nu/packages/devtools-par.git/ $ git clone https://git.parabola.nu/packages/libretools.git/ $ cd libretools -- cgit v1.2.3-54-g00ecf From bcc12b176fc19070aa16940ff4840830bc2ecd59 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 8 Jul 2017 22:08:04 -0400 Subject: Makefile: add support for compiling and installing localizations This means that the new `po/files.generate` target can be used to build the `.pot` files without doing anything else; we can stop requiring translators to install ruby-ronn. It also means that we can put the `.pot` files in the source tarball, to make it even easier for translators. Unfortunately, it does add the extra step of having to create another symlink when adding a new locale. --- Makefile | 2 +- po/.gitignore | 1 + po/HACKING | 23 +++++++++++++---------- po/Makefile | 11 +++++++++++ po/es/Makefile | 1 + po/subdir.mk | 17 +++++++++++++++++ 6 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 po/Makefile create mode 120000 po/es/Makefile create mode 100644 po/subdir.mk (limited to 'po') diff --git a/Makefile b/Makefile index 444a669..f6b78e9 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,6 @@ libretools.out.confs = libretools.out = $(foreach pkg,$(pkgs),po/$(pkg).pot) files.src.gen += .srcversion-libretools.mk .srcversion-devtools.mk -nested.subdirs = $(foreach pkg,$(pkgs),$(pkg.$(pkg))) +nested.subdirs = $(foreach pkg,$(pkgs),$(pkg.$(pkg))) po include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/po/.gitignore b/po/.gitignore index e3a8c5d..514b3d0 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1 +1,2 @@ *.pot +*/*.mo diff --git a/po/HACKING b/po/HACKING index 9ab35a7..5dd207c 100644 --- a/po/HACKING +++ b/po/HACKING @@ -2,23 +2,24 @@ Translations for programs are provided in files with the `.po` suffix. These are created by copying PO-template (`.pot`) files, and filling in the missing "msgstr" values. -To add a translation, you'll first (1) need to create the `.pot` -files, and then (2) copy them and (3) fill them in. +To add a translation, you'll first (1) need to create the `.pot` files +if you don't already have them, and then (2) copy them and (3) fill +them in. # 1. Create `.pot` files + If you are working from a release source tarball, you can skip this + step (the `.pot` files are included in the tarball); if you are + working from git, read on. + libretools' .pot files are not tracked in git; they are created by - running `make` (you'll need a checkout of both devtools-par and - libretools to run `make` if building from git). In addition to the - usual (`base-devel`) depenencies when running `make`, you'll need - the `ruby-ronn` package as well. + running `make`. You'll need a checkout of both "devtools-par" and + "libretools" to run `make` if building from git. - $ sudo pacman -S --needed base-devel ruby-ronn - ... $ git clone https://git.parabola.nu/packages/devtools-par.git/ $ git clone https://git.parabola.nu/packages/libretools.git/ $ cd libretools - $ make + $ make po/files.generate ... $ cd po/ $ ls @@ -33,10 +34,12 @@ files, and then (2) copy them and (3) fill them in. Create a folder under `po/` with the two-letter language code[^1] you want to add. Then, copy the `.pot` files to that folder, - changing the file extension to `.po`; for example: + changing the file extension to `.po`. Finally, link the `subdir.mk` + file to be the Makefile for that directory. For example: $ mkdir es $ for file in *.pot; do cp $file es/${file%t}; done + $ ln -s ../subdir.mk es/Makefile [^1]: See the langauge code table here: diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 0000000..1e56edd --- /dev/null +++ b/po/Makefile @@ -0,0 +1,11 @@ +include $(dir $(lastword $(MAKEFILE_LIST)))/../config.mk +include $(topsrcdir)/build-aux/Makefile.head.mk + +domains = libretools librelib gitget xbs +locales := $(filter-out .,$(sort $(patsubst %/,%,$(dir $(files.src.src))))) + +files.src.gen += $(addsuffix .pot,$(domains)) +nested.subdirs += $(locales) +at.subdirs += .. + +include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/po/es/Makefile b/po/es/Makefile new file mode 120000 index 0000000..71a1159 --- /dev/null +++ b/po/es/Makefile @@ -0,0 +1 @@ +../subdir.mk \ No newline at end of file diff --git a/po/subdir.mk b/po/subdir.mk new file mode 100644 index 0000000..6c4120b --- /dev/null +++ b/po/subdir.mk @@ -0,0 +1,17 @@ +include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk +include $(topsrcdir)/build-aux/Makefile.head.mk + +locale = $(notdir $(srcdir)) +domains = $(patsubst %.po,%,$(filter %.po,$(files.src.src))) + +$(outdir)/%.mo: $(srcdir)/%.po $(call at.path,../%.po) + msgfmt -o $@ $< + +$(DESTDIR)$(localedir)/$(locale)/LC_MESSAGES/%.mo: $(outdir)/%.mo + install -T -Dm644 '$<' '$@' + +files.out.all += $(addsuffix .mo,$(domains)) +files.sys.all += $(foreach domain,$(domains),$(localedir)/$(locale)/LC_MESSAGES/$(domain).mo) +at.subdirs += .. + +include $(topsrcdir)/build-aux/Makefile.tail.mk -- cgit v1.2.3-54-g00ecf From 5b686bdd35959ff8ffc8636035e89c1457c6d9c9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 8 Jul 2017 22:09:56 -0400 Subject: l10n: es: Fix obvious problems There are two places where the punctuation was on the outside of the end-quote; leading to syntax errors. There's one place where the msgid was partially translated. --- po/es/gitget.po | 2 +- po/es/librelib.po | 2 +- po/es/libretools.po | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'po') diff --git a/po/es/gitget.po b/po/es/gitget.po index f248569..d3478f7 100644 --- a/po/es/gitget.po +++ b/po/es/gitget.po @@ -112,7 +112,7 @@ msgid "This exists because gitget used to be called libregit, and took the " "floating around that use it." msgstr "Esto existe porque gitget solía llamarse libregit, y tomó los " "argumentos en este formato, y estoy seguro de que hay unos cuantos scripts " - "flotando alrededor que lo usan". + "flotando alrededor que lo usan." #: src/gitget/libregit:30 msgid "Clones or pulls from the git URL '', and checks out the git " diff --git a/po/es/librelib.po b/po/es/librelib.po index ff4c460..2a8c977 100644 --- a/po/es/librelib.po +++ b/po/es/librelib.po @@ -27,7 +27,7 @@ msgstr "Imprime el blacklist" msgid "Uses the cache, but downloads it if it doesn't exist. Also " "normalizes the blacklist for easier parsing." msgstr "Utiliza el caché, pero la descarga si no existe. También " - "normaliza la lista negra para facilitar el análisis sintáctico". + "normaliza la lista negra para facilitar el análisis sintáctico." #. embedded usage text #: src/lib/blacklist.sh:42 diff --git a/po/es/libretools.po b/po/es/libretools.po index ee3acf8..6add814 100644 --- a/po/es/libretools.po +++ b/po/es/libretools.po @@ -15,7 +15,7 @@ msgid "Finished, your packaging directory tree looks like this now:" msgstr "Terminado, su árbol de directorio de empaquetado es así ahora:" #: src/abslibre-tools/diff-unfree:30 -msgid "Usage: %s [community|packages] [paquete-no-libre] [repo]" +msgid "Usage: %s [community|packages] [unfree-package] [repo]" msgstr "Uso: %s [community|packages] [paquete-no-libre] [repo]" #: src/abslibre-tools/diff-unfree:31 -- cgit v1.2.3-54-g00ecf From 371a7e29d5718cadbe7cd1830050487f60946266 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Jul 2017 18:53:55 -0400 Subject: Get it producing .mo files again. --- po/subdir.mk | 2 +- src/lib/messages.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'po') diff --git a/po/subdir.mk b/po/subdir.mk index 6c4120b..3cddb5d 100644 --- a/po/subdir.mk +++ b/po/subdir.mk @@ -4,7 +4,7 @@ include $(topsrcdir)/build-aux/Makefile.head.mk locale = $(notdir $(srcdir)) domains = $(patsubst %.po,%,$(filter %.po,$(files.src.src))) -$(outdir)/%.mo: $(srcdir)/%.po $(call at.path,../%.po) +$(outdir)/%.mo: $(srcdir)/%.po $(call at.path,$(srcdir)/../%.pot) msgfmt -o $@ $< $(DESTDIR)$(localedir)/$(locale)/LC_MESSAGES/%.mo: $(outdir)/%.mo diff --git a/src/lib/messages.sh b/src/lib/messages.sh index 37ee1b8..f28ce7c 100644 --- a/src/lib/messages.sh +++ b/src/lib/messages.sh @@ -124,7 +124,12 @@ bullet() { # # A heading MUST end with a colon (':'), this is how it knows that it # is a heading. Similarly, a flag MUST NOT end with a colon. -flag() { +# +# NB: The opening curly brace is on a separate line because otherwise +# xgettext gets confused when parsing this file. It's a dumb bug in +# GNU xgettext. +flag() +{ local args=("$@") declare -i flaglen=0 -- cgit v1.2.3-54-g00ecf From e3d7fbca888e07f02c5867dd1e50393247a066b7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Jul 2017 20:12:32 -0400 Subject: po: add pot headers --- Makefile | 6 +----- po/.gitignore | 4 ++-- po/Makefile | 10 ++++++++++ po/es/gitget.po | 15 +++++++++++++++ po/es/librelib.po | 15 +++++++++++++++ po/es/libretools.po | 15 +++++++++++++++ po/es/xbs.po | 15 +++++++++++++++ po/header.po.head.in | 14 ++++++++++++++ 8 files changed, 87 insertions(+), 7 deletions(-) create mode 100644 po/header.po.head.in (limited to 'po') diff --git a/Makefile b/Makefile index f6b78e9..5d7ece2 100644 --- a/Makefile +++ b/Makefile @@ -39,11 +39,8 @@ $(outdir)/shellcheck: private shellcheck.prune += -o -type f -name source.sh.gen $(outdir)/shellcheck: cd $(@D)/test && ./testenv $(TESTENVFLAGS) 'cd "$$TMPDIR/destdir" && find \( $(shellcheck.prune) \) -prune -o -not -type d -exec shellcheck $(shellcheck.flags) {} +' -_po_rule = \ -$(srcdir)/po/%(pkg).pot: $(addsuffix /dir.pot,$(pkg.%(pkg))); \ - cat $^ | msguniq -Fi --to-code=UTF-8 > '$@' $(eval $(foreach pkg,$(pkgs),\ - $(subst %(pkg),$(pkg),$(value _po_rule))$(at.nl))) + $(srcdir)/po/$(pkg).pot: $(addsuffix /dir.pot,$(pkg.$(pkg)))$(at.nl))) libretools.out.mans = libretools.out.bins = @@ -51,7 +48,6 @@ libretools.out.libexecs = libretools.out.libs = libretools.out.docs = libretools.out.confs = -libretools.out = $(foreach pkg,$(pkgs),po/$(pkg).pot) files.src.gen += .srcversion-libretools.mk .srcversion-devtools.mk nested.subdirs = $(foreach pkg,$(pkgs),$(pkg.$(pkg))) po diff --git a/po/.gitignore b/po/.gitignore index 514b3d0..406ef00 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1,2 +1,2 @@ -*.pot -*/*.mo +*.mo +/header.po.head diff --git a/po/Makefile b/po/Makefile index 1e56edd..96d8490 100644 --- a/po/Makefile +++ b/po/Makefile @@ -6,6 +6,16 @@ locales := $(filter-out .,$(sort $(patsubst %/,%,$(dir $(files.src.src))))) files.src.gen += $(addsuffix .pot,$(domains)) nested.subdirs += $(locales) + +# Have the header include the version number +$(srcdir)/header.po.head: $(srcdir)/%: $(srcdir)/%.in + @echo 'EDIT < $< > $@'; $(libretools.edit) < '$<' > '$@' +$(srcdir)/header.po.head: $(var.)PACKAGE $(var.)VERSION +files.src.int += header.po.head + +# Rely on ../Makefile to fill in a list of our .pot dependencies +$(srcdir)/%.pot: $(srcdir)/header.po.head + cat $^ | msguniq -Fi > '$@' at.subdirs += .. include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/po/es/gitget.po b/po/es/gitget.po index d3478f7..97f06d8 100644 --- a/po/es/gitget.po +++ b/po/es/gitget.po @@ -1,3 +1,18 @@ +# Copyright (C) 2017 David P +# This file is distributed under the same license as the libretools package. +# +msgid "" +msgstr "Project-Id-Version: libretools 20170705\n" + "Report-Msgid-Bugs-To: Parabola Hackers \n" + "PO-Revision-Date: 2017-07-05 19:27-0400\n" + "Last-Translator: David P \n" + "Language-Team: Spanish\n" + "Language: es\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" + #: src/gitget/gitget:35 msgid "Failed to change to directory %s" msgstr "Falló al cambiar el directorio %s" diff --git a/po/es/librelib.po b/po/es/librelib.po index 2a8c977..f71b087 100644 --- a/po/es/librelib.po +++ b/po/es/librelib.po @@ -1,3 +1,18 @@ +# Copyright (C) 2017 David P +# This file is distributed under the same license as the libretools package. +# +msgid "" +msgstr "Project-Id-Version: libretools 20170705\n" + "Report-Msgid-Bugs-To: Parabola Hackers \n" + "PO-Revision-Date: 2017-07-05 20:02-0400\n" + "Last-Translator: David P \n" + "Language-Team: Spanish\n" + "Language: es\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" + #: src/lib/archroot.sh:62 msgid "Unable to delete subvolume %s" msgstr "Incapaz de eliminar subvolumen %s" diff --git a/po/es/libretools.po b/po/es/libretools.po index 6add814..794051a 100644 --- a/po/es/libretools.po +++ b/po/es/libretools.po @@ -1,3 +1,18 @@ +# Copyright (C) 2017 David P +# This file is distributed under the same license as the libretools package. +# +msgid "" +msgstr "Project-Id-Version: libretools 20170705\n" + "Report-Msgid-Bugs-To: Parabola Hackers \n" + "PO-Revision-Date: 2017-07-06 13:59-0400\n" + "Last-Translator: David P \n" + "Language-Team: Spanish\n" + "Language: es\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" + #: src/abslibre-tools/createworkdir:36 msgid "Creating WORKDIR at %s..." msgstr "Creando WORKDIR en %s..." diff --git a/po/es/xbs.po b/po/es/xbs.po index 35bd7f1..880b5df 100644 --- a/po/es/xbs.po +++ b/po/es/xbs.po @@ -1,3 +1,18 @@ +# Copyright (C) 2017 David P +# This file is distributed under the same license as the libretools package. +# +msgid "" +msgstr "Project-Id-Version: libretools 20170705\n" + "Report-Msgid-Bugs-To: Parabola Hackers \n" + "PO-Revision-Date: 2017-07-05 20:22-0400\n" + "Last-Translator: David P \n" + "Language-Team: Spanish\n" + "Language: es\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" + #: src/xbs-abs/archrelease:12 msgid "Option requires an argument -- '%s'" msgstr "Las opciones requieren un argumento -- '%s'" diff --git a/po/header.po.head.in b/po/header.po.head.in new file mode 100644 index 0000000..2346080 --- /dev/null +++ b/po/header.po.head.in @@ -0,0 +1,14 @@ +# Copyright (C) YEAR FULL NAME +# This file is distributed under the same license as the @PACKAGE@ package. +# +msgid "" +msgstr "Project-Id-Version: @PACKAGE@ @VERSION@\n" + "Report-Msgid-Bugs-To: Parabola Hackers \n" + "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" + "Last-Translator: FULL NAME \n" + "Language-Team: LANGUAGE \n" + "Language: LANGCODE\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" -- cgit v1.2.3-54-g00ecf From 6c17560b9177c3354751bb4716ee1b17ddb3f172 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Jul 2017 20:22:29 -0400 Subject: po: do checks on localizations before compiling them --- po/subdir.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'po') diff --git a/po/subdir.mk b/po/subdir.mk index 3cddb5d..b9a2575 100644 --- a/po/subdir.mk +++ b/po/subdir.mk @@ -5,7 +5,8 @@ locale = $(notdir $(srcdir)) domains = $(patsubst %.po,%,$(filter %.po,$(files.src.src))) $(outdir)/%.mo: $(srcdir)/%.po $(call at.path,$(srcdir)/../%.pot) - msgfmt -o $@ $< + msgcmp --use-untranslated $< $(word 2,$^) + msgfmt -c -o $@ $< $(DESTDIR)$(localedir)/$(locale)/LC_MESSAGES/%.mo: $(outdir)/%.mo install -T -Dm644 '$<' '$@' -- cgit v1.2.3-54-g00ecf From bec81703da55dbcd8ed30f424317d2970a5f11c1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Jul 2017 20:30:51 -0400 Subject: po/es: Run msgmerge to update for fixed librexgettext I ran `msgmerge -UFi xbs.po ../xbs.pot` for each message domain, but used git gui to only stage substansive changes; not any changes to line-wrapping. --- po/es/gitget.po | 5 ++++ po/es/librelib.po | 12 ++++++++-- po/es/libretools.po | 66 +++++++++++++++++++++++++++++++++++++---------------- po/es/xbs.po | 35 +++++++++++++++++++++++++--- 4 files changed, 93 insertions(+), 25 deletions(-) (limited to 'po') diff --git a/po/es/gitget.po b/po/es/gitget.po index 97f06d8..723fc90 100644 --- a/po/es/gitget.po +++ b/po/es/gitget.po @@ -99,6 +99,11 @@ msgstr "En lugar de comprobar que las URL configuradas coinciden, forzar la " msgid "URL" msgstr "URL" +#: src/gitget/gitget:178 +msgid "In addition to setting or checking `remotes.origin.url`, also set or " + "check `remotes.origin.pushUrl`" +msgstr "" + #: src/gitget/gitget:180 msgid "NAME" msgstr "NOMBRE" diff --git a/po/es/librelib.po b/po/es/librelib.po index f71b087..7205775 100644 --- a/po/es/librelib.po +++ b/po/es/librelib.po @@ -247,11 +247,19 @@ msgstr "Dishabilita el uso de las palabras clave predeterminadas" msgid "Show this text" msgstr "Muestra este texto" -#: src/lib/librexgettext:205 +#: src/lib/librexgettext:177 src/lib/librexgettext:224 +msgid "flag error: Missing expected flag meaning at argument %d" +msgstr "" + +#: src/lib/librexgettext:196 +msgid "flag error: Jumped from argument %d to %d" +msgstr "" + +#: src/lib/librexgettext:255 msgid "unrecognized option: %s" msgstr "opción no reconocida: %s" -#: src/lib/librexgettext:211 +#: src/lib/librexgettext:261 msgid "no input file given" msgstr "no se ha dado ningún archivo" diff --git a/po/es/libretools.po b/po/es/libretools.po index 794051a..91bff8a 100644 --- a/po/es/libretools.po +++ b/po/es/libretools.po @@ -702,6 +702,10 @@ msgstr "" msgid "CHROOT" msgstr "" +#: src/chroot-tools/librechroot:253 src/chroot-tools/libremakepkg:162 +msgid "Name of the chroot to use" +msgstr "" + #: src/chroot-tools/librechroot:254 src/chroot-tools/libremakepkg:163 msgid "COPY" msgstr "" @@ -714,6 +718,10 @@ msgstr "" msgid "Disable networking in the chroot" msgstr "" +#: src/chroot-tools/librechroot:256 +msgid "Copy this file to `$copydir/etc/pacman.conf`" +msgstr "" + #: src/chroot-tools/librechroot:256 src/chroot-tools/librechroot:257 #: src/librefetch/librefetch:84 msgid "FILE" @@ -727,7 +735,12 @@ msgstr "" msgid "CARCH" msgstr "" -#: src/chroot-tools/librechroot:260 +#: src/chroot-tools/librechroot:258 +msgid "Set the architecture of the copy; simply an alias for the `-C` and `-" + "M` flags, see above." +msgstr "" + +#: src/chroot-tools/librechroot:260 src/chroot-tools/libremakepkg:164 msgid "Bind mount a file or directory, read/write" msgstr "" @@ -736,6 +749,10 @@ msgstr "" msgid "PATH[:PATH]" msgstr "" +#: src/chroot-tools/librechroot:261 src/chroot-tools/libremakepkg:165 +msgid "Bind mount a file or directory, read-only" +msgstr "" + #: src/chroot-tools/librechroot:264 msgid " Create/copy/delete:" msgstr "" @@ -761,6 +778,10 @@ msgstr "" msgid "FILES..." msgstr "" +#: src/chroot-tools/librechroot:270 +msgid "Like `pacman -U FILES...`" +msgstr "" + #: src/chroot-tools/librechroot:271 msgid "Like `pacman -S NAMES...`" msgstr "" @@ -787,6 +808,10 @@ msgstr "" msgid "CMD..." msgstr "" +#: src/chroot-tools/librechroot:278 +msgid "Run CMD in the chroot copy" +msgstr "" + #: src/chroot-tools/librechroot:279 msgid "Enter an interactive shell in the chroot copy" msgstr "" @@ -795,63 +820,63 @@ msgstr "" msgid "Clean /repo in the chroot copy" msgstr "" -#: src/chroot-tools/librechroot:303 +#: src/chroot-tools/librechroot:306 msgid "Unsupported architecture: %s" msgstr "" -#: src/chroot-tools/librechroot:321 +#: src/chroot-tools/librechroot:324 msgid "Must specify a command" msgstr "" -#: src/chroot-tools/librechroot:327 +#: src/chroot-tools/librechroot:330 msgid "Unrecognized command: %s" msgstr "" -#: src/chroot-tools/librechroot:335 +#: src/chroot-tools/librechroot:338 msgid "Command `%s` does not take any arguments: %s" msgstr "" -#: src/chroot-tools/librechroot:342 +#: src/chroot-tools/librechroot:345 msgid "Command `%s` requires at least one file" msgstr "" -#: src/chroot-tools/librechroot:354 +#: src/chroot-tools/librechroot:357 msgid "%s: file(s) not found: %s" msgstr "" -#: src/chroot-tools/librechroot:361 +#: src/chroot-tools/librechroot:364 msgid "Command `%s` requires at least one package name" msgstr "" -#: src/chroot-tools/librechroot:368 +#: src/chroot-tools/librechroot:371 msgid "Command `%s` requires at least one argument" msgstr "" -#: src/chroot-tools/librechroot:392 +#: src/chroot-tools/librechroot:394 msgid "This program must be run as root." msgstr "" -#: src/chroot-tools/librechroot:400 +#: src/chroot-tools/librechroot:402 msgid "Input is not a TTY" msgstr "" -#: src/chroot-tools/librechroot:403 +#: src/chroot-tools/librechroot:405 msgid "Due to a bug in systemd-nspawn, redirecting stdin is not supported." msgstr "" -#: src/chroot-tools/librechroot:411 src/chroot-tools/libremakepkg:266 +#: src/chroot-tools/librechroot:413 src/chroot-tools/libremakepkg:266 msgid "Waiting for existing lock on chroot copy to be released: [%s]" msgstr "" -#: src/chroot-tools/librechroot:415 +#: src/chroot-tools/librechroot:417 msgid "Chroot copy is mounted with nosuid or noexec options: [%s]" msgstr "" -#: src/chroot-tools/librechroot:420 +#: src/chroot-tools/librechroot:422 msgid "Creating 'root' copy for chroot [%s]" msgstr "" -#: src/chroot-tools/librechroot:426 +#: src/chroot-tools/librechroot:428 msgid "Syncing copy [%s] with root copy" msgstr "" @@ -923,10 +948,6 @@ msgstr "" msgid "Name of, or absolute path to, the chroot copy to use" msgstr "" -#: src/chroot-tools/libremakepkg:165 -msgid "Bind mount a file or directory, read-only" -msgstr "" - #: src/chroot-tools/libremakepkg:167 msgid "Don't disable networking during build() and package(). PLEASE don't " "use this unless you have a special reason, its use is a violation of " @@ -1317,6 +1338,11 @@ msgstr "" msgid "Force download mode (don't create)" msgstr "" +#: src/librefetch/librefetch:84 +msgid "Use an alternate build script (instead of 'PKGBUILD'). If an " + "SRCBUILD exists in the same directory, it is used instead" +msgstr "" + #: src/librefetch/librefetch:87 msgid "Alternate modes:" msgstr "" diff --git a/po/es/xbs.po b/po/es/xbs.po index 880b5df..729c470 100644 --- a/po/es/xbs.po +++ b/po/es/xbs.po @@ -109,9 +109,13 @@ msgstr "Opciones:" msgid "BUILDSYSTEM" msgstr "BUILDSYSTEM" -#: src/xbs/xbs:51 -msgid "-h" -msgstr "-h" +#: src/xbs/xbs:49 +msgid "Use BUILDSYSTEM instead of the one configured in xbs.conf" +msgstr "" + +#: src/xbs/xbs:51 src/xbs/xbs:76 +msgid "Show this message" +msgstr "" #: src/xbs/xbs:53 msgid "Whether a command is intended for use on a developer's box or on the " @@ -135,6 +139,10 @@ msgstr "¿Hay cambios sin commit en `.`?" msgid "(dev) download" msgstr "(dev) descarga" +#: src/xbs/xbs:61 +msgid "Download or update the tree" +msgstr "" + #: src/xbs/xbs:62 msgid "(dev) release-client REPO ARCH" msgstr "(dev) release-client REPO ARCQUITECTURA" @@ -147,22 +155,43 @@ msgstr "Publica `.` (para las cajas de los desarrolladores)" msgid "(srv) release-server REPO ARCH" msgstr "(srv) release-client REPO ARCQUITECTURA" +#: src/xbs/xbs:65 +msgid "Release `.` (for server boxes)" +msgstr "" + #: src/xbs/xbs:66 msgid "(srv) unrelease PKGBASE REPO ARCH" msgstr "(srv) unrelease PKGBASE REPO ARCQUITECTURA" +#: src/xbs/xbs:67 +msgid "Unrelease a pkgbase" +msgstr "" + #: src/xbs/xbs:68 msgid "(srv) move FROMREPO TOREPO PKGBASE" msgstr "(srv) mover DESDEREPO AREPO PKGBASE" +#: src/xbs/xbs:69 +msgid "Move a pkgbase from one repo to another" +msgstr "" + #: src/xbs/xbs:70 msgid "(srv) releasepath PKGBASE REPO ARCH" msgstr "(srv) rutadepublicación PKGBASE REPO ARQUITECTURA" +#: src/xbs/xbs:71 +msgid "Print the path to the staged version of pkgbase, or exit with non-" + "zero if not released" +msgstr "" + #: src/xbs/xbs:73 msgid "(any) name" msgstr "(any) nombre" +#: src/xbs/xbs:74 +msgid "Print a human-friendly version of the BUILDSYSTEM name" +msgstr "" + #: src/xbs/xbs:75 msgid "(any) help" msgstr "(any) ayuda" -- cgit v1.2.3-54-g00ecf