Skip to content

Instantly share code, notes, and snippets.

@steamraven
Created June 15, 2011 17:59
Show Gist options
  • Save steamraven/1027678 to your computer and use it in GitHub Desktop.
Save steamraven/1027678 to your computer and use it in GitHub Desktop.
FileZ: Internationalization of standalone file email form
diff --git a/app/views/file/email.php b/app/views/file/email.php
index a4c6396..b5a162d 100644
--- a/app/views/file/email.php
+++ b/app/views/file/email.php
@@ -1,4 +1,4 @@
-<h2>Envoyer le fichier par email <span class="filename">(<?php echo h($file->file_name) ?>)</span></h2>
+<h2><?php echo __("Send via email:") ?> <span class="filename">(<?php echo h($file->file_name) ?>)</span></h2>
<?php echo partial ('file/_mailForm.php', array ('file' => $file)) ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment