Index: gp-templates/project-edit.php
===================================================================
--- gp-templates/project-edit.php	(révision 398)
+++ gp-templates/project-edit.php	(copie de travail)
@@ -8,6 +8,6 @@
 <h2><?php _e( sprintf( __('Edit project <q>%s</q>'), esc_html( $project->name ) ) ); ?></h2>
 <form action="" method="post">
 <?php gp_tmpl_load( 'project-form', get_defined_vars()); ?>
-	<p><input type="submit" name="submit" value="<?php echo esc_attr( __('Save') ); ?>" id="submit" /></p>
+	<p><input type="submit" name="submit" value="<?php esc_attr_e( __('Save') ); ?>" id="submit" /></p>
 </form>
 <?php gp_tmpl_footer();
\ No newline at end of file
Index: gp-templates/project-new.php
===================================================================
--- gp-templates/project-new.php	(révision 398)
+++ gp-templates/project-new.php	(copie de travail)
@@ -8,6 +8,6 @@
 <h2><?php _e( 'Create New Project' ); ?></h2>
 <form action="" method="post">
 <?php gp_tmpl_load( 'project-form', get_defined_vars()); ?>
-	<p><input type="submit" name="submit" value="<?php echo esc_attr( __('Create') ); ?>" id="submit" /></p>
+	<p><input type="submit" name="submit" value="<?php esc_attr_e( __('Create') ); ?>" id="submit" /></p>
 </form>
 <?php gp_tmpl_footer();
\ No newline at end of file
Index: gp-templates/translation-set-permissions.php
===================================================================
--- gp-templates/translation-set-permissions.php	(révision 398)
+++ gp-templates/translation-set-permissions.php	(copie de travail)
@@ -31,7 +31,7 @@
 		<input type="text" name="user_login" value="" id="user_login" />
 	</p>
 	<p>
-		<input type="submit" name="submit" value="<?php echo esc_attr(__('Add &rarr;')); ?>" id="submit" />
+		<input type="submit" name="submit" value="<?php esc_attr_e(__('Add &rarr;')); ?>" id="submit" />
 	</p>
 	
 	<input type="hidden" name="action" value="add-approver" />
Index: gp-templates/translation-row.php
===================================================================
--- gp-templates/translation-row.php	(révision 398)
+++ gp-templates/translation-row.php	(copie de travail)
@@ -11,9 +11,9 @@
 ?>
 <tr class="preview <?php echo $parity().' '.$status_class.' '.$warning_class.' '.$priority_class ?>" id="preview-<?php echo $t->row_id ?>" row="<?php echo $t->row_id; ?>">
 	<td class="checkbox"><input type="checkbox" name="selected-row[]" /></td>
-	<!--<td class="priority" style="background-color: <?php echo $priority_char[$t->priority][1] ?>; color: <?php echo $priority_char[$t->priority][2] ?>; text-align: center; font-size: 1.2em;" title="<?php echo esc_attr('Priority: '.gp_array_get( GP::$original->get_static( 'priorities' ), $t->priority )); ?>">
+	<!--<td class="priority" style="background-color: <?php echo $priority_char[$t->priority][1] ?>; color: <?php echo $priority_char[$t->priority][2] ?>; text-align: center; font-size: 1.2em;" title="<?php esc_attr_e('Priority: '.gp_array_get( GP::$original->get_static( 'priorities' ), $t->priority )); ?>">
 	-->
-	<td class="priority" title="<?php echo esc_attr('Priority: '.gp_array_get( GP::$original->get_static( 'priorities' ), $t->priority )); ?>">
+	<td class="priority" title="<?php esc_attr_e('Priority: '.gp_array_get( GP::$original->get_static( 'priorities' ), $t->priority )); ?>">
 	   <?php echo $priority_char[$t->priority][0] ?>
 	</td>
 	<td class="original">
Index: gp-templates/project.php
===================================================================
--- gp-templates/project.php	(révision 398)
+++ gp-templates/project.php	(copie de travail)
@@ -59,9 +59,9 @@
 			</dd>
 		</dl>
 		<p>
-			<input type="submit" name="submit" value="<?php echo esc_attr(__('Save &rarr;')); ?>" id="save" />
+			<input type="submit" name="submit" value="<?php esc_attr_e(__('Save &rarr;')); ?>" id="save" />
 			<a class="ternary" href="#" onclick="jQuery('#personal-options-toggle').click();return false;"><?php _e('Cancel'); ?></a>
-		</p>		
+		</p>
 		</form>
 	</div>
 	</div>
@@ -74,7 +74,7 @@
 	</p>
 <?php endif; ?>
 <script type="text/javascript" charset="utf-8">
-	$gp.showhide('a.personal-options', 'Personal project options &darr;', 'Personal project options &uarr;', 'div.personal-options', '#source-url-template');
+	$gp.showhide('a.personal-options', '<?php echo js_escape(__('Personal project options &darr;')); ?>', '<?php echo js_escape(__('Personal project options &uarr;')); ?>', 'div.personal-options', '#source-url-template');
 	$('div.personal-options').hide();
 </script>
 <?php gp_tmpl_footer();
\ No newline at end of file
Index: gp-templates/login.php
===================================================================
--- gp-templates/login.php	(révision 398)
+++ gp-templates/login.php	(copie de travail)
@@ -15,7 +15,7 @@
 		
 		<dd><input type="submit" name="submit" value="<?php _e('Login'); ?>" id="submit"></dd>
 	</dl>
-	<input type="hidden" value="<?php echo esc_attr( gp_get( 'redirect_to' ) ); ?>" id="redirect_to" name="redirect_to" />	
+	<input type="hidden" value="<?php esc_attr_e( gp_get( 'redirect_to' ) ); ?>" id="redirect_to" name="redirect_to" />	
 </form>
 <script type="text/javascript" charset="utf-8">
 	document.getElementById('user_login').focus();
Index: gp-templates/translation-set-new.php
===================================================================
--- gp-templates/translation-set-new.php	(révision 398)
+++ gp-templates/translation-set-new.php	(copie de travail)
@@ -8,6 +8,6 @@
 <h2><?php _e( 'Create New Translation Set' ); ?></h2>
 <form action="" method="post">
 <?php gp_tmpl_load( 'translation-set-form', get_defined_vars()); ?>
-	<p><input type="submit" name="submit" value="<?php echo esc_attr( __('Create') ); ?>" id="submit" /></p>
+	<p><input type="submit" name="submit" value="<?php esc_attr_e( __('Create') ); ?>" id="submit" /></p>
 </form>
 <?php gp_tmpl_footer();
\ No newline at end of file
Index: gp-templates/project-import.php
===================================================================
--- gp-templates/project-import.php	(révision 398)
+++ gp-templates/project-import.php	(copie de travail)
@@ -10,12 +10,12 @@
 ?>
 <form action="" method="post" enctype="multipart/form-data">
 	<p>
-		<label for="mo-file"><?php echo __('MO file'); ?></label><input type="file" name="mo-file" id="mo-file" />
+		<label for="mo-file"><?php _e('MO file'); ?></label><input type="file" name="mo-file" id="mo-file" />
 	</p>
 	<p>
-		<label for="pot-file"><?php echo __('PO/POT file'); ?></label><input type="file" name="pot-file" id="pot-file" />
+		<label for="pot-file"><?php _e('PO/POT file'); ?></label><input type="file" name="pot-file" id="pot-file" />
 	</p>
 
-	<p><input type="submit" value="<?php echo esc_attr( __('Import') ); ?>"></p>
+	<p><input type="submit" value="<?php esc_attr_e( __('Import') ); ?>"></p>
 </form>
 <?php gp_tmpl_footer(); ?>
\ No newline at end of file
Index: gp-templates/translations.php
===================================================================
--- gp-templates/translations.php	(révision 398)
+++ gp-templates/translations.php	(copie de travail)
@@ -65,7 +65,7 @@
 			?>
 		</dd>
 		
-		<dd><input type="submit" value="<?php echo esc_attr(__('Filter')); ?>" name="filter" /></dd>
+		<dd><input type="submit" value="<?php esc_attr_e(__('Filter')); ?>" name="filter" /></dd>
 	</dl>
 	<dl class="filters-expanded sort hidden clearfix">
 		<dt><?php _e('By:'); ?></dt>
@@ -91,7 +91,7 @@
 			), gp_array_get( $sort, 'how', 'desc' ) );
 		?>
 		</dd>
-		<dd><input type="submit" value="<?php echo esc_attr(__('Sort')); ?>" name="sorts" /></dd>
+		<dd><input type="submit" value="<?php esc_attr_e(__('Sort')); ?>" name="sorts" /></dd>
 	</dl>
 	<dl class="hidden bulk-actions filters-expanded clearfix">
 		<dt class="select"><?php _e('Select:'); ?></dt>
@@ -118,9 +118,9 @@
 			?>
 		</dd>
 		<dd>
-			<input type="hidden" name="bulk[redirect_to]" value="<?php echo esc_attr(gp_url_current()); ?>" id="bulk[redirect_to]">
+			<input type="hidden" name="bulk[redirect_to]" value="<?php esc_attr_e(gp_url_current()); ?>" id="bulk[redirect_to]">
 			<input type="hidden" name="bulk[translation-ids]" value="" id="bulk[translation-ids]">
-			<input type="submit" value="<?php echo esc_attr(__('Approve/Reject')); ?>" name="approve" />
+			<input type="submit" value="<?php esc_attr_e(__('Approve/Reject')); ?>" name="approve" />
 			<p class="ternary"><?php _e('<strong>Note:</strong>&nbsp;Bulk edit works only on the current page.'); ?></p>
 		</dd>
 	</dl>
Index: gp-templates/header.php
===================================================================
--- gp-templates/header.php	(révision 398)
+++ gp-templates/header.php	(copie de travail)
@@ -14,7 +14,7 @@
 	    <div id="gp-js-message"></div>
 		<h1>
 			<a href="<?php echo gp_url( '/' ); ?>">
-				<img alt="<?php esc_attr(__('GlotPress logo')); ?>" src="<?php echo gp_url_img( 'glotpress-logo.png' ); ?>" />
+				<img alt="<?php esc_attr_e(__('GlotPress logo')); ?>" src="<?php echo gp_url_img( 'glotpress-logo.png' ); ?>" />
 			</a>
 			
 			<?php echo gp_breadcrumb(); ?>
Index: gp-config-sample.php
===================================================================
--- gp-config-sample.php	(révision 398)
+++ gp-config-sample.php	(copie de travail)
@@ -36,7 +36,7 @@
 /**
  * GlotPress Localized Language, defaults to English.
  *
- * Change this to localize WordPress.  A corresponding MO file for the chosen
+ * Change this to localize GlotPress. A corresponding MO file for the chosen
  * language must be installed to languages/. For example, install
  * fr_FR.mo to languages/ and set GP_LANG to 'fr_FR' to enable French
  * language support.

