bfojcapell: replacing strings with _t() calls

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42137 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 16:37:15 +00:00
parent 4fd9b960c5
commit 3831c9b651
37 changed files with 145 additions and 138 deletions

View File

@ -19,6 +19,7 @@ fieldset {
<% if CanUpload %>
$UploadForm
<% else %>
You do not have permission to upload files into this folder.
<% _t('PERMFAILED','You do not have permission to upload files into this folder.') %>
<% end_if %>
</body>

View File

@ -1,6 +1,7 @@
<p>$Message
Results
<% _t('RES','Results') %>
<% control Results %>
list changes here

View File

@ -2,9 +2,9 @@
<thead>
<tr>
<td>#</td>
<td>When</td>
<td>Author</td>
<td>Publisher</td>
<td><% _t('WHEN','When') %></td>
<td><% _t('AUTHOR','Author') %></td>
<td><% _t('PUBR','Publisher') %></td>
</tr>
</thead>
<tbody>
@ -18,10 +18,12 @@
<% if Publisher %>
$Publisher.FirstName $Publisher.Surname.Initial
<% else %>
Unknown
<% _t('UNKNOWN','Unknown') %>
<% end_if %>
<% else %>
Not published
<% _t('NOTPUB','Not published') %>
<% end_if %>
</td>
</tr>

View File

@ -8,7 +8,7 @@
<% end_control %>
</ul>
<% else %>
<p>There are no comments on this page.</p>
<p>Comments are created whenever one of the 'workflow actions'
are undertaken - Publish, Reject, Submit.</p>
<p><% _t('NOCOM','There are no comments on this page.') %></p>
<p><% _t('CREATEDW',"Comments are created whenever one of the 'workflow actions'
are undertaken - Publish, Reject, Submit.") %></p>
<% end_if %>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<% base_tag %>
<title>Untitled Document</title>
<title><% _t('UNTITLED','Untitled Document') %></title>
<meta http-equiv="imagetoolbar" content="no">
</head>
<body id="body" onload="imageEditor = new ImageEditor.initialize('$fileToEdit');">
@ -22,7 +22,7 @@
<div id="SaveIcon">
</div>
<p id="SaveText" class="menuText">
save&nbsp;image
<% _t('SAVE','save&nbsp;image') %></a></p>
</p>
</a>
<a id="ExitButton" href="#a">
@ -36,14 +36,14 @@
<div id="UndoIcon">
</div>
<p id="UndoText" class="menuText">
undo
<% _t('UNDO','undo') %>
</p>
</a>
<a id="RedoButton" href="#a">
<div id="RedoIcon">
</div>
<p id="RedoText" class="menuText">
redo
<% _t('REDO','redo') %>
</p>
</a>
<p id="ActionsDescription" class="menuText">
@ -55,18 +55,18 @@
<div id="RotateIcon">
</div>
<p id="RotateText" class="menuText">
rotate
<% _t('ROT','rotate') %>
</p>
</a>
<a id="CropButton" href="#a">
<div id="CropIcon"></div>
<p id="CropText" class="menuText">
crop
<% _t('CROP','crop') %>
</p>
</a>
<div id="ImageSize">
<p id="ImageWidthLabel" class="menuText">width</p>
<p id="ImageHeightLabel" class="menuText">height</p>
<p id="ImageWidthLabel" class="menuText"><% _t('WIDTH','width') %></p>
<p id="ImageHeightLabel" class="menuText"><% _t('HEIGHT','height') %></p>
<p id="ImageWidth" class="menuText"></p>
<p id="ImageHeight" class="menuText"></p>
</div>
@ -79,7 +79,7 @@
<div id="CancelIcon">
</div>
<p id="CancelText" class="menuText">
cancel
<% _t('CANCEL','cancel') %>
</p>
</a>
<a id="ApplyButton" href="#a">

View File

@ -7,31 +7,31 @@
};
</script>
<h2>Folders</h2>
<h2><% _t('FOLDERS','Folders') %></h2>
<div id="treepanes" style="overflow-y: auto;">
<ul id="TreeActions">
<li class="action" id="addpage"><button>Create</button></li>
<li class="action" id="deletepage"><button>Delete...</button></li>
<li class="action" id="sortitems"><button>Reorder...</button></li>
<li class="action" id="addpage"><button><% _t('CREATE','Create') %></button></li>
<li class="action" id="deletepage"><button><% _t('DELETE','Delete...') %></button></li>
<li class="action" id="sortitems"><button><% _t('REORDER','Reorder...') %></button></li>
</ul>
<div style="clear:both;"></div>
<form class="actionparams" id="addpage_options" style="display: none" action="admin/assets/addfolder">
<div>
<input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" />
<input class="action" type="submit" value="<% _t('GO','Go') %>" />
</div>
</form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/assets/deletefolder">
<p>Select the folders that you want to delete and then click the button below</p>
<p><% _t('SELECTTODEL','Select the folders that you want to delete and then click the button below') %></p>
<div>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected folders" />
<input type="submit" value="<% _t('DELFOLDERS','Delete the selected folders') %>" />
</div>
</form>
<form class="actionparams" id="sortitems_options" style="display: none">
<p id="sortitems_message" style="margin: 0">To reorganise your folders, drag them around as desired.</p>
<p id="sortitems_message" style="margin: 0"><% _t('TOREORG','To reorganise your folders, drag them around as desired.') %></p>
</form>
$SiteTreeAsUL

View File

@ -25,7 +25,7 @@
<form id="Form_EditForm" action="admin/assets/?executeForm=EditForm" method="post" enctype="multipart/form-data">
<h1>$ApplicationName</h1>
<p>Welcome to $ApplicationName! Please choose a page from the left.</p>
<p><% _t('WELCOME','Welcome to') %> $ApplicationName! <% _t('CHOOSEPAGE','Please choose a page from the left.') %></p>
</form>
<% end_if %>

View File

@ -14,7 +14,7 @@
<tbody>
<% control Items %>
<tr id="record-$Parent.Name-$ID">
<% if Markable %><td width="36" class="markingcheckbox"><div class="dragfile" id="drag-$Parent.Name-$ID"><img id="drag-img-$Parent.Name-$ID" alt="Drag" title="Drag to folder on left to move file" src="sapphire/images/drag.gif" /></div> $MarkingCheckbox</td><% end_if %>
<% if Markable %><td width="36" class="markingcheckbox"><div class="dragfile" id="drag-$Parent.Name-$ID"><img id="drag-img-$Parent.Name-$ID" alt="Drag" title="<% _t('DRAGTOFOLDER','Drag to folder on left to move file') %>" src="sapphire/images/drag.gif" /></div> $MarkingCheckbox</td><% end_if %>
<% control Fields %>
<td>$Value</td>
<% end_control %>
@ -23,7 +23,7 @@
</td>
<% if Can(delete) %>
<td width="18">
<a class="deletelink" href="admin/assets/removefile/$ID" title="Delete this file"><img src="cms/images/delete.gif" alt="delete" /></a>
<a class="deletelink" href="admin/assets/removefile/$ID" title="Delete this file"><img src="cms/images/delete.gif" alt="delete" title="<% _t('DELFILE','Delete this file') %>" /></a>
</td>
<% end_if %>
</tr>

View File

@ -1,10 +1,10 @@
<div class="title"><div>Functions</div></div>
<div class="title"><div><% _t('FUNCTIONS','Functions') %></div></div>
<div id="treepanes">
<div id="sitetree_holder" style="overflow:auto">
<% if BulkLoaders %>
<ul id="sitetree" class="tree unformatted">
<li id="$ID" class="root Root"><a>Batch entry functions</a>
<li id="$ID" class="root Root"><a><% _t('BATCHEF','Batch entry functions')</a>
<ul>
<% control BulkLoaders %>

View File

@ -1,8 +1,8 @@
<h1>Site Content</h1>
<h1><% _t('SITECONT','Site Content') %></h1>
<ul id="TreeActions">
<li class="action" id="addpage"><a href="admin/addpage">New Page...</a></li>
<li class="action" id="deletepage"><a href="admin/deletepage">Delete Pages...</a></li>
<li class="action" id="addpage"><a href="admin/addpage"><% _t('NEWPAGE','New Page...') %></a></li>
<li class="action" id="deletepage"><a href="admin/deletepage"><% _t('DELPAGE','Delete Pages...') %></a></li>
<li class="spacer"></li>
</ul>
@ -13,14 +13,14 @@
<% end_control %>
</select>
<input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" />
<input class="action" type="submit" value="<% _t('GO','Go') %>" />
</form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/deletepages">
<p>Select the pages that you want to delete and then click the button below</p>
<p><% _t('SELECTPAGESDEL','Select the pages that you want to delete and then click the button below') %></p>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected pages" />
<input type="submit" value="<% _t('DELPAGES','Delete the selected pages') %>" />
</form>
<div id="sitetree_holder" style="overflow:auto">

View File

@ -1,4 +1,4 @@
<h1>Edit Content</h1>
<h1><% _t('ECONTENT','Edit Content') %></h1>
<div class="mceToolbar_background">&nbsp;</div>
@ -15,7 +15,7 @@
<p id="statusMessage" style="display:none"></p>
<form id="Form_EditForm" action="admin?executeForm=EditForm" method="post" enctype="multipart/form-data">
<p><% _t('WELCOMETO','Welcome to'); %> $ApplicationName! <% _t('CHOOSEPAGE','Please choose a page from the left.'); %></p>
<p><% _t('WELCOMETO','Welcome to') %> $ApplicationName! <% _t('CHOOSEPAGE','Please choose a page from the left.') %></p>
</form>
<% end_if %>
</body>

View File

@ -10,18 +10,18 @@
</style>
<div id="LeftPane">
<h2>Add Listing</h2>
<h2><% _t('ADDLISTING','Add Listing') %></h2>
<div id="SearchForm_holder" class="lefttop" style="overflow:auto">
$AddForm
</div>
<h2>Search Listings</h2>
<h2><% _t('SEARCHLISTINGS','Search Listings') %></h2>
<div id="SearchForm_holder" class="leftbottom" style="overflow:auto">
$SearchForm
</div>
<div id="left_separator">
&nbsp;
</div>
<h2>Search Results</h2>
<h2><% _t('SEARCHRESULTS','Search Results') %></h2>
<div id="ResultTable_holder" class="leftbottom" style="overflow:auto">
$Results
</div>

View File

@ -2,12 +2,12 @@
<table class="CMSList MemberList">
<thead>
<tr>
<td class="FirstName">First Name</td>
<td class="Surname">Surname</td>
<td class="Email">Email Address</td>
<td class="FirstName"><% _t('FN','First Name') %></td>
<td class="Surname"><% _t('SN','Surname') %></td>
<td class="Email"><% _t('EMAIL','Email Address') %></td>
<% if DontShowPassword %>
<% else %>
<td class="Password">Password</td>
<td class="Password"><% _t('PASSWD','Password') %></td>
<% end_if %>
<td>&nbsp;</td>
</tr>

View File

@ -25,7 +25,7 @@
<tr style="display: none;">
<% if Markable %><td width="18">&nbsp;</td><% end_if %>
<td colspan="$ItemCount">
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="add" /></a><a class="popuplink addlink" href="$AddLink" alt="add">Add new $Title</a>
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="add" /></a><a class="popuplink addlink" href="$AddLink" alt="add"><% _t('ADDNEW','Add new',50,'Followed by a member type') %> $Title</a>
</td>
<% if Can(show) %><td width="18">&nbsp;</td><% end_if %>
<% if Can(edit) %><td width="18">&nbsp;</td><% end_if %>
@ -42,17 +42,17 @@
<% end_control %>
<% if Can(show) %>
<td width="18">
<a class="popuplink showlink" href="$ShowLink" title="Show this member" target="_blank"><img src="cms/images/show.png" alt="show" /></a>
<a class="popuplink showlink" href="$ShowLink" title="<% _t('SHOWMEMBER','Show this member') %>" target="_blank"><img src="cms/images/show.png" alt="show" /></a>
</td>
<% end_if %>
<% if Can(edit) %>
<td width="18">
<a class="popuplink editlink" href="$EditLink" title="Edit this member" target="_blank"><img src="cms/images/edit.gif" alt="edit" /></a>
<a class="popuplink editlink" href="$EditLink" title="<% _t('EDITMEMBER','Edit this member') %>" target="_blank"><img src="cms/images/edit.gif" alt="edit" /></a>
</td>
<% end_if %>
<% if Can(delete) %>
<td width="18">
<a class="deletelink" href="$DeleteLink" title="Delete this member"><img src="cms/images/delete.gif" alt="delete" /></a>
<a class="deletelink" href="$DeleteLink" title="<% _t('DELETEMEMBER','Delete this member') %>"><img src="cms/images/delete.gif" alt="delete" /></a>
</td>
<% end_if %>
</tr>

View File

@ -4,12 +4,12 @@
<li>Uncheck the box to enable sending to a blacklisted email address.</li>
<li>To remove a recipients's email address from your mailing list, click the <img src="cms/images/delete.gif" alt="delete" /> icon.</li>
</ul>
<table id="BouncedListTable" class="CMSList BouncedList" summary="Emails that have bounced">
<table id="BouncedListTable" class="CMSList BouncedList" summary="<% _t('HAVEBOUNCED','Emails that have bounced') %>">
<thead>
<tr>
<th width="18">Blacklisted</th>
<th>User name</th>
<th>Email address</th>
<th><% _t('UNAME','User name') %></th>
<th><% _t('EMADD','Email address') %></th>
<th>Reason:</th>
<th>Date</th>
<th width="18">&nbsp;</th>
@ -35,5 +35,5 @@
</tbody>
</table>
<% else %>
<p>No emails sent have bounced.</p>
<p><% _t('NOBOUNCED','No emails sent have bounced.') %></p>
<% end_if %>

View File

@ -4,7 +4,7 @@
<li id="mailtype_$ID" class="MailType">
<a href="#">$Title</a>
<ul>
<li id="drafts_$ID" class="DraftFolder nodelete"><a href="$baseURL/admin/showtype/$ID">Drafts</a>
<li id="drafts_$ID" class="DraftFolder nodelete"><a href="$baseURL/admin/showtype/$ID"><% _t('DRAFTS','Drafts') %></a>
<% if DraftNewsletters %>
<ul>
<% control DraftNewsletters %>
@ -13,7 +13,7 @@
</ul>
<% end_if %>
</li>
<li id="sent_$ID" class="SentFolder nodelete"><a href="$baseURL/admin/showtype/$ID">Sent Items</a>
<li id="sent_$ID" class="SentFolder nodelete"><a href="$baseURL/admin/showtype/$ID"><% _t('SENT','Sent Items') %></a>
<% if SentNewsletters %>
<ul>
<% control SentNewsletters %>
@ -22,7 +22,7 @@
</ul>
<% end_if %>
</li>
<li id="recipients_$ID" class="Recipients nodelete"><a href="$baseURL/admin/newsletter/showtype/$ID">Mailing List</a></li>
<li id="recipients_$ID" class="Recipients nodelete"><a href="$baseURL/admin/newsletter/showtype/$ID"><% _t('MAILLIST','Mailing List') %></a></li>
</ul>
</li>
<% end_control %>

View File

@ -2,8 +2,8 @@
<table class="CMSList UnsubscribedList" summary="Unsubscribed users">
<tbody>
<tr>
<td>User name</td>
<td>Unsubscribed on</td>
<td><% _t('UNAME','User name') %></td>
<td><% _t('UNSUBON','Unsubscribed on') %></td>
</tr>
<% control Entries %>
<tr>
@ -15,6 +15,7 @@
</table>
<% else %>
<p>
No users have unsubscribed from this newsletter.
<% _t('NOUNSUB','No users have unsubscribed from this newsletter.') %>
</p>
<% end_if %>

View File

@ -23,26 +23,26 @@ ul.tree li.MailType span.Sent a {
}
</style>
<h2>Newsletters</h2>
<h2><% _t('NEWSLETTERS','Newsletters') %></h2>
<div id="treepanes" style="overflow-y: auto;">
<ul id="TreeActions">
<li class="action" id="addtype"><button>Create...</button></li>
<li class="action" id="deletedrafts"><button>Delete...</button></li>
<li class="action" id="addtype"><button><% _t('CREATE','Create...') %></button></li>
<li class="action" id="deletedrafts"><button><% _t('DEL','Delete...') %></button></li>
</ul>
<div style="clear:both;"></div>
<form class="actionparams" id="addtype_options" style="display: none" action="admin/newsletter/add">
<input type="hidden" name="ParentID" value="" />
<select name="PageType" id="add_type">
<option value="draft">Add new draft</option>
<option value="type">Add new type</option>
<option value="type"><% _t('ADDTYPE','Add new type') %></option>
<option value="draft"><% _t('ADDDRAFT','Add new draft') %></option>
</select>
<input class="action" type="submit" value="Go" />
<input class="action" type="submit" value="<% _t('GO','Go') %>" />
</form>
<form class="actionparams" id="deletedrafts_options" style="display: none" action="admin/newsletter/remove">
<p>Select the drafts that you want to delete and then click the button below</p>
<p><% _t('SELECTDRAFTS','Select the drafts that you want to delete and then click the button below') %></p>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected drafts" />
<input type="submit" value="<% _t('DELETEDRAFTS','Delete the selected drafts') %>" />
</form>
<% include NewsletterAdmin_SiteTree %>
</div>

View File

@ -10,17 +10,17 @@
<fieldset>
<input type="hidden" name="NewsletterID" />
<ul class="optionset">
<li><input name="SendType" id="SendTypeTest" value="Test" checked="checked" type="radio" /> <label for="SendTypeTest">Send test to</label> <input name="TestEmail" type="text" /></li>
<li><input name="SendType" id="SendTypeList" value="List" type="radio" /> <label for="SendTypeList">Send to the entire mailing list</label></li>
<li><input name="SendType" id="SendTypeUnsent" value="Unsent" type="radio" /> <label for="SendTypeUnsent">Send to only people not previously sent to</label></li>
<li><input name="SendType" id="SendTypeTest" value="Test" checked="checked" type="radio" /> <label for="SendTypeTest"><% _t('SENDTEST','Send test to') %></label> <input name="TestEmail" type="text" /></li>
<li><input name="SendType" id="SendTypeList" value="List" type="radio" /> <label for="SendTypeList"><% _t('ENTIRE','Send to the entire mailing list') %></label></li>
<li><input name="SendType" id="SendTypeUnsent" value="Unsent" type="radio" /> <label for="SendTypeUnsent"><% _t('ONLYNOT','Send to only people not previously sent to') %></label></li>
</ul>
$SendProgressBar
</fieldset>
<p class="actions">
<ul class="optionset">
<li class="cancel"><button id="action_send_cancel">Cancel</button></li>
<li class="submit"><input type="submit" value="Send newsletter" /></li>
<li class="cancel"><button id="action_send_cancel"><% _t('CANCEL','Cancel') %></button></li>
<li class="submit"><input type="submit" value="<% _t('SEND','Send newsletter') %>" /></li>
</ul>
</p>
</form>
@ -29,7 +29,7 @@
$EditForm
<% else %>
<form id="Form_EditForm" action="admin/newsletter?executeForm=EditForm" method="post" enctype="multipart/form-data">
<p>Welcome to the $ApplicationName newsletter admininistration section. Please choose a folder from the left.</p>
<p><% _t('WELCOME1','Welcome to the',50,'Followed by application name') %> $ApplicationName <% _t('WELCOME2','newsletter admininistration section. Please choose a folder from the left.',50) %></p>
</form>
<% end_if %>

View File

@ -1,7 +1,7 @@
<% if Reports %>
<ul id="sitetree" class="tree unformatted">
<li id="$ID" class="root"><a>Reports</a>
<li id="$ID" class="root"><a><% _t('REPORTS','Reports') %></a>
<ul>
<% control Reports %>
<li id="$ID">

View File

@ -8,7 +8,7 @@ ul.tree a{
</style>
<h2>Reports</h2>
<h2><% _t('REPORTS','Reports') %></h2>
<div id="treepanes">
<div id="sitetree_holder">

View File

@ -4,7 +4,7 @@
$EditForm
<% else %>
<form id="Form_EditForm" action="admin/reports?executeForm=EditForm" method="post" enctype="multipart/form-data">
<p>Welcome to the $ApplicationName reporting section. Please choose a specific report from the left.</p>
<p><% _t('WELCOME1','Welcome to the',50,'Followed by application name') %> $ApplicationName <% _t('WELCOME2','reporting section. Please choose a specific report from the left.',50) %></p>
</form>
<% end_if %>

View File

@ -1,25 +1,25 @@
<h2>Security Groups</h2>
<h2><% _t('SECGROUPS','Security Groups') %></h2>
<div id="treepanes" style="overflow-y: auto;">
<ul id="TreeActions">
<li class="action" id="addgroup"><button>Create</button></li>
<li class="action" id="deletegroup"><button>Delete...</button></li>
<li class="action" id="sortitems"><button>Reorder...</button></li>
<li class="action" id="addgroup"><button><% _t('CREATE','Create') %></button></li>
<li class="action" id="deletegroup"><button><% _t('DEL','Delete...') %></button></li>
<li class="action" id="sortitems"><button><% _t('REORDER','Reorder...') %></button></li>
</ul>
<div style="clear:both;"></div>
<form class="actionparams" id="addgroup_options" style="display: none" action="admin/security/addgroup">
<input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" />
<input class="action" type="submit" value="<% _t('GO','Go') %>" />
</form>
<form class="actionparams" id="deletegroup_options" style="display: none" action="admin/security/deleteitems">
<p>Select the pages that you want to delete and then click the button below</p>
<p><% _t('SELECT','Select the pages that you want to delete and then click the button below') %></p>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected groups" />
<input type="submit" value="<% _t('DELGROUPS','Delete the selected groups') %>" />
</form>
<form class="actionparams" id="sortitems_options" style="display: none" action="">
<p id="sortitems_message" style="margin: 0">To reorganise your site, drag the pages around as desired.</p>
<p id="sortitems_message" style="margin: 0"><% _t('TOREORG','To reorganise your site, drag the pages around as desired.') %></p>
</form>
$SiteTreeAsUL

View File

@ -7,7 +7,7 @@
$EditForm
<% else %>
<form id="Form_EditForm" action="admin/security?executeForm=EditForm" method="post" enctype="multipart/form-data">
<p>Welcome to the $ApplicationName security admininistration section. Please choose a group from the left.</p>
<p><% _t('WELCOME1','Welcome to the',50,'Followed by application name') %> $ApplicationName <% _t('WELCOME2','security admininistration section. Please choose a group from the left.',50) %></p>
</form>
<% end_if %>

View File

@ -3,9 +3,9 @@
<div id="treepanes">
<div id="sitetree_holder">
<ul id="sitetree" class="tree unformatted">
<li class="Root" id="statsroot"><a>Report Types</a>
<li id="stoverview"><a href="$baseURL/admin/statistics/overview">Overview</a></li>
<li id="stusers"><a href="$baseURL/admin/statistics/users">Users</a></li>
<li class="Root" id="statsroot"><a><% _t('REPTYPES','Report Types') %></a>
<li id="stoverview"><a href="$baseURL/admin/statistics/overview"><% _t('OVERV','Overview') %></a></li>
<li id="stusers"><a href="$baseURL/admin/statistics/users"><% _t('USERS','Users') %></a></li>
<li id="stviews"><a href="$baseURL/admin/statistics/views">Views</a></li>
<li id="sttrends"><a href="$baseURL/admin/statistics/trends">Trends</a></li>
<li id="stos"><a href="$baseURL/admin/statistics/os">Operating Systems</a></li>

View File

@ -1,13 +1,13 @@
<div id="MemberListField">
<div class="MemberListFilter">
<a class="showhide closed" href="#">Filter</a>
<a class="showhide closed" href="#"><% _t('FILTER','Filter',50,'Filter as a verb') %></a>
<div id="MemberListFilterControls">
<input id="MemberListBaseGroupID" type="hidden" name="MemberListBaseGroup" value="$GroupID" />
<input id="MemberListDontShowPassword" type="hidden" name="MemberListDontShowPassword" value="$DontShowPassword" />
$SearchField
$OrderByField
$GroupFilter
<input id="MemberListFilterButton" type="submit" value="Filter" name="filter" />
<input id="MemberListFilterButton" type="submit" value="<% _t('FILTER') %>" name="filter" />
</div>
</div>
<div id="MemberList">

View File

@ -1,6 +1,6 @@
<% if Status = Draft %>
<p>Please choose a draft on the left, or <a href="javascript:addNewDraft({$mailTypeID})">add one</a>.</p>
<p><% _t('CHOOSEDRAFT1','Please choose a draft on the left, or') %> <a href="javascript:addNewDraft({$mailTypeID})"><% _t('CHOOSEDRAFT2','add one') %></a>.</p>
<% end_if %>
<% if Status = Sent %>
<p>Please choose a sent item on the left.</p>
<p><% _t('CHOOSESENT','Please choose a sent item on the left.') %></p>
<% end_if %>

View File

@ -20,7 +20,8 @@
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
<% if ImportMessage %>
<script type="text/javascript">
top.statusMessage('Imported new members','good');
top.statusMessage('<% _t('IMPORTNEW','Imported new members') %>','good');
top.reloadRecipientsList();
</script>
<% end_if %>
</head>
@ -30,11 +31,11 @@
$ImportMessage
<p><b>Note:</b> To see the new members on the Recipients tab, you need to <a href="#" onclick="javascript:top.reloadRecipientsList()">reload the Mailing List</a>.</p>
<ul>
<li><label>New members imported:</label>$NewMembers</li>
<li><label>Members updated:</label>$ChangedMembers</li>
<li><label>Number of details changed:</label>$ChangedFields</li>
<li><label>Records skipped:</label>$SkippedRecords</li>
<li><label>Time taken: </label>$Time seconds</li>
<li><label><% _t('IMPORTED','New members imported:') %></label>$NewMembers</li>
<li><label><% _t('UPDATED','Members updated:') %></label>$ChangedMembers</li>
<li><label><% _t('CHANGED','Number of details changed:') %></label>$ChangedFields</li>
<li><label><% _t('SKIPPED','Records skipped:') %></label>$SkippedRecords</li>
<li><label><% _t('TIME','Time taken:') %> </label>$Time <% _t('SEC','seconds') %></li>
</ul>
</p>
<% end_if %>

View File

@ -15,15 +15,15 @@
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
</head>
<body onload="">
<h1>Contents of $FileName</h1>
<h1><% _t('CONTENTSOF','Contents of') %> $FileName</h1>
<form method="post" action="admin/newsletter/?executeForm=UploadForm" name="UploadForm">
<% control CustomSetFields %>
$FieldHolder
<% end_control %>
<input type="submit" name="action_confirm" value="Confirm" />
<input type="submit" name="action_cancel" value="Cancel" />
<input type="submit" name="action_confirm" value="<% _t('YES','Confirm') %>" />
<input type="submit" name="action_cancel" value="<% _t('NO','Cancel') %>" />
<input type="hidden" name="ID" value="$TypeID" />
<table summary="Recipients imported from $FileName">
<table summary="<% _t('RECIMPORTED','Recipients imported from') %> $FileName">
<tbody>
<tr>
<% control ColumnHeaders %>

View File

@ -1,11 +1,11 @@
<% if SentRecipients(Failed) %>
<h2 class="error" style="width:auto;">Sending to the Following Recipients Failed</h2>
<h2 class="error" style="width:auto;"><% _t('SENDFAIL','Sending to the Following Recipients Failed') %></h2>
<table class="CMSList">
<thead>
<tr>
<th class="Email" style="width:33%">Email</th>
<th>Date</th>
<th>Result</th>
<th class="Email" style="width:33%"><% _t('EMAIL','Email') %></th>
<th><% _t('DATE','Date') %></th>
<th><% _t('RES','Result') %></th>
</tr>
</thead>
<tbody>
@ -22,14 +22,14 @@
<% end_if %>
<% if SentRecipients(Bounced) %>
<h2 class="error" style="width:auto;">Sending to the Following Recipients Bounced</h2>
<h2 class="error" style="width:auto;"><% _t('SENDBOUNCED','Sending to the Following Recipients Bounced') %></h2>
<table class="CMSList">
<thead>
<tr>
<th class="Email" style="width:33%">Email</th>
<th>Date</th>
<th>Result</th>
<th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th><% _t('DATE') %></th>
<th><% _t('RES') %></th>
</tr>
</thead>
@ -52,9 +52,9 @@
<table class="CMSList">
<thead>
<tr>
<th class="Email" style="width:33%">Email</th>
<th>Date</th>
<th>Result</th>
<th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th><% _t('DATE') %></th>
<th><% _t('RES') %></th>
</tr>
</thead>
@ -72,13 +72,13 @@
<% end_if %>
<% if UnsentSubscribers %>
<h2>The Newsletter has Never Been Sent to Following Subscribers</h2>
<h2><% _t('NEWSNEVERSENT','The Newsletter has Never Been Sent to Following Subscribers') %></h2>
<table class="CMSList">
<thead>
<tr>
<th class="Email" style="width:33%">Email</th>
<th class="FirstName">Firstname</th>
<th class="Surname">Surname</th>
<th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th class="FirstName"><% _t('FN','Firstname') %></th>
<th class="Surname"><% _t('SN','Surname') %></th>
</tr>
</thead>
@ -96,13 +96,13 @@
<% end_if %>
<% if SentRecipients(Sent) %>
<h2>Sending to the Following Recipients was Successful</h2>
<h2><% _t('SENTOK','Sending to the Following Recipients was Successful') %></h2>
<table class="CMSList">
<thead>
<tr>
<th class="Email" style="width:33%">Email</th>
<th>Date</th>
<th>Result</th>
<th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th><% _t('DATE') %></th>
<th><% _t('RES') %></th>
</tr>
</thead>

View File

@ -1,9 +1,9 @@
<div id="PageComments_holder" class="typography">
<h4>Post your comment</h4>
<h4><% _t('POSTCOM','Post your comment') %></h4>
$PostCommentForm
<h4>Comments</h4>
<h4><% _t('COMMENTS','Comments') %></h4>
<div id="CommentHolder">
<% if Comments %>
@ -19,7 +19,7 @@
<div id="PageCommentsPagination">
<p>
<% if Comments.PrevLink %>
<a href="$Comments.PrevLink">&laquo; previous</a>
<a href="$Comments.PrevLink">&laquo; <% _t('PREV','previous') %></a>
<% end_if %>
<% if Comments.Pages %>
@ -33,13 +33,13 @@
<% end_if %>
<% if Comments.NextLink %>
<a href="$Comments.NextLink">next &raquo;</a>
<a href="$Comments.NextLink"><% _t('NEXT','next') %> &raquo;</a>
<% end_if %>
</p>
</div>
<% end_if %>
<% else %>
<p id="NoComments">No one has commented on this page yet.</p>
<p id="NoComments"><% _t('NOCOMMENTSYET','No one has commented on this page yet.') %></p>
<% end_if %>
</div>
<p id="CommentsRSSFeed"><a class="commentrss" href="$CommentRssLink">RSS feed for comments on this page</a></p>

View File

@ -2,20 +2,20 @@
$Comment.XML
</p>
<p class="info">
<span>Posted by $Name.XML, $Created.Nice ($Created.Ago)</span>
<span><% _t('PBY','Posted by') %> $Name.XML, $Created.Nice ($Created.Ago)</span>
<br />
<ul class="actionLinks">
<% if ApproveLink %>
<li><a href="$ApproveLink" class="approvelink">approve this comment</a></li>
<% end_if %>
<% if SpamLink %>
<li><a href="$SpamLink" class="spamlink">this comment is spam</a></li>
<li><a href="$SpamLink" class="spamlink"><% _t('ISSPAM','this comment is spam') %></a></li>
<% end_if %>
<% if HamLink %>
<li><a href="$HamLink" class="hamlink">this comment is not spam</a></li>
<li><a href="$HamLink" class="hamlink"><% _t('ISNTSPAM','this comment is not spam') %></a></li>
<% end_if %>
<% if DeleteLink %>
<li class="last"><a href="$DeleteLink" class="deletelink">remove this comment</a></li>
<li class="last"><a href="$DeleteLink" class="deletelink"><% _t('REMCOM','remove this comment') %></a></li>
<% end_if %>
</ul>
</p>

View File

@ -4,7 +4,7 @@
<% control Tasks %>
<li class="$EvenOdd">
<a href="admin/show/$ID">$Title</a>
<div class="extra">by $RequestedBy.FirstName&nbsp;$RequestedBy.Surname.Initial, $Created.Ago</div>
<div class="extra"><% _t('BY','by') %> $RequestedBy.FirstName&nbsp;$RequestedBy.Surname.Initial, $Created.Ago</div>
</li>
<% end_control %>
</ul>

View File

@ -1,3 +1,3 @@
<div id="$Name" class="thumbnailstrip parent=$ParentField updatemethod=$updateMethod">
<span style="float: left">(Choose a folder above)</span>
<span style="float: left"><% _t('CHOOSEFOLDER','(Choose a folder above)') %></span>
</div>

View File

@ -4,7 +4,7 @@
<% control Tasks %>
<li class="$EvenOdd">
<a href="admin/show/$ID">$Title</a>
<div class="extra">assigned to $AssignedTo.FirstName&nbsp;$AssignedTo.Surname.Initial $LastEdited.Ago</div>
<div class="extra"><% _t('ATO','assigned to') %> $AssignedTo.FirstName&nbsp;$AssignedTo.Surname.Initial $LastEdited.Ago</div>
</li>
<% end_control %>
</ul>

View File

@ -4,7 +4,8 @@
<body>
<h1>$Subject</h1>
<p>
The following data was submitted to your website:
<% _t('SUBMITTED','The following data was submitted to your website:') %>
</p>
$Body

View File

@ -1,3 +1,3 @@
You have asked to view the content of our site on $ArchiveDate.Date
<% _t('HAVEASKED','You have asked to view the content of our site on',30,'Followed by a date') %> $ArchiveDate.Date
You can access the archived site at this link: $ArchiveURL
<% _t('CANACCESS','You can access the archived site at this link:') %> $ArchiveURL