ElkArte Community

Project Support => Support => Topic started by: augras on April 22, 2018, 03:53:55 am

Title: [SOLVED]Error on profil info
Post by: augras on April 22, 2018, 03:53:55 am
Hi, when i click on Profil info i get
Code: [Select]
syntax error, unexpected 'administrateur' (T_STRING)
Each item in this menu works.
Is it possible it is because of the translation ? Nothing change since yesterday, just the tranlation pack.
Thanks,
Philippe

EDIT1
The error comes from the who file : in the french pack there is a mistake in a translation on the line 5
Code: [Select]
l\\'administrateur
but the good code in the file is only
Code: [Select]
l\'administrateur
and in Transifex just
Code: [Select]
l'administrateur
Philippe
Title: Re: [SOLVED]Error on profil info
Post by: emanuele on April 23, 2018, 08:13:23 am
Which file was it?
Title: Re: [SOLVED]Error on profil info
Post by: augras on April 23, 2018, 09:06:42 am
It's who.french file (i didn't look à the english one !), line 5 : it's update on transifex.
Philippe
Title: Re: [SOLVED]Error on profil info
Post by: emanuele on April 23, 2018, 02:58:48 pm
Good to know.
Just a reminder: transifex takes care of escaping whatever is necessary to escape, no need to add backslashes.
Title: Re: [SOLVED]Error on profil info
Post by: augras on April 24, 2018, 09:38:47 am
Quote from: emanuele – Good to know.
Just a reminder: transifex takes care of escaping whatever is necessary to escape, no need to add backslashes.




Yes, i know. But there are a lot of backslashes or  : or ", on "old" translations or even some utf8 problems  (for exemple détails and not détails, événements and not évènenements...).
I tried, with musher0's help, to clean a lot of translations but it's not finish...
But today the french translations is better.
Title: Re: [SOLVED]Error on profil info
Post by: emanuele on April 24, 2018, 12:00:01 pm
Great, thanks! :D
Title: Re: [SOLVED]Error on profil info
Post by: augras on April 24, 2018, 02:01:53 pm
It's for "my" forum... and for all the french users 8)