[dev] Gettext fix template/admin/user approve.inc removequeued.inc
Joel Vandal
jvandal at infoteck.qc.ca
Sat Jan 24 19:39:13 PST 2004
Fix some gettext issue for some horde/template/admin/user files
cvs server: Diffing .
Index: approve.inc
===================================================================
RCS file: /repository/horde/templates/admin/user/approve.inc,v
retrieving revision 1.3
diff -u -r1.3 approve.inc
--- approve.inc 29 Jul 2003 23:01:36 -0000 1.3
+++ approve.inc 25 Jan 2004 03:35:13 -0000
@@ -8,8 +8,8 @@
<tr class="item0">
<td></td>
<td></td>
- <td>Username</td>
- <td>Date Received</td>
+ <td><?php echo _("Username") ?></td>
+ <td><?php echo _("Date Received") ?></td>
</tr>
<?php
$allQueued = $signup->getQueuedSignups();
@@ -30,14 +30,14 @@
<form method="post" action="<?php echo Horde::selfURL() ?>">
<input type="hidden" name="user_name" value="<?php echo $signup->getName() ?>" />
<input type="hidden" name="form" value="approve_f" />
- <input type="submit" class="button" value="approve" />
+ <input type="submit" class="button" value="<?php echo _("Approve") ?>" />
</form>
</td>
<td>
<form method="post" action="<?php echo Horde::selfURL() ?>">
<input type="hidden" name="user_name" value="<?php echo $signup->getName() ?>" />
<input type="hidden" name="form" value="removequeued_f" />
- <input type="submit" class="button" value="remove" />
+ <input type="submit" class="button" value="<?php echo _("Remove") ?>" />
</form>
</td>
<td><?php echo $signup->getName() ?></a> </td>
Index: removequeued.inc
===================================================================
RCS file: /repository/horde/templates/admin/user/removequeued.inc,v
retrieving revision 1.1
diff -u -r1.1 removequeued.inc
--- removequeued.inc 29 Jul 2003 16:24:51 -0000 1.1
+++ removequeued.inc 25 Jan 2004 03:35:13 -0000
@@ -6,14 +6,13 @@
</tr>
<tr>
<td align="left" class="control">
- Are you sure you want to remove the signup request for
- <?php echo $f_user_name ?>?
+ <?php printf(_("Are you sure you want to remove the signup request for %s ?"), $f_user_name) ?>
<form method="post" action="<?php echo Horde::selfURL() ?>">
<input type="hidden" name="form" value="removequeued" />
<input type="hidden" name="user_name" value="<?php echo $f_user_name ?>" />
- <input class="button" type="submit" value="Remove" />
+ <input class="button" type="submit" value="<?php echo _("Remove") ?>" />
</form>
</td>
</tr>
--
Joel Vandal Infoteck Internet
http://www.infoteck.qc.ca Tel. 819-370-3232
jvandal at infoteck.qc.ca Fax. 819-370-3624
More information about the dev
mailing list