Skip to content

Commit

Permalink
Added a missing string for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
loxK committed May 26, 2010
1 parent 84414e9 commit 1fd6bb5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sfc-publish.php
Expand Up @@ -63,10 +63,9 @@ function sfc_publish_auto_callback() {
if (!$options['autopublish_app']) $options['autopublish_app'] = false;
if (!$options['autopublish_profile']) $options['autopublish_profile'] = false;
?>
<p><label>Automatically Publish to Facebook <?php
if ($options['fanpage']) echo 'Fan Page';
else echo 'Application';
?>: <input type="checkbox" name="sfc_options[autopublish_app]" value="1" <?php checked('1', $options['autopublish_app']); ?> /></label>
<p><label><?php
echo sprintf( __('Automatically Publish to Facebook %s', 'sfc'), ($options['fanpage'] ? __('Fan Page', 'sfc') : __('Application', 'sfc')) );
?>: <input type="checkbox" name="sfc_options[autopublish_app]" value="1" <?php checked('1', $options['autopublish_app']); ?> /></label>
<?php if (!$options['fanpage']) _e('(Note: This does not work due to a <a href="http://bugs.developers.facebook.com/show_bug.cgi?id=8184">Facebook bug</a>.)', 'sfc'); ?>
</p>
<p><label><?php _e('Automatically Publish to Facebook Profile:', 'sfc'); ?> <input type="checkbox" name="sfc_options[autopublish_profile]" value="1" <?php checked('1', $options['autopublish_profile']); ?> /></label></p>
Expand Down

0 comments on commit 1fd6bb5

Please sign in to comment.