Ticket #172: buddypress_l18n_messages_theme.patch
File buddypress_l18n_messages_theme.patch, 6.2 KB (added by , 16 years ago) |
---|
-
buddypress-theme/buddypress-member/messages/compose.php
3 3 </div> 4 4 5 5 <div id="content"> 6 <h2> Compose Message</h2>6 <h2><?php _e("Compose Message", "buddypress"); ?></h2> 7 7 8 8 <?php do_action( 'template_notices' ) ?> 9 9 … … 11 11 <div id="poststuff"> 12 12 <p> 13 13 <div id="titlediv"> 14 <h3><?php _e("Send To", 'buddypress') ?> <small> (Use username - autocomplete coming soon)</small></h3>14 <h3><?php _e("Send To", 'buddypress') ?> <small><?php _e("(Use username - autocomplete coming soon)", "buddypress"); ?></small></h3> 15 15 <div id="titlewrap"> 16 16 <input type="text" name="send_to" id="send_to" value="<?php bp_messages_username_value() ?>" /> 17 <?php if ( is_site_admin() ) : ?><br /><input type="checkbox" id="send-notice" name="send-notice" value="1" /> This is a notice to all users.<?php endif; ?>17 <?php if ( is_site_admin() ) : ?><br /><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e("This is a notice to all users.", "buddypress"); ?><?php endif; ?> 18 18 </div> 19 19 </div> 20 20 </p> -
buddypress-theme/buddypress-member/messages/index.php
11 11 <?php bp_messages_pagination() ?> 12 12 </div> 13 13 14 <h2> Inbox</h2>14 <h2><?php _e("Inbox", "buddypress"); ?></h2> 15 15 <?php do_action( 'template_notices' ) // (error/success feedback) ?> 16 16 17 17 <?php bp_message_get_notices(); // (admin created site wide notices) ?> … … 26 26 </td> 27 27 <td width="1%"><?php bp_message_thread_avatar() ?></td> 28 28 <td width="27%"> 29 <p> From:<?php bp_message_thread_from() ?></p>29 <p><?php _e("From:", "buddypress"); ?> <?php bp_message_thread_from() ?></p> 30 30 <p class="date"><?php bp_message_thread_last_post_date() ?></p> 31 31 </td> 32 32 <td width="40%"> 33 <p><a href="<?php bp_message_thread_view_link() ?>" title=" View Message"><?php bp_message_thread_subject() ?></a></p>33 <p><a href="<?php bp_message_thread_view_link() ?>" title="<?php _e("View Message", "buddypress"); ?>"><?php bp_message_thread_subject() ?></a></p> 34 34 <p><?php bp_message_thread_excerpt() ?></p> 35 35 </td> 36 36 <td width="10%"> 37 <a href="<?php bp_message_thread_delete_link() ?>" title=" Delete Message" class="delete">Delete</a> 37 <a href="<?php bp_message_thread_delete_link() ?>" title="<?php _e("Delete Message", "buddypress"); ?>" class="delete"><?php _e("Delete", "buddypress"); ?></a> 38 38 <input type="checkbox" name="message_ids[]" value="<?php bp_message_thread_id() ?>" /> 39 39 </td> 40 40 </tr> … … 44 44 <?php else: ?> 45 45 46 46 <div id="message" class="info"> 47 <p> You have no messages in your inbox.</p>47 <p><?php _e("You have no messages in your inbox.", "buddypress"); ?></p> 48 48 </div> 49 49 50 50 <?php endif;?> -
buddypress-theme/buddypress-member/messages/notices.php
7 7 <?php bp_messages_pagination() ?> 8 8 </div> 9 9 10 <h2> Sent Notices</h2>10 <h2><?php _e("Sent Notices", "buddypress"); ?></h2> 11 11 12 12 <?php do_action( 'template_notices' ) ?> 13 13 … … 24 24 </td> 25 25 <td width="27%"> 26 26 <p><?php bp_message_is_active_notice() ?></p> 27 <p class="date"> Sent:<?php bp_message_notice_post_date() ?></p>27 <p class="date"><?php _e("Sent:", "buddypress"); ?> <?php bp_message_notice_post_date() ?></p> 28 28 </td> 29 29 <td width="4%"> 30 30 <a href="<?php bp_message_activate_deactivate_link() ?>"><?php bp_message_activate_deactivate_text() ?></a> 31 <a href="<?php bp_message_notice_delete_link() ?>" title=" Delete Message">Delete</a>31 <a href="<?php bp_message_notice_delete_link() ?>" title="<?php _e("Delete Message", "buddypress"); ?>"><?php _e("Delete", "buddypress"); ?></a> 32 32 </td> 33 33 </tr> 34 34 <?php endwhile; ?> … … 37 37 <?php else: ?> 38 38 39 39 <div id="message" class="info"> 40 <p> You have not sent any notices.</p>40 <p><?php _e("You have not sent any notices.", "buddypress"); ?></p> 41 41 </div> 42 42 43 43 <?php endif;?> -
buddypress-theme/buddypress-member/messages/sentbox.php
6 6 <?php bp_messages_pagination() ?> 7 7 </div> 8 8 9 <h2> Sent Messages</h2>9 <h2><?php _e("Sent Messages", "buddypress"); ?></h2> 10 10 <?php do_action( 'template_notices' ) ?> 11 11 12 12 <?php if ( bp_has_message_threads() ) : ?> … … 18 18 </td> 19 19 <td width="1%"><?php bp_message_thread_avatar() ?></td> 20 20 <td width="27%"> 21 <p> To:<?php bp_message_thread_to() ?></p>21 <p><?php _e("To:", "buddypress"); ?> <?php bp_message_thread_to() ?></p> 22 22 <p class="date"><?php bp_message_thread_last_post_date() ?></p> 23 23 </td> 24 24 <td width="40%"> 25 <p><a href="<?php bp_message_thread_view_link() ?>" title=" View Message"><?php bp_message_thread_subject() ?></a></p>25 <p><a href="<?php bp_message_thread_view_link() ?>" title="<?php _e("View Message", "buddypress"); ?>"><?php bp_message_thread_subject() ?></a></p> 26 26 <p><?php bp_message_thread_excerpt() ?></p> 27 27 </td> 28 28 <td width="4%"> 29 <a href="<?php bp_message_thread_delete_link() ?>" title=" Delete Message">Delete</a>29 <a href="<?php bp_message_thread_delete_link() ?>" title="<?php _e("Delete Message", "buddypress"); ?>"><?php _e("Delete", "buddypress"); ?></a> 30 30 <input type="checkbox" name="" value="" /> 31 31 </td> 32 32 </tr> … … 36 36 <?php else: ?> 37 37 38 38 <div id="message" class="info"> 39 <p> You have no sent messages.</p>39 <p><?php _e("You have no sent messages.", "buddypress"); ?></p> 40 40 </div> 41 41 42 42 <?php endif;?>