[buddypress-trac] [BuddyPress] #2703: [Translations] Cannot translate strings when actual new line breaks are used instead of \n

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Feb 12 20:45:49 UTC 2011


#2703: [Translations] Cannot translate strings when actual new line breaks are
used instead of \n
------------------------+-------------------------
  Reporter:  calvin_42  |      Owner:  sorich87
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:  1.3
 Component:  Core       |    Version:
Resolution:             |   Keywords:  needs-patch
------------------------+-------------------------

Comment (by SergeyBiryukov):

 This has to do with different line endings on Windows and Unix.

 !WordPress has [http://core.trac.wordpress.org/browser/tags/3.0.5/wp-
 admin/includes/schema.php#L682 multiple line strings] too, which are
 perfectly valid unless using TortoiseSVN checkout under Windows.

 The suggestion in the ticket would make the strings extremely hard to read
 and translate.

 It's actually a [http://bugs.php.net/bug.php?id=52671 gettext bug] and
 should be treated on a more general level, perhaps in !WordPress itself.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2703#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list