\ow_static\plugins\base\js\crop_avatar.js
on page /profile/avatar
when editing the avatar
find function crop
after this line:
OW::getDocument()->addScript($staticJsUrl . 'crop_avatar.js');
add this line:
OW::getLanguage()->addKeyForJs('base', 'crop_msg');
then go to :
/ow_static/plugins/base/js/crop_avatar.js
replace alert at the bottom of the code with this one:
alert(OW.getLanguageText('base', 'crop_msg'));
then go to the admin panel/language section
switch to the dev www.yoursite.com/admin/dev-tools/languages
click on add new text
choose base as a section
key is crop_msg
and your translation.
Then enable dev mode and refresh your website, clear browser cache.
Next time, please provide more detailed information in your request if you want to get effective assistance on our part.