libvips/po
Kleis Auke Wolthuizen 057703938e
Remove remnant of Autotools (#2950)
* Remove `glib-mkenums` autotools templates and generated files

Meson uses the `enumtypes.c.in` and `enumtypes.h.in` in
`libvips/include/vips` and doesn't use the pre-generated
files.

* Remove man files for no longer existing tools

+ update the `meson.build`.

* Remove Autotools section in `.gitignore`

* Remove `po/messages` left-over

* Remove `g-ir-scanner` entry point

No longer needed by Meson.

* Remove `glib-genmarshal` generated files

Meson doesn't use these pre-generated files.

* Remove Autotools specific Git attributes

* Remove no longer existing tools in `.gitignore`

* Remove Make specific things in `.gitignore`

* Rename COPYING to LICENSE

* Remove no longer needed `.gitignore` sections

Meson only supports out-of-tree builds. This assumes that the
build directory is ignored.

* Remove no longer needed `.editorconfig` sections
2022-07-27 10:56:56 +01:00
..
ChangeLog split to trunk/branches 2007-08-29 16:23:50 +00:00
de.po Increase minimum glib-2.0 dependency to v2.15 (released March 2012) 2020-03-26 19:13:21 +00:00
en_GB.po Fix a couple of typos in help messages (#2814) 2022-05-21 09:47:51 +01:00
LINGUAS Add meson build system (#2637) 2022-02-08 15:19:36 +00:00
malkovich.po split to trunk/branches 2007-08-29 16:23:50 +00:00
meson.build Add meson build system (#2637) 2022-02-08 15:19:36 +00:00
POTFILES.in Regenerate POTFILES.in (#2894) 2022-06-26 18:59:01 +01:00
POTFILES.skip split to trunk/branches 2007-08-29 16:23:50 +00:00
README Regenerate POTFILES.in (#2894) 2022-06-26 18:59:01 +01:00

translators
-----------

see this page for a howto:

	http://developer.gnome.org/doc/tutorials/gnome-i18n/translator.html

Things like 

	msgid "/File/_Save Image As ..."

are menu items. You only need to translate the last part (following the final
"/"). The underscore character marks the accelerator (the underlined character
in the menu item). So you could put:

	msgstr "Sevy i_mago os ..."

and it would display as "Sevy imago os ...", with the "m" underlined.

tips
----

cd vips-8.x
find cplusplus/include libvips/include \
  -name '*deprecated*' -prune -o \
  -name '*.h' \
  -printf '%h\0%d\0%p\n' | \
  sort -t '\0' -n | \
  awk -F '\0' '{print $3}' > po/POTFILES.in
find libvips tools cplusplus \
  -path libvips/deprecated -prune -o \
  -path libvips/foreign/libnsgif -prune -o \
  -name dummy.c -prune -o \
  -path cplusplus/examples -prune -o \
  \( -name '*.c' -o -name '*.cpp' \) \
  -printf '%h\0%d\0%p\n' | \
  sort -t '\0' -n | \
  awk -F '\0' '{print $3}' >> po/POTFILES.in

cd vips-8.x/po
intltool-update --pot

	make a new vips8.x.pot translation template from the sources

add header

# test translation file
# Copyright (C) 2019
# This file is distributed under the same license as the libvips package.
# John Cupitt <jcupitt@gmail.com>, 2019.
# 
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: vips 8.9.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-06 15:19+0100\n"
"PO-Revision-Date: 2019-08-06 15:19+0100\n"
"Last-Translator: john <jcupitt@gmail.com>\n"
"Language-Team: \n" 
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=s;\n"

	edits to make vips8.xx.pot into test.po

msgfmt -cv -o /dev/null test.po

	check translation for errors