[wp-trac] [WordPress Trac] #22172: Localized strings not applied in notification email

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 14:15:18 UTC 2012


#22172: Localized strings not applied in notification email
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 I can only reproduce on a TortoiseSVN checkout under Windows. There's a
 [http://bugs.php.net/bug.php?id=52671 gettext bug] that affects multiple
 line strings like this one or
 [http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/ms-
 functions.php#L1898 the one in welcome_user_msg_filter()] due to different
 line endings on Windows and Unix.

 Replacing actual line breaks with `\n` and keeping everything on one line
 could work, but it would also make the strings harder to read and
 translate:
 {{{
 "New User: %1s\nRemote IP: %2s\n\nDisable these notifications: %3s"
 }}}

 Related BuddyPress ticket:
 http://buddypress.trac.wordpress.org/ticket/2703

 Could not reproduce on a regular (non-SVN) install.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22172#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list