From 8a5d2ef80a4b35051f15132531936def818d5752 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 24 Sep 2005 22:50:08 +0000 Subject: [PATCH] r446: Localizing all the templates --- templates/editattach.tpl | 16 ++++--- templates/editcomment.tpl | 14 +++--- templates/footer.tpl | 4 +- templates/header.tpl | 16 +++---- templates/history.tpl | 4 +- templates/history_group.tpl | 6 +-- templates/login.tpl | 14 +++--- templates/newattach.tpl | 14 +++--- templates/newreport.tpl | 26 +++++------ templates/pagenav.tpl | 8 ++-- templates/quicksearch.tpl | 6 +-- templates/register.tpl | 22 ++++----- templates/search.tpl | 70 ++++++++++++++--------------- templates/search_results.tpl | 14 +++--- templates/showreport.tpl | 42 ++++++++--------- templates/showreport_attachment.tpl | 4 +- templates/showreport_comment.tpl | 4 +- templates/std_error.tpl | 4 +- templates/std_message.tpl | 4 +- templates/std_redirect.tpl | 6 +-- templates/trackerhome.tpl | 12 ++--- 21 files changed, 157 insertions(+), 153 deletions(-) diff --git a/templates/editattach.tpl b/templates/editattach.tpl index 7bf6deb..faee8f2 100644 --- a/templates/editattach.tpl +++ b/templates/editattach.tpl @@ -13,18 +13,20 @@ $header
-
Attachment #$attachment[attachmentid] for Bug #$bug[bugid] $bug[summary]
+
+ {@"Attachment #%1$s for Bug #%2$s %3$s"} +
-
Attachment: View [$attachment[filename]]
+
{@"Attachment"}: {@"View"} [$attachment[filename]]
-
Description:
-
Obsolete: checked="checked" />
+
{@"Description"}:
+
{@"Obsolete"}: checked="checked" />
- - - [Delete] + + + [{@"Delete"}]
diff --git a/templates/editcomment.tpl b/templates/editcomment.tpl index 91d0f5e..d257c04 100644 --- a/templates/editcomment.tpl +++ b/templates/editcomment.tpl @@ -2,7 +2,7 @@ $doctype $headinclude - Edit Comment $comment[commentid] - $bug[summary] + <lang 1="$comment[commentid]">{@"Edit Comment %1$s"}</lang> - $bug[summary] $header @@ -12,15 +12,17 @@ $header
-
Comment #$comment[commentid] in bug #$bug[bugid] $bug[summary]
-
Posted on $comment[posttime] by $comment[postby]
+
+ {@"Comment #%1$s in bug #%2$s %3$s"} +
+
{@"Posted on %1$s by %2$s"}
-
style="color: red">Hidden: checked="checked" />
+
style="color: red">{@"Hidden"}: checked="checked" />
- - + +
diff --git a/templates/footer.tpl b/templates/footer.tpl index b299c4d..9b1f169 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -1,8 +1,8 @@ diff --git a/templates/header.tpl b/templates/header.tpl index 8227a20..7d38683 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -1,25 +1,25 @@
- Listing + {@"Listing"} - New Bug + {@"New Bug"} - Bug Display + {@"Bug Display"} - Search + {@"Search"} - userinfo['userid']">userctrl.php">My Controlslogin.php">Login/Register + userinfo['userid']">userctrl.php">{@"My Controls"}login.php">{@"Login/Register"} - Administration + {@"Administration"} - Logout + {@"Logout"}
diff --git a/templates/history.tpl b/templates/history.tpl index 083f9d6..7e92528 100644 --- a/templates/history.tpl +++ b/templates/history.tpl @@ -2,12 +2,12 @@ $doctype $headinclude - Bug History - $bug[summary] + {@"Bug History"} - $bug[summary] $header -

History for $bug[summary] (bugid: $bug[bugid])

+

{@"History for %1$s (bugid: %2$s)"}

$history diff --git a/templates/history_group.tpl b/templates/history_group.tpl index bae70e9..ad62ef5 100644 --- a/templates/history_group.tpl +++ b/templates/history_group.tpl @@ -10,9 +10,9 @@ - - - + + + $changes diff --git a/templates/login.tpl b/templates/login.tpl index 78686d5..8934ce4 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -13,17 +13,17 @@ $header
-
Login
+
{@"Login"}
-
Email:
-
Password:
-
Remember Me: Yes
+
{@"Email"}:
+
{@"Password"}:
+
{@"Remember Me"}: {@"Yes"}

- Click here if you do not have an account... + {@"Click here if you do not have an account..."}
- - + +
diff --git a/templates/newattach.tpl b/templates/newattach.tpl index 9e0edd2..72789b9 100644 --- a/templates/newattach.tpl +++ b/templates/newattach.tpl @@ -2,7 +2,7 @@ $doctype $headinclude - New Attachment - $bug[summary] + {@"New Attachment"} - $bug[summary] $header @@ -14,21 +14,21 @@ $header
-
New Attachment for Bug #$bug[bugid] $bug[summary]
+
{@"New Attachment for Bug #%1$s %2$s"}
-
Description:
+
{@"Description"}:
-
Mark the Following Attachments Obsolete: +
{@"Mark the Following Attachments Obsolete"}: $obsoletes
-
Add Comment: +
{@"Add Comment"}:
@@ -36,8 +36,8 @@ $header
- - + +
diff --git a/templates/newreport.tpl b/templates/newreport.tpl index c1a9e57..aea8f4a 100644 --- a/templates/newreport.tpl +++ b/templates/newreport.tpl @@ -2,7 +2,7 @@ $doctype $headinclude - New Bug Report - {$bugsys->options['trackertitle']} + {@"New Bug Report"} - {$bugsys->options['trackertitle']} $header @@ -13,25 +13,25 @@ $header
FieldOld ValueNew Value{@"Field"}{@"Old Value"}{@"New Value"}
- + - - + + - + - + @@ -39,13 +39,13 @@ $header - + - + @@ -54,8 +54,8 @@ $header - - + + @@ -63,7 +63,7 @@ $header @@ -72,8 +72,8 @@ $header diff --git a/templates/pagenav.tpl b/templates/pagenav.tpl index 66b99ad..16ec9d3 100644 --- a/templates/pagenav.tpl +++ b/templates/pagenav.tpl @@ -1,7 +1,7 @@
- First ... - Prev ... + {@"First"} ... + {@"Prev"} ... $pagebits - ... Next - ... Last + ... {@"Next"} + ... {@"Last"}
\ No newline at end of file diff --git a/templates/quicksearch.tpl b/templates/quicksearch.tpl index b8029ba..28dd4e6 100644 --- a/templates/quicksearch.tpl +++ b/templates/quicksearch.tpl @@ -2,14 +2,14 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Quick Search + {$bugsys->options['trackertitle']} - {@"Quick Search"} $header
-
Quick Search
+
{@"Quick Search"}
$error
@@ -18,7 +18,7 @@ $header
- Go to bug ID + {@"Go to bug ID"}
diff --git a/templates/register.tpl b/templates/register.tpl index 3e4619a..772bed4 100644 --- a/templates/register.tpl +++ b/templates/register.tpl @@ -2,7 +2,7 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Register + {$bugsys->options['trackertitle']} - {@"Register"} $header @@ -12,19 +12,19 @@ $header
-
Register
+
{@"Register"}
-
Email:
-
Confirm Email:
-
Display Name:
-
Password:
-
Confirm Password:
-
Show My Email Publicly: Yes
-
Language:
+
{@"Email"}:
+
{@"Confirm Email"}:
+
{@"Display Name"}:
+
{@"Password"}:
+
{@"Confirm Password"}:
+
{@"Show My Email Publicly"}: {@"Yes"}
+
{@"Language"}:
- - + +
diff --git a/templates/search.tpl b/templates/search.tpl index 6bdf0a6..8381895 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -2,12 +2,12 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Search + {$bugsys->options['trackertitle']} - {@"Search"} $header -
Any fields left blank or unselected will be excluded from the search query
+
{@"Any fields left blank or unselected will be excluded from the search query"}
@@ -15,99 +15,99 @@ $header
Summary{@"Summary"} Product/Version{@"Product/Version"}
Status{@"Status"} Resolution{@"Resolution"}
Severity{@"Severity"} Priority{@"Priority"}
Assignment{@"Assignment"}
- Description/Initial Report + {@"Description/Initial Report"}
- - + +
- + - + - + - + - + - + - + - + - + - + - + @@ -123,8 +123,8 @@ $customfields diff --git a/templates/search_results.tpl b/templates/search_results.tpl index a25ac6f..4877bce 100644 --- a/templates/search_results.tpl +++ b/templates/search_results.tpl @@ -8,18 +8,18 @@ $headinclude $header -
This search has been cached for your convenience. You can perform a new search by clicking here.
-
Alternatively, you can re-run this search by clicking here.
+
{@"This search has been cached for your convenience. You can perform a new search by clicking here."}
+
{@"Alternatively, you can re-run this search by clicking here."}

Keywords{@"Keywords"} Search Mode{@"Search Mode"}
Reporter{@"Reporter"} Sort By{@"Sort By"}
Status{@"Status"} Resolution{@"Resolution"}
Severity{@"Severity"} Priority{@"Priority"}
Assigned To{@"Assigned To"} Date (submitted since){@"Date (submitted since)"}
Product / Version{@"Product / Version"} -
Favourite:
+
{@"Favourite"}:
- - + +
- - - - - + + + + + $bugs
IDSummary/ReporterStatus/ResolutionProduct/VersionLast Post{@"ID"}{@"Summary/Reporter"}{@"Status/Resolution"}{@"Product/Version"}{@"Last Post"}
diff --git a/templates/showreport.tpl b/templates/showreport.tpl index 0c91bb7..0b5089f 100644 --- a/templates/showreport.tpl +++ b/templates/showreport.tpl @@ -2,7 +2,7 @@ $doctype $headinclude - Bug Report $bug[bugid] - $bug[summary] + <lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary] $header @@ -14,22 +14,22 @@ $header - + - + - + - + - + - + - + + - + + - + + @@ -180,8 +180,8 @@ $header diff --git a/templates/showreport_attachment.tpl b/templates/showreport_attachment.tpl index d7da2c5..b09d400 100644 --- a/templates/showreport_attachment.tpl +++ b/templates/showreport_attachment.tpl @@ -1,7 +1,7 @@
- style="text-decoration: line-through" title="Posted by $attachment[user]\\n($attachment[date])">$attachment[filename] + style="text-decoration: line-through" title="{@"Posted by %1$s"}\\n($attachment[date])">$attachment[filename] - [Edit] + [{@"Edit"}] $attachment[description]
diff --git a/templates/showreport_comment.tpl b/templates/showreport_comment.tpl index 30bff6a..9185e8c 100644 --- a/templates/showreport_comment.tpl +++ b/templates/showreport_comment.tpl @@ -12,9 +12,9 @@
- [Edit Comment] + [{@"Edit Comment"}] - HiddenVisible + {@"Hidden"}{@"Visible"}
diff --git a/templates/std_error.tpl b/templates/std_error.tpl index e6453bb..2c00cbd 100644 --- a/templates/std_error.tpl +++ b/templates/std_error.tpl @@ -2,14 +2,14 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Error + {$bugsys->options['trackertitle']} - {@"Error"} $header
-
Error
+
{@"Error"}
{$this->process}
diff --git a/templates/std_message.tpl b/templates/std_message.tpl index 19030d0..3c35944 100644 --- a/templates/std_message.tpl +++ b/templates/std_message.tpl @@ -2,14 +2,14 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Notice + {$bugsys->options['trackertitle']} - {@"Notice"} $header
-
Notice
+
{@"Notice"}
{$this->process}
diff --git a/templates/std_redirect.tpl b/templates/std_redirect.tpl index 59a7ea0..96711ea 100644 --- a/templates/std_redirect.tpl +++ b/templates/std_redirect.tpl @@ -3,21 +3,21 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Redirect... + {$bugsys->options['trackertitle']} - {@"Redirect..."} $header diff --git a/templates/trackerhome.tpl b/templates/trackerhome.tpl index f608746..a6d9b7e 100644 --- a/templates/trackerhome.tpl +++ b/templates/trackerhome.tpl @@ -2,18 +2,18 @@ $doctype $headinclude - {$bugsys->options['trackertitle']} - Bug Listing + {$bugsys->options['trackertitle']} - {@"Bug Listing"} $header
Bug ID{@"Bug ID"} $bug[bugid] / - class="error">Hidden: + class="error">{@"Hidden"}: checked="checked" /> - / Hidden Bug + / {@"Hidden Bug"} Summary{@"Summary"} @@ -41,12 +41,12 @@ $header
Reporter{@"Reporter"} $bug[userinfo] Product/Version{@"Product/Version"} $bug[product] / $bug[component] / @@ -58,15 +58,15 @@ $header
Report Time{@"Report Time"} $bug[datetime] Assignment{@"Assignment"} - + $bug[assigninfo] @@ -75,7 +75,7 @@ $header
Status{@"Status"} @@ -86,7 +86,7 @@ $header - Resolution{@"Resolution"} @@ -98,7 +98,7 @@ $header
Severity{@"Severity"} @@ -109,7 +109,7 @@ $header - Priority{@"Priority"} @@ -121,7 +121,7 @@ $header
Duplicate Of{@"Duplicate Of"} $bug[duplicateof]" /> @@ -133,7 +133,7 @@ $header - Dependencies{@"Dependencies"} $dependencies @@ -163,14 +163,14 @@ $header
24" style="vertical-align: top"> - New Reply + {@"New Reply"} - style="margin-top: 15px">Automatic Action: + style="margin-top: 15px">{@"Automatic Action"}:

- +
- - + +
- - - - - + + + + + $bugs
IDSummary/ReporterStatus/ResolutionProduct/VersionLast Post{@"ID"}{@"Summary/Reporter"}{@"Status/Resolution"}{@"Product/Version"}{@"Last Post"}
-- 2.43.5