From 587ad15ddb713857ae6a645a56a544bc84655ec9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 26 Jun 2008 10:01:08 -0400 Subject: [PATCH] Convert {@""} to <%-T()%> --- templates/bugfield_input_checkbox.tpl | 2 +- templates/editattach.tpl | 12 ++--- templates/editcomment.tpl | 10 ++-- templates/explain_automation.tpl | 4 +- templates/explain_product.tpl | 8 +-- templates/favorites.tpl | 2 +- templates/footer.tpl | 2 +- templates/header.tpl | 22 ++++---- templates/headinclude.tpl | 2 +- templates/help_link.tpl | 2 +- templates/help_window.tpl | 4 +- templates/history.tpl | 12 ++--- templates/login.tpl | 16 +++--- templates/lostpassword.tpl | 14 ++--- templates/newattach.tpl | 14 ++--- templates/newreport.tpl | 30 +++++------ templates/pagenav.tpl | 8 +-- templates/passwordreset.tpl | 16 +++--- templates/quicksearch.tpl | 6 +-- templates/register.tpl | 24 ++++----- templates/search.tpl | 66 ++++++++++++------------ templates/search_results.tpl | 10 ++-- templates/search_save.tpl | 14 ++--- templates/search_update.tpl | 26 +++++----- templates/showreport.tpl | 54 +++++++++---------- templates/showreport_attachment.tpl | 2 +- templates/showreport_comment.tpl | 6 +-- templates/std_error.tpl | 4 +- templates/std_message.tpl | 4 +- templates/std_redirect.tpl | 6 +-- templates/trackerhome.tpl | 2 +- templates/userctrl.tpl | 74 +++++++++++++-------------- templates/userctrl_search.tpl | 4 +- 33 files changed, 241 insertions(+), 241 deletions(-) diff --git a/templates/bugfield_input_checkbox.tpl b/templates/bugfield_input_checkbox.tpl index 9953b69..8b12cbf 100644 --- a/templates/bugfield_input_checkbox.tpl +++ b/templates/bugfield_input_checkbox.tpl @@ -1,6 +1,6 @@
<%- $field[name] %> <%- $help['field' . $field['fieldid']] %> -
<% if ($searchMode): %><% else: %> /><% endif %>
+
<% if ($searchMode): %><% else: %> /><% endif %>
\ No newline at end of file diff --git a/templates/editattach.tpl b/templates/editattach.tpl index beb92d5..3022e2a 100644 --- a/templates/editattach.tpl +++ b/templates/editattach.tpl @@ -21,21 +21,21 @@
-
{@"Attachment"}: {@"View"} [<%- $attachment['filename'] %>]
+
<%-T("Attachment")%>: <%-T("View")%> [<%- $attachment['filename'] %>]
-
{@"Description"}:
-
{@"Obsolete"}: checked="checked"<% endif %> />
+
<%-T("Description")%>:
+
<%-T("Obsolete")%>: checked="checked"<% endif %> />

- - <% if ($show['delete']): %><% endif %> - + " accesskey="s" /> + <% if ($show['delete']): %> " /><% endif %> + " accesskey="r" />
diff --git a/templates/editcomment.tpl b/templates/editcomment.tpl index 1270f6c..91cf782 100644 --- a/templates/editcomment.tpl +++ b/templates/editcomment.tpl @@ -12,7 +12,7 @@ $header <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -29,8 +29,8 @@ $header
{@"Posted on %1$s by %2$s"}
- <% if ($show['hide']): %>
style="color: red"<% endif %>>{@"Hidden"}: checked="checked"<% endif %> />
<% endif %> -
{@"Parse Links in the Comment"}: checked="checked"<% endif %> />
+ <% if ($show['hide']): %>
style="color: red"<% endif %>><%-T("Hidden")%>: checked="checked"<% endif %> />
<% endif %> +
<%-T("Parse Links in the Comment")%>: checked="checked"<% endif %> />
@@ -38,8 +38,8 @@ $header
- - + " /> + " />
diff --git a/templates/explain_automation.tpl b/templates/explain_automation.tpl index 38b6bcc..437f4d3 100644 --- a/templates/explain_automation.tpl +++ b/templates/explain_automation.tpl @@ -2,14 +2,14 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Automations"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Automations")%> <%- $header %> -

{@"Explication of Automations"}

+

<%-T("Explication of Automations")%>

<%- $automations %> diff --git a/templates/explain_product.tpl b/templates/explain_product.tpl index 9c33fac..c16a459 100644 --- a/templates/explain_product.tpl +++ b/templates/explain_product.tpl @@ -2,22 +2,22 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Products"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Products")%> <%- $header %> -

{@"Explication of Products"}

+

<%-T("Explication of Products")%>

<% if ($globalversions): %>
- + - + <%- $globalversions %>
{@"Global Versions"}<%-T("Global Versions")%>
{@"These versions are avaliable for every product, component, and version."}<%-T("These versions are avaliable for every product, component, and version.")%>
diff --git a/templates/favorites.tpl b/templates/favorites.tpl index 6c24b08..3b31eb5 100644 --- a/templates/favorites.tpl +++ b/templates/favorites.tpl @@ -2,7 +2,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"My Favorite Bugs"} + <%- bugdar::$options['trackertitle'] %> - <%-T("My Favorite Bugs")%> diff --git a/templates/footer.tpl b/templates/footer.tpl index b69d338..ea8a8ad 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -1,7 +1,7 @@ diff --git a/templates/header.tpl b/templates/header.tpl index 816537d..9eda708 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -2,13 +2,13 @@
- {@"Go to bug ID"} + <%-T("Go to bug ID")%> " />
<%- bugdar::$options['trackertitle'] %>   - {@ + <%-T(" /> <%- $datetime %> @@ -19,25 +19,25 @@ <% endif %>
- {@ {@"Syndicate"} + <%-T(" style="border: 0px" /> <%-T("Syndicate")%> - {@"Listing"} + <%-T("Listing")%> <% if ($show['newreport']): %> - {@"New"} + <%-T("New")%> <% endif %> - {@"Display"} + <%-T("Display")%> <% if ($show['search']): %> - {@"Search"} + <%-T("Search")%> <% endif %> <% if (bugdar::$userinfo['userid']): %> - {@"Favorites"} + <%-T("Favorites")%> <% endif %> - {@"Options"}<% else: %>login.php">{@"Login/Register"}<% endif %> + <%-T("Options")%><% else: %>login.php">{@"Login/Register"}<% endif %> <% if ($show['admin']): %> - {@"Administration"} + <%-T("Administration")%> <% endif %> <% if (bugdar::$userinfo['userid']): %> - {@"Logout"} + <%-T("Logout")%> <% endif %>
diff --git a/templates/headinclude.tpl b/templates/headinclude.tpl index 2b3a169..a73a61a 100644 --- a/templates/headinclude.tpl +++ b/templates/headinclude.tpl @@ -2,5 +2,5 @@ - + \ No newline at end of file diff --git a/templates/help_link.tpl b/templates/help_link.tpl index d095604..e7c9180 100644 --- a/templates/help_link.tpl +++ b/templates/help_link.tpl @@ -1 +1 @@ -? \ No newline at end of file +">? \ No newline at end of file diff --git a/templates/help_window.tpl b/templates/help_window.tpl index a23a393..44e6355 100644 --- a/templates/help_window.tpl +++ b/templates/help_window.tpl @@ -3,14 +3,14 @@ <%- $headinclude %> - {@"Help"} - <%- $topic['title'] %> + <%-T("Help")%> - <%- $topic['title'] %>
-
{@"Help"} : <%- $topic['title'] %>
+
<%-T("Help")%> : <%- $topic['title'] %>
<%- $topic['body'] %> diff --git a/templates/history.tpl b/templates/history.tpl index 0310543..a38d9c8 100644 --- a/templates/history.tpl +++ b/templates/history.tpl @@ -2,7 +2,7 @@ <%- $headinclude %> - {@"Bug History"} - <%- $bug['summary'] %> + <%-T("Bug History")%> - <%- $bug['summary'] %> @@ -13,11 +13,11 @@ - - - - - + + + + + <%- $history %>
{@"User"}{@"Date"}{@"Field"}{@"Old Value"}{@"New Value"}<%-T("User")%><%-T("Date")%><%-T("Field")%><%-T("Old Value")%><%-T("New Value")%>
diff --git a/templates/login.tpl b/templates/login.tpl index 99a1094..31cd470 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Login"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Login")%> @@ -16,19 +16,19 @@ $header
-
{@"Login"}
+
<%-T("Login")%>
-
{@"Email"}:
-
{@"Password"}:
-
{@"Remember Me"}: {@"Yes"}
+
<%-T("Email")%>:
+
<%-T("Password")%>:
+
<%-T("Remember Me")%>: <%-T("Yes")%>

- [{@"Register"}] [{@"Lost Password"}] + [<%-T("Register")%>] [<%-T("Lost Password")%>]
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/lostpassword.tpl b/templates/lostpassword.tpl index 7922e94..e2f7ae9 100644 --- a/templates/lostpassword.tpl +++ b/templates/lostpassword.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Lost Password"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Lost Password")%> @@ -15,17 +15,17 @@ $header
-
{@"Lost Password Recovery"}
+
<%-T("Lost Password Recovery")%>
- <% if ($show['lostpwerror']): %>
{@"The specified email could not be found or it is invalid."}
<% endif %> -
{@"Enter your email in the box below and you will receive a message with instructions on how to set a new password."}
-
{@"Email"}:
+ <% if ($show['lostpwerror']): %>
<%-T("The specified email could not be found or it is invalid.")%>
<% endif %> +
<%-T("Enter your email in the box below and you will receive a message with instructions on how to set a new password.")%>
+
<%-T("Email")%>:
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/newattach.tpl b/templates/newattach.tpl index dde552a..f277415 100644 --- a/templates/newattach.tpl +++ b/templates/newattach.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - {@"New Attachment"} - <%- $bug['summary'] %> + <%-T("New Attachment")%> - <%- $bug['summary'] %> @@ -12,7 +12,7 @@ $header <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -28,12 +28,12 @@ $header
-
{@"Description"}:
+
<%-T("Description")%>:
<% if ($show['obsoletes']): %>
-
{@"Mark the Following Attachments Obsolete"}: +
<%-T("Mark the Following Attachments Obsolete")%>: <%- $obsoletes %>
@@ -41,7 +41,7 @@ $header <% if ($show['addcomment']): %>
-
{@"Add Comment"}: +
<%-T("Add Comment")%>:
@@ -53,8 +53,8 @@ $header
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/newreport.tpl b/templates/newreport.tpl index 15d2244..058a7ed 100644 --- a/templates/newreport.tpl +++ b/templates/newreport.tpl @@ -4,7 +4,7 @@ <%- $headinclude %> - {@"New Bug Report"} - <%- bugdar::$options['trackertitle'] %> + <%-T("New Bug Report")%> - <%- bugdar::$options['trackertitle'] %> @@ -13,7 +13,7 @@ $header <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -27,7 +27,7 @@ $header
- {@"Reporter"} <%- $help['reporter'] %> + <%-T("Reporter")%> <%- $help['reporter'] %>
<%- $reporter %>
@@ -35,14 +35,14 @@ $header
{@"Product/Version"} <%- $help['product'] %> -
+
<% if ($show['changestatus']): %>
- {@"Status"} <%- $help['status'] %> + <%-T("Status")%> <%- $help['status'] %>
@@ -50,7 +50,7 @@ $header
- {@"Severity"} <%- $help['severity'] %> + <%-T("Severity")%> <%- $help['severity'] %>
@@ -65,7 +65,7 @@ $header
- {@"Summary"} <%- $help['summary'] %> + <%-T("Summary")%> <%- $help['summary'] %>
@@ -73,8 +73,8 @@ $header <% if ($show['assign']): %>
- {@"Assignment"} <%- $help['assignedto'] %> -
+ <%-T("Assignment")%> <%- $help['assignedto'] %> +
<% endif %> @@ -82,7 +82,7 @@ $header <% if ($show['changestatus']): %>
- {@"Resolution"} <%- $help['resolution'] %> + <%-T("Resolution")%> <%- $help['resolution'] %>
@@ -91,7 +91,7 @@ $header <% if ($show['changestatus']): %>
- {@"Priority"} <%- $help['priority'] %> + <%-T("Priority")%> <%- $help['priority'] %>
@@ -112,16 +112,16 @@ $header -
checked="checked"<% endif %> /> {@"Parse Links in the Comment"}
+
checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%>
- - - + " accesskey="s" /> + " accesskey="r" /> + " accesskey="e" />
diff --git a/templates/pagenav.tpl b/templates/pagenav.tpl index 0d08ebb..73784e9 100644 --- a/templates/pagenav.tpl +++ b/templates/pagenav.tpl @@ -1,7 +1,7 @@
- <% if ($show['first']): %>{@"First"} ...<% endif %> - <% if ($show['prev']): %>{@"Prev"} ...<% endif %> + <% if ($show['first']): %><%-T("First")%> ...<% endif %> + <% if ($show['prev']): %><%-T("Prev")%> ...<% endif %> $pagebits - <% if ($show['next']): %>... {@"Next"}<% endif %> - <% if ($show['last']): %>... {@"Last"}<% endif %> + <% if ($show['next']): %>... <%-T("Next")%><% endif %> + <% if ($show['last']): %>... <%-T("Last")%><% endif %>
\ No newline at end of file diff --git a/templates/passwordreset.tpl b/templates/passwordreset.tpl index 5baaa4e..f002491 100644 --- a/templates/passwordreset.tpl +++ b/templates/passwordreset.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Reset Password"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Reset Password")%> @@ -16,24 +16,24 @@ <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %>
-
{@"Lost Password Recovery: Password Reset"}
+
<%-T("Lost Password Recovery: Password Reset")%>
-
{@"Enter a new password below and then confirm it."}
-
{@"New Password"}:
-
{@"Confirm Password"}:
+
<%-T("Enter a new password below and then confirm it.")%>
+
<%-T("New Password")%>:
+
<%-T("Confirm Password")%>:
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/quicksearch.tpl b/templates/quicksearch.tpl index 7e504ad..ac3a0ce 100644 --- a/templates/quicksearch.tpl +++ b/templates/quicksearch.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Quick Search"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Quick Search")%> @@ -12,7 +12,7 @@
-
{@"Quick Search"}
+
<%-T("Quick Search")%>
<% if ($error): %> @@ -22,7 +22,7 @@
- {@"Go to bug ID"} + <%-T("Go to bug ID")%> " />
diff --git a/templates/register.tpl b/templates/register.tpl index a16380e..00e4b84 100644 --- a/templates/register.tpl +++ b/templates/register.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Register"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Register")%> @@ -12,7 +12,7 @@ $header <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -22,21 +22,21 @@ $header
-
{@"Register"}
+
<%-T("Register")%>
-
{@"Email"}:
-
{@"Confirm Email"}:
-
{@"Display Name"}:
-
{@"Password"}:
-
{@"Confirm Password"}:
-
{@"Show My Email Publicly"}: checked="checked"<% endif %> /> {@"Yes"}
-
{@"Language"}:
+
<%-T("Email")%>:
+
<%-T("Confirm Email")%>:
+
<%-T("Display Name")%>:
+
<%-T("Password")%>:
+
<%-T("Confirm Password")%>:
+
<%-T("Show My Email Publicly")%>: checked="checked"<% endif %> /> <%-T("Yes")%>
+
<%-T("Language")%>:
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/search.tpl b/templates/search.tpl index 1096b87..f465366 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -4,7 +4,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Search"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Search")%> @@ -13,12 +13,12 @@ <% if ($searches): %>
-{@"Run Saved Search"}: - +<%-T("Run Saved Search")%>: + " />
<% endif %> -

{@"Any fields left blank or unselected will be excluded from the search query."}

+

<%-T("Any fields left blank or unselected will be excluded from the search query.")%>

@@ -29,13 +29,13 @@
- {@"Search Mode"} + <%-T("Search Mode")%>
@@ -43,7 +43,7 @@
- {@"Reporter"} $help[reporter] + <%-T("Reporter")%> $help[reporter]
@@ -57,14 +57,14 @@
- {@"Status"} $help[status] + <%-T("Status")%> $help[status]
- {@"Priority"} $help[priority] + <%-T("Priority")%> $help[priority]
@@ -75,9 +75,9 @@
- - - - - - - + + + + + + +
@@ -128,21 +128,21 @@
- {@"Assignment"} $help[assignedto] + <%-T("Assignment")%> $help[assignedto]
- {@"Resolution"} $help[resolution] + <%-T("Resolution")%> $help[resolution]
- {@"Severity"} $help[severity] + <%-T("Severity")%> $help[severity]
@@ -150,12 +150,12 @@ <% if (bugdar::$userinfo['userid']): %>
- {@"Favorite"} + <%-T("Favorite")%>
@@ -171,8 +171,8 @@
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/search_results.tpl b/templates/search_results.tpl index 59e1139..be04aee 100644 --- a/templates/search_results.tpl +++ b/templates/search_results.tpl @@ -2,7 +2,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Search Results"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Search Results")%> @@ -10,7 +10,7 @@ <%- $header %> <% if ($show['cached']): %> - +
<% endif %> @@ -23,9 +23,9 @@
- [{@"Export results as XML"}] - <% if ($show['save']): %>[{@"Save Search"}]<% endif %> - <% if ($show['update']): %>[{@"Mass Update Bugs in Result"}]<% endif %> + [<%-T("Export results as XML")%>] + <% if ($show['save']): %>[<%-T("Save Search")%>]<% endif %> + <% if ($show['update']): %>[<%-T("Mass Update Bugs in Result")%>]<% endif %>
<% if ($show['pagenav']): %> diff --git a/templates/search_save.tpl b/templates/search_save.tpl index 89fd461..706550d 100644 --- a/templates/search_save.tpl +++ b/templates/search_save.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Save Search"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Save Search")%> @@ -12,7 +12,7 @@ <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -23,20 +23,20 @@
-
{@"Save Search"}
+
<%-T("Save Search")%>
- {@"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.")%>

-
{@"Name"}:
+
<%-T("Name")%>:
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/search_update.tpl b/templates/search_update.tpl index 9be9aa2..a2243e4 100644 --- a/templates/search_update.tpl +++ b/templates/search_update.tpl @@ -4,14 +4,14 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Mass Update"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Mass Update")%> <%- $header %> -

{@"Any fields left blank or unselected will not be changed."}

+

<%-T("Any fields left blank or unselected will not be changed.")%>

@@ -30,14 +30,14 @@
- {@"Status"} $help[status] + <%-T("Status")%> $help[status]
- {@"Priority"} $help[priority] + <%-T("Priority")%> $help[priority]
@@ -52,21 +52,21 @@
- {@"Assignment"} $help[assignedto] + <%-T("Assignment")%> $help[assignedto]
- {@"Resolution"} $help[resolution] + <%-T("Resolution")%> $help[resolution]
- {@"Severity"} $help[severity] + <%-T("Severity")%> $help[severity]
@@ -74,12 +74,12 @@ <% if (bugdar::$userinfo['userid']): %>
- {@"Favorite"} + <%-T("Favorite")%>
@@ -95,8 +95,8 @@
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/showreport.tpl b/templates/showreport.tpl index b73d4a7..24a9e65 100644 --- a/templates/showreport.tpl +++ b/templates/showreport.tpl @@ -22,28 +22,28 @@ $header
- {@"Bug Id"} $help[bugid] + <%-T("Bug Id")%> $help[bugid]
<%- $bug['bugid'] %> <% if ($show['edit']): %> / - class="error"<% endif %>>{@"Hidden"}: + class="error"<% endif %>><%-T("Hidden")%>: checked="checked"<% endif %> /> <% else: %> - <% if ($bug['hidden']): %> / {@"Hidden Bug"}<% endif %> + <% if ($bug['hidden']): %> / <%-T("Hidden Bug")%><% endif %> <% endif %> - / [{@"Show Bug History"}] + / [<%-T("Show Bug History")%>] <% if ($show['subscribe']): %>/ [<%- $favoritetext %>]<% endif %> - <% if ($show['delete']): %>/ [{@"Delete"}]<% endif %> + <% if ($show['delete']): %>/ [<%-T("Delete")%>]<% endif %>
- {@"Reporter"} $help[reporter] + <%-T("Reporter")%> $help[reporter]
<%- $bug['userinfo'] %>
@@ -57,7 +57,7 @@ $header
- {@"Status"} $help[status] + <%-T("Status")%> $help[status]
<% if ($show['changestatus']): %> @@ -70,7 +70,7 @@ $header
- {@"Severity"} $help[severity] + <%-T("Severity")%> $help[severity]
<% if ($show['edit']): %> @@ -83,7 +83,7 @@ $header
- {@"Duplicate Of"} $help[duplicateof] + <%-T("Duplicate Of")%> $help[duplicateof]
<% if ($show['edit']): %> @@ -105,7 +105,7 @@ $header
- {@"Summary"} $help[summary] + <%-T("Summary")%> $help[summary]
<% if ($show['edit']): %> @@ -118,17 +118,17 @@ $header
- {@"Report Time"} $help[dateline] + <%-T("Report Time")%> $help[dateline]
<%- $bug['datetime'] %>
- {@"Assignment"} $help[assignedto] + <%-T("Assignment")%> $help[assignedto]
<% if ($show['assign']): %> - + <% else: %> <% if ($bug['assigninfo']): %><%- $bug['assigninfo'] %><% else: %>{@"- none -"}<% endif %> <% endif %> @@ -138,7 +138,7 @@ $header
- {@"Resolution"} $help[resolution] + <%-T("Resolution")%> $help[resolution]
<% if ($show['changestatus']): %> @@ -151,7 +151,7 @@ $header
- {@"Priority"} $help[priority] + <%-T("Priority")%> $help[priority]
<% if ($show['changestatus']): %> @@ -164,7 +164,7 @@ $header
- {@"Dependencies"} $help[dependency] + <%-T("Dependencies")%> $help[dependency]
<% if ($show['edit']): %> <%- $dependencies %> @@ -188,11 +188,11 @@ $header
- {@"New Reply"}<% if ($show['automations']): %> : {@"Automation"} <% endif %> $help[newreply] + <%-T("New Reply")%><% if ($show['automations']): %> : <%-T("Automation")%> <% endif %> $help[newreply] -
checked="checked"<% endif %> /> {@"Parse Links in the Comment"}
+
checked="checked"<% endif %> /> <%-T("Parse Links in the Comment")%>
@@ -200,8 +200,8 @@ $header
- - + " accesskey="s" /> + " accesskey="r" />
@@ -216,7 +216,7 @@ $header
- {@"Attachments"}<% if ($show['putattachments']): %> : {@"New"}<% endif %> + <%-T("Attachments")%><% if ($show['putattachments']): %> : <%-T("New")%><% endif %> <%- $attachments %>
@@ -227,11 +227,11 @@ $header
fifty<% endif %><% else: %>hundred<% endif %><% endif %>">
- {@"Votes"} + <%-T("Votes")%> -
{@"For"}: <%- $vote['votefor'] %> (<%- $vote['forpercent'] %>%)
-
{@"Against"}: <%- $vote['voteagainst'] %> (<%- $vote['againstpercent'] %>%)
-
{@"Total"}: <%- $vote['total'] %>
+
<%-T("For")%>: <%- $vote['votefor'] %> (<%- $vote['forpercent'] %>%)
+
<%-T("Against")%>: <%- $vote['voteagainst'] %> (<%- $vote['againstpercent'] %>%)
+
<%-T("Total")%>: <%- $vote['total'] %>
@@ -240,7 +240,7 @@ $header
- {@"Your Vote"} + <%-T("Your Vote")%>
@@ -248,7 +248,7 @@ $header {@"Vote For (+1)"}
{@"Vote Against (-1)"}
- + " accesskey="v" />
diff --git a/templates/showreport_attachment.tpl b/templates/showreport_attachment.tpl index 5cc2ef7..0a09992 100644 --- a/templates/showreport_attachment.tpl +++ b/templates/showreport_attachment.tpl @@ -1,5 +1,5 @@
- <% if ($show['editattach']): %>[{@"Edit"}]<% endif %> + <% if ($show['editattach']): %>[<%-T("Edit")%>]<% endif %> style="text-decoration: line-through"<% endif %> title="{@"Posted by %1$s"}\n(<%- $attachment['date'] %>)"><%- $attachment['filename'] %> <%- $attachment['description'] %>
diff --git a/templates/showreport_comment.tpl b/templates/showreport_comment.tpl index b407009..8782ade 100644 --- a/templates/showreport_comment.tpl +++ b/templates/showreport_comment.tpl @@ -13,10 +13,10 @@ <% if ($show['editcomment']): %>
- <% if ($show['delete']): %>[{@"Delete"}]<% endif %> - [{@"Edit Comment"}] + <% if ($show['delete']): %>[<%-T("Delete")%>]<% endif %> + [<%-T("Edit Comment")%>] - <% if ($comment['hidden']): %>{@"Hidden"}<% else: %>{@"Visible"}<% endif %> + <% if ($comment['hidden']): %><%-T("Hidden")%><% else: %><%-T("Visible")%><% endif %>
<% endif %>
diff --git a/templates/std_error.tpl b/templates/std_error.tpl index 05c602b..7af0fca 100644 --- a/templates/std_error.tpl +++ b/templates/std_error.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Error"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Error")%> @@ -12,7 +12,7 @@
-
{@"Error"}
+
<%-T("Error")%>
<%- $error %> diff --git a/templates/std_message.tpl b/templates/std_message.tpl index b753883..be392e8 100644 --- a/templates/std_message.tpl +++ b/templates/std_message.tpl @@ -3,7 +3,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - <% if ($show['confirm']): %>{@"Confirm"}<% else: %>{@"Notice"}<% endif %> + <%- bugdar::$options['trackertitle'] %> - <% if ($show['confirm']): %><%-T("Confirm")%><% else: %><%-T("Notice")%><% endif %> @@ -18,7 +18,7 @@
-
<% if ($show['confirm']): %>{@"Confirm"}<% else: %>{@"Notice"}<% endif %>
+
<% if ($show['confirm']): %><%-T("Confirm")%><% else: %><%-T("Notice")%><% endif %>
<%- $message %> diff --git a/templates/std_redirect.tpl b/templates/std_redirect.tpl index b5c1b39..1cd2f21 100644 --- a/templates/std_redirect.tpl +++ b/templates/std_redirect.tpl @@ -4,7 +4,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Redirect..."} + <%- bugdar::$options['trackertitle'] %> - <%-T("Redirect...")%> @@ -13,7 +13,7 @@
-
{@"Redirect..."}
+
<%-T("Redirect...")%>
diff --git a/templates/trackerhome.tpl b/templates/trackerhome.tpl index 3487efa..cb076e9 100644 --- a/templates/trackerhome.tpl +++ b/templates/trackerhome.tpl @@ -2,7 +2,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"Bug Listing"} + <%- bugdar::$options['trackertitle'] %> - <%-T("Bug Listing")%> diff --git a/templates/userctrl.tpl b/templates/userctrl.tpl index 4d49939..e855310 100644 --- a/templates/userctrl.tpl +++ b/templates/userctrl.tpl @@ -4,7 +4,7 @@ <%- $headinclude %> - <%- bugdar::$options['trackertitle'] %> - {@"User Options"} + <%- bugdar::$options['trackertitle'] %> - <%-T("User Options")%> @@ -16,7 +16,7 @@ <% if ($show['errors']): %>
- {@"The following errors occurred"}: + <%-T("The following errors occurred")%>: <%- $message->errorBox %>
<% endif %> @@ -26,35 +26,35 @@
-
{@"User Options"}
+
<%-T("User Options")%>
- {@"Display Name"} + <%-T("Display Name")%>
<% endif %>
- {@"Show Email Publicly"} - checked="checked"<% endif %> /> {@"Yes"} - checked="checked"<% endif %> /> {@"No"} + <%-T("Show Email Publicly")%> + checked="checked"<% endif %> /> <%-T("Yes")%> + checked="checked"<% endif %> /> <%-T("No")%>
- {@"Show Status Colors on Bug Listings"} - checked="checked"<% endif %> /> {@"Yes"} - checked="checked"<% endif %> /> {@"No"} + <%-T("Show Status Colors on Bug Listings")%> + checked="checked"<% endif %> /> <%-T("Yes")%> + checked="checked"<% endif %> /> <%-T("No")%>
- {@"Language"} + <%-T("Language")%>
- {@"Timezone"} + <%-T("Timezone")%>
@@ -70,31 +70,31 @@
-
{@"Email Options"}
+
<%-T("Email Options")%>
- - - - - + + + + + - + - + - + @@ -112,7 +112,7 @@ - + @@ -121,7 +121,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -147,7 +147,7 @@ <% if ($searches): %>
-
{@"Saved Searches"}
+
<%-T("Saved Searches")%>
<%- $searches %> @@ -162,7 +162,7 @@
- {@"Please enter your password to change these fields"}: + <%-T("Please enter your password to change these fields")%>:
@@ -170,24 +170,24 @@
- {@"Password"} + <%-T("Password")%>
- {@"Confirm Password"} + <%-T("Confirm Password")%>
- {@"Email"} + <%-T("Email")%>
- {@"Confirm Email"} + <%-T("Confirm Email")%>
@@ -199,26 +199,26 @@
-
{@"Bug List Display Options"}
+
<%-T("Bug List Display Options")%>
- {@"Hidden Statuses on Bug Listing"} + <%-T("Hidden Statuses on Bug Listing")%>
- {@"Default Sort Order Column"} + <%-T("Default Sort Order Column")%> <%- $defaultsortkey %>
- {@"Default Sort Order Direction"} + <%-T("Default Sort Order Direction")%> <%- $defaultsortas %>
- {@"Bug List Columns"} $help[columnorder] + <%-T("Bug List Columns")%> $help[columnorder]
 {@"Reporter"}{@"Assignee"}{@"Favorite"}{@"Voter"}{@"Commenter"}<%-T("Reporter")%><%-T("Assignee")%><%-T("Favorite")%><%-T("Voter")%><%-T("Commenter")%>
{@"New bug is added"}<%-T("New bug is added")%> value="1" />
{@"I am made the assignee"}<%-T("I am made the assignee")%> value="1" />
{@"Status or resolution changes"}<%-T("Status or resolution changes")%> value="1" /> value="1" /> value="1" />
{@"A new comment is added"}<%-T("A new comment is added")%> value="1" /> value="1" /> value="1" />
{@"A new attachment is added"}<%-T("A new attachment is added")%> value="1" /> value="1" /> value="1" />
{@"Any other field changes"}<%-T("Any other field changes")%> value="1" /> value="1" /> value="1" />
<%- $columnOptions %>
@@ -233,8 +233,8 @@
- - + " accesskey="s" /> + " accesskey="r" />
diff --git a/templates/userctrl_search.tpl b/templates/userctrl_search.tpl index bee018d..8f77d66 100644 --- a/templates/userctrl_search.tpl +++ b/templates/userctrl_search.tpl @@ -1,7 +1,7 @@ \ No newline at end of file -- 2.43.5