moving to new translation system

This commit is contained in:
seek3r 2000-09-07 22:47:52 +00:00
parent f707cb44b1
commit 59347a7bf0
2 changed files with 27 additions and 27 deletions

View File

@ -110,12 +110,12 @@
<table width="75%" border="0" align="center"> <table width="75%" border="0" align="center">
<tr> <tr>
<td><font color="#000000" face="" size="-1"><?php echo lang_common("Last Name"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Last Name"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $lastname; ?> <?php echo $lastname; ?>
</font></td> </font></td>
<td><font color="#000000" face="" size="-1"><?php echo lang_common("First Name"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("First Name"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $firstname; ?> <?php echo $firstname; ?>
@ -123,14 +123,14 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<font color="#000000" face="" size="-1"><?php echo lang_common("E-mail"); ?>:</font> <font color="#000000" face="" size="-1"><?php echo lang("E-mail"); ?>:</font>
</td> </td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $email; ?> <?php echo $email; ?>
</font></td> </font></td>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Company Name"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Company Name"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $company; ?> <?php echo $company; ?>
@ -138,55 +138,55 @@
<td><font size="-1"></font></td> <td><font size="-1"></font></td>
</tr> </tr>
<tr> <tr>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Home Phone"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Home Phone"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $hphone; ?> <?php echo $hphone; ?>
</font></td> </font></td>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Fax"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Fax"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $fax; ?> <?php echo $fax; ?>
</font></td> </font></td>
</tr> </tr>
<tr> <tr>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Work Phone"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Work Phone"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $wphone; ?> <?php echo $wphone; ?>
</font></td> </font></td>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Pager"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Pager"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $pager; ?> <?php echo $pager; ?>
</font></td> </font></td>
</tr> </tr>
<tr> <tr>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("Mobile"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("Mobile"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $mphone; ?> <?php echo $mphone; ?>
</font></td> </font></td>
<td><font face="" size="-1" color="#000000"><?php echo lang_addressbook("Other number"); ?>:</font></td> <td><font face="" size="-1" color="#000000"><?php echo lang("Other number"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $ophone; ?> <?php echo $ophone; ?>
</font></td> </font></td>
</tr> </tr>
<tr> <tr>
<td><font face="" size="-1"><?php echo lang_addressbook("Street"); ?>:</font></td> <td><font face="" size="-1"><?php echo lang("Street"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $street; ?> <?php echo $street; ?>
</font></td> </font></td>
<td><font face="" size="-1"><?php echo lang_addressbook("Birthday"); ?>:</font></td> <td><font face="" size="-1"><?php echo lang("Birthday"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $bday; ?> <?php echo $bday; ?>
</font> </td> </font> </td>
</tr> </tr>
<tr> <tr>
<td><font face="" size="-1"><?php echo lang_addressbook("City"); ?>:</font></td> <td><font face="" size="-1"><?php echo lang("City"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $city; ?> <?php echo $city; ?>
@ -195,7 +195,7 @@
<td><font size="-1"></font></td> <td><font size="-1"></font></td>
</tr> </tr>
<tr> <tr>
<td><font color="#000000" face="" size="-1"><?php echo lang_addressbook("State"); ?>:</font></td> <td><font color="#000000" face="" size="-1"><?php echo lang("State"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $state; ?> <?php echo $state; ?>
@ -204,7 +204,7 @@
<td><font size="-1"></font></td> <td><font size="-1"></font></td>
</tr> </tr>
<tr> <tr>
<td><font face="" size="-1"><?php echo lang_addressbook("ZIP Code"); ?>:</font></td> <td><font face="" size="-1"><?php echo lang("ZIP Code"); ?>:</font></td>
<td> <td>
<font size="-1"> <font size="-1">
<?php echo $zip; ?> <?php echo $zip; ?>
@ -220,35 +220,35 @@
<?php <?php
if ($format == "view") { if ($format == "view") {
if ($access != "private" && $access != "public") { if ($access != "private" && $access != "public") {
echo "<td><font size=\"-1\">" . lang_common("Group access") . ":</font></td>" echo "<td><font size=\"-1\">" . lang("Group access") . ":</font></td>"
. "<td colspan=\"3\"><font size=\"-1\">" . "<td colspan=\"3\"><font size=\"-1\">"
. $phpgw->accounts->convert_string_to_names($access); . $phpgw->accounts->convert_string_to_names($access);
} else { } else {
echo "<td><font size=\"-1\">" . lang_common("access") . ":</font></td>" echo "<td><font size=\"-1\">" . lang("access") . ":</font></td>"
. "<td colspan=\"3\"><font size=\"-1\">" . "<td colspan=\"3\"><font size=\"-1\">"
. $access; . $access;
} }
} else { } else {
?> ?>
<td><font size="-1"><?php echo lang_common("Access"); ?>:</font></td> <td><font size="-1"><?php echo lang("Access"); ?>:</font></td>
<td colspan="3"> <td colspan="3">
<font size="-1"> <font size="-1">
<select name="access"> <select name="access">
<option value="private"<?php <option value="private"<?php
if ($access == "private") echo " selected"; ?>><?php echo lang_common("private"); ?></option> if ($access == "private") echo " selected"; ?>><?php echo lang("private"); ?></option>
<option value="public"<?php <option value="public"<?php
if ($access == "public") echo " selected"; ?>><?php echo lang_common("Global Public"); ?></option> if ($access == "public") echo " selected"; ?>><?php echo lang("Global Public"); ?></option>
<option value="group"<?php <option value="group"<?php
if ($access != "public" && $access != "private" && $access != "") if ($access != "public" && $access != "private" && $access != "")
echo " selected"; echo " selected";
echo ">" . lang_common("Group Public") . "</option></select>"; echo ">" . lang("Group Public") . "</option></select>";
} }
?> ?>
</tr> </tr>
<?php <?php
if ($format != "view") { if ($format != "view") {
echo "<tr><td><font size=\"-1\">" . lang_common("Which groups") echo "<tr><td><font size=\"-1\">" . lang("Which groups")
. ":</font></td><td colspan=\"3\"><select name=\"n_groups[]\" " . ":</font></td><td colspan=\"3\"><select name=\"n_groups[]\" "
. "multiple size=\"5\">"; . "multiple size=\"5\">";
@ -264,7 +264,7 @@
} }
if ($format == "view") if ($format == "view")
echo "<tr><td><font size=\"-1\">" . lang_common("Created by") . ":</font></td>" echo "<tr><td><font size=\"-1\">" . lang("Created by") . ":</font></td>"
. "<td colspan=\"3\"><font size=\"-1\">" . "<td colspan=\"3\"><font size=\"-1\">"
. grab_owner_name($fields[owner]); . grab_owner_name($fields[owner]);
@ -272,7 +272,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td><font size="-1"><?php echo lang_addressbook("Notes"); ?>: <td><font size="-1"><?php echo lang("Notes"); ?>:
</font></td> </font></td>
<td colspan="3"> <td colspan="3">

View File

@ -102,13 +102,13 @@
$t->set_var("search_value",$query); $t->set_var("search_value",$query);
$t->set_var("search",lang("search")); $t->set_var("search",lang("search"));
$t->set_var("next",lang_nntp("next")); $t->set_var("next",lang("next"));
$t->set_var("nml",$phpgw->nextmatchs->left($urlname,$start,$tg, $t->set_var("nml",$phpgw->nextmatchs->left($urlname,$start,$tg,
"&tg=$tg&sort=$sort&order=$order")); "&tg=$tg&sort=$sort&order=$order"));
$t->set_var("nmr",$phpgw->nextmatchs->right($urlname,$start,$tg, $t->set_var("nmr",$phpgw->nextmatchs->right($urlname,$start,$tg,
"&tg=$tg&sort=$sort&order=$order")); "&tg=$tg&sort=$sort&order=$order"));
$t->set_var("title",lang_nntp("Newsgroups")); $t->set_var("title",lang("Newsgroups"));
$t->set_var("action_url",$phpgw->link($urlname)); $t->set_var("action_url",$phpgw->link($urlname));
$t->set_var("common_hidden_vars",$common_hidden_vars); $t->set_var("common_hidden_vars",$common_hidden_vars);
$t->set_var("th_bg",$phpgw_info["theme"]["th_bg"]); $t->set_var("th_bg",$phpgw_info["theme"]["th_bg"]);
@ -168,7 +168,7 @@
if ($i+1 <> $totaltodisplay) if ($i+1 <> $totaltodisplay)
$t->parse("output","nntp_list",True); $t->parse("output","nntp_list",True);
} }
$t->set_var("lang_update",lang_nntp("update")); $t->set_var("lang_update",lang("update"));
$t->set_var("checkmark",$phpgw_info["server"]["webserver_url"]."/email/images/check.gif"); $t->set_var("checkmark",$phpgw_info["server"]["webserver_url"]."/email/images/check.gif");
$t->pparse("out","nntp_footer"); $t->pparse("out","nntp_footer");