Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added a missing string for translation

  • Loading branch information...
commit 1fd6bb5cf45badb7b895a7cb6347ca4232f80692 1 parent 84414e9
Laurent Dinclaux authored May 26, 2010

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. 7  sfc-publish.php
7  sfc-publish.php
@@ -63,10 +63,9 @@ function sfc_publish_auto_callback() {
63 63
 	if (!$options['autopublish_app']) $options['autopublish_app'] = false;
64 64
 	if (!$options['autopublish_profile']) $options['autopublish_profile'] = false;
65 65
 	?>
66  
-	<p><label>Automatically Publish to Facebook <?php
67  
-	if ($options['fanpage']) echo 'Fan Page';
68  
-	else echo 'Application'; 
69  
-	?>: <input type="checkbox" name="sfc_options[autopublish_app]" value="1" <?php checked('1', $options['autopublish_app']); ?> /></label> 
  66
+	<p><label><?php 
  67
+	echo sprintf( __('Automatically Publish to Facebook %s', 'sfc'), ($options['fanpage'] ? __('Fan Page', 'sfc') : __('Application', 'sfc')) );
  68
+	?>:  <input type="checkbox" name="sfc_options[autopublish_app]" value="1" <?php checked('1', $options['autopublish_app']); ?> /></label> 
70 69
 	<?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'); ?>
71 70
 	</p>
72 71
 	<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>

0 notes on commit 1fd6bb5

Please sign in to comment.
Something went wrong with that request. Please try again.