Parts of PasswordValidation component translation incomplete (?)

Johannes Genberg Posted in Technical Support 3 months ago

I noticed that I had forgotten to translate PasswordValidation component, but even though I've written this:

<?php
/**
 * Open Source Social Network
 *
 * @packageOpen Source Social Network
 * @author    Open Social Website Core Team <[email protected]>
 * @copyright 2017 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      http://www.opensource-socialnetwork.org/licence
 */
$eo = array(
    'passwordvalidation:atleast' => 'enhavi almenaĆ­ <em>%s<em> literojn kaj nombrojn',
    'passwordvalidation:characters' => 'literojn kaj nombrojn',
    'passwordvalidation:passwordmustbe' => 'Via pasvorto devas:',
    'passwordvalidation:capitalletter' => 'majusklon',
    'passwordvalidation:lowerletter' => "minusklan leteron",
    'passwordvalidation:number' => "nombron",
    'passwordvalidation:error' => 'La pasvorto ne konformas al la postuloj'
);
ossn_register_languages('eo', $eo); 

This is what I get:
enter image description here

So, how do I fix this?

Replies
se Johannes Genberg Replied 3 months ago

Yes, that worked. Thanks :)

German Arsalan Shah Replied 3 months ago

Try v1.5 please and translate it again, there is a update in files. Delete old one first from admin panel.

se Johannes Genberg Replied 3 months ago

I removed the old component (V1.2) and replaced it with 1.4 (which is called 1.3 in admin panel), but then the locale file stopped to work altogether:

enter image description here

I also tried to take the English locale inside the 1.4 version and paste it over the Esperanto one, saved it correctly and the result is the same.

Also, this part is misspelled :)

    'passwordvalidation:characters' => 'chatacters',
German Arsalan Shah Replied 3 months ago

V1.4 should allow him to translate preface stuff. I just modified the js and remove preface logic.

German ~Z~ Man Replied 3 months ago