[libvirt PATCH v2 0/7] po: Various fixes and cleanups

Andrea Bolognani posted 7 patches 1 year, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20220518095245.253610-1-abologna@redhat.com
build-aux/syntax-check.mk |  21 ++-
po/LINGUAS                |   8 +-
po/POTFILES               | 384 ++++++++++++++++++++++++++++++++++++++
po/POTFILES.in            | 384 --------------------------------------
po/libvirt.pot            | 216 ---------------------
po/meson.build            |  17 +-
6 files changed, 406 insertions(+), 624 deletions(-)
create mode 100644 po/POTFILES
delete mode 100644 po/POTFILES.in
[libvirt PATCH v2 0/7] po: Various fixes and cleanups
Posted by Andrea Bolognani 1 year, 10 months ago
Changes from [v1]

  * instead of checking that the potfile doesn't contain unwanted
    comments at syntax-check time, prevent them from being added by
    passing all xgettext options explicitly ourselves.

[v1] https://listman.redhat.com/archives/libvir-list/2022-May/231526.html

Andrea Bolognani (7):
  po: Drop unwanted comments from potfile
  po: Stop using 'glib' preset for i18n.gettext()
  po: Drop prefixes from POTFILES.in
  po: Don't generate POTFILES
  syntax-check: Don't exclude src/false.c from sc_po_check
  po: Sort LINGUAS
  syntax-check: Introduce sc_linguas_sorting

 build-aux/syntax-check.mk |  21 ++-
 po/LINGUAS                |   8 +-
 po/POTFILES               | 384 ++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in            | 384 --------------------------------------
 po/libvirt.pot            | 216 ---------------------
 po/meson.build            |  17 +-
 6 files changed, 406 insertions(+), 624 deletions(-)
 create mode 100644 po/POTFILES
 delete mode 100644 po/POTFILES.in

-- 
2.35.3
Re: [libvirt PATCH v2 0/7] po: Various fixes and cleanups
Posted by Michal Prívozník 1 year, 10 months ago
On 5/18/22 11:52, Andrea Bolognani wrote:
> Changes from [v1]
> 
>   * instead of checking that the potfile doesn't contain unwanted
>     comments at syntax-check time, prevent them from being added by
>     passing all xgettext options explicitly ourselves.
> 
> [v1] https://listman.redhat.com/archives/libvir-list/2022-May/231526.html
> 
> Andrea Bolognani (7):
>   po: Drop unwanted comments from potfile
>   po: Stop using 'glib' preset for i18n.gettext()
>   po: Drop prefixes from POTFILES.in
>   po: Don't generate POTFILES
>   syntax-check: Don't exclude src/false.c from sc_po_check
>   po: Sort LINGUAS
>   syntax-check: Introduce sc_linguas_sorting
> 
>  build-aux/syntax-check.mk |  21 ++-
>  po/LINGUAS                |   8 +-
>  po/POTFILES               | 384 ++++++++++++++++++++++++++++++++++++++
>  po/POTFILES.in            | 384 --------------------------------------
>  po/libvirt.pot            | 216 ---------------------
>  po/meson.build            |  17 +-
>  6 files changed, 406 insertions(+), 624 deletions(-)
>  create mode 100644 po/POTFILES
>  delete mode 100644 po/POTFILES.in
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal