Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phoca Commander - Error in file #318

Open
ferino75 opened this issue Jun 27, 2017 · 2 comments
Open

Phoca Commander - Error in file #318

ferino75 opened this issue Jun 27, 2017 · 2 comments

Comments

@ferino75
Copy link

Steps to reproduce the issue

Hi, I attach Slovak package for Phoca Commander
package works fine, but I got error in Localise component
"Error on line 310"
sk-SK.com_phocacommander_j30.zip

Expected result

Actual result

System information (as much as possible)

Joomla 3.7.2
com_localise 4.0.29 dev
PHP 7.0

Additional comments

@infograf768
Copy link
Contributor

Sorry, never received a mail for this issue. Looking now

@infograf768
Copy link
Contributor

@ferino75

the main broken string is

COM_PHOCACOMMANDER_WELCOME_WARNING="<div class ="_QQ_"ph-main-warning" _QQ _ "> <div class ="_QQ_"ph-warning-text"_QQ_"> Uvedomte si, že pracujete so skutočnými zložkami a súbormi priamo na vašom serveri. </ div> <ul> <li> Zložky a súbory spravujete rovnakým spôsobom ako vo inom FTP manageru. </ li> <li> Funkcia UNDO (späť) nie je k dispozícii! </ li> <li> Príkazy, ako sú ODSTRÁNENIE alebo PRESUNUTIE súborov a priečinkov, sú trvalé! </ li> <li> Pri extrahovaní súborov môže dôjsť k trvalému prepísanie už existujúcich súborov! </ li> <li> Niektoré funkcie nemusia pracovať, pokiaľ sú obmedzené nastaveniami vášho servera! </ li > <li> Úspech v práci so zložkami a súbormi závisí na nastavení servera (povolenie a vlastníctvo priečinkov a súborov)! </ li> <li> Skontrolujte nastavenia FTP vrstvy v Globálne konfigurácii. </ li> </ ul> <div> Pozrite sa prosím aj do <a href="_QQ_"http://www.phoca.cz/documentation"_QQ_" target="_QQ_"_blank"_QQ_"> Dokumentácia Phoca Commanderu </a>. <br /> Ak máte nejaké problémy s používaním Phoca Commanderu, riešte ich prosím na <a href="_QQ_"http://www.phoca.cz/forum"_QQ_" target="_QQ_"_blank"_QQ_"> Phoca Forum </a>. < / div> "

By using the Source button it shows you all errors in red
screen shot 2017-12-19 at 11 29 04

as you can see, you have extraneous spaces in " _QQ _ " as it should be "_QQ_"

You have also another issue which com_localise will point out as it is very strict:
screen shot 2017-12-19 at 11 32 21

Once these are corrected in the Source view, you will be OK.

For a while now, com_localise will save any "_QQ_" into \" as it is now standard when saving a file. So, just correct in Source, save and reopen normally then modify what you need and save again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants