Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 830694 Details for
Bug 1036150
publican deals badly with "\n" in po files for strings corresponding to non-verbatim tags
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing newline handling in translated strings
publican.patch (text/plain), 665 bytes, created by
Raphaël Hertzog
on 2013-11-29 15:01:12 UTC
(
hide
)
Description:
Patch fixing newline handling in translated strings
Filename:
MIME Type:
Creator:
Raphaël Hertzog
Created:
2013-11-29 15:01:12 UTC
Size:
665 bytes
patch
obsolete
>diff --git a/publican/lib/Publican/Translate.pm b/publican/lib/Publican/Translate.pm >index 94df52a..2ddaf24 100644 >--- a/publican/lib/Publican/Translate.pm >+++ b/publican/lib/Publican/Translate.pm >@@ -1107,6 +1107,7 @@ sub po_unformat { > else { > $string =~ s/^\"//msg; # strip sol quotes added by msguniq etc > $string =~ s/\"$//msg; # strip sol quotes added by msguniq etc >+ $string =~ s/\\n/ /msg; # strip eol quotes added by msguniq etc > $string =~ s/\n//msg; # strip eol quotes added by msguniq etc > $string =~ s/^[\t ]*//msg > ; # strip the leading spaces left from the msgid "" line
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1036150
: 830694