<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >+1 on keeping the newline mismatch an error</div>
<div dir="ltr" > </div>
<div dir="ltr" >For Horizon, it's not just a linter that fails - it's the actual compilation of the PO files, which means the translations (all of them!) become unmergeable.</div>
<div dir="ltr" ><br>Doug Fish
<div> </div>
<div> </div>
<blockquote data-history-content-modified="1" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr" >----- Original message -----<br>From: Clark Boylan <cboylan@sapwetik.org><br>To: openstack-i18n@lists.openstack.org<br>Cc:<br>Subject: Re: [Openstack-i18n] "Warning: none, Errors: 1" from the difference of number of lines<br>Date: Mon, Oct 5, 2015 3:20 PM<br>
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >I want to say we did that because the linters for the various projects<br>do msgfmt checks that fail when newlines don't match. This means that<br>any of those translations sneaking into the git repo proposals prevent<br>any translations for that project from merging. I believe we do want<br>this to be an error in Zanata as long as the projects are going to check<br>and fail on that when linting.<br><br>Clark<br><br>On Mon, Oct 5, 2015, at 12:51 PM, Alex Eng wrote:<br>> Hi Andreas,<br>><br>> The reason translations can't be save when newline character doesn't<br>> match<br>> with source is due to the settings in project horizon. For some reason,<br>> it<br>> was set to "Error", and this will prevent saving of translation whenever<br>> this validation failed.<br>><br>> You can change the setting via:<br>> <a href="https://translate.openstack.org/project/view/horizon/settings/translation" target="_blank" >https://translate.openstack.org/project/view/horizon/settings/translation</a><br>> (need to be project maintainer for admin), set the "Leading/trailing<br>> newline (\n)" to warning.<br>><br>><br>> ---------------------------------------------<br>><br>> Alex Eng<br>> Globalisation Tools Engineering<br>> DID: +61 3514 8262 <callto:+61+3514+8262><br>> Mobile: +614 2335 3457 <callto:+614+2335+3457><br>><br>> Red Hat, Asia-Pacific Pty Ltd<br>> Level 1, 193 North Quay<br>> Brisbane 4000<br>> Office: +61 7 3514 8100 <callto:+61+7+3514+8100><br>> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199><br>> Website: www.redhat.com<br>><br>> On Tue, Oct 6, 2015 at 4:59 AM, Andreas Jaeger <aj@suse.com> wrote:<br>><br>> > Thanks for your comments and have a good night!<br>> ><br>> > # Japanese team insert meaningless newlines to avoid warnings for<br>> >> Liberty translations<br>> >> # but would not like to do that in the future.<br>> >><br>> ><br>> ><br>> > Please file a feature request with the Zanata team, I have not found an<br>> > option to disable this myself ;(<br>> ><br>> > Andreas<br>> > --<br>> > Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi<br>> > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany<br>> > GF: Felix Imendörffer, Jane Smithard, Graham Norton,<br>> > HRB 21284 (AG Nürnberg)<br>> > GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126<br>> ><br>> ><br>> > _______________________________________________<br>> > Openstack-i18n mailing list<br>> > Openstack-i18n@lists.openstack.org<br>> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n" target="_blank" >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a><br>> ><br>> _______________________________________________<br>> Openstack-i18n mailing list<br>> Openstack-i18n@lists.openstack.org<br>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n" target="_blank" >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a><br><br>_______________________________________________<br>Openstack-i18n mailing list<br>Openstack-i18n@lists.openstack.org<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n" target="_blank" >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a></font><br> </div></blockquote></div></div><BR>