1
I'm doing a Russian translation of Classifieds and I'm having a coding problem
When you look in a category you see the "sort by:" block
the original code in Language/main.php says
" define($main_lang."_CURSORTEDBY","Listings currently sorted by: %s");"
Which matches to
" $xoopsTpl->assign('lang_cursortedby', sprintf(constant($main_lang."_CURSORTEDBY"), classifieds_convertorderbytrans($orderby)));"
in root/catview.php
Now....
In Language/main.php i added
" define($main_lang."_CURSORTEDBY2","Листингах сортируются по: %s");"
And in root/catview.php I added
"$xoopsTpl->assign('lang_cursortedby', sprintf(constant($main_lang."_CURSORTEDBY2"), classifieds_convertorderbytrans($orderby)));"
When it's displayed I wanted it to say:
Listings currently sorted by: (the info)
Листингах сортируются по: (the info)
one line after the other, displaying the same data (date, popularity, etc)
However, I can only get english OR russian to display, not both
The problem is in root/catview.php
Right now it's
" $xoopsTpl->assign('lang_cursortedby', sprintf(constant($main_lang."_CURSORTEDBY"), classifieds_convertorderbytrans($orderby)));
$xoopsTpl->assign('lang_cursortedby', sprintf(constant($main_lang."_CURSORTEDBY2"), classifieds_convertorderbytrans($orderby)));"
Can someone help me fix the coding so that both will appear?
TIA!