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 %> <% if CanUpload %>
$UploadForm $UploadForm
<% else %> <% 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 %> <% end_if %>
</body> </body>

View File

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

View File

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

View File

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

View File

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

View File

@ -7,31 +7,31 @@
}; };
</script> </script>
<h2>Folders</h2> <h2><% _t('FOLDERS','Folders') %></h2>
<div id="treepanes" style="overflow-y: auto;"> <div id="treepanes" style="overflow-y: auto;">
<ul id="TreeActions"> <ul id="TreeActions">
<li class="action" id="addpage"><button>Create</button></li> <li class="action" id="addpage"><button><% _t('CREATE','Create') %></button></li>
<li class="action" id="deletepage"><button>Delete...</button></li> <li class="action" id="deletepage"><button><% _t('DELETE','Delete...') %></button></li>
<li class="action" id="sortitems"><button>Reorder...</button></li> <li class="action" id="sortitems"><button><% _t('REORDER','Reorder...') %></button></li>
</ul> </ul>
<div style="clear:both;"></div> <div style="clear:both;"></div>
<form class="actionparams" id="addpage_options" style="display: none" action="admin/assets/addfolder"> <form class="actionparams" id="addpage_options" style="display: none" action="admin/assets/addfolder">
<div> <div>
<input type="hidden" name="ParentID" /> <input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" /> <input class="action" type="submit" value="<% _t('GO','Go') %>" />
</div> </div>
</form> </form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/assets/deletefolder"> <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> <div>
<input type="hidden" name="csvIDs" /> <input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected folders" /> <input type="submit" value="<% _t('DELFOLDERS','Delete the selected folders') %>" />
</div> </div>
</form> </form>
<form class="actionparams" id="sortitems_options" style="display: none"> <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> </form>
$SiteTreeAsUL $SiteTreeAsUL

View File

@ -25,7 +25,7 @@
<form id="Form_EditForm" action="admin/assets/?executeForm=EditForm" method="post" enctype="multipart/form-data"> <form id="Form_EditForm" action="admin/assets/?executeForm=EditForm" method="post" enctype="multipart/form-data">
<h1>$ApplicationName</h1> <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> </form>
<% end_if %> <% end_if %>

View File

@ -14,7 +14,7 @@
<tbody> <tbody>
<% control Items %> <% control Items %>
<tr id="record-$Parent.Name-$ID"> <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 %> <% control Fields %>
<td>$Value</td> <td>$Value</td>
<% end_control %> <% end_control %>
@ -23,7 +23,7 @@
</td> </td>
<% if Can(delete) %> <% if Can(delete) %>
<td width="18"> <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> </td>
<% end_if %> <% end_if %>
</tr> </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="treepanes">
<div id="sitetree_holder" style="overflow:auto"> <div id="sitetree_holder" style="overflow:auto">
<% if BulkLoaders %> <% if BulkLoaders %>
<ul id="sitetree" class="tree unformatted"> <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> <ul>
<% control BulkLoaders %> <% control BulkLoaders %>

View File

@ -1,8 +1,8 @@
<h1>Site Content</h1> <h1><% _t('SITECONT','Site Content') %></h1>
<ul id="TreeActions"> <ul id="TreeActions">
<li class="action" id="addpage"><a href="admin/addpage">New Page...</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">Delete Pages...</a></li> <li class="action" id="deletepage"><a href="admin/deletepage"><% _t('DELPAGE','Delete Pages...') %></a></li>
<li class="spacer"></li> <li class="spacer"></li>
</ul> </ul>
@ -13,14 +13,14 @@
<% end_control %> <% end_control %>
</select> </select>
<input type="hidden" name="ParentID" /> <input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" /> <input class="action" type="submit" value="<% _t('GO','Go') %>" />
</form> </form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/deletepages"> <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="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected pages" /> <input type="submit" value="<% _t('DELPAGES','Delete the selected pages') %>" />
</form> </form>
<div id="sitetree_holder" style="overflow:auto"> <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> <div class="mceToolbar_background">&nbsp;</div>
@ -15,7 +15,7 @@
<p id="statusMessage" style="display:none"></p> <p id="statusMessage" style="display:none"></p>
<form id="Form_EditForm" action="admin?executeForm=EditForm" method="post" enctype="multipart/form-data"> <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> </form>
<% end_if %> <% end_if %>
</body> </body>

View File

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

View File

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

View File

@ -25,7 +25,7 @@
<tr style="display: none;"> <tr style="display: none;">
<% if Markable %><td width="18">&nbsp;</td><% end_if %> <% if Markable %><td width="18">&nbsp;</td><% end_if %>
<td colspan="$ItemCount"> <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> </td>
<% if Can(show) %><td width="18">&nbsp;</td><% end_if %> <% if Can(show) %><td width="18">&nbsp;</td><% end_if %>
<% if Can(edit) %><td width="18">&nbsp;</td><% end_if %> <% if Can(edit) %><td width="18">&nbsp;</td><% end_if %>
@ -42,17 +42,17 @@
<% end_control %> <% end_control %>
<% if Can(show) %> <% if Can(show) %>
<td width="18"> <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> </td>
<% end_if %> <% end_if %>
<% if Can(edit) %> <% if Can(edit) %>
<td width="18"> <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> </td>
<% end_if %> <% end_if %>
<% if Can(delete) %> <% if Can(delete) %>
<td width="18"> <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> </td>
<% end_if %> <% end_if %>
</tr> </tr>

View File

@ -4,12 +4,12 @@
<li>Uncheck the box to enable sending to a blacklisted email address.</li> <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> <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> </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> <thead>
<tr> <tr>
<th width="18">Blacklisted</th> <th width="18">Blacklisted</th>
<th>User name</th> <th><% _t('UNAME','User name') %></th>
<th>Email address</th> <th><% _t('EMADD','Email address') %></th>
<th>Reason:</th> <th>Reason:</th>
<th>Date</th> <th>Date</th>
<th width="18">&nbsp;</th> <th width="18">&nbsp;</th>
@ -35,5 +35,5 @@
</tbody> </tbody>
</table> </table>
<% else %> <% else %>
<p>No emails sent have bounced.</p> <p><% _t('NOBOUNCED','No emails sent have bounced.') %></p>
<% end_if %> <% end_if %>

View File

@ -4,7 +4,7 @@
<li id="mailtype_$ID" class="MailType"> <li id="mailtype_$ID" class="MailType">
<a href="#">$Title</a> <a href="#">$Title</a>
<ul> <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 %> <% if DraftNewsletters %>
<ul> <ul>
<% control DraftNewsletters %> <% control DraftNewsletters %>
@ -13,7 +13,7 @@
</ul> </ul>
<% end_if %> <% end_if %>
</li> </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 %> <% if SentNewsletters %>
<ul> <ul>
<% control SentNewsletters %> <% control SentNewsletters %>
@ -22,7 +22,7 @@
</ul> </ul>
<% end_if %> <% end_if %>
</li> </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> </ul>
</li> </li>
<% end_control %> <% end_control %>

View File

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

View File

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

View File

@ -10,17 +10,17 @@
<fieldset> <fieldset>
<input type="hidden" name="NewsletterID" /> <input type="hidden" name="NewsletterID" />
<ul class="optionset"> <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="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">Send to the entire mailing list</label></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">Send to only people not previously sent to</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> </ul>
$SendProgressBar $SendProgressBar
</fieldset> </fieldset>
<p class="actions"> <p class="actions">
<ul class="optionset"> <ul class="optionset">
<li class="cancel"><button id="action_send_cancel">Cancel</button></li> <li class="cancel"><button id="action_send_cancel"><% _t('CANCEL','Cancel') %></button></li>
<li class="submit"><input type="submit" value="Send newsletter" /></li> <li class="submit"><input type="submit" value="<% _t('SEND','Send newsletter') %>" /></li>
</ul> </ul>
</p> </p>
</form> </form>
@ -29,7 +29,7 @@
$EditForm $EditForm
<% else %> <% else %>
<form id="Form_EditForm" action="admin/newsletter?executeForm=EditForm" method="post" enctype="multipart/form-data"> <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> </form>
<% end_if %> <% end_if %>

View File

@ -1,7 +1,7 @@
<% if Reports %> <% if Reports %>
<ul id="sitetree" class="tree unformatted"> <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> <ul>
<% control Reports %> <% control Reports %>
<li id="$ID"> <li id="$ID">

View File

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

View File

@ -4,7 +4,7 @@
$EditForm $EditForm
<% else %> <% else %>
<form id="Form_EditForm" action="admin/reports?executeForm=EditForm" method="post" enctype="multipart/form-data"> <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> </form>
<% end_if %> <% 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;"> <div id="treepanes" style="overflow-y: auto;">
<ul id="TreeActions"> <ul id="TreeActions">
<li class="action" id="addgroup"><button>Create</button></li> <li class="action" id="addgroup"><button><% _t('CREATE','Create') %></button></li>
<li class="action" id="deletegroup"><button>Delete...</button></li> <li class="action" id="deletegroup"><button><% _t('DEL','Delete...') %></button></li>
<li class="action" id="sortitems"><button>Reorder...</button></li> <li class="action" id="sortitems"><button><% _t('REORDER','Reorder...') %></button></li>
</ul> </ul>
<div style="clear:both;"></div> <div style="clear:both;"></div>
<form class="actionparams" id="addgroup_options" style="display: none" action="admin/security/addgroup"> <form class="actionparams" id="addgroup_options" style="display: none" action="admin/security/addgroup">
<input type="hidden" name="ParentID" /> <input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" /> <input class="action" type="submit" value="<% _t('GO','Go') %>" />
</form> </form>
<form class="actionparams" id="deletegroup_options" style="display: none" action="admin/security/deleteitems"> <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="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected groups" /> <input type="submit" value="<% _t('DELGROUPS','Delete the selected groups') %>" />
</form> </form>
<form class="actionparams" id="sortitems_options" style="display: none" action=""> <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> </form>
$SiteTreeAsUL $SiteTreeAsUL

View File

@ -7,7 +7,7 @@
$EditForm $EditForm
<% else %> <% else %>
<form id="Form_EditForm" action="admin/security?executeForm=EditForm" method="post" enctype="multipart/form-data"> <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> </form>
<% end_if %> <% end_if %>

View File

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

View File

@ -1,13 +1,13 @@
<div id="MemberListField"> <div id="MemberListField">
<div class="MemberListFilter"> <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"> <div id="MemberListFilterControls">
<input id="MemberListBaseGroupID" type="hidden" name="MemberListBaseGroup" value="$GroupID" /> <input id="MemberListBaseGroupID" type="hidden" name="MemberListBaseGroup" value="$GroupID" />
<input id="MemberListDontShowPassword" type="hidden" name="MemberListDontShowPassword" value="$DontShowPassword" /> <input id="MemberListDontShowPassword" type="hidden" name="MemberListDontShowPassword" value="$DontShowPassword" />
$SearchField $SearchField
$OrderByField $OrderByField
$GroupFilter $GroupFilter
<input id="MemberListFilterButton" type="submit" value="Filter" name="filter" /> <input id="MemberListFilterButton" type="submit" value="<% _t('FILTER') %>" name="filter" />
</div> </div>
</div> </div>
<div id="MemberList"> <div id="MemberList">

View File

@ -1,6 +1,6 @@
<% if Status = Draft %> <% 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 %> <% end_if %>
<% if Status = Sent %> <% 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 %> <% end_if %>

View File

@ -20,7 +20,8 @@
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script> <script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
<% if ImportMessage %> <% if ImportMessage %>
<script type="text/javascript"> <script type="text/javascript">
top.statusMessage('Imported new members','good'); top.statusMessage('<% _t('IMPORTNEW','Imported new members') %>','good');
top.reloadRecipientsList();
</script> </script>
<% end_if %> <% end_if %>
</head> </head>
@ -30,11 +31,11 @@
$ImportMessage $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> <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> <ul>
<li><label>New members imported:</label>$NewMembers</li> <li><label><% _t('IMPORTED','New members imported:') %></label>$NewMembers</li>
<li><label>Members updated:</label>$ChangedMembers</li> <li><label><% _t('UPDATED','Members updated:') %></label>$ChangedMembers</li>
<li><label>Number of details changed:</label>$ChangedFields</li> <li><label><% _t('CHANGED','Number of details changed:') %></label>$ChangedFields</li>
<li><label>Records skipped:</label>$SkippedRecords</li> <li><label><% _t('SKIPPED','Records skipped:') %></label>$SkippedRecords</li>
<li><label>Time taken: </label>$Time seconds</li> <li><label><% _t('TIME','Time taken:') %> </label>$Time <% _t('SEC','seconds') %></li>
</ul> </ul>
</p> </p>
<% end_if %> <% end_if %>

View File

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

View File

@ -1,11 +1,11 @@
<% if SentRecipients(Failed) %> <% 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"> <table class="CMSList">
<thead> <thead>
<tr> <tr>
<th class="Email" style="width:33%">Email</th> <th class="Email" style="width:33%"><% _t('EMAIL','Email') %></th>
<th>Date</th> <th><% _t('DATE','Date') %></th>
<th>Result</th> <th><% _t('RES','Result') %></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -22,14 +22,14 @@
<% end_if %> <% end_if %>
<% if SentRecipients(Bounced) %> <% 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"> <table class="CMSList">
<thead> <thead>
<tr> <tr>
<th class="Email" style="width:33%">Email</th> <th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th>Date</th> <th><% _t('DATE') %></th>
<th>Result</th> <th><% _t('RES') %></th>
</tr> </tr>
</thead> </thead>
@ -52,9 +52,9 @@
<table class="CMSList"> <table class="CMSList">
<thead> <thead>
<tr> <tr>
<th class="Email" style="width:33%">Email</th> <th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th>Date</th> <th><% _t('DATE') %></th>
<th>Result</th> <th><% _t('RES') %></th>
</tr> </tr>
</thead> </thead>
@ -72,13 +72,13 @@
<% end_if %> <% end_if %>
<% if UnsentSubscribers %> <% 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"> <table class="CMSList">
<thead> <thead>
<tr> <tr>
<th class="Email" style="width:33%">Email</th> <th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th class="FirstName">Firstname</th> <th class="FirstName"><% _t('FN','Firstname') %></th>
<th class="Surname">Surname</th> <th class="Surname"><% _t('SN','Surname') %></th>
</tr> </tr>
</thead> </thead>
@ -96,13 +96,13 @@
<% end_if %> <% end_if %>
<% if SentRecipients(Sent) %> <% 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"> <table class="CMSList">
<thead> <thead>
<tr> <tr>
<th class="Email" style="width:33%">Email</th> <th class="Email" style="width:33%"><% _t('EMAIL') %></th>
<th>Date</th> <th><% _t('DATE') %></th>
<th>Result</th> <th><% _t('RES') %></th>
</tr> </tr>
</thead> </thead>

View File

@ -1,9 +1,9 @@
<div id="PageComments_holder" class="typography"> <div id="PageComments_holder" class="typography">
<h4>Post your comment</h4> <h4><% _t('POSTCOM','Post your comment') %></h4>
$PostCommentForm $PostCommentForm
<h4>Comments</h4> <h4><% _t('COMMENTS','Comments') %></h4>
<div id="CommentHolder"> <div id="CommentHolder">
<% if Comments %> <% if Comments %>
@ -19,7 +19,7 @@
<div id="PageCommentsPagination"> <div id="PageCommentsPagination">
<p> <p>
<% if Comments.PrevLink %> <% if Comments.PrevLink %>
<a href="$Comments.PrevLink">&laquo; previous</a> <a href="$Comments.PrevLink">&laquo; <% _t('PREV','previous') %></a>
<% end_if %> <% end_if %>
<% if Comments.Pages %> <% if Comments.Pages %>
@ -33,13 +33,13 @@
<% end_if %> <% end_if %>
<% if Comments.NextLink %> <% if Comments.NextLink %>
<a href="$Comments.NextLink">next &raquo;</a> <a href="$Comments.NextLink"><% _t('NEXT','next') %> &raquo;</a>
<% end_if %> <% end_if %>
</p> </p>
</div> </div>
<% end_if %> <% end_if %>
<% else %> <% 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 %> <% end_if %>
</div> </div>
<p id="CommentsRSSFeed"><a class="commentrss" href="$CommentRssLink">RSS feed for comments on this page</a></p> <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 $Comment.XML
</p> </p>
<p class="info"> <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 /> <br />
<ul class="actionLinks"> <ul class="actionLinks">
<% if ApproveLink %> <% if ApproveLink %>
<li><a href="$ApproveLink" class="approvelink">approve this comment</a></li> <li><a href="$ApproveLink" class="approvelink">approve this comment</a></li>
<% end_if %> <% end_if %>
<% if SpamLink %> <% 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 %> <% end_if %>
<% if HamLink %> <% 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 %> <% end_if %>
<% if DeleteLink %> <% 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 %> <% end_if %>
</ul> </ul>
</p> </p>

View File

@ -4,7 +4,7 @@
<% control Tasks %> <% control Tasks %>
<li class="$EvenOdd"> <li class="$EvenOdd">
<a href="admin/show/$ID">$Title</a> <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> </li>
<% end_control %> <% end_control %>
</ul> </ul>

View File

@ -1,3 +1,3 @@
<div id="$Name" class="thumbnailstrip parent=$ParentField updatemethod=$updateMethod"> <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> </div>

View File

@ -4,7 +4,7 @@
<% control Tasks %> <% control Tasks %>
<li class="$EvenOdd"> <li class="$EvenOdd">
<a href="admin/show/$ID">$Title</a> <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> </li>
<% end_control %> <% end_control %>
</ul> </ul>

View File

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