[freeside-commits] freeside/httemplate/edit REAL_cust_pkg.cgi, 1.31, 1.32 cust_main.cgi, 1.109, 1.110 cust_main_attach.cgi, 1.6, 1.7 cust_main_note.cgi, 1.9, 1.10 cust_pay.cgi, 1.35, 1.36

Erik Levinson levinse at wavetail.420.am
Thu May 26 22:56:44 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv1482/edit

Modified Files:
	REAL_cust_pkg.cgi cust_main.cgi cust_main_attach.cgi 
	cust_main_note.cgi cust_pay.cgi 
Log Message:
internationalization/localization, RT12515

Index: cust_main_note.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main_note.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- cust_main_note.cgi	10 Dec 2010 06:02:52 -0000	1.9
+++ cust_main_note.cgi	27 May 2011 05:56:42 -0000	1.10
@@ -29,7 +29,7 @@
 % }
 
 <BR><BR>
-<INPUT TYPE="submit" VALUE="<% $notenum ? "Apply Changes" : "Add Note" %>">
+<INPUT TYPE="submit" VALUE="<% $notenum ? emt("Apply changes") : emt("Add Note") %>">
 
 </FORM>
 </BODY>

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -w -d -r1.109 -r1.110
--- cust_main.cgi	23 May 2011 16:25:26 -0000	1.109
+++ cust_main.cgi	27 May 2011 05:56:42 -0000	1.110
@@ -58,7 +58,7 @@
 %  }
 
 <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,
@@ -209,7 +209,7 @@
 <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>
@@ -366,7 +366,7 @@
 $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>&nbsp;!;

Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_pay.cgi,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -w -d -r1.35 -r1.36
--- cust_pay.cgi	22 May 2011 22:09:08 -0000	1.35
+++ cust_pay.cgi	27 May 2011 05:56:42 -0000	1.36
@@ -43,7 +43,7 @@
 <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,
@@ -142,8 +142,8 @@
 
 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' ) {

Index: cust_main_attach.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main_attach.cgi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- cust_main_attach.cgi	16 Dec 2009 17:35:59 -0000	1.6
+++ cust_main_attach.cgi	27 May 2011 05:56:42 -0000	1.7
@@ -29,7 +29,7 @@
 <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>

Index: REAL_cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/REAL_cust_pkg.cgi,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -w -d -r1.31 -r1.32
--- REAL_cust_pkg.cgi	28 Dec 2010 18:34:39 -0000	1.31
+++ REAL_cust_pkg.cgi	27 May 2011 05:56:42 -0000	1.32
@@ -129,7 +129,7 @@
 </TABLE>
 
 <BR>
-<INPUT TYPE="submit" VALUE="Apply Changes">
+<INPUT TYPE="submit" VALUE="<% mt('Apply changes') |h %>">
 </FORM>
 
 <% include('/elements/footer.html') %>



More information about the freeside-commits mailing list