</TABLE>
<BR>
-<INPUT TYPE="submit" VALUE="Apply Changes">
+<INPUT TYPE="submit" VALUE="<% mt('Apply changes') |h %>">
</FORM>
<% include('/elements/footer.html') %>
% }
<BR>
-<FONT SIZE="+1"><B>Billing address</B></FONT>
+<FONT SIZE="+1"><B><% mt('Billing address') |h %></B></FONT>
<& cust_main/contact.html,
'cust_main' => $cust_main,
<INPUT TYPE = "button"
NAME = "submitButton"
ID = "submitButton"
- VALUE = "<% $custnum ? "Apply Changes" : "Add Customer" %>"
+ VALUE = "<% $custnum ? emt("Apply changes") : emt("Add Customer") %>"
onClick = "this.disabled=true; bottomfixup(this.form);"
>
</FORM>
$cgi->delete( grep !$keep{$_}, $cgi->param );
my $title = $custnum ? 'Edit Customer' : 'Add Customer';
-$title = emt($title);
+$title = mt($title);
$title .= ": ". $cust_main->name if $custnum;
my $r = qq!<font color="#ff0000">*</font> !;
% qq!<TR><TD ALIGN="right" WIDTH="200">${r}!.emt('Exact name on card').qq! </TD>!.
% qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="CARD_payname" VALUE="!. ( $payby =~ /^(CARD|DCRD)$/ ? $cust_main->payname : '' ). qq!"></TD></TR>!.
%
-% qq!<TR><TD COLSPAN=2 WIDTH="608"><INPUT TYPE="checkbox" onchange="payauto_changed(this);" NAME="CARD_payauto" $CARD_payauto_checked> !.emt('Charge future payments to this card automatically').qq!</TD></TR>!.
+% qq!<TR><TD COLSPAN=2 WIDTH="608"><INPUT TYPE="checkbox" onchange="payauto_changed(this);" NAME="CARD_payauto" $CARD_payauto_checked> !.emt('Charge future payments to this [_1] automatically','credit card').qq!</TD></TR>!.
%
% ( $conf->exists('cust_main-select-billday') ?
% qq!<TR><TD COLSPAN=2 WIDTH="608" id="card_billday" style="display: $billday_card_display">
% ).
%
%
-% qq!<TR><TD COLSPAN=4 WIDTH="608"><INPUT TYPE="checkbox" onchange="payauto_changed(this);" NAME="CHEK_payauto" $CHEK_payauto_checked> !.emt('Charge future payments to this electronic check automatically').qq!</TD></TR>!.
+% qq!<TR><TD COLSPAN=4 WIDTH="608"><INPUT TYPE="checkbox" onchange="payauto_changed(this);" NAME="CHEK_payauto" $CHEK_payauto_checked> !.emt('Charge future payments to this [_1] automatically','electronic check').qq!</TD></TR>!.
%
% ( $conf->exists('cust_main-select-billday') ?
% qq!<TR><TD COLSPAN=2 WIDTH="608" id="chek_billday" style="display: $billday_chek_display">
% } elsif ( ! $conf->exists('disable_customer_referrals') ) {
<TR>
- <TD ALIGN="right">Referring customer</TD>
+ <TD ALIGN="right"><% mt('Referring customer') |h %></TD>
<TD>
<& /elements/search-cust_main.html,
'field_name' => 'referral_custnum',
<BR>
% if(! $disabled) {
<INPUT TYPE="submit" NAME="submit"
- VALUE="<% $attachnum ? "Apply Changes" : "Upload File" %>">
+ VALUE="<% $attachnum ? emt("Apply changes") : emt("Upload File") %>">
% }
% if(defined $attach and $curuser->access_right('Delete attachment')) {
<BR>
% }
<BR><BR>
-<INPUT TYPE="submit" VALUE="<% $notenum ? "Apply Changes" : "Add Note" %>">
+<INPUT TYPE="submit" VALUE="<% $notenum ? emt("Apply changes") : emt("Add Note") %>">
</FORM>
</BODY>
<TR>
<TD ALIGN="right"><% mt('Amount') |h %></TD>
<TD BGCOLOR="#ffffff" ALIGN="right"><% $money_char %></TD>
- <TD><INPUT TYPE="text" NAME="paid" VALUE="<% $paid %>" SIZE=8 MAXLENGTH=9> by <B><% FS::payby->payname($payby) %></B></TD>
+ <TD><INPUT TYPE="text" NAME="paid" VALUE="<% $paid %>" SIZE=8 MAXLENGTH=9> <% mt('by') |h %> <B><% mt(FS::payby->payname($payby)) |h %></B></TD>
</TR>
<& /elements/tr-select-discount_term.html,
my $paybatch = "webui-$_date-$$-". rand() * 2**32;
-my $title = emt('Post '. FS::payby->payname($payby). ' payment');
-$title .= emt(" against Invoice #[_1]",$linknum) if $link eq 'invnum';
+my $title = mt('Post '. FS::payby->payname($payby). ' payment');
+$title .= mt(" against Invoice #[_1]",$linknum) if $link eq 'invnum';
my $custnum;
if ( $link eq 'invnum' ) {
% }
<TR>
- <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || 'Address' %></<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || emt('Address') %></<%$th%>>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>address1"
<TR>
- <<%$th%> ALIGN="right"><%$r%>City</<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %></<%$th%>>
<TD WIDTH="1"><% include('/elements/city.html', %select_hash) %></TD>
<<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</<%$th%>>
<TD WIDTH="1"><% include('/elements/select-county.html', %select_hash ) %></TD>
- <<%$th%> ALIGN="right" WIDTH="1"><%$r%>State</<%$th%>>
+ <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %></<%$th%>>
<TD WIDTH="1">
<% include('/elements/select-state.html', %select_hash ) %>
</TD>
- <<%$th%> ALIGN="right" WIDTH="1"><%$r%>Zip</<%$th%>>
+ <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('Zip') |h %></<%$th%>>
<TD>
<INPUT TYPE = "text"
NAME = "<%$pre%>zip"
</TR>
<TR>
- <<%$th%> ALIGN="right"><%$r%>Country</<%$th%>>
+ <<%$th%> ALIGN="right"><%$r%><% mt('Country') |h %></<%$th%>>
<TD COLSPAN=6><% include('/elements/select-country.html', %select_hash ) %></TD>
</TR>
% }
<%init>
-my $params = { 'closetext' => 'Close' };
+my $params = { 'closetext' => emt('Close') };
if (ref($_[0]) eq 'HASH') {
$params = { %$params, %{ $_[0] } };
% }
<%init>
-my $params = { 'closetext' => 'Close',
+my $params = { 'closetext' => emt('Close'),
'width' => 768,
};
</SCRIPT>
<TR>
- <<%$th%> ALIGN="right"><% $opt{'label'} || 'Service location' %></<%$th%>>
+ <<%$th%> ALIGN="right"><% $opt{'label'} || emt('Service location') %></<%$th%>>
<TD COLSPAN=7>
<SELECT NAME = "locationnum"
ID = "locationnum"
% } else {
<TR>
- <TD ALIGN="right" WIDTH="176"><% $opt{'label'} || '<B>Discount</B>' %></TD>
+ <TD ALIGN="right" WIDTH="176"><% $opt{'label'} || '<B>'.emt('Discount').'</B>' %></TD>
<TD <% $colspan %>>
<% include( '/elements/select-discount.html',
'curr_value' => $discountnum,
<BR>
<INPUT NAME = "submitButton"
TYPE = "button"
- VALUE = "Change package"
+ VALUE = "<% mt("Change package") |h %>"
onClick = "this.disabled=true; standardize_new_location();"
<% scalar($cgi->param('pkgpart')) ? '' : 'DISABLED' %>
>
% : 'standardize_new_location()';
<INPUT NAME = "submitButton"
TYPE = "button"
- VALUE = "Order Package"
+ VALUE = "<% mt("Order Package") |h %>"
onClick = "this.disabled=true; <% $onclick %>;"
<% $pkgpart ? '' : 'DISABLED' %>
>
<TR>
<TD COLSPAN=2>
<INPUT TYPE="checkbox" CHECKED NAME="save" VALUE="1">
- <% mt('Remember this informatio') |h %>
+ <% mt('Remember this information') |h %>
</TD>
</TR>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Process payment');
-my %type = ( 'CARD' => emt('credit card'),
- 'CHEK' => emt('electronic check (ACH)'),
+my %type = ( 'CARD' => 'credit card',
+ 'CHEK' => 'electronic check (ACH)',
);
$cgi->param('payby') =~ /^(CARD|CHEK)$/
str += 'magic=taxproductnum;taxproductnum=';
str += escape(document.getElementById('taxproductnum').value);
cClick();
- overlib( OLiframeContent('<% $p %>/edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close');
+ overlib( OLiframeContent('<% $p %>/edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, <% mt('Close') %>);
}
str += 'magic=taxoverride;tax_override=';
str += document.getElementById('tax_override').value;
cClick();
- overlib( OLiframeContent('<% $p %>/edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close');
+ overlib( OLiframeContent('<% $p %>/edit/quick-charge.html?'+str, 545, 336, 'One-time charge'), CAPTION, 'One-time charge', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, <% mt('Close') %>);
}