Take button translation

Home Forums Legacy Support Support queries Translation issues Take button translation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41057
    isigma
    Spectator
    Would you mind exchanging in func.php #267 $extra .= '<span>'.($max_students-$number).' '.__('SEATS LEFT','vibe').'</span>'; to $seats_left = $max_students-$number; $extra .= '<span>'.sprintf(_n('%s SEAT LEFT','%s SEATS LEFT',$seats_left,'vibe'),$seats_left).'</span>'; It would tremendously help in Russing translation, as the human reading in Russian should have three forms (not 2), plus it should be literally translated SEATS %s LEFT If it works for you I would provide you with important 'numbered' translations for corrections in the code in the future. Thank you.
    #42453
    isigma
    Spectator
    Course details page header (vibe-course-module // bp-course-template.php) #592 from $meta .= '( '.(empty($count)?'0':$count).' '.__('REVIEWS','vibe').' ) '; to $meta .= '( '.sprintf(_n('%s REVIEW','%s REVIEWS',$count,'vibe'),(empty($count))?'0':$count).' ) ';  #597 <span class="Apple-tab-span" style="white-space: pre;">f</span>rom $meta .='<div class="students"> '.$students.' '.__('STUDENTS','vibe').'</div>'; to $meta .='<div class="students"> '.sprintf(_n('%s STUDENT','%s STUDENTS',$students,'vibe'),$students).'</div>';   
    #42454
    isigma
    Spectator
    Course page "Students Enrolled" child+vibe-course-module /course/single/plugins.php,  front.php, child/templates/course/top.php, child/single-course.php from echo ''.$students.__(' STUDENTS ENROLLED','vibe').''; to echo ''.sprintf(_n('%s STUDENT ENROLLED','%s STUDENTS ENROLLED',$students,'vibe'),$students).'';//SIG    
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Take button translation’ is closed to new replies.