Convert {@""} to <%-T()%>
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 26 Jun 2008 14:01:08 +0000 (10:01 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 26 Jun 2008 14:01:08 +0000 (10:01 -0400)
33 files changed:
templates/bugfield_input_checkbox.tpl
templates/editattach.tpl
templates/editcomment.tpl
templates/explain_automation.tpl
templates/explain_product.tpl
templates/favorites.tpl
templates/footer.tpl
templates/header.tpl
templates/headinclude.tpl
templates/help_link.tpl
templates/help_window.tpl
templates/history.tpl
templates/login.tpl
templates/lostpassword.tpl
templates/newattach.tpl
templates/newreport.tpl
templates/pagenav.tpl
templates/passwordreset.tpl
templates/quicksearch.tpl
templates/register.tpl
templates/search.tpl
templates/search_results.tpl
templates/search_save.tpl
templates/search_update.tpl
templates/showreport.tpl
templates/showreport_attachment.tpl
templates/showreport_comment.tpl
templates/std_error.tpl
templates/std_message.tpl
templates/std_redirect.tpl
templates/trackerhome.tpl
templates/userctrl.tpl
templates/userctrl_search.tpl

index 9953b692e1af5df66ef3434504edf097dfe01805..8b12cbf40c588651a9ef997edb4df54c01fa027b 100644 (file)
@@ -1,6 +1,6 @@
        <!-- custom field<%- $field['fieldid'] %> -->
        <fieldset>
                <legend><%- $field[name] %> <%- $help['field' . $field['fieldid']] %></legend>
-               <div class="field"><% if ($searchMode): %><select name="custom<%- $field['fieldid'] %>"><option value="0">{@"Ignore"}</option><option value="1">{@"Yes"}</option><option value="-1">{@"No"}</option></select><% else: %><input name="custom<%- $field['fieldid'] %>" type="checkbox" value="1"<%- $selected %> /><% endif %></div>
+               <div class="field"><% if ($searchMode): %><select name="custom<%- $field['fieldid'] %>"><option value="0"><%-T("Ignore")%></option><option value="1"><%-T("Yes")%></option><option value="-1"><%-T("No")%></option></select><% else: %><input name="custom<%- $field['fieldid'] %>" type="checkbox" value="1"<%- $selected %> /><% endif %></div>
        </fieldset>
        <!-- / custom field<%- $field['fieldid'] %> -->
\ No newline at end of file
index beb92d55e6d6e76d2efac4bea538fabbda02b714..3022e2ae2e1684b687e8253206d68d8f56c37949 100644 (file)
        </div>
 
        <div class="box-mid box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>">
-               <div><strong>{@"Attachment"}:</strong> <a href="viewattachment.php?attachmentid=<%- $attachment['attachmentid'] %>">{@"View"}</a> [<%- $attachment['filename'] %>]</div>
+               <div><strong><%-T("Attachment")%>:</strong> <a href="viewattachment.php?attachmentid=<%- $attachment['attachmentid'] %>"><%-T("View")%></a> [<%- $attachment['filename'] %>]</div>
        </div>
 
        <div class="box-mid" style="text-align: <%- $stylevar['left'] %>">
-               <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" maxlength="250" value="<%- $attachment['description'] %>" /></div>
-               <div><strong>{@"Obsolete"}:</strong> <input name="obsolete" type="checkbox" value="1"<% if ($attachment['obsolete']): %> checked="checked"<% endif %> /></div>
+               <div><strong><%-T("Description")%>:</strong> <input name="description" type="text" size="35" maxlength="250" value="<%- $attachment['description'] %>" /></div>
+               <div><strong><%-T("Obsolete")%>:</strong> <input name="obsolete" type="checkbox" value="1"<% if ($attachment['obsolete']): %> checked="checked"<% endif %> /></div>
        </div>
 </div>
 
 <br />
 
 <div id="submitrow">
-       <input name="submit" type="submit" value="  {@"Submit"}  " accesskey="s" />
-       <% if ($show['delete']): %><input name="__delete__" type="submit" value="  {@"Delete"}  " /><% endif %>
-       <input name="reset" type="reset" value="  {@"Reset"}  " accesskey="r" />
+       <input name="submit" type="submit" value="  <%-T("Submit")%>  " accesskey="s" />
+       <% if ($show['delete']): %><input name="__delete__" type="submit" value="  <%-T("Delete")%>  " /><% endif %>
+       <input name="reset" type="reset" value="  <%-T("Reset")%>  " accesskey="r" />
        <script type="text/javascript"> draw_cancel("showreport.php?bugid=<%- $bug['bugid'] %>"); </script>
 </div>
 
index 1270f6c98930a2c6038c7ef8d7e9f50e9ef14206..91cf78216152db429a9eae4ef036cabacd064b27 100644 (file)
@@ -12,7 +12,7 @@ $header
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
@@ -29,8 +29,8 @@ $header
        <div class="box-foot box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>"><lang 1="$comment[posttime]" 2="$comment[postby]">{@"Posted on %1$s by %2$s"}</lang></div>
 
        <div class="box-mid" style="text-align: <%- $stylevar['left'] %>">
-               <% if ($show['hide']): %><div><strong<% if ($comment['hidden']): %> style="color: red"<% endif %>>{@"Hidden"}:</strong> <input type="checkbox" name="hidden" value="1"<% if ($comment['hidden']): %> checked="checked"<% endif %> /></div><% endif %>
-               <div><strong>{@"Parse Links in the Comment"}:</strong> <input type="checkbox" name="parselinks" value="1"<% if ($comment['parselinks']): %> checked="checked"<% endif %> /></div>
+               <% if ($show['hide']): %><div><strong<% if ($comment['hidden']): %> style="color: red"<% endif %>><%-T("Hidden")%>:</strong> <input type="checkbox" name="hidden" value="1"<% if ($comment['hidden']): %> checked="checked"<% endif %> /></div><% endif %>
+               <div><strong><%-T("Parse Links in the Comment")%>:</strong> <input type="checkbox" name="parselinks" value="1"<% if ($comment['parselinks']): %> checked="checked"<% endif %> /></div>
                <textarea name="comment" cols="50" rows="15" class="textarea"><%- $comment['comment'] %></textarea>
        </div>
 </div>
@@ -38,8 +38,8 @@ $header
 <br />
 
 <div id="submitrow">
-       <input type="submit" name="submit" accesskey="s" value="  {@"Save Changes"}  " />
-       <input type="reset" name="reset" accesskey="r" value="  {@"Reset Fields"}  " />
+       <input type="submit" name="submit" accesskey="s" value="  <%-T("Save Changes")%>  " />
+       <input type="reset" name="reset" accesskey="r" value="  <%-T("Reset Fields")%>  " />
        <script type="text/javascript"> draw_cancel("showreport.php?bugid=<%- $bug['bugid'] %>"); </script>
 </div>
 
index 38b6bccf8202be4f93f140bcf8900566539dfa64..437f4d335d451c79f53f9ec0d133c48cbde63d62 100644 (file)
@@ -2,14 +2,14 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
 <head>
 <%- $headinclude %>
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Automations"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Automations")%></title>
 </head>
 
 <body>
 
 <%- $header %>
 
-<h2>{@"Explication of Automations"}</h2>
+<h2><%-T("Explication of Automations")%></h2>
 
 <table class="table">
 <%- $automations %>
index 9c33faca18e5780b01373dfc03ecdfe35d8ef392..c16a459efcd88304053565d5a92a5a3703816582 100644 (file)
@@ -2,22 +2,22 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
 <head>
 <%- $headinclude %>
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Products"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Products")%></title>
 </head>
 
 <body>
 
 <%- $header %>
 
-<h2>{@"Explication of Products"}</h2>
+<h2><%-T("Explication of Products")%></h2>
 
 <% if ($globalversions): %>
        <table class="table">
        <tr class="listinghead">
-               <td colspan="2">{@"Global Versions"}</td>
+               <td colspan="2"><%-T("Global Versions")%></td>
        </tr>
        <tr class="altcolor">
-               <td colspan="2">{@"These versions are avaliable for every product, component, and version."}</td>
+               <td colspan="2"><%-T("These versions are avaliable for every product, component, and version.")%></td>
        </tr>
        <%- $globalversions %>
        </table>
index 6c24b080bc402c655729e90c6874acfdd04c02ed..3b31eb563b8ade3b21f1e278f3a0579f7a18d1da 100644 (file)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
 <head>
 <%- $headinclude %>
-       <title><%- bugdar::$options['trackertitle'] %> - {@"My Favorite Bugs"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("My Favorite Bugs")%></title>
 </head>
 
 <body>
index b69d338e5e2c678c087c95a79f8df876926f334e..ea8a8adff1d8783f1a743175df1ee7e6fb9a90c2 100644 (file)
@@ -1,7 +1,7 @@
 </div>
 
 <div id="copyright">
-       <div>{@"Powered by Bugdar"}, {@"Copyright"} &copy;2002 - <%- $year %> Blue Static</div>
+       <div><%-T("Powered by Bugdar")%>, <%-T("Copyright")%> &copy;2002 - <%- $year %> Blue Static</div>
 </div>
 
 </body>
index 816537d450ca7fec25ec6f7f6cadbc5c27c20132..9eda708abd1c68e14dd9e83e08e51e97cd43fa6f 100644 (file)
@@ -2,13 +2,13 @@
        <!-- quick search -->
        <form name="quicksearch" action="showreport.php" method="post" id="quicksearch" style="float: <%- $stylevar['right'] %>">
        <input type="hidden" name="do" value="quicksearch" />
-       {@"Go to bug ID"} <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value="  {@"Go"}  " />
+       <%-T("Go to bug ID")%> <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value="  <%-T("Go")%>  " />
        </form>
        <!-- / quick search -->
        
        <span id="title"><a href="index.php"><%- bugdar::$options['trackertitle'] %></a></span>
        &nbsp;
-       <img src="templates/images/clock.gif" alt="{@"Current Date and Time"}" />
+       <img src="templates/images/clock.gif" alt="<%-T("Current Date and Time")%>" />
        <span id="time"><%- $datetime %></span>
 </div>
 
 <% endif %>
 
 <div id="tabbar">
-       <span style="float: <%- $stylevar['right'] %>" class="smallfont"><a href="syndicate.php"><img src="templates/images/feed.gif" alt="{@"Syndicate"}" style="border: 0px" /> {@"Syndicate"}</a></span>
+       <span style="float: <%- $stylevar['right'] %>" class="smallfont"><a href="syndicate.php"><img src="templates/images/feed.gif" alt="<%-T("Syndicate")%>" style="border: 0px" /> <%-T("Syndicate")%></a></span>
        
-       <a class="tab<%- $focus['index'] %>" href="index.php">{@"Listing"}</a>
+       <a class="tab<%- $focus['index'] %>" href="index.php"><%-T("Listing")%></a>
        <% if ($show['newreport']): %>
-               <a class="tab<%- $focus['newreport'] %>" href="newreport.php">{@"New"}</a>
+               <a class="tab<%- $focus['newreport'] %>" href="newreport.php"><%-T("New")%></a>
        <% endif %>
-       <a class="tab<%- $focus['showreport'] %>" href="showreport.php">{@"Display"}</a>
+       <a class="tab<%- $focus['showreport'] %>" href="showreport.php"><%-T("Display")%></a>
        <% if ($show['search']): %>
-               <a class="tab<%- $focus['search'] %>" href="search.php">{@"Search"}</a>
+               <a class="tab<%- $focus['search'] %>" href="search.php"><%-T("Search")%></a>
        <% endif %>
        <% if (bugdar::$userinfo['userid']): %>
-               <a class="tab<%- $focus['favorites'] %>" href="favorite.php">{@"Favorites"}</a>
+               <a class="tab<%- $focus['favorites'] %>" href="favorite.php"><%-T("Favorites")%></a>
        <% endif %>
-       <a class="tab<%- $focus['user'] %>" href="<% if (bugdar::$userinfo['userid']): %>userctrl.php">{@"Options"}<% else: %>login.php">{@"Login/Register"}<% endif %></a>
+       <a class="tab<%- $focus['user'] %>" href="<% if (bugdar::$userinfo['userid']): %>userctrl.php"><%-T("Options")%><% else: %>login.php">{@"Login/Register"}<% endif %></a>
        <% if ($show['admin']): %>
-               <a class="tab" href="admin/index.php">{@"Administration"}</a>
+               <a class="tab" href="admin/index.php"><%-T("Administration")%></a>
        <% endif %>
        <% if (bugdar::$userinfo['userid']): %>
-               <a class="tab<%- $focus['logout'] %>" href="login.php?do=logout" onclick="return confirm('{@"Are you sure you want to log out?"}')">{@"Logout"}</a>
+               <a class="tab<%- $focus['logout'] %>" href="login.php?do=logout" onclick="return confirm('{@"Are you sure you want to log out?"}')"><%-T("Logout")%></a>
        <% endif %>
 </div>
 
index 2b3a169b7c2f40b7694aeda7217ee886067a8419..a73a61ad2ed9fc4f58622e4833848c302c658a9a 100644 (file)
@@ -2,5 +2,5 @@
        <meta http-equiv="Content-Type" content="text/html; charset=<%- $stylevar[charset] %>" />
        <link rel="stylesheet" type="text/css" href="templates/global.css" media="screen" />
        <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="syndicate.php" />
-       <script type="text/javascript"> var lang = { "Cancel" : "{@"Cancel"}" }; </script>
+       <script type="text/javascript"> var lang = { "Cancel" : "<%-T("Cancel")%>" }; </script>
        <script src="templates/global.js" type="text/javascript"></script>
\ No newline at end of file
index d095604b7012856b7aa7a0c0889c22d2dd96e7cf..e7c9180568fd5793d4a75372c65d50a630390d60 100644 (file)
@@ -1 +1 @@
-<a href="#" onclick="window.open('help.php?topic=<%- $topic %>', 'helpwindow', 'menubar=no,toolbar=no,status=no,height=300,width=275')" title="{@"Help"}"><img src="templates/images/question-mark.gif" alt="?" class="helplink" /></a>
\ No newline at end of file
+<a href="#" onclick="window.open('help.php?topic=<%- $topic %>', 'helpwindow', 'menubar=no,toolbar=no,status=no,height=300,width=275')" title="<%-T("Help")%>"><img src="templates/images/question-mark.gif" alt="?" class="helplink" /></a>
\ No newline at end of file
index a23a39376fcb986afd5a7a54b9409f57cb0fed07..44e635568f85201e021a09091d946250b7e6abee 100644 (file)
@@ -3,14 +3,14 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title>{@"Help"} - <%- $topic['title'] %></title>
+       <title><%-T("Help")%> - <%- $topic['title'] %></title>
 </head>
 
 <body>
 
 <div align="center" style="margin-top: 10px">
        <div class="box" style="width: 90%">
-               <div class="box-head">{@"Help"} : <%- $topic['title'] %></div>
+               <div class="box-head"><%-T("Help")%> : <%- $topic['title'] %></div>
 
                <div class="box-mid box-overpad">
                        <%- $topic['body'] %>
index 03105436d9d5d83615b30881164ec446b8469583..a38d9c83edc4d87561f188032c8a542a19725246 100644 (file)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
 <head>
 <%- $headinclude %>
-       <title>{@"Bug History"} - <%- $bug['summary'] %></title>
+       <title><%-T("Bug History")%> - <%- $bug['summary'] %></title>
 </head>
 
 <body>
 
 <table class="table">
 <tr class="listinghead">
-       <td>{@"User"}</td>
-       <td>{@"Date"}</td>
-       <td>{@"Field"}</td>
-       <td>{@"Old Value"}</td>
-       <td>{@"New Value"}</td>
+       <td><%-T("User")%></td>
+       <td><%-T("Date")%></td>
+       <td><%-T("Field")%></td>
+       <td><%-T("Old Value")%></td>
+       <td><%-T("New Value")%></td>
 </tr>
 <%- $history %>
 </table>
index 99a1094cb140cf1bf3eb5875baa9771233e27fb1..31cd4707c6457f7997723765498bed942cd42a0c 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Login"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Login")%></title>
 </head>
 
 <body>
@@ -16,19 +16,19 @@ $header
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head">{@"Login"}</div>
+               <div class="box-head"><%-T("Login")%></div>
 
                <div class="box-mid">
-                       <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" /></div>
-                       <div><strong>{@"Password"}:</strong> <input type="password" name="password" size="30" /></div>
-                       <div><strong>{@"Remember Me"}:</strong> <input type="checkbox" name="rememberme" value="1" /> {@"Yes"}</div>
+                       <div><strong><%-T("Email")%>:</strong> <input type="text" name="email" size="30" /></div>
+                       <div><strong><%-T("Password")%>:</strong> <input type="password" name="password" size="30" /></div>
+                       <div><strong><%-T("Remember Me")%>:</strong> <input type="checkbox" name="rememberme" value="1" /> <%-T("Yes")%></div>
                        <br />
-                       [<a href="register.php">{@"Register"}</a>] [<a href="login.php?do=lostpw">{@"Lost Password"}</a>]
+                       [<a href="register.php"><%-T("Register")%></a>] [<a href="login.php?do=lostpw"><%-T("Lost Password")%></a>]
                </div>
 
                <div class="box-foot box-center">
-                       <input type="submit" name="submit" value="  {@"Login"}  " accesskey="s" />
-                       <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
+                       <input type="submit" name="submit" value="  <%-T("Login")%>  " accesskey="s" />
+                       <input type="reset" name="reset" value="  <%-T("Reset")%>  " accesskey="r" />
                </div>
        </div>
 </div>
index 7922e94725224a6629b263cbb682594da698e296..e2f7ae98fc9ff9894156cf526e977483bdbd6240 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Lost Password"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Lost Password")%></title>
 </head>
 
 <body>
@@ -15,17 +15,17 @@ $header
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head">{@"Lost Password Recovery"}</div>
+               <div class="box-head"><%-T("Lost Password Recovery")%></div>
 
                <div class="box-mid">
-                       <% if ($show['lostpwerror']): %><div class="error">{@"The specified email could not be found or it is invalid."}</div><% endif %>
-                       <div>{@"Enter your email in the box below and you will receive a message with instructions on how to set a new password."}</div>
-                       <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" value="{$bugsys->in['email']}" /></div>
+                       <% if ($show['lostpwerror']): %><div class="error"><%-T("The specified email could not be found or it is invalid.")%></div><% endif %>
+                       <div><%-T("Enter your email in the box below and you will receive a message with instructions on how to set a new password.")%></div>
+                       <div><strong><%-T("Email")%>:</strong> <input type="text" name="email" size="30" value="{$bugsys->in['email']}" /></div>
                </div>
 
                <div class="box-foot box-center">
-                       <input type="submit" name="submit" value="  {@"Submit"}  " accesskey="s" />
-                       <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
+                       <input type="submit" name="submit" value="  <%-T("Submit")%>  " accesskey="s" />
+                       <input type="reset" name="reset" value="  <%-T("Reset")%>  " accesskey="r" />
                </div>
        </div>
 </div>
index dde552ad143b63661266816ebdc917ccde429353..f277415fee0ca8a8b657015e3a88a71c6e1df984 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title>{@"New Attachment"} - <%- $bug['summary'] %></title>
+       <title><%-T("New Attachment")%> - <%- $bug['summary'] %></title>
 </head>
 
 <body>
@@ -12,7 +12,7 @@ $header
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
@@ -28,12 +28,12 @@ $header
 
        <div class="box-mid box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>">
                <div><input name="attachment" type="file" /></div>
-               <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" value="<%- $bugsys->in['description'] %>" maxlength="250" /></div>
+               <div><strong><%-T("Description")%>:</strong> <input name="description" type="text" size="35" value="<%- $bugsys->in['description'] %>" maxlength="250" /></div>
        </div>
 
        <% if ($show['obsoletes']): %>
        <div class="box-mid box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>">
-               <div><strong>{@"Mark the Following Attachments Obsolete"}:</strong>
+               <div><strong><%-T("Mark the Following Attachments Obsolete")%>:</strong>
                        <%- $obsoletes %>
                </div>
        </div>
@@ -41,7 +41,7 @@ $header
 
        <% if ($show['addcomment']): %>
        <div class="box-mid" style="text-align: <%- $stylevar['left'] %>">
-               <div><strong>{@"Add Comment"}:</strong>
+               <div><strong><%-T("Add Comment")%>:</strong>
                        <div>
                                <textarea name="comment" rows="10" cols="50" class="textarea"><%- $bugsys->in['comment'] %></textarea>
                        </div>
@@ -53,8 +53,8 @@ $header
 <br />
 
 <div id="submitrow">
-       <input name="submit" type="submit" value="  {@"Submit"}  " accesskey="s" />
-       <input name="reset" type="reset" value="  {@"Reset"}  " accesskey="r" />
+       <input name="submit" type="submit" value="  <%-T("Submit")%>  " accesskey="s" />
+       <input name="reset" type="reset" value="  <%-T("Reset")%>  " accesskey="r" />
        <script type="text/javascript"> draw_cancel("showreport.php?bugid=$bug[bugid]"); </script>
 </div>
 
index 15d22445953bcda106befe313f9cdb665b687184..058a7edbc4065a0eee4d2cde9c93a7315c42bbde 100644 (file)
@@ -4,7 +4,7 @@
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
-       <title>{@"New Bug Report"} - <%- bugdar::$options['trackertitle'] %></title>
+       <title><%-T("New Bug Report")%> - <%- bugdar::$options['trackertitle'] %></title>
 </head>
 
 <body>
@@ -13,7 +13,7 @@ $header
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
@@ -27,7 +27,7 @@ $header
 
                <!-- summary -->
                <fieldset>
-                       <legend>{@"Reporter"} <%- $help['reporter'] %></legend>
+                       <legend><%-T("Reporter")%> <%- $help['reporter'] %></legend>
                        <div class="field"><%- $reporter %></div>
                </fieldset>
                <!-- / summary -->
@@ -35,14 +35,14 @@ $header
                <!-- product -->
                <fieldset>
                        <legend><a href="explain.php?do=products">{@"Product/Version"}</a> <%- $help['product'] %></legend>
-                       <div class="field"><select name="product"><if condition="!$bugsys->in['product']"><option value="0" selected="selected">{@"Select..."}</option><% endif %><%- $productSelect %></select></div>
+                       <div class="field"><select name="product"><if condition="!$bugsys->in['product']"><option value="0" selected="selected"><%-T("Select...")%></option><% endif %><%- $productSelect %></select></div>
                </fieldset>
                <!-- / product -->
 
                <% if ($show['changestatus']): %>
                <!-- status -->
                <fieldset>
-                       <legend>{@"Status"} <%- $help['status'] %></legend>
+                       <legend><%-T("Status")%> <%- $help['status'] %></legend>
                        <div class="field"><select name="status"><%- $select['status'] %></select></div>
                </fieldset>
                <!-- / status -->
@@ -50,7 +50,7 @@ $header
 
                <!-- severity -->
                <fieldset>
-                       <legend>{@"Severity"} <%- $help['severity'] %></legend>
+                       <legend><%-T("Severity")%> <%- $help['severity'] %></legend>
                        <div class="field"><select name="severity"><%- $select['severity'] %></select></div>
                </fieldset>
                <!-- / severity -->
@@ -65,7 +65,7 @@ $header
 
                <!-- summary -->
                <fieldset>
-                       <legend>{@"Summary"} <%- $help['summary'] %></legend>
+                       <legend><%-T("Summary")%> <%- $help['summary'] %></legend>
                        <div class="field"><input type="text" name="summary" size="25" value="<%- $bugsys->in['summary'] %>" style="width: 100%" maxlength="250" /></div>
                </fieldset>
                <!-- / summary -->
@@ -73,8 +73,8 @@ $header
                <% if ($show['assign']): %>
                <!-- assignment -->
                <fieldset>
-                       <legend>{@"Assignment"} <%- $help['assignedto'] %></legend>
-                       <div class="field"><select name="assignedto"><option value="0" selected="selected">{@"No Assignment"}</option><%- $select['dev'] %></select></div>
+                       <legend><%-T("Assignment")%> <%- $help['assignedto'] %></legend>
+                       <div class="field"><select name="assignedto"><option value="0" selected="selected"><%-T("No Assignment")%></option><%- $select['dev'] %></select></div>
                </fieldset>
                <!-- / assignment -->
                <% endif %>
@@ -82,7 +82,7 @@ $header
                <% if ($show['changestatus']): %>
                <!-- resolution -->
                <fieldset>
-                       <legend>{@"Resolution"} <%- $help['resolution'] %></legend>
+                       <legend><%-T("Resolution")%> <%- $help['resolution'] %></legend>
                        <div class="field"><select name="resolution"><%- $select['resolution'] %></select></div>
                </fieldset>
                <!-- / resolution -->
@@ -91,7 +91,7 @@ $header
                <% if ($show['changestatus']): %>
                <!-- priority -->
                <fieldset>
-                       <legend>{@"Priority"} <%- $help['priority'] %></legend>
+                       <legend><%-T("Priority")%> <%- $help['priority'] %></legend>
                        <div class="field"><select name="priority"><%- $select['priority'] %></select></div>
                </fieldset>
                <!-- / priority -->
@@ -112,16 +112,16 @@ $header
 
                <textarea name="comment" cols="50" rows="10" class="textarea"><if condition="$bugsys->in['comment']"><%- $bugsys->in['comment'] %><% else: %><%- bugdar::$options['defaultcomment'] %><% endif %></textarea>
 
-               <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"<% endif %> /> {@"Parse Links in the Comment"}</div>
+               <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%></div>
        </fieldset>
 </div>
 <!-- / new reply -->
 
 <!-- submit row -->
 <div id="submitrow">
-       <input type="submit" name="submit" value="  {@"Submit Report"} " accesskey="s" />
-       <input type="reset" name="reset" value="  {@"Reset Fields"}  " accesskey="r" />
-       <input type="submit" name="submit_reload" value="  {@"Submit Report and Add Another Bug"} " accesskey="e" />
+       <input type="submit" name="submit" value="  <%-T("Submit Report")%> " accesskey="s" />
+       <input type="reset" name="reset" value="  <%-T("Reset Fields")%>  " accesskey="r" />
+       <input type="submit" name="submit_reload" value="  <%-T("Submit Report and Add Another Bug")%> " accesskey="e" />
 </div>
 <!-- / submit row -->
 
index 0d08ebb9d50acebf5657691d84cd68c555231bdd..73784e9d625194073bd00d24facdb582381a60a8 100644 (file)
@@ -1,7 +1,7 @@
 <div>
-       <% if ($show['first']): %><a href="<%- $baselink %>p=1&amp;pp=<%- $paginator->perpage %>">{@"First"}</a> ...<% endif %>
-       <% if ($show['prev']): %><a href="<%- $baselink %>p=<%- $prevpage %>&amp;pp=<%- $paginator->perpage %>">{@"Prev"}</a> ...<% endif %>
+       <% if ($show['first']): %><a href="<%- $baselink %>p=1&amp;pp=<%- $paginator->perpage %>"><%-T("First")%></a> ...<% endif %>
+       <% if ($show['prev']): %><a href="<%- $baselink %>p=<%- $prevpage %>&amp;pp=<%- $paginator->perpage %>"><%-T("Prev")%></a> ...<% endif %>
 $pagebits
-       <% if ($show['next']): %>... <a href="<%- $baselink %>p=<%- $nextpage %>&amp;pp=<%- $paginator->perpage %>">{@"Next"}</a><% endif %>
-       <% if ($show['last']): %>... <a href="<%- $baselink %>p=<%- $paginator->pagecount %>&amp;pp=<%- $paginator->perpage %>">{@"Last"}</a><% endif %>
+       <% if ($show['next']): %>... <a href="<%- $baselink %>p=<%- $nextpage %>&amp;pp=<%- $paginator->perpage %>"><%-T("Next")%></a><% endif %>
+       <% if ($show['last']): %>... <a href="<%- $baselink %>p=<%- $paginator->pagecount %>&amp;pp=<%- $paginator->perpage %>"><%-T("Last")%></a><% endif %>
 </div>
\ No newline at end of file
index 5baaa4e0487dd845c5c7e338ca736332de9c9a57..f0024916a78c25a1cbc862afcd6b5c12e4eaabfc 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Reset Password"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Reset Password")%></title>
 </head>
 
 <body>
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head">{@"Lost Password Recovery: Password Reset"}</div>
+               <div class="box-head"><%-T("Lost Password Recovery: Password Reset")%></div>
 
                <div class="box-mid">
-                       <div>{@"Enter a new password below and then confirm it."}</div>
-                       <div><strong>{@"New Password"}:</strong> <input type="password" name="fix_password" size="30" /></div>
-                       <div><strong>{@"Confirm Password"}:</strong> <input type="password" name="confirm_password" size="30" /></div>
+                       <div><%-T("Enter a new password below and then confirm it.")%></div>
+                       <div><strong><%-T("New Password")%>:</strong> <input type="password" name="fix_password" size="30" /></div>
+                       <div><strong><%-T("Confirm Password")%>:</strong> <input type="password" name="confirm_password" size="30" /></div>
                </div>
 
                <div class="box-foot box-center">
-                       <input type="submit" name="submit" value="  {@"Submit"}  " accesskey="s" />
-                       <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
+                       <input type="submit" name="submit" value="  <%-T("Submit")%>  " accesskey="s" />
+                       <input type="reset" name="reset" value="  <%-T("Reset")%>  " accesskey="r" />
                </div>
        </div>
 </div>
index 7e504add6bb034bfc1182e6a0138cc1d1334f904..ac3a0ced1f18bc6350db7837d56e6e0e63eae843 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Quick Search"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Quick Search")%></title>
 </head>
 
 <body>
@@ -12,7 +12,7 @@
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Quick Search"}</div>
+               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Quick Search")%></div>
 
                <div class="box-mid box-overpad" style="text-align: <%- $stylevar['left'] %>">
                        <% if ($error): %>
@@ -22,7 +22,7 @@
                        <form name="quicksearch" action="showreport.php" method="post" class="form">
                        <input type="hidden" name="do" value="quicksearch" />
 
-                       {@"Go to bug ID"} <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value="  {@"Go"}  " />
+                       <%-T("Go to bug ID")%> <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value="  <%-T("Go")%>  " />
 
                        </form>
                </div>
index a16380eb757f052548a4a2f25da8e690f43c05b2..00e4b849342d73cea6bb87d73e73d5a3a63944f9 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Register"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Register")%></title>
 </head>
 
 <body>
@@ -12,7 +12,7 @@ $header
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
@@ -22,21 +22,21 @@ $header
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head">{@"Register"}</div>
+               <div class="box-head"><%-T("Register")%></div>
 
                <div class="box-mid">
-                       <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" value="<%- $bugsys->in['email'] %>" /></div>
-                       <div><strong>{@"Confirm Email"}:</strong> <input type="text" name="confirmemail" size="30" value="<%- $bugsys->in['confirmemail'] %>" /></div>
-                       <div><strong>{@"Display Name"}:</strong> <input type="text" name="displayname" size="30" value="<%- $bugsys->in['displayname'] %>" /></div>
-                       <div><strong>{@"Password"}:</strong> <input type="password" name="password" size="30" /></div>
-                       <div><strong>{@"Confirm Password"}:</strong> <input type="password" name="confirmpassword" size="30" /></div>
-                       <div><strong>{@"Show My Email Publicly"}:</strong> <input type="checkbox" value="1" name="showemail"<if condition="$bugsys->in['showemail']"> checked="checked"<% endif %> /> {@"Yes"}</div>
-                       <div><strong>{@"Language"}:</strong> <select name="languageid"><%- $opts %></select></div>
+                       <div><strong><%-T("Email")%>:</strong> <input type="text" name="email" size="30" value="<%- $bugsys->in['email'] %>" /></div>
+                       <div><strong><%-T("Confirm Email")%>:</strong> <input type="text" name="confirmemail" size="30" value="<%- $bugsys->in['confirmemail'] %>" /></div>
+                       <div><strong><%-T("Display Name")%>:</strong> <input type="text" name="displayname" size="30" value="<%- $bugsys->in['displayname'] %>" /></div>
+                       <div><strong><%-T("Password")%>:</strong> <input type="password" name="password" size="30" /></div>
+                       <div><strong><%-T("Confirm Password")%>:</strong> <input type="password" name="confirmpassword" size="30" /></div>
+                       <div><strong><%-T("Show My Email Publicly")%>:</strong> <input type="checkbox" value="1" name="showemail"<if condition="$bugsys->in['showemail']"> checked="checked"<% endif %> /> <%-T("Yes")%></div>
+                       <div><strong><%-T("Language")%>:</strong> <select name="languageid"><%- $opts %></select></div>
                </div>
 
                <div class="box-foot box-center">
-                       <input type="submit" name="submit" value="  {@"Register"}  " accesskey="s" />
-                       <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
+                       <input type="submit" name="submit" value="  <%-T("Register")%>  " accesskey="s" />
+                       <input type="reset" name="reset" value="  <%-T("Reset")%>  " accesskey="r" />
                </div>
        </div>
 </div>
index 1096b874c651ab1f8cbe53db7ae625a24cf8492f..f465366a62d6e57fbb20e1d517d28b41fd72b04e 100644 (file)
@@ -4,7 +4,7 @@
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Search"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Search")%></title>
 </head>
 
 <body>
 
 <% if ($searches): %>
 <form style="float: <%- $stylevar[right] %>; display: inline" action="search.php" method="get">
-{@"Run Saved Search"}: <select name="searchid"><%- $searches %></select>
-<input type="submit" value="  {@"Go"}  " />
+<%-T("Run Saved Search")%>: <select name="searchid"><%- $searches %></select>
+<input type="submit" value="  <%-T("Go")%>  " />
 </form>
 <% endif %>
 
-<p>{@"Any fields left blank or unselected will be excluded from the search query."}</p>
+<p><%-T("Any fields left blank or unselected will be excluded from the search query.")%></p>
 
 <form name="search" action="search.php" method="post" class="form">
 <input type="hidden" name="do" value="process" />
 
                <!-- search mode -->
                <fieldset>
-                       <legend>{@"Search Mode"}</legend>
+                       <legend><%-T("Search Mode")%></legend>
 
                        <div class="field">
                                <select name="mode">
-                                       <option value="1" selected="selected">{@"Any Words"}</option>
-                                       <option value="2">{@"All Words"}</option>
-                                       <option value="3">{@"Raw Boolean Search"}</option>
+                                       <option value="1" selected="selected"><%-T("Any Words")%></option>
+                                       <option value="2"><%-T("All Words")%></option>
+                                       <option value="3"><%-T("Raw Boolean Search")%></option>
                                </select>
                        </div>
                </fieldset>
@@ -43,7 +43,7 @@
 
                <!-- reporter -->
                <fieldset>
-                       <legend>{@"Reporter"} $help[reporter]</legend>
+                       <legend><%-T("Reporter")%> $help[reporter]</legend>
                        <div class="field"><input type="text" name="reporter" size="25" style="width: 100%" /></div>
                </fieldset>
                <!-- / reporter -->
 
                <!-- status -->
                <fieldset>
-                       <legend>{@"Status"} $help[status]</legend>
+                       <legend><%-T("Status")%> $help[status]</legend>
                        <div class="field"><select name="status[]" size="4" multiple="multiple"><%- $select['status'] %></select></div>
                </fieldset>
                <!-- / status -->
 
                <!-- priority -->
                <fieldset>
-                       <legend>{@"Priority"} $help[priority]</legend>
+                       <legend><%-T("Priority")%> $help[priority]</legend>
                        <div class="field"><select name="priority[]" size="4" multiple="multiple"><%- $select['priority'] %></select></div>
                </fieldset>
                <!-- / priority -->
@@ -75,9 +75,9 @@
 
                        <div class="field">
                                <select name="date">
-                                       <option value="0">{@"Any Date"}</option>
-                                       <option value="1">{@"Today"}</option>
-                                       <option value="2">{@"Yesterday"}</option>
+                                       <option value="0"><%-T("Any Date")%></option>
+                                       <option value="1"><%-T("Today")%></option>
+                                       <option value="2"><%-T("Yesterday")%></option>
                                        <option value="7">{@"1 Week"}</option>
                                        <option value="15">{@"15 Days"}</option>
                                        <option value="30">{@"30 Days"}</option>
 
                <!-- sort by -->
                <fieldset>
-                       <legend>{@"Sort By"}</legend>
+                       <legend><%-T("Sort By")%></legend>
 
                        <div class="field">
                                <select name="sortby">
-                                       <option value="relevance">{@"Relevance"}</option>
-                                       <option value="bugid">{@"Bug ID"}</option>
-                                       <option value="severity">{@"Severity"}</option>
-                                       <option value="priority">{@"Priority"}</option>
-                                       <option value="status">{@"Status"}</option>
-                                       <option value="resolution">{@"Resolution"}</option>
-                                       <option value="dateline">{@"Date"}</option>
+                                       <option value="relevance"><%-T("Relevance")%></option>
+                                       <option value="bugid"><%-T("Bug ID")%></option>
+                                       <option value="severity"><%-T("Severity")%></option>
+                                       <option value="priority"><%-T("Priority")%></option>
+                                       <option value="status"><%-T("Status")%></option>
+                                       <option value="resolution"><%-T("Resolution")%></option>
+                                       <option value="dateline"><%-T("Date")%></option>
                                </select>
 
                                <select name="orderby">
-                                       <option value="asc" selected="selected">{@"Ascending"}</option>
-                                       <option value="desc">{@"Descending"}</option>
+                                       <option value="asc" selected="selected"><%-T("Ascending")%></option>
+                                       <option value="desc"><%-T("Descending")%></option>
                                </select>
                        </div>
                </fieldset>
 
                <!-- assignment -->
                <fieldset>
-                       <legend>{@"Assignment"} $help[assignedto]</legend>
+                       <legend><%-T("Assignment")%> $help[assignedto]</legend>
                        <div class="field"><select name="assignedto[]" size="4" multiple="multiple"><%- $select['dev'] %></select></div>
                </fieldset>
                <!-- / assignment -->
 
                <!-- resolution -->
                <fieldset>
-                       <legend>{@"Resolution"} $help[resolution]</legend>
+                       <legend><%-T("Resolution")%> $help[resolution]</legend>
                        <div class="field"><select name="resolution[]" size="4" multiple="multiple"><%- $select['resolution'] %></select></div>
                </fieldset>
                <!-- / resolution -->
 
                <!-- severity -->
                <fieldset>
-                       <legend>{@"Severity"} $help[severity]</legend>
+                       <legend><%-T("Severity")%> $help[severity]</legend>
                        <div class="field"><select name="severity[]" size="4" multiple="multiple"><%- $select['severity'] %></select></div>
                </fieldset>
                <!-- / severity -->
                <% if (bugdar::$userinfo['userid']): %>
                <!-- favorite -->
                <fieldset>
-                       <legend>{@"Favorite"}</legend>
+                       <legend><%-T("Favorite")%></legend>
                        <div class="field">
                                <select name="favorite">
-                                       <option value="0">{@"Ignore"}</option>
-                                       <option value="1">{@"Yes"}</option>
-                                       <option value="-1">{@"No"}</option>
+                                       <option value="0"><%-T("Ignore")%></option>
+                                       <option value="1"><%-T("Yes")%></option>
+                                       <option value="-1"><%-T("No")%></option>
                                </select>
                        </div>
                </fieldset>
 <div class="clearspill"></div>
 
 <div id="submitrow">
-       <input type="submit" name="submit" value="  {@"Search Reports"}  " accesskey="s" />
-       <input type="reset" name="reset" value="  {@"Reset Fields"}  " accesskey="r" />
+       <input type="submit" name="submit" value="  <%-T("Search Reports")%>  " accesskey="s" />
+       <input type="reset" name="reset" value="  <%-T("Reset Fields")%>  " accesskey="r" />
 </div>
 
 </form>
index 59e1139dfc4bb9ab6e70eeea9185842819d70d10..be04aee2723d9b003a90762d5131cde3c107e1a1 100644 (file)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
 <head>
 <%- $headinclude %>
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Search Results"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Search Results")%></title>
 </head>
 
 <body>
@@ -10,7 +10,7 @@
 <%- $header %>
 
 <% if ($show['cached']): %>
-<div style="font-weight: bold"><a href="search.php?new=1">{@"This search has been cached for your convenience. You can perform a new search by clicking here."}</a></div>
+<div style="font-weight: bold"><a href="search.php?new=1"><%-T("This search has been cached for your convenience. You can perform a new search by clicking here.")%></a></div>
 <div><a href="search.php?rerun=1&amp;searchid=<%- $searchid %>">{@"Alternatively, you can re-run this search by clicking here."}</a></div>
 <br />
 <% endif %>
@@ -23,9 +23,9 @@
 </table>
 
 <div>
-       <a href="search.php?do=export&amp;searchid=<%- $searchid %>">[{@"Export results as XML"}]</a>
-       <% if ($show['save']): %><a href="search.php?do=save&amp;searchid=<%- $searchid %>">[{@"Save Search"}]</a><% endif %>
-       <% if ($show['update']): %><a href="search.php?do=update&amp;searchid=<%- $searchid %>">[{@"Mass Update Bugs in Result"}]</a><% endif %>
+       <a href="search.php?do=export&amp;searchid=<%- $searchid %>">[<%-T("Export results as XML")%>]</a>
+       <% if ($show['save']): %><a href="search.php?do=save&amp;searchid=<%- $searchid %>">[<%-T("Save Search")%>]</a><% endif %>
+       <% if ($show['update']): %><a href="search.php?do=update&amp;searchid=<%- $searchid %>">[<%-T("Mass Update Bugs in Result")%>]</a><% endif %>
 </div>
 
 <% if ($show['pagenav']): %>
index 89fd461af51c4958d1273da9e12c4577627d143e..706550d79f576fb436e0bf5dd4b0521b06cb24fa 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Save Search"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Save Search")%></title>
 </head>
 
 <body>
@@ -12,7 +12,7 @@
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar[left] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head">{@"Save Search"}</div>
+               <div class="box-head"><%-T("Save Search")%></div>
 
                <div class="box-mid">
-                       {@"You can save this search criteria for later by naming this search."}
+                       <%-T("You can save this search criteria for later by naming this search.")%>
 
                        <br />
                        <br />
 
-                       <div><strong>{@"Name"}:</strong> <input type="text" name="name" size="30" maxlength="250" value="<%- $bugsys->in['name'] %>" /></div>
+                       <div><strong><%-T("Name")%>:</strong> <input type="text" name="name" size="30" maxlength="250" value="<%- $bugsys->in['name'] %>" /></div>
                </div>
 
                <div class="box-foot box-center">
-                       <input type="submit" name="submit" value="  {@"Save"}  " accesskey="s" />
-                       <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
+                       <input type="submit" name="submit" value="  <%-T("Save")%>  " accesskey="s" />
+                       <input type="reset" name="reset" value="  <%-T("Reset")%>  " accesskey="r" />
                </div>
        </div>
 </div>
index 9be9aa20303932bb77aeb565af39b48a11d10f0f..a2243e43f71e7f9e81e5eed0a72303ac6124c581 100644 (file)
@@ -4,14 +4,14 @@
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Mass Update"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Mass Update")%></title>
 </head>
 
 <body>
 
 <%- $header %>
 
-<p>{@"Any fields left blank or unselected will not be changed."}</p>
+<p><%-T("Any fields left blank or unselected will not be changed.")%></p>
 
 <form name="search" action="search.php" method="post" class="form">
 <input type="hidden" name="do" value="doupdate" />
 
                <!-- status -->
                <fieldset>
-                       <legend>{@"Status"} $help[status]</legend>
+                       <legend><%-T("Status")%> $help[status]</legend>
                        <div class="field"><select name="status"><%- $select['status'] %></select></div>
                </fieldset>
                <!-- / status -->
 
                <!-- priority -->
                <fieldset>
-                       <legend>{@"Priority"} $help[priority]</legend>
+                       <legend><%-T("Priority")%> $help[priority]</legend>
                        <div class="field"><select name="priority"><%- $select['priority'] %></select></div>
                </fieldset>
                <!-- / priority -->
 
                <!-- assignment -->
                <fieldset>
-                       <legend>{@"Assignment"} $help[assignedto]</legend>
+                       <legend><%-T("Assignment")%> $help[assignedto]</legend>
                        <div class="field"><select name="assignedto"><%- $select['dev'] %></select></div>
                </fieldset>
                <!-- / assignment -->
 
                <!-- resolution -->
                <fieldset>
-                       <legend>{@"Resolution"} $help[resolution]</legend>
+                       <legend><%-T("Resolution")%> $help[resolution]</legend>
                        <div class="field"><select name="resolution"><%- $select['resolution'] %></select></div>
                </fieldset>
                <!-- / resolution -->
 
                <!-- severity -->
                <fieldset>
-                       <legend>{@"Severity"} $help[severity]</legend>
+                       <legend><%-T("Severity")%> $help[severity]</legend>
                        <div class="field"><select name="severity"><%- $select['severity'] %></select></div>
                </fieldset>
                <!-- / severity -->
                <% if (bugdar::$userinfo['userid']): %>
                <!-- favorite -->
                <fieldset>
-                       <legend>{@"Favorite"}</legend>
+                       <legend><%-T("Favorite")%></legend>
                        <div class="field">
                                <select name="favorite">
-                                       <option value="0">{@"Ignore"}</option>
-                                       <option value="1">{@"Yes"}</option>
-                                       <option value="-1">{@"No"}</option>
+                                       <option value="0"><%-T("Ignore")%></option>
+                                       <option value="1"><%-T("Yes")%></option>
+                                       <option value="-1"><%-T("No")%></option>
                                </select>
                        </div>
                </fieldset>
@@ -95,8 +95,8 @@
 <div class="clearspill"></div>
 
 <div id="submitrow">
-       <input type="submit" name="submit" value="  {@"Update Results"}  " accesskey="s" />
-       <input type="reset" name="reset" value="  {@"Reset Fields"}  " accesskey="r" />
+       <input type="submit" name="submit" value="  <%-T("Update Results")%>  " accesskey="s" />
+       <input type="reset" name="reset" value="  <%-T("Reset Fields")%>  " accesskey="r" />
 </div>
 
 </form>
index b73d4a7389c795618490a44dd048984339b50a17..24a9e65dc0097b99d37783a11c6ac392053d5798 100644 (file)
@@ -22,28 +22,28 @@ $header
 
                <!-- bug id & hidden -->
                <fieldset>
-                       <legend>{@"Bug Id"} $help[bugid]</legend>
+                       <legend><%-T("Bug Id")%> $help[bugid]</legend>
                        <div class="field">
                                <%- $bug['bugid'] %>
 
                                <% if ($show['edit']): %>
                                        /
-                                       <strong<% if ($bug['hidden']): %> class="error"<% endif %>>{@"Hidden"}:</strong>
+                                       <strong<% if ($bug['hidden']): %> class="error"<% endif %>><%-T("Hidden")%>:</strong>
                                        <input type="checkbox" name="hidden" value="1"<% if ($bug['hidden']): %> checked="checked"<% endif %> />
                                <% else: %>
-                                       <% if ($bug['hidden']): %> / <span class="error">{@"Hidden Bug"}</span><% endif %>
+                                       <% if ($bug['hidden']): %> / <span class="error"><%-T("Hidden Bug")%></span><% endif %>
                                <% endif %>
 
-                               / [<a href="showhistory.php?bugid=<%- $bug['bugid'] %>">{@"Show Bug History"}</a>]
+                               / [<a href="showhistory.php?bugid=<%- $bug['bugid'] %>"><%-T("Show Bug History")%></a>]
                                <% if ($show['subscribe']): %>/ [<a href="favorite.php?do=handle&amp;bugid=<%- $bug['bugid'] %>"><%- $favoritetext %></a>]<% endif %>
-                               <% if ($show['delete']): %>/ [<a href="editreport.php?do=delete&amp;bugid=<%- $bug['bugid'] %>">{@"Delete"}</a>]<% endif %>
+                               <% if ($show['delete']): %>/ [<a href="editreport.php?do=delete&amp;bugid=<%- $bug['bugid'] %>"><%-T("Delete")%></a>]<% endif %>
                        </div>
                </fieldset>
                <!-- / bug id & hidden -->
 
                <!-- reporter -->
                <fieldset>
-                       <legend>{@"Reporter"} $help[reporter]</legend>
+                       <legend><%-T("Reporter")%> $help[reporter]</legend>
                        <div class="field"><%- $bug['userinfo'] %></div>
                </fieldset>
                <!-- / reporter -->
@@ -57,7 +57,7 @@ $header
 
                <!-- status -->
                <fieldset>
-                       <legend>{@"Status"} $help[status]</legend>
+                       <legend><%-T("Status")%> $help[status]</legend>
                        <div class="field">
                                <% if ($show['changestatus']): %>
                                        <select name="status"><%- $select['status'] %></select>
@@ -70,7 +70,7 @@ $header
 
                <!-- severity -->
                <fieldset>
-                       <legend>{@"Severity"} $help[severity]</legend>
+                       <legend><%-T("Severity")%> $help[severity]</legend>
                        <div class="field">
                                <% if ($show['edit']): %>
                                        <select name="severity"><%- $select['severity'] %></select>
@@ -83,7 +83,7 @@ $header
 
                <!-- duplicate -->
                <fieldset>
-                       <legend>{@"Duplicate Of"} $help[duplicateof]</legend>
+                       <legend><%-T("Duplicate Of")%> $help[duplicateof]</legend>
                        <div class="field">
                                <% if ($show['edit']): %>
                                        <input type="text" name="duplicateof" size="10" value="<% if ($bug['duplicateof']): %><%- $bug['duplicateof'] %><% endif %>" />
@@ -105,7 +105,7 @@ $header
 
                <!-- summary -->
                <fieldset>
-                       <legend>{@"Summary"} $help[summary]</legend>
+                       <legend><%-T("Summary")%> $help[summary]</legend>
                        <div class="field">
                                <% if ($show['edit']): %>
                                        <input type="text" name="summary" size="25" value="<%- $bug['summary'] %>" style="width: 100%" maxlength="250" />
@@ -118,17 +118,17 @@ $header
 
                <!-- reporting time -->
                <fieldset>
-                       <legend>{@"Report Time"} $help[dateline]</legend>
+                       <legend><%-T("Report Time")%> $help[dateline]</legend>
                        <div class="field"><%- $bug['datetime'] %></div>
                </fieldset>
                <!-- / reporting time -->
 
                <!-- assignment -->
                <fieldset>
-                       <legend>{@"Assignment"} $help[assignedto]</legend>
+                       <legend><%-T("Assignment")%> $help[assignedto]</legend>
                        <div class="field">
                                <% if ($show['assign']): %>
-                                       <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"<% endif %>>{@"No Assignment"}</option><%- $select['dev'] %></select>
+                                       <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"<% endif %>><%-T("No Assignment")%></option><%- $select['dev'] %></select>
                                <% else: %>
                                        <% if ($bug['assigninfo']): %><%- $bug['assigninfo'] %><% else: %>{@"- none -"}<% endif %>
                                <% endif %>
@@ -138,7 +138,7 @@ $header
 
                <!-- resolution -->
                <fieldset>
-                       <legend>{@"Resolution"} $help[resolution]</legend>
+                       <legend><%-T("Resolution")%> $help[resolution]</legend>
                        <div class="field">
                                <% if ($show['changestatus']): %>
                                        <select name="resolution"><%- $select['resolution'] %></select>
@@ -151,7 +151,7 @@ $header
 
                <!-- priority -->
                <fieldset>
-                       <legend>{@"Priority"} $help[priority]</legend>
+                       <legend><%-T("Priority")%> $help[priority]</legend>
                        <div class="field">
                                <% if ($show['changestatus']): %>
                                        <select name="priority"><%- $select['priority'] %></select>
@@ -164,7 +164,7 @@ $header
 
                <!-- dependencies -->
                <fieldset>
-                       <legend>{@"Dependencies"} $help[dependency]</legend>
+                       <legend><%-T("Dependencies")%> $help[dependency]</legend>
                        <div class="field">
                                <% if ($show['edit']): %>
                                        <input type="text" name="dependency" size="25" value="<%- $bug['dependency'] %>" /> <%- $dependencies %>
@@ -188,11 +188,11 @@ $header
 <!-- new reply -->
 <div style="width: 100%">
        <fieldset>
-               <legend>{@"New Reply"}<% if ($show['automations']): %> : <a href="explain.php?do=automations">{@"Automation"}</a> <select name="automation"><%- $select['automation'] %></select><% endif %> $help[newreply]</legend>
+               <legend><%-T("New Reply")%><% if ($show['automations']): %> : <a href="explain.php?do=automations"><%-T("Automation")%></a> <select name="automation"><%- $select['automation'] %></select><% endif %> $help[newreply]</legend>
 
                <textarea name="comment" cols="50" rows="10" class="textarea"></textarea>
 
-               <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"<% endif %> /> {@"Parse Links in the Comment"}</div>
+               <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%></div>
        </fieldset>
 </div>
 <!-- / new reply -->
@@ -200,8 +200,8 @@ $header
 
 <!-- submit row -->
 <div id="submitrow">
-       <input type="submit" name="submit" value="  {@"Commit Changes"} " accesskey="s" />
-       <input type="reset" name="reset" value="  {@"Reset Fields"}  " accesskey="r" />
+       <input type="submit" name="submit" value="  <%-T("Commit Changes")%> " accesskey="s" />
+       <input type="reset" name="reset" value="  <%-T("Reset Fields")%>  " accesskey="r" />
 </div>
 <!-- / submit row -->
 
@@ -216,7 +216,7 @@ $header
        <!-- attachments -->
        <div id="attachments" style="float: <%- $stylevar['right'] %>">
        <fieldset>
-               <legend>{@"Attachments"}<% if ($show['putattachments']): %> : <a href="attachment.php?do=add&amp;bugid=<%- $bug['bugid'] %>">{@"New"}</a><% endif %></legend>
+               <legend><%-T("Attachments")%><% if ($show['putattachments']): %> : <a href="attachment.php?do=add&amp;bugid=<%- $bug['bugid'] %>"><%-T("New")%></a><% endif %></legend>
 
                <%- $attachments %>
        </fieldset>
@@ -227,11 +227,11 @@ $header
        <!-- show votes -->
        <div id="votes<% if ($show['attachments']): %><if condition="!$show['vote']">fifty<% endif %><% else: %><if condition="!$show['vote']">hundred<% endif %><% endif %>">
        <fieldset>
-               <legend>{@"Votes"}</legend>
+               <legend><%-T("Votes")%></legend>
 
-               <div><strong>{@"For"}:</strong> <%- $vote['votefor'] %> (<%- $vote['forpercent'] %>%)</div>
-               <div><strong>{@"Against"}:</strong> <%- $vote['voteagainst'] %> (<%- $vote['againstpercent'] %>%)</div>
-               <div><strong>{@"Total"}:</strong> <%- $vote['total'] %></div>
+               <div><strong><%-T("For")%>:</strong> <%- $vote['votefor'] %> (<%- $vote['forpercent'] %>%)</div>
+               <div><strong><%-T("Against")%>:</strong> <%- $vote['voteagainst'] %> (<%- $vote['againstpercent'] %>%)</div>
+               <div><strong><%-T("Total")%>:</strong> <%- $vote['total'] %></div>
        </fieldset>
        </div>
        <!-- / show votes -->
@@ -240,7 +240,7 @@ $header
        <!-- your vote -->
        <div id="yourvote">
        <fieldset>
-               <legend>{@"Your Vote"}</legend>
+               <legend><%-T("Your Vote")%></legend>
 
                <form name="vote" action="vote.php" method="post" class="form">
                        <input type="hidden" name="do" value="vote" />
@@ -248,7 +248,7 @@ $header
                        <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
                        <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
 
-                       <input type="submit" name="submit" value="  {@"Vote"}  " accesskey="v" />
+                       <input type="submit" name="submit" value="  <%-T("Vote")%>  " accesskey="v" />
                </form>
        </fieldset>
        </div>
index 5cc2ef766d0a82e7f1aaf4b473c8095b0caafe51..0a09992e9d6127cc0cbd9586a1bfecce5d09d14b 100644 (file)
@@ -1,5 +1,5 @@
                <div>
-                       <% if ($show['editattach']): %><span style="float: <%- $stylevar['right'] %>; font-size: 10px">[<a href="attachment.php?do=edit&amp;attachmentid=<%- $attachment['attachmentid'] %>">{@"Edit"}</a>]</span><% endif %>
+                       <% if ($show['editattach']): %><span style="float: <%- $stylevar['right'] %>; font-size: 10px">[<a href="attachment.php?do=edit&amp;attachmentid=<%- $attachment['attachmentid'] %>"><%-T("Edit")%></a>]</span><% endif %>
                        <strong><a href="viewattachment.php?attachmentid=<%- $attachment['attachmentid'] %>" target="_blank"<% if ($attachment['obsolete']): %> style="text-decoration: line-through"<% endif %> title="<lang 1="$attachment[user]">{@"Posted by %1$s"}</lang>\n(<%- $attachment['date'] %>)"><%- $attachment['filename'] %></a></strong>
                        <span style="font-size: 10px"><%- $attachment['description'] %></span>
                </div>
index b407009043404efa525dc095ab3af1236a868312..8782adeff0b3a25625a2046979e8b8512d427838 100644 (file)
        <% if ($show['editcomment']): %>
        <div class="box-foot" style="text-align: <%- $stylevar['left'] %>">
                <span style="float: <%- $stylevar['right'] %>">
-                       <% if ($show['delete']): %>[<a href="editcomment.php?do=delete&amp;commentid=<%- $comment['commentid'] %>">{@"Delete"}</a>]<% endif %>
-                       [<a href="editcomment.php?commentid=<%- $comment['commentid'] %>">{@"Edit Comment"}</a>]
+                       <% if ($show['delete']): %>[<a href="editcomment.php?do=delete&amp;commentid=<%- $comment['commentid'] %>"><%-T("Delete")%></a>]<% endif %>
+                       [<a href="editcomment.php?commentid=<%- $comment['commentid'] %>"><%-T("Edit Comment")%></a>]
                </span>
-               <% if ($comment['hidden']): %><strong>{@"Hidden"}</strong><% else: %>{@"Visible"}<% endif %>
+               <% if ($comment['hidden']): %><strong><%-T("Hidden")%></strong><% else: %><%-T("Visible")%><% endif %>
        </div>
        <% endif %>
 </div>
index 05c602b361dbb7dd9d34e1b9dfc2403ddc633cb1..7af0fcacdd252eeb46d72666d17356b431fedbd2 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Error"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Error")%></title>
 </head>
 
 <body>
@@ -12,7 +12,7 @@
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Error"}</div>
+               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Error")%></div>
 
                <div class="box-mid box-overpad" style="text-align: <%- $stylevar['left'] %>">
                        <%- $error %>
index b753883a364be0be3d1dbdef8e83b22d7cc25b03..be392e8d88d70b1fcd72ea4f66763229630a814f 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - <% if ($show['confirm']): %>{@"Confirm"}<% else: %>{@"Notice"}<% endif %></title>
+       <title><%- bugdar::$options['trackertitle'] %> - <% if ($show['confirm']): %><%-T("Confirm")%><% else: %><%-T("Notice")%><% endif %></title>
 </head>
 
 <body>
@@ -18,7 +18,7 @@
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><% if ($show['confirm']): %>{@"Confirm"}<% else: %>{@"Notice"}<% endif %></div>
+               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><% if ($show['confirm']): %><%-T("Confirm")%><% else: %><%-T("Notice")%><% endif %></div>
 
                <div class="box-mid box-overpad" style="text-align: <%- $stylevar['left'] %>">
                        <%- $message %>
index b5c1b394a6402bdd21254a0a79c83cfed334ba48..1cd2f213c3761fea33a7e5f7bc716019727d7f52 100644 (file)
@@ -4,7 +4,7 @@
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
        <meta http-equiv="refresh" content="2; url=<%- $url %>" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Redirect..."}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Redirect...")%></title>
 </head>
 
 <body>
@@ -13,7 +13,7 @@
 
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
-               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Redirect..."}</div>
+               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Redirect...")%></div>
 
                <div class="box-mid box-overpad" style="text-align: <%- $stylevar['left'] %>">
                        <%- $message %>
@@ -21,7 +21,7 @@
                        <br />
                        <br />
 
-                       <a href="<%- $url %>">{@"If you are not redirected in a few seconds, click here."}</a>
+                       <a href="<%- $url %>"><%-T("If you are not redirected in a few seconds, click here.")%></a>
                </div>
        </div>
 </div>
index 3487efae87bf131059714bdd913b6be9afa9c672..cb076e9d688cfa4ef93a7267c7cb2ebc93284ec5 100644 (file)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar[lang] %>" xml:lang="<%- $stylevar[lang] %>" dir="<%- $stylevar[lang_dir] %>">
 <head>
 <%- $headinclude %>
-       <title><%- bugdar::$options['trackertitle'] %> - {@"Bug Listing"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("Bug Listing")%></title>
 </head>
 
 <body>
index 4d49939113521c5cea54c64d8bdcbbbfc5b96a29..e8553100015e2df2d883a8cefe6df71330f01ca3 100644 (file)
@@ -4,7 +4,7 @@
 <%- $headinclude %>
        <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
-       <title><%- bugdar::$options['trackertitle'] %> - {@"User Options"}</title>
+       <title><%- bugdar::$options['trackertitle'] %> - <%-T("User Options")%></title>
 </head>
 
 <body>
@@ -16,7 +16,7 @@
 
 <% if ($show['errors']): %>
 <div class="error" style="text-align: <%- $stylevar['left'] %>">
-       {@"The following errors occurred"}:
+       <%-T("The following errors occurred")%>:
        <%- $message->errorBox %>
 </div>
 <% endif %>
                <td width="50%">
                        <!-- user options -->
                        <div class="box">
-                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"User Options"}</div>
+                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("User Options")%></div>
 
                                <div class="box-mid">
                                        <if condition="bugdar::$options['authmethod'] == 'default'">
                                        <fieldset>
-                                               <legend>{@"Display Name"}</legend>
+                                               <legend><%-T("Display Name")%></legend>
                                                <input type="text" name="displayname" value="<%- $userinfo['displayname'] %>" size="25" style="width: 100%" maxlength="250" />
                                        </fieldset>
                                        <% endif %>
 
                                        <fieldset>
-                                               <legend>{@"Show Email Publicly"}</legend>
-                                               <input type="radio" name="showemail" value="1"<% if ($userinfo['showemail']): %> checked="checked"<% endif %> /> {@"Yes"}
-                                               <input type="radio" name="showemail" value="0"<if condition="!$userinfo['showemail']"> checked="checked"<% endif %> /> {@"No"}
+                                               <legend><%-T("Show Email Publicly")%></legend>
+                                               <input type="radio" name="showemail" value="1"<% if ($userinfo['showemail']): %> checked="checked"<% endif %> /> <%-T("Yes")%>
+                                               <input type="radio" name="showemail" value="0"<if condition="!$userinfo['showemail']"> checked="checked"<% endif %> /> <%-T("No")%>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Show Status Colors on Bug Listings"}</legend>
-                                               <input type="radio" name="showcolors" value="1"<% if ($userinfo['showcolors']): %> checked="checked"<% endif %> /> {@"Yes"}
-                                               <input type="radio" name="showcolors" value="0"<if condition="!$userinfo['showcolors']"> checked="checked"<% endif %> /> {@"No"}
+                                               <legend><%-T("Show Status Colors on Bug Listings")%></legend>
+                                               <input type="radio" name="showcolors" value="1"<% if ($userinfo['showcolors']): %> checked="checked"<% endif %> /> <%-T("Yes")%>
+                                               <input type="radio" name="showcolors" value="0"<if condition="!$userinfo['showcolors']"> checked="checked"<% endif %> /> <%-T("No")%>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Language"}</legend>
+                                               <legend><%-T("Language")%></legend>
                                                <select name="languageid"><%- $langselect %></select>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Timezone"}</legend>
+                                               <legend><%-T("Timezone")%></legend>
                                                <select name="timezone"><%- $tzselect %></select>
                                        </fieldset>
 
 
                        <!-- email options -->
                        <div class="box">
-                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Email Options"}</div>
+                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Email Options")%></div>
 
                                <div class="box-mid">
                                        <table class="table">
                                        <tr style="text-align: center">
                                                <td>&nbsp;</td>
-                                               <td class="altcolor"><strong>{@"Reporter"}</strong></td>
-                                               <td><strong>{@"Assignee"}</strong></td>
-                                               <td class="altcolor"><strong>{@"Favorite"}</strong></td>
-                                               <td><strong>{@"Voter"}</strong></td>
-                                               <td class="altcolor"><strong>{@"Commenter"}</strong></td>
+                                               <td class="altcolor"><strong><%-T("Reporter")%></strong></td>
+                                               <td><strong><%-T("Assignee")%></strong></td>
+                                               <td class="altcolor"><strong><%-T("Favorite")%></strong></td>
+                                               <td><strong><%-T("Voter")%></strong></td>
+                                               <td class="altcolor"><strong><%-T("Commenter")%></strong></td>
                                        </tr>
 
                                        <tr class="altcolor textcenter">
-                                               <td style="text-align: <%- $stylevar['left'] %>">{@"New bug is added"}</td>
+                                               <td style="text-align: <%- $stylevar['left'] %>"><%-T("New bug is added")%></td>
                                                <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"<%- $checked[0][2048] %> value="1" /></td>
                                        </tr>
 
                                        <tr style="text-align: center">
-                                               <td style="text-align: <%- $stylevar['left'] %>">{@"I am made the assignee"}</td>
+                                               <td style="text-align: <%- $stylevar['left'] %>"><%-T("I am made the assignee")%></td>
                                                <td colspan="5"><input type="checkbox" name="emailopts[0][32]"<%- $checked[0][32] %> value="1" /></td>
                                        </tr>
 
                                        <tr class="altcolor textcenter">
-                                               <td style="text-align: <%- $stylevar['left'] %>">{@"Status or resolution changes"}</td>
+                                               <td style="text-align: <%- $stylevar['left'] %>"><%-T("Status or resolution changes")%></td>
                                                <td><input type="checkbox" name="emailopts[1][64]"<%- $checked[1][64] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[2][64]"<%- $checked[2][64] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[4][64]"<%- $checked[4][64] %> value="1" /></td>
                                        </tr>
 
                                        <tr class="altcolor textcenter">
-                                               <td style="text-align: <%- $stylevar['left'] %>">{@"A new comment is added"}</td>
+                                               <td style="text-align: <%- $stylevar['left'] %>"><%-T("A new comment is added")%></td>
                                                <td><input type="checkbox" name="emailopts[1][256]"<%- $checked[1][256] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[2][256]"<%- $checked[2][256] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[4][256]"<%- $checked[4][256] %> value="1" /></td>
                                        </tr>
 
                                        <tr style="text-align: center">
-                                               <td style="text-align: $stylevar[left]">{@"A new attachment is added"}</td>
+                                               <td style="text-align: $stylevar[left]"><%-T("A new attachment is added")%></td>
                                                <td><input type="checkbox" name="emailopts[1][512]"<%- $checked[1][512] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[2][512]"<%- $checked[2][512] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[4][512]"<%- $checked[4][512] %> value="1" /></td>
                                        </tr>
 
                                        <tr class="altcolor textcenter">
-                                               <td style="text-align: $stylevar[left]">{@"Any other field changes"}</td>
+                                               <td style="text-align: $stylevar[left]"><%-T("Any other field changes")%></td>
                                                <td><input type="checkbox" name="emailopts[1][1024]"<%- $checked[1][1024] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[2][1024]"<%- $checked[2][1024] %> value="1" /></td>
                                                <td><input type="checkbox" name="emailopts[4][1024]"<%- $checked[4][1024] %> value="1" /></td>
                        <% if ($searches): %>
                        <!-- saved searches -->
                        <div class="box">
-                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Saved Searches"}</div>
+                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Saved Searches")%></div>
 
                                <div class="box-mid">
                                        <%- $searches %>
                        <!-- password and email -->
                        <div class="box">
                                <div class="box-head" style="text-align: <%- $stylevar['left'] %>">
-                                       {@"Please enter your password to change these fields"}:
+                                       <%-T("Please enter your password to change these fields")%>:
                                        <br />
 
                                        <input type="password" name="validate" size="35" maxlength="250" />
 
                                <div class="box-mid box-margmod-top">
                                        <fieldset>
-                                               <legend>{@"Password"}</legend>
+                                               <legend><%-T("Password")%></legend>
                                                <input type="password" name="password_change" size="25" style="width: 100%" maxlength="250" />
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Confirm Password"}</legend>
+                                               <legend><%-T("Confirm Password")%></legend>
                                                <input type="password" name="password_confirm" size="25" style="width: 100%" maxlength="250" />
                                        </fieldset>
                                </div>
 
                                <div class="box-mid box-margmod-top">
                                        <fieldset>
-                                               <legend>{@"Email"}</legend>
+                                               <legend><%-T("Email")%></legend>
                                                <input type="text" name="email_change" size="25" value="<%- $email %>" style="width: 100%" maxlength="250" />
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Confirm Email"}</legend>
+                                               <legend><%-T("Confirm Email")%></legend>
                                                <input type="text" name="email_confirm" size="25" value="<%- $email_confirm %>" style="width: 100%" maxlength="250" />
                                        </fieldset>
                                </div>
 
                        <!-- display options -->
                        <div class="box">
-                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>">{@"Bug List Display Options"}</div>
+                               <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Bug List Display Options")%></div>
 
                                <div class="box-mid">
                                        <fieldset>
-                                               <legend>{@"Hidden Statuses on Bug Listing"}</legend>
+                                               <legend><%-T("Hidden Statuses on Bug Listing")%></legend>
                                                <select name="hidestatuses[]" multiple="multiple" size="<%- $hidestatusesnum %>"><%- $hidestatuses %></select>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Default Sort Order Column"}</legend>
+                                               <legend><%-T("Default Sort Order Column")%></legend>
                                                <%- $defaultsortkey %>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Default Sort Order Direction"}</legend>
+                                               <legend><%-T("Default Sort Order Direction")%></legend>
                                                <%- $defaultsortas %>
                                        </fieldset>
 
                                        <fieldset>
-                                               <legend>{@"Bug List Columns"} $help[columnorder]</legend>
+                                               <legend><%-T("Bug List Columns")%> $help[columnorder]</legend>
                                                <table class="table" style="width: auto">
                                                <%- $columnOptions %>
                                                </table>
 <br />
 
 <div class="submitrow">
-       <input name="submit" type="submit" value="  {@"Submit"}  " accesskey="s" />
-       <input name="reset" type="reset" value="  {@"Reset"}  " accesskey="r" />
+       <input name="submit" type="submit" value="  <%-T("Submit")%>  " accesskey="s" />
+       <input name="reset" type="reset" value="  <%-T("Reset")%>  " accesskey="r" />
 </div>
 
 </form>
index bee018d38332fada529d9ac297a56c44563df090..8f77d66748d133c1ae11bf983bfc67e5b706df33 100644 (file)
@@ -1,7 +1,7 @@
 <div>
        <span style="float: <%- $stylevar['right'] %>">
-               <a href="search.php?searchid=<%- $search['searchid'] %>&amp;rerun=1">[{@"Run Search"}]</a>
-               <a href="userctrl.php?do=deletesearch&amp;searchid=<%- $search['searchid'] %>">[{@"Delete"}]</a>
+               <a href="search.php?searchid=<%- $search['searchid'] %>&amp;rerun=1">[<%-T("Run Search")%>]</a>
+               <a href="userctrl.php?do=deletesearch&amp;searchid=<%- $search['searchid'] %>">[<%-T("Delete")%>]</a>
        </span>
        <%- $search['name'] %>
 </div>
\ No newline at end of file