Project

General

Profile

Actions

Bug #6830

open

Language strings with \n using single quotes

Added by krileon about 7 years ago. Updated 4 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
25 October 2017
Due date:
% Done:

0%

Estimated time:

Description

Some language strings with \n linebreak usage are being parsed and stored with single quotes instead of double quotes resulting in the linebreak never outputting. Specifically the below strings have this issue and is likely a problem in the language parser.

UE_USERNAMEREMINDER_MSG
UE_NEWPASS_MSG

https://www.joomlapolis.com/forum/145-community-builder/233659-registration-emails-aren-t-displayed-correctly-for-the-user?start=6

Actions #1

Updated by nant about 7 years ago

question:
in components/com_comprofiler/comprofiler.php line 808 can this:
$message = str_replace( '\n', "\n", sprintf( CBTxt::T( 'UE_USERNAMEREMINDER_MSG', 'Hello,\nA username reminder has been requested for your %s account.\n\nYour username is: %s\n\nTo log in to your account, click on the link below:\n%s\n\nThank you.\n' ), $_CB_framework->getCfg( 'sitename' ), $user->username, $liveSite ) );
be changed to:
$message = sprintf( CBTxt::T( 'UE_USERNAMEREMINDER_MSG', "Hello, A username reminder has been requested for your %s account. Your username is: %s To log in to your account, click on the link below: %s Thank you. " ), $_CB_framework->getCfg( 'sitename' ), $user->username, $liveSite ) );

Actions #2

Updated by beat almost 7 years ago

  • Target version changed from CB 2.1.4 to CB 2.1.5
Actions #3

Updated by krileon over 6 years ago

  • Target version changed from CB 2.1.5 to CB 2.3
Actions #4

Updated by beat about 6 years ago

  • Target version changed from CB 2.3 to CB 2.4
Actions #5

Updated by beat almost 6 years ago

  • Target version changed from CB 2.4 to CB 2.4.1
Actions #6

Updated by beat almost 6 years ago

  • Target version changed from CB 2.4.1 to CB 2.4.2
Actions #7

Updated by beat over 5 years ago

  • Target version changed from CB 2.4.2 to CB 2.4.3
Actions #8

Updated by beat almost 5 years ago

  • Target version changed from CB 2.4.3 to CB 2.4.4
Actions #9

Updated by beat almost 5 years ago

  • Target version changed from CB 2.4.4 to CB 2.4.5
Actions #10

Updated by beat over 4 years ago

  • Target version changed from CB 2.4.5 to CB 2.4.6
Actions #11

Updated by beat over 4 years ago

  • Target version changed from CB 2.4.6 to CB 2.4.7
Actions #12

Updated by beat about 4 years ago

  • Target version changed from CB 2.4.7 to CB 2.5.0
Actions #13

Updated by beat almost 4 years ago

  • Target version changed from CB 2.5.0 to CB 2.6
Actions #14

Updated by beat over 3 years ago

  • Target version changed from CB 2.6 to CB 2.6.1
Actions #15

Updated by beat over 3 years ago

  • Target version changed from CB 2.6.1 to CB 2.7
Actions #16

Updated by beat almost 3 years ago

  • Target version changed from CB 2.7 to CB 2.7.2
Actions #17

Updated by beat almost 3 years ago

  • Target version changed from CB 2.7.2 to CB 2.7.3
Actions #18

Updated by beat over 2 years ago

  • Target version changed from CB 2.7.3 to CB 2.7.4
Actions #19

Updated by krileon about 2 years ago

  • Target version changed from CB 2.7.4 to CB 2.8
Actions #20

Updated by beat almost 2 years ago

  • Target version changed from CB 2.8 to CB 2.8.1
Actions #21

Updated by beat over 1 year ago

  • Target version changed from CB 2.8.1 to CB 2.8.2
Actions #22

Updated by beat over 1 year ago

  • Target version changed from CB 2.8.2 to CB 2.9.0
Actions #23

Updated by beat about 1 year ago

  • Target version changed from CB 2.9.0 to CB 2.9.2
Actions #24

Updated by beat 7 months ago

  • Target version changed from CB 2.9.2 to CB 2.9.3
Actions #25

Updated by beat 4 months ago

  • Target version changed from CB 2.9.3 to CB 2.9.4
Actions

Also available in: Atom PDF