[Openstack-i18n] Horizon problem in pt

Andreas Jaeger aj at suse.com
Wed Oct 21 06:17:56 UTC 2015


On 2015-10-21 00:51, Carlos Munoz wrote:
> We saw this in the past with null characters as Alex said. This is
> potentially the result of a copy and paste from another source and into
> the Zanata editor.
>
> A simple fix would be for a translator to rewrite that string. Zanata
> could also try and check for null characters when saving strings.

We need both IMHO - Zanata WebUI should not accept a string that 
zanata-cli refuses to download as it happens here,

Thanks for looking into this. Alex, thanks for the investigation!

Andreas

> Carlos A. Munoz
> Software Engineering Supervisor
> Globalization
> Red Hat
>
> On Wed, Oct 21, 2015 at 8:23 AM, Alex Eng <aeng at redhat.com
> <mailto:aeng at redhat.com>> wrote:
>
>     Sounds like the weird character issues, (Unicode: 0x8)
>
>     The only suspect I can find in "Pt" translations -
>     "Version:%(version_info)s".
>
>
>
>     ---------------------------------------------
>
>     Alex Eng
>     Globalisation Tools Engineering
>     DID:+61 3514 8262 <callto:+61+3514+8262>
>     Mobile:+614 2335 3457 <callto:+614+2335+3457>
>
>     Red Hat, Asia-Pacific Pty Ltd
>     Level 1, 193 North Quay
>     Brisbane 4000
>     Office:+61 7 3514 8100 <callto:+61+7+3514+8100>
>     Fax:+61 7 3514 8199 <callto:+61+7+3514+8199>
>     Website:www.redhat.com <http://www.redhat.com/>
>
>     On Tue, Oct 20, 2015 at 5:01 PM, Andreas Jaeger <aj at suse.com
>     <mailto:aj at suse.com>> wrote:
>
>         Looking at todays bot run for Horizon on stable/liberty - see
>         https://jenkins.openstack.org/job/horizon-propose-translation-update-liberty/24/console
>         - I noticed a failure writing pt file for
>         openstack_dashboard/locale/django:
>
>         2015-10-20 06:36:20.057 | [INFO] Writing translation file in
>         locale pt for document openstack_dashboard/locale/django
>         2015-10-20 06:36:20.536 | [ERROR] Operation failed:
>         javax.xml.bind.UnmarshalException
>         2015-10-20 06:36:20.536 |  - with linked exception:
>         2015-10-20 06:36:20.536 | [org.xml.sax.SAXParseException;
>         lineNumber: 4; columnNumber: 357; An invalid XML character
>         (Unicode: 0x8) was found in the element content of the document.]
>         2015-10-20 06:36:20.536 |
>         2015-10-20 06:36:20.536 |     To retry from the last document,
>         please set the following option(s):
>         2015-10-20 06:36:20.536 |
>         2015-10-20 06:36:20.536 |         --from-doc
>         "openstack_dashboard/locale/django"
>         2015-10-20 06:36:20.537 |
>
>
>         Is there anybody to fix this, please?
>
>         Andreas
>         --
>           Andreas Jaeger aj@{suse.com <http://suse.com>,opensuse.org
>         <http://opensuse.org>} Twitter/Identica: jaegerandi
>            SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>             GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>                 HRB 21284 (AG Nürnberg)
>              GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C
>         C272 A126
>
>
>         _______________________________________________
>         Openstack-i18n mailing list
>         Openstack-i18n at lists.openstack.org
>         <mailto:Openstack-i18n at lists.openstack.org>
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>
>
>
>     _______________________________________________
>     Openstack-i18n mailing list
>     Openstack-i18n at lists.openstack.org
>     <mailto:Openstack-i18n at lists.openstack.org>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>
>
>
>
> _______________________________________________
> Openstack-i18n mailing list
> Openstack-i18n at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
>


-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
        HRB 21284 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126




More information about the Openstack-i18n mailing list