Pino Toscano
2014-Mar-24 14:22 UTC
[Libguestfs] [PATCH] Fix translation issue in Ukrainian translation
__FOO__ markers have to be left as they are, as they represent placeholders for further sections. Unfortunately it seems there's no easy way to exclude them from the template, so for now just manually ensure/fix they are not translated differently than English. --- po-docs/uk.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po-docs/uk.po b/po-docs/uk.po index 2823cb5..3e06deb 100644 --- a/po-docs/uk.po +++ b/po-docs/uk.po @@ -70153,7 +70153,7 @@ msgstr "" #. type: textblock #: ../src/guestfs.pod:2485 msgid "__AVAILABILITY__" -msgstr "__ДОСТУПНІСТЬ__" +msgstr "__AVAILABILITY__" #. type: =head2 #: ../src/guestfs.pod:2487 -- 1.8.3.1
Richard W.M. Jones
2014-Mar-24 14:42 UTC
Re: [Libguestfs] [PATCH] Fix translation issue in Ukrainian translation
On Mon, Mar 24, 2014 at 03:22:50PM +0100, Pino Toscano wrote:> __FOO__ markers have to be left as they are, as they represent > placeholders for further sections. > > Unfortunately it seems there's no easy way to exclude them from the > template, so for now just manually ensure/fix they are not translated > differently than English. > --- > po-docs/uk.po | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/po-docs/uk.po b/po-docs/uk.po > index 2823cb5..3e06deb 100644 > --- a/po-docs/uk.po > +++ b/po-docs/uk.po > @@ -70153,7 +70153,7 @@ msgstr "" > #. type: textblock > #: ../src/guestfs.pod:2485 > msgid "__AVAILABILITY__" > -msgstr "__ДОСТУПНІСТЬ__" > +msgstr "__AVAILABILITY__"Sorry, I missed this patch and fixed it a few minutes ago. On the broader issue, how about post-processing the libguestfs-docs.pot file to remove all msgids which match "__.*__"? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org