WordPress.org

Ready to get started?Download WordPress

Forums

WP Symposium
[0.55.1] Fixes for some missing translations (4 posts)

  1. CyberOto
    Member
    Posted 3 years ago #

    Hello,

    I have made full Bulgarian translation and found out some minor missing definitions in source files in order the plugin to be fully translated. Here are the findings:

    \ajax\symposium_members_functions.php
    line #119 - missing translation for "last active"

    modified to:

    //CyberOto fix for not translated text
    					$html .= symposium_profile_link($member->uid).', '.__('last active', 'wp-symposium').' '.symposium_time_ago($member->last_activity).". ";

    \ajax\symposium_profile_functions.php
    line #538 - missing ", 'wp-symposium'" parameter:

    modified to:

    //CyberOto fix for missing ", 'wp-symposium'" parameter
    					$html .= '<p>'.__("This member has no personal information to show.", 'wp-symposium').'</p>';

    line #544 - missing ", 'wp-symposium'" parameter:

    //CyberOto fix for missing ", 'wp-symposium'" parameter
    				$html .= '<p>'.__("Sorry, this member has chosen not to share their personal information.", 'wp-symposium').'</p>';

    symposium_profile.php
    line #221 - added <p> tag. For some odd reason, without it the translated text is not shown:

    modified to:

    $html = "<p>".__("Member not found, sorry", "wp-symposium")."</p>";

    Keep up the good work!

    P.S.
    I have done modifications in \js\symposium.js file for Bulgarian translation, but this is not covered by the .mo and .po file translation.
    Also the .pot file needs update for some missing strings. Adding them with Bulgarian translation just in case (don't hate me =]):

    msgid "Tell me when there are new topics posted"
    msgstr "Уведоми ме, когато има нови теми"
    
    msgid "Tell me about replies"
    msgstr "Уведоми ме, когато има нов отговор "
    
    msgid "Personal information only for friends."
    msgstr "Личната информация е достъпна само за приятели"
    
    msgid "Who do you want to share your activity with?"
    msgstr "Кой да вижда твоята активност?"
    
    msgid "Your date of birth"
    msgstr "Дата на раждане"
    
    msgid "Receive an email when you get new mail messages?"
    msgstr "Получаване на поща, когато имате ново съобщение?"
    
    msgid "Receive an email when a friend adds a post?"
    msgstr "Получаване на поща, когато приятел публикува нещо?"
    
    msgid "Show more..."
    msgstr "Покажи още..."
    
    msgid "What's up?"
    msgstr "Нов статус?"
    
    msgid "Favorites"
    msgstr "Любими"
    
    msgid "The minimum level for this forum is"
    msgstr "Нямате право да преглеждате форума."
    
    msgid "Inbox"
    msgstr "Входяща кутия"
    
    msgid "Sent"
    msgstr "Изпратени"
  2. CyberOto
    Member
    Posted 3 years ago #

    Silly meh =[

    Found 4 more not well translated "by" statements.

    Here goes:

    \ajax\symposium_forum_functions.php
    around line #1269 - missing translation for "by"

    modified to:

    //CyberOto missing translation for "by"
    								$html .= ", ".symposium_time_ago($dt)." ".__("by", "wp-symposium")." ".$reply->display_name;

    around line #1272 - missing translation for "by"

    modified to:

    //CyberOto missing translation for "by"
    								$html .= ", ".__("last one", "wp-symposium")." ".symposium_time_ago($dt)." ".__("by", "wp-symposium")." ".$reply->display_name;

    around line #1320 - missing translation for "by"

    modified to:

    //CyberOto missing translation for "by"
    								$html .= ", ".symposium_time_ago($dt)." ".__("by", "wp-symposium")." ".$display_name.".</em>";

    around line #1324 - missing translation for "by"

    modified to:

    //CyberOto missing translation for "by"
    								$html .= ", ".__("last one", "wp-symposium")." ".symposium_time_ago($dt)." ".__("by", "wp-symposium")." ".$display_name.".</em>";

    Regards,

  3. simon.goodchild
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks CyberOto!!!

  4. CyberOto
    Member
    Posted 3 years ago #

    Hi Simon,

    Just checked 0.56 (backtracked in previous version too) and found:

    ajax\symposium_forum_functions.php
    around line #1359 - underscore in text domain, instead of dash:

    original

    $html .= __("You replied", "wp_symposium")." ".symposium_time_ago($topic->topic_date);

    fixed

    $html .= __("You replied", "wp-symposium")." ".symposium_time_ago($topic->topic_date);

    symposium_profile.php
    around line #221 - underscore in text domain, instead of dash:

    original

    $html = __("Member not found, sorry", "wp_symposium");

    fixed

    $html = __("Member not found, sorry", "wp-symposium");

    Keep up the good work!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic