Skip to content

Commit

Permalink
updating all gettext functions to have bfox domain
Browse files Browse the repository at this point in the history
  • Loading branch information
rvenable committed Jan 30, 2011
1 parent fd9de6f commit d2bf35b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion trunk/biblefox-blog/biblefox-blog.php
Expand Up @@ -29,7 +29,7 @@ function bfox_blog_add_ajax_url_js() {
add_action('init', 'bfox_blog_init');

function bfox_blog_add_menu() {
add_meta_box('bible-quick-view-div', __('Biblefox Bible'), 'bfox_blog_quick_view_meta_box', 'post', 'normal', 'core');
add_meta_box('bible-quick-view-div', __('Biblefox Bible', 'bfox'), 'bfox_blog_quick_view_meta_box', 'post', 'normal', 'core');
}
add_action('admin_menu', 'bfox_blog_add_menu');

Expand Down
2 changes: 1 addition & 1 deletion trunk/biblefox-blog/ms-admin.php
Expand Up @@ -49,7 +49,7 @@ function bfox_ms_admin_page_save() {
*/
// If no settings errors were registered add a general 'updated' message.
if ( !count( get_settings_errors() ) )
add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');
add_settings_error('general', 'settings_updated', __('Settings saved.', 'bfox'), 'updated');
set_transient('settings_errors', get_settings_errors(), 30);

/**
Expand Down
4 changes: 2 additions & 2 deletions trunk/biblefox-blog/posts.php
Expand Up @@ -256,7 +256,7 @@ function bfox_blog_quick_view_meta_box() {
<h4>Quick Scripture Viewer</h4>
<input type="text" name="new-bible-ref" id="new-bible-ref" size="16" value="" />
<input type="button" class="button" id="view-bible-ref" value="View Scripture" tabindex="3" />
<span class="howto"><?php _e('Type a bible reference (ie. "gen 1")'); ?></span>
<span class="howto"><?php _e('Type a bible reference (ie. "gen 1")', 'bfox'); ?></span>
<br/>
</div>

Expand Down Expand Up @@ -406,7 +406,7 @@ function bfox_blog_admin_post_warnings() {
if (!$date_finished) {
function bfox_blog_admin_post_warning() {
echo "
<div id='bfox-blog-post-warning' class='updated fade'><p><strong>".__('Biblefox is almost ready.')."</strong> ".sprintf(__('You must <a href="%1$s">refresh your Bible reference index</a>.'), bfox_blog_admin_post_refresh_url(is_multisite(), false))."</p></div>
<div id='bfox-blog-post-warning' class='updated fade'><p><strong>".__('Biblefox is almost ready.', 'bfox')."</strong> ".sprintf(__('You must <a href="%1$s">refresh your Bible reference index</a>.', 'bfox'), bfox_blog_admin_post_refresh_url(is_multisite(), false))."</p></div>
";
}
add_action('admin_notices', 'bfox_blog_admin_post_warning');
Expand Down
2 changes: 1 addition & 1 deletion trunk/biblefox-bp/activity.php
Expand Up @@ -262,7 +262,7 @@ function bfox_bp_admin_activity_warnings() {
if (!$date_finished) {
function bfox_bp_admin_activity_warning() {
echo "
<div id='bfox-blog-activity-warning' class='updated fade'><p><strong>".__('Biblefox is almost ready.')."</strong> ".sprintf(__('You must <a href="%1$s">refresh your BuddyPress Bible index</a>.'), bfox_bp_admin_activity_refresh_url())."</p></div>
<div id='bfox-blog-activity-warning' class='updated fade'><p><strong>".__('Biblefox is almost ready.', 'bfox')."</strong> ".sprintf(__('You must <a href="%1$s">refresh your BuddyPress Bible index</a>.', 'bfox'), bfox_bp_admin_activity_refresh_url())."</p></div>
";
}
add_action('admin_notices', 'bfox_bp_admin_activity_warning');
Expand Down
1 change: 1 addition & 0 deletions trunk/biblefox.php → trunk/biblefox-for-wordpress.php
Expand Up @@ -10,6 +10,7 @@
Requires at least: WP 3.0, BuddyPress 1.2
Tested up to: WP 3.0, BuddyPress 1.2.4.1
Network: true
Text Domain: bfox
*************************************************************************/

/*************************************************************************
Expand Down
12 changes: 6 additions & 6 deletions trunk/tooltip.php
Expand Up @@ -8,22 +8,22 @@
?>

<div class="bfox-tooltip-posts">
<div><?php echo $ref_str . __(' blog posts', 'biblefox-blog') ?></div>
<div><?php echo $ref_str . __(' blog posts', 'bfox') ?></div>
<ul>
<?php while($count < 10 && $query->have_posts()): $count++; $query->the_post() ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
<?php endwhile ?>
<?php if (0 == $count): ?>
<li><?php _e('No blog posts', 'biblefox-blog') ?></li>
<li><?php _e('No blog posts', 'bfox') ?></li>
<?php endif ?>
</ul>
<div><?php echo $ref_str . __(' links', 'biblefox-blog') ?></div>
<div><?php echo $ref_str . __(' links', 'bfox') ?></div>
<ul>
<li><?php echo bfox_ref_bible_link(array('ref_str' => $ref_str, 'text' => __('Bible Reader', 'biblefox-blog'), 'disable_tooltip' => true)) ?></li>
<li><?php echo bfox_ref_blog_link(array('ref_str' => $ref_str, 'text' => __('Post Archive', 'biblefox-blog'), 'disable_tooltip' => true)) ?></li>
<li><?php echo bfox_ref_bible_link(array('ref_str' => $ref_str, 'text' => __('Bible Reader', 'bfox'), 'disable_tooltip' => true)) ?></li>
<li><?php echo bfox_ref_blog_link(array('ref_str' => $ref_str, 'text' => __('Post Archive', 'bfox'), 'disable_tooltip' => true)) ?></li>

<?php if (current_user_can('edit_posts')): ?>
<li><?php echo bfox_blog_ref_write_link($ref_str, __('Write a post', 'biblefox-blog')) ?></li>
<li><?php echo bfox_blog_ref_write_link($ref_str, __('Write a post', 'bfox')) ?></li>
<?php endif ?>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions trunk/translations.php
Expand Up @@ -165,14 +165,14 @@ function bfox_translation_settings() {
<th scope="row"><label for="long-name"><?php _e('Translation Name', 'bfox') ?></label></th>
<td>
<input type="text" name="long-name" id="long-name" value="<?php echo $trans->long_name ?>" size="40" /><br/>
<span class="description"><?php _e('ie. King James Version')?></span>
<span class="description"><?php _e('ie. King James Version', 'bfox')?></span>
</td>
</tr>
<tr valign="top">
<th scope="row"><label for="short-name"><?php _e('Translation Abbreviation', 'bfox') ?></label></th>
<td>
<input type="text" name="short-name" id="short-name" value="<?php echo $trans->short_name ?>" maxlength="5" size="5" /><br/>
<span class="description"><?php _e('ie. KJV')?></span>
<span class="description"><?php _e('ie. KJV', 'bfox')?></span>
</td>
</tr>
<tr valign="top">
Expand Down

0 comments on commit d2bf35b

Please sign in to comment.