diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-14 13:48:28 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-14 13:48:28 -0300 |
commit | 499c22cdccaeb46d565d345c403f3c705901be75 (patch) | |
tree | 9fc834efea986256ac0dcc1ce3f5e47b1cd3b097 /usr/local/www/interfaces_ppps_edit.php | |
parent | cfb9eb9f276e5b1633b622f7a52ff1ad1061d7f4 (diff) | |
download | pfsense-499c22cdccaeb46d565d345c403f3c705901be75.zip pfsense-499c22cdccaeb46d565d345c403f3c705901be75.tar.gz |
Checked gettext() implementation on interfaces_ppps_edit.php
Diffstat (limited to 'usr/local/www/interfaces_ppps_edit.php')
-rw-r--r-- | usr/local/www/interfaces_ppps_edit.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php index ea44b46..b889bc6 100644 --- a/usr/local/www/interfaces_ppps_edit.php +++ b/usr/local/www/interfaces_ppps_edit.php @@ -558,8 +558,8 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <td width="22%" valign="top" class="vncell"><?= gettext("Init String"); ?></td> <td width="78%" class="vtable"> <input type="text" size="40" class="formfld unknown" id="initstr" name="initstr" value="<?=htmlspecialchars($pconfig['initstr']);?>"> - <br/><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\" - string at the beginning of the command. Many modern USB 3G modems don't need an initialization string."); ?></span> + <br/><span class="vexpl"><?= gettext("Note: Enter the modem initialization string here. Do NOT include the \"AT\"" . + "string at the beginning of the command. Many modern USB 3G modems don't need an initialization string."); ?></span> </td> </tr> <tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> @@ -674,8 +674,8 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <td valign="top" class="vncell"><?= gettext("Dial On Demand"); ?></td> <td class="vtable"> <input type="checkbox" value="on" id="ondemand" name="ondemand" <?php if (isset($pconfig['ondemand'])) echo "checked"; ?>> <?= gettext("Enable Dial-on-Demand mode"); ?> - <br/> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. - The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected."); ?> </span> + <br/> <span class="vexpl"><?= gettext("This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. " . + "The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected."); ?> </span> </td> </tr> <tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> @@ -690,9 +690,9 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <td width="22%" valign="top" class="vncell"><?= gettext("Compression"); ?></td> <td width="78%" class="vtable"> <input type="checkbox" value="on" id="vjcomp" name="vjcomp" <?php if (isset($pconfig['vjcomp'])) echo "checked"; ?>> <?= gettext("Disable vjcomp(compression) (auto-negotiated by default)."); ?> - <br/> <span class="vexpl"><?=gettext("This option enables Van Jacobson TCP header compression, which saves several bytes per TCP data packet. - You almost always want this option. This compression ineffective for TCP connections with enabled modern extensions like time - stamping or SACK, which modify TCP options between sequential packets.");?></span> + <br/> <span class="vexpl"><?=gettext("This option enables Van Jacobson TCP header compression, which saves several bytes per TCP data packet. " . + "You almost always want this option. This compression ineffective for TCP connections with enabled modern extensions like time " . + "stamping or SACK, which modify TCP options between sequential packets.");?></span> </td> </tr> <tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> @@ -710,19 +710,19 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <td width="22%" valign="top" class="vncell"><?=gettext("ShortSeq");?></td> <td width="78%" class="vtable"> <input type="checkbox" value="on" id="shortseq" name="shortseq" <?php if (isset($pconfig['shortseq'])) echo "checked"; ?>> <?= gettext("Disable shortseq (auto-negotiated by default)."); ?> - <br/> <span class="vexpl"><?= gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. - It is not necessary to disable this for connections that are not multi-link."); ?></span> + <br/> <span class="vexpl"><?= gettext("This option is only meaningful if multi-link PPP is negotiated. It proscribes shorter multi-link fragment headers, saving two bytes on every frame. " . + "It is not necessary to disable this for connections that are not multi-link."); ?></span> </td> </tr> <tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> - <td width="22%" valign="top" class="vncell">ACFComp</td> + <td width="22%" valign="top" class="vncell"><?=gettext("ACFComp"); ?></td> <td width="78%" class="vtable"> <input type="checkbox" value="on" id="acfcomp" name="acfcomp" <?php if (isset($pconfig['acfcomp'])) echo "checked"; ?>> <?= gettext("Disable acfcomp(compression) (auto-negotiated by default)."); ?> <br/> <span class="vexpl"><?= gettext("Address and control field compression. This option only applies to asynchronous link types. It saves two bytes per frame."); ?></span> </td> </tr> <tr style="display:none" id="advanced_<?=$k;?>" name="advanced_<?=$k;$k++;?>"> - <td width="22%" valign="top" class="vncell">ProtoComp</td> + <td width="22%" valign="top" class="vncell"><?=gettext("ProtoComp"); ?></td> <td width="78%" class="vtable"> <input type="checkbox" value="on" id="protocomp" name="protocomp" <?php if (isset($pconfig['protocomp'])) echo "checked"; ?>> <?= gettext("Disable protocomp(compression) (auto-negotiated by default)."); ?> <br/> <span class="vexpl"><?= gettext("Protocol field compression. This option saves one byte per frame for most frames."); ?></span> @@ -731,7 +731,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <tr id="advanced_" name="advanced_"> <td> </td> <td> - <p><input type="button" onClick="show_advanced(1)" value="Show advanced options"></p> + <p><input type="button" onClick="show_advanced(1)" value="<?=gettext("Show advanced options"); ?>"></p> </td> <td style="display:none" id="adv_rows" name="adv_rows"><?=$k;?></td> <td style="display:none" id="adv_show" name="adv_show">0</td> @@ -739,25 +739,25 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <tr> <?php for($i=0; $i < $port_count; $i++) : ?> <tr style="display:none" id="link<?=$i;?>"> - <td width="22%" valign="top" id="linklabel<?=$i;?>" class="vncell"><?=gettext(" Link Parameters");?></td> + <td width="22%" valign="top" id="linklabel<?=$i;?>" class="vncell"> <?=gettext("Link Parameters");?></td> <td class="vtable"> <table name="link_parameters" border="0" cellpadding="6" cellspacing="0"> <tr> - <td width="22%" id="bwlabel<?=$i;?>" valign="top"class="vncell"><?=gettext(" Bandwidth");?></td> + <td width="22%" id="bwlabel<?=$i;?>" valign="top"class="vncell"> <?=gettext("Bandwidth");?></td> <td width="78%" class="vtable"> <br/><input name="bandwidth[]" id="bandwidth<?=$i;?>" type="text" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['bandwidth'][$i]);?>"> <br/> <span class="vexpl"><?=gettext("Set Bandwidth for each link ONLY for MLPPP connections and ONLY when links have different bandwidths.");?></span> </td> </tr> <tr> - <td width="22%" id="mtulabel<?=$i;?>" valign="top" class="vncell"> MTU</td> + <td width="22%" id="mtulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MTU"); ?></td> <td width="78%" class="vtable"> <input name="mtu[]" id="mtu<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mtu'][$i]);?>"> <br> <span class="vexpl"><?=gettext("MTU will default to 1492.");?></span> </td> </tr> <tr> - <td width="22%" id="mrulabel<?=$i;?>" valign="top" class="vncell"> MRU</td> + <td width="22%" id="mrulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MRU"); ?></td> <td width="78%" class="vtable"> <input name="mru[]" id="mru<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mru'][$i]);?>"> <br> <span class="vexpl"><?=gettext("MRU will default to 1492.");?></span> @@ -769,7 +769,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE" <tr> <td width="22%" valign="top"> </td> <td width="78%"> - <input name="Submit" type="submit" class="formbtn" value="Save"> + <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>"> <input type="button" value="Cancel" onclick="history.back()"> <input name="ptpid" type="hidden" value="<?=htmlspecialchars($pconfig['ptpid']);?>"> <?php if (isset($id) && $a_ppps[$id]): ?> |