[dev] Small CSV/TSV cleanup
John Morrissey
jwm at horde.net
Thu Jun 26 17:32:41 PDT 2003
The attached patch improves the wording in the CSV/TSV import pages and
makes them consistent.
john
--
John Morrissey _o /\ ---- __o
jwm at horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
-------------- next part --------------
Index: templates/data/csvinfo.inc
===================================================================
RCS file: /repository/horde/templates/data/csvinfo.inc,v
retrieving revision 1.4
diff -u -r1.4 csvinfo.inc
--- templates/data/csvinfo.inc 3 Jan 2003 17:03:10 -0000 1.4
+++ templates/data/csvinfo.inc 27 Jun 2003 00:31:41 -0000
@@ -14,9 +14,9 @@
<tr>
<td class="item">
<table border="0"><tr><td>
- <?php echo _("These are the first 100 characters of the first two lines of the imported file:") ?><br />
+ <?php echo _("Here is the beginning of the file:") ?><br />
<pre><?php echo htmlspecialchars($_SESSION['import_data']['first_lines']) ?></pre>
- <label for="header"><?php echo _("Does the first row contain the field names? Check if yes, leave unchecked if no.") ?></label>
+ <label for="header"><?php echo _("Does the first row contain the field names? If yes, check this box:") ?></label>
<input id="header" type="checkbox" name="header" value="1" /><br />
<?php echo _("What is the delimiter character?") ?>
<input type="text" name="sep" size="1" value="<?php echo htmlspecialchars($_SESSION['import_data']['sep']) ?>" /><br />
Index: templates/data/tsvinfo.inc
===================================================================
RCS file: /repository/horde/templates/data/tsvinfo.inc,v
retrieving revision 1.1
diff -u -r1.1 tsvinfo.inc
--- templates/data/tsvinfo.inc 23 Nov 2002 02:36:43 -0000 1.1
+++ templates/data/tsvinfo.inc 27 Jun 2003 00:31:41 -0000
@@ -14,10 +14,10 @@
<tr>
<td class="item">
<table border="0"><tr><td>
- <?php echo _("These are the first 100 characters of the first two lines of the imported file:") ?><br />
+ <?php echo _("Here is the beginning of the file:") ?><br />
<pre><?php echo htmlspecialchars($_SESSION['import_data']['first_lines']) ?></pre>
- <input type="checkbox" name="header" value="1" />
- <?php echo _("Does the first row contain the field names?") ?><br />
+ <label for="header"><?php echo _("Does the first row contain the field names? If yes, check this box:") ?></label>
+ <input id="header" type="checkbox" name="header" value="1" /><br />
<br />
<input type="submit" value="<?php echo _("Next") ?>" class="button" />
</td></tr></table>
More information about the dev
mailing list