Black

Online text in FRENCH is displayed with ascii space - Black

Online text in FRENCH is displayed with ascii space

by Galixte de EzCom » Wed Aug 09, 2017 6:46 pm

Hi Vinny,

i installed the Black style for phpBB 3.2.1, in FRENCH language, on viewtopic the online text appears like that:
viewtopic_online_text.png
viewtopic_online_text.png (53.59 KiB) Viewed 75 times

Normally, the text should be: En ligne but it appears: En\x20ligne. \x20 means space in ascii.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.

Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 955
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Online text in FRENCH is displayed with ascii space

by _Vinny_ » Wed Aug 09, 2017 10:34 pm

I'll check this.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 8084
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Online text in FRENCH is displayed with ascii space

by MrGaby » Sat Aug 12, 2017 8:59 am

Hi

In 'template/overall_header.html' :

Search (Line 78):

Code: Select all

<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}" data-online-text="{LA_ONLINE}">
Replace with:

Code: Select all

<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}" data-online-text="{L_ONLINE}">
If you like my work, you can support me with a donation. Thanks!
Donate via Paypal
MrGaby
Registered User
Posts: 148
Joined: Sun Apr 02, 2017 8:04 pm
Contact:

Re: Online text in FRENCH is displayed with ascii space

by Galixte de EzCom » Sun Aug 13, 2017 3:10 am

Oh yes LA for JS L for html, thanks, MrGaby. ;)
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.

Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 955
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact: