Skip to Content Skip to Menu

Problem with the uddeIMgetUserTZ()

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 8 months ago #191581 by fribse2011
Replied by fribse2011 on topic Re: Problem with the uddeIMgetUserTZ()
Btw. the 'mass replacement' first replaced all \' to || and after the mass replacment, || was replaced with \' again :-)
Just so you don't misunderstand me...

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 8 months ago #191582 by fribse2011
Replied by fribse2011 on topic Re: Problem with the uddeIMgetUserTZ()
I just found a beauty, that I can't figure out what to do with, any hints?
DEFINE('_UE_ALLOW_EMAIL_REPLYTO_DESC','Indstilling for Send-til-bruger emailformular: Afsenderformatering: Vælg mellem:<ol>'

.'<li>"Fra:" Bruger, Emailadresse (intet "Reply-To:" felt):<br/>Brugere modtager alle svar og fejlrapporter for bedre sikkerhed)</li>'

.'<li>"Fra:" Administrators emailadresse, med "Reply-To": Bruger emailadresse:<br/>Dette er SPF spam-checking kompatibelt, men administratoren kan modtage fejl/fejlagtige svar</li></ol>');

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 8 months ago #191583 by slabbi
Replied by slabbi on topic Re: Problem with the uddeIMgetUserTZ()
DEFINE('_UE_ALLOW_EMAIL_REPLYTO_DESC',

"Indstilling for Send-til-bruger emailformular: Afsenderformatering: Vælg mellem:<ol>"

."<li>\"Fra:\" Bruger, Emailadresse (intet \"Reply-To:\" felt):<br/>Brugere modtager alle svar og fejlrapporter for bedre sikkerhed)</li>"

."<li>\"Fra:\" Administrators emailadresse, med \"Reply-To\": Bruger emailadresse:<br/>Dette er SPF spam-checking kompatibelt, men administratoren kan modtage fejl/fejlagtige svar</li></ol>");

Escape double quotes inside of double quotesm, e.g.

'Hello "World"' -> "Hello \"World\""

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 8 months ago #191584 by fribse2011
Replied by fribse2011 on topic Re: Problem with the uddeIMgetUserTZ()
Ok, a loooot of work here, and I'm puzzled, because when I look in default language (english) it's not double quoted in CB, so I can't understand why it's needed with a non-default language.
I'm willing to do the work, but 2000+ lines to modify, I really want to be sure I'm doing the right thing.
Or do I only need to find the strings that uddeim uses, and fix those?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
12 years 8 months ago - 12 years 8 months ago #191586 by slabbi
Replied by slabbi on topic Re: Problem with the uddeIMgetUserTZ()
You must not modify all lines, do only modify the lines that contain the text that is used in the PMs.

So only one or two lines have to be changed.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Last edit: 12 years 8 months ago by slabbi.

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 8 months ago #191587 by fribse2011
Replied by fribse2011 on topic Re: Problem with the uddeIMgetUserTZ()
Ok, I've gone through the entire file, comparing it with the original english language.php file.
They are the same when it comes to using " and ' now.

A few syntax glitches were fixed, and a missing string was added, as well as changing a few translations.
Still the same problem.

So I tried setting the site language to english, that ALSO showed the wrong message formatting.

This is tested with both 2.6 and 2.7 versions of the cb pms.uddeim

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum