Displaying 12 results from an estimated 12 matches for "potfiles_ml".
2013 Dec 05
3
Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
...65,7 +65,7 @@ XGETTEXT_ARGS = \
> --msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
> --directory=$(top_srcdir)
>
> -$(DOMAIN).pot: Makefile $(POTFILES) $(POTFILES-pl) $(POTFILES-ml)
> +$(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)
> rm -f $@-t
> if HAVE_OCAML_GETTEXT
> $(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)
So I agree that $(POTFILES-pl) is definitely wrong. Not sure exactly
what we were thinking about there ...
But, won't the addition of the literal file names break separat...
2013 Dec 05
6
[PATCH 0/3] Small improvements to i18n extraction/handling
Hi,
here there are few patches to improve the extraction of translatable
messages, and the usage of messages with plural forms.
Pino Toscano (3):
po: fix broken message extraction
po: fix dependencies for libguestfs.pot extraction
fish: improve the command error messages
generator/fish.ml | 20 ++++++++++++++++----
po/Makefile.am | 24 +++++++-----------------
2 files changed, 23
2013 Dec 05
1
Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
...dress="$(MSGID_BUGS_ADDRESS)" \
> > > --directory=$(top_srcdir)
> > >
> > > -$(DOMAIN).pot: Makefile $(POTFILES) $(POTFILES-pl) $(POTFILES-ml)
> > > +$(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl
> > > $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)>
> > > rm -f $@-t
> > >
> > > if HAVE_OCAML_GETTEXT
> > >
> > > $(OCAML_GETTEXT) --action extract --extract-pot $@-t
> > > $(POTFILES_ML)
> >
> > So I agree that $(POTFILES-pl) is definitely wrong. Not sure exactly...
2013 Dec 09
3
[PATCH 1/3] Fix manpage generation in out-of-tree builds
---
po-docs/ja/Makefile.am | 16 ++++++++--------
po-docs/uk/Makefile.am | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am
index 820f91a..e954f04 100644
--- a/po-docs/ja/Makefile.am
+++ b/po-docs/ja/Makefile.am
@@ -92,9 +92,9 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru
2013 Dec 05
0
[PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
...+++ b/po/Makefile.am
@@ -65,7 +65,7 @@ XGETTEXT_ARGS = \
--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
--directory=$(top_srcdir)
-$(DOMAIN).pot: Makefile $(POTFILES) $(POTFILES-pl) $(POTFILES-ml)
+$(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)
rm -f $@-t
if HAVE_OCAML_GETTEXT
$(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)
--
1.8.3.1
2013 Dec 05
0
[PATCH 1/3] po: fix broken message extraction
...at since it will definitely screw up. Instead, chop
-# the head from the second file and append it to the first.
- echo >> $@-t
- awk '/^#:/{i++}i{print}' < $@-pl >> $@-t
- rm $@-pl
+ rm -f $@-t
if HAVE_OCAML_GETTEXT
- $(OCAML_GETTEXT) --action extract --extract-pot $@-ml $(POTFILES_ML)
-# Don't trust msgcat since it will definitely screw up. Instead, chop
-# the head from the second file and append it to the first.
- echo >> $@-t
- awk '/^#:/{i++}i{print}' < $@-ml >> $@-t
- rm $@-ml
+ $(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)...
2013 Dec 05
0
Re: [PATCH 2/3] po: fix dependencies for libguestfs.pot extraction
...t; > --msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
> > --directory=$(top_srcdir)
> >
> > -$(DOMAIN).pot: Makefile $(POTFILES) $(POTFILES-pl) $(POTFILES-ml)
> > +$(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl
> > $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)>
> > rm -f $@-t
> >
> > if HAVE_OCAML_GETTEXT
> >
> > $(OCAML_GETTEXT) --action extract --extract-pot $@-t
> > $(POTFILES_ML)
>
> So I agree that $(POTFILES-pl) is definitely wrong. Not sure exactly
> what we were thinking about there ....
2013 Dec 09
0
[PATCH 3/3] Create empty files to be edited by xgettext
...--
po/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/po/Makefile.am b/po/Makefile.am
index a8343ec..fd69441 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -67,6 +67,7 @@ XGETTEXT_ARGS = \
$(DOMAIN).pot: Makefile POTFILES $(POTFILES) POTFILES-pl $(POTFILES_PL) POTFILES-ml $(POTFILES_ML)
rm -f $@-t
+ touch $@-t
if HAVE_OCAML_GETTEXT
$(OCAML_GETTEXT) --action extract --extract-pot $@-t $(POTFILES_ML)
endif
--
1.8.5.1
2013 Dec 05
1
Re: [PATCH 1/3] po: fix broken message extraction
...p. Instead, chop
> -# the head from the second file and append it to the first.
> - echo >> $@-t
> - awk '/^#:/{i++}i{print}' < $@-pl >> $@-t
> - rm $@-pl
> + rm -f $@-t
> if HAVE_OCAML_GETTEXT
> - $(OCAML_GETTEXT) --action extract --extract-pot $@-ml $(POTFILES_ML)
> -# Don't trust msgcat since it will definitely screw up. Instead, chop
> -# the head from the second file and append it to the first.
> - echo >> $@-t
> - awk '/^#:/{i++}i{print}' < $@-ml >> $@-t
> - rm $@-ml
> + $(OCAML_GETTEXT) --action extract --e...
2020 Aug 13
15
[v2v PATCH 00/14] Adaptations to Weblate
We are migrating to Weblate (the Fedora instance, in particular) for
translations instead of Zanata. Adapt our tooling a bit to the different
workflow:
- Weblate takes care of updating the po files whenever a new translation
catalog is available, so stop doing that on our own: this meant also
tweaking the po4a usage for POD documentations, resulting in simpler
rules (IMHO)
- ensure that the
2020 Aug 12
10
[PATCH 0/9] Adaptations to Weblate
We are migrating to Weblate (the Fedora instance, in particular) for
translations instead of Zanata. Adapt our tooling a bit to the different
workflow:
- Weblate takes care of updating the po files whenever a new translation
catalog is available, so stop doing that on our own: this meant also
tweaking the po4a usage for POD documentations, resulting in simpler
rules (IMHO)
- ensure that the
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It
does work, but needs a lot more testing.
This removes all the psychopathic gettextify cruft, and replaces it
with a 99 line Makefile.am. A large win, I think.
The third patch implements gettext support in the OCaml tools.
The fourth patch is just for illustration. It shows the consequent
changes to libguestfs.pot and the po