mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
rbarreiros: #1918 Translate newsletter and other strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47832 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d9ac1a1f85
commit
7d00a996b4
@ -162,7 +162,7 @@ HTML;
|
||||
foreach($processedFiles as $file) {
|
||||
if($file['error'] == UPLOAD_ERR_NO_TMP_DIR) {
|
||||
$status = 'bad';
|
||||
$statusMessage = 'There is no temporary folder for uploads. Please set upload_tmp_dir in php.ini.';
|
||||
$statusMessage = _t('AssetAdmin.NOTEMP', 'There is no temporary folder for uploads. Please set upload_tmp_dir in php.ini.');
|
||||
break;
|
||||
}
|
||||
|
||||
@ -283,7 +283,7 @@ HTML;
|
||||
new HiddenField("DestFolderID")
|
||||
),
|
||||
new Tab(_t('AssetAdmin.DETAILSTAB', "Details"),
|
||||
new ReadonlyField("URL"),
|
||||
new ReadonlyField("URL", _t('AssetAdmin.URL', 'URL')),
|
||||
new ReadonlyField("ClassName", _t('AssetAdmin.TYPE','Type')),
|
||||
new ReadonlyField("Created", _t('AssetAdmin.CREATED','First Uploaded')),
|
||||
new ReadonlyField("LastEdited", _t('AssetAdmin.LASTEDITED','Last Updated'))
|
||||
@ -542,7 +542,7 @@ JS;
|
||||
$p->ParentID = $parent;
|
||||
$p->Title = _t('AssetAdmin.NEWFOLDER',"NewFolder");
|
||||
|
||||
$p->Name = "NewFolder";
|
||||
$p->Name = _t('AssetAdmin.NEWFOLDER', 'NewFolder');
|
||||
|
||||
// Get the folder to be created
|
||||
if(isset($parentObj->ID)) $filename = $parentObj->FullPath . $p->Name;
|
||||
@ -668,12 +668,24 @@ if(!$record)
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
$s = (sizeof($ids) > 1) ? "s" :"";
|
||||
|
||||
$message = sizeof($ids) . " folder$s deleted.";
|
||||
//
|
||||
if(isset($brokenPageList)) $message .= " The following pages now have broken links:<ul>" . addslashes($brokenPageList) . "</ul>Their owners have been emailed and they will fix up those pages.";
|
||||
*/
|
||||
|
||||
$size = sizeof($ids);
|
||||
if($size > 1)
|
||||
$message = $size.' '._t('AssetAdmin.FOLDERSDELETED', 'folders deleted.');
|
||||
else
|
||||
$message = $size.' '._t('AssetAdmin.FOLDERDELETED', 'folder deleted.');
|
||||
|
||||
if(isset($brokenPageList))
|
||||
$message .= ' '._t('AssetAdmin.NOWBROKEN', 'The following pages now have broken links:').'<ul>'.addslashes($brokenPageList).'</ul>'.
|
||||
_t('AssetAdmin.NOWBROKEN2', 'Their owners have been emailed and they will fix up those pages.');
|
||||
|
||||
$script .= "statusMessage('$message');";
|
||||
echo $script;
|
||||
}
|
||||
@ -730,7 +742,7 @@ JS;
|
||||
foreach($this->getUnusedThumbnailsArray() as $file) {
|
||||
unlink("../assets/" . $file);
|
||||
}
|
||||
echo "statusMessage('All unused thumbnails have been deleted','good')";
|
||||
echo "statusMessage('"._t('AssetAdmin.THUMBSDELETED', 'All unused thumbnails have been deleted')."','good')";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -70,13 +70,13 @@ class AssetTableField extends ComplexTableField {
|
||||
}
|
||||
|
||||
$urlLink = "<div class='field readonly'>";
|
||||
$urlLink .= "<label class='left'>URL</label>";
|
||||
$urlLink .= "<label class='left'>"._t('AssetTableField.URL','URL')."</label>";
|
||||
$urlLink .= "<span class='readonly'><a href='{$childData->Link()}'>{$childData->RelativeLink()}</a></span>";
|
||||
$urlLink .= "</div>";
|
||||
|
||||
$detailFormFields = new FieldSet(
|
||||
new TabSet("BottomRoot",
|
||||
new Tab("Main",
|
||||
new Tab(_t('AssetTableField.MAIN', 'Main'),
|
||||
new TextField("Title", _t('AssetTableField.TITLE','Title')),
|
||||
new TextField("Name", _t('AssetTableField.FILENAME','Filename')),
|
||||
new LiteralField("AbsoluteURL", $urlLink),
|
||||
@ -93,15 +93,16 @@ class AssetTableField extends ComplexTableField {
|
||||
$big = $childData->URL;
|
||||
$thumbnail = $childData->getFormattedImage('AssetLibraryPreview')->URL;
|
||||
|
||||
$detailFormFields->addFieldToTab("BottomRoot.Main",
|
||||
// Hmm this required the translated string to be appended to BottomRoot to add this to the Main tab
|
||||
$detailFormFields->addFieldToTab("BottomRoot."._t('AssetTableField.MAIN','Main'),
|
||||
new ReadonlyField("Dimensions", _t('AssetTableField.DIM','Dimensions')),
|
||||
"Created"
|
||||
);
|
||||
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Image",
|
||||
new Tab(_t('AssetTableField.IMAGE', 'Image'),
|
||||
new LiteralField("ImageFull",
|
||||
'<a id="ImageEditorActivator" href="javascript: void(0)">' . "<img id='thumbnailImage' src='{$thumbnail}?r=" . rand(1,100000) . "' alt='{$childData->Name}' /><p>Edit this image</p>" . '</a>' .
|
||||
'<a id="ImageEditorActivator" href="javascript: void(0)">' . "<img id='thumbnailImage' src='{$thumbnail}?r=" . rand(1,100000) . "' alt='{$childData->Name}' /><p>"._t('AssetTableField.EDITIMAGE', 'Edit this image')."</p>" . '</a>' .
|
||||
'<script type="text/javascript" src="cms/javascript/ImageEditor/Activator.js"></script><script type="text/javascript">var imageActivator = new ImageEditor.Activator.initialize();Event.observe("ImageEditorActivator","click",imageActivator.onOpen);</script>'
|
||||
)
|
||||
),
|
||||
@ -110,8 +111,8 @@ class AssetTableField extends ComplexTableField {
|
||||
|
||||
if(class_exists('GalleryFile')) {
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
new TextField( "Content", "Caption" )
|
||||
new Tab(_t('AssetTableField.GALLERYOPTIONS', 'Gallery Options'),
|
||||
new TextField( "Content", _t('AssetTableField.CAPTION', 'Caption') )
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -119,22 +120,22 @@ class AssetTableField extends ComplexTableField {
|
||||
else if (class_exists('GalleryFile')) {
|
||||
if( $childData->Extension == 'swf' ) {
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
new TextField( "Content", "Caption" ),
|
||||
new TextField( 'PopupWidth', 'Popup Width' ),
|
||||
new TextField( 'PopupHeight', 'Popup Height' ),
|
||||
new HeaderField( 'SWF File Options' ),
|
||||
new CheckboxField( 'Embed', 'Is A Flash Document' ),
|
||||
new CheckboxField( 'LimitDimensions', 'Limit The Dimensions In The Popup Window' )
|
||||
new Tab(_t('AssetTableField.GALLERYOPTIONS', 'Gallery Options'),
|
||||
new TextField( "Content", _t('AssetTableField.CAPTION', 'Caption') ),
|
||||
new TextField( 'PopupWidth', _t('AssetTableField.POPUPWIDTH', 'Popup Width') ),
|
||||
new TextField( 'PopupHeight', _t('AssetTableField.POPUPHEIGHT', 'Popup Height') ),
|
||||
new HeaderField( _t('AssetTableField.SWFFILEOPTIONS', 'SWF File Options') ),
|
||||
new CheckboxField( 'Embed', _t('AssetTableField.ISFLASH', 'Is A Flash Document') ),
|
||||
new CheckboxField( 'LimitDimensions', _t('AssetTableField.DIMLIMT', 'Limit The Dimensions In The Popup Window') )
|
||||
)
|
||||
);
|
||||
}
|
||||
else {
|
||||
$detailFormFields->addFieldToTab("BottomRoot",
|
||||
new Tab("Gallery Options",
|
||||
new TextField( "Content", "Caption" ),
|
||||
new TextField( 'PopupWidth', 'Popup Width' ),
|
||||
new TextField( 'PopupHeight', 'Popup Height' )
|
||||
new Tab(_t('AssetTableField.GALLERYOPTIONS', 'Gallery Options'),
|
||||
new TextField( "Content", _t('AssetTableField.CAPTION', 'Caption') ),
|
||||
new TextField( 'PopupWidth', _t('AssetTableField.POPUPWIDTH', 'Popup Width') ),
|
||||
new TextField( 'PopupHeight', _t('AssetTableField.POPUPHEIGHT', 'Popup Height') )
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -271,14 +271,18 @@ JS;
|
||||
// skip this type if it is restricted
|
||||
if($instance->stat('need_permission') && !$this->can( singleton($class)->stat('need_permission') ) ) continue;
|
||||
|
||||
/*
|
||||
* Since i18n_singular_name() this is not necessary
|
||||
$addAction = $instance->uninherited('add_action', true);
|
||||
if($addAction) {
|
||||
// backwards compatibility for actions like "a page" (instead of "page")
|
||||
$addAction = preg_replace('/^a /','',$addAction);
|
||||
$addAction = ucfirst($addAction);
|
||||
} else {
|
||||
$addAction = $instance->singular_name();
|
||||
$addAction = $instance->i18n_singular_name();
|
||||
}
|
||||
*/
|
||||
$addAction = $instance->i18n_singular_name();
|
||||
|
||||
$result->push(new ArrayData(array(
|
||||
"ClassName" => $class,
|
||||
@ -478,12 +482,13 @@ JS;
|
||||
|
||||
if(isset($descendantsRemoved)) {
|
||||
$descRemoved = " and $descendantsRemoved descendants";
|
||||
$descRemoved = sprintf(' '._t('CMSMain.DESCREMOVED', 'and %s descendants'), $descendantsRemoved);
|
||||
} else {
|
||||
$descRemoved = '';
|
||||
}
|
||||
|
||||
FormResponse::add($this->deleteTreeNodeJS($record));
|
||||
FormResponse::status_message("Deleted '$record->Title'$descRemoved from live site", 'good');
|
||||
FormResponse::status_message(sprintf(_t('CMSMain.REMOVED', 'Deleted \'%s\'%s from live site'), $record->Title, $descRemoved), 'good');
|
||||
|
||||
return FormResponse::respond();
|
||||
}
|
||||
@ -675,7 +680,7 @@ HTML;
|
||||
foreach($reports as $report) {
|
||||
if($report != 'SideReport') $options[$report] = singleton($report)->title();
|
||||
}
|
||||
return new DropdownField("ReportSelector","Report",$options);
|
||||
return new DropdownField("ReportSelector", _t('CMSMain.REPORT', 'Report'),$options);
|
||||
}
|
||||
/**
|
||||
* Get the content for a side report
|
||||
@ -1322,7 +1327,7 @@ JS
|
||||
$classes = ClassInfo::subclassesFor('LeftAndMain');
|
||||
|
||||
foreach($classes as $class) {
|
||||
$perms["CMS_ACCESS_" . $class] = "Access to $class in CMS";
|
||||
$perms["CMS_ACCESS_" . $class] = sprintf(_t('CMSMain.ACCESS', "Access to %s in CMS"), $class);
|
||||
}
|
||||
return $perms;
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ class CommentAdmin extends LeftAndMain {
|
||||
);
|
||||
|
||||
$popupFields = new FieldSet(
|
||||
new TextField("Name"),
|
||||
new TextareaField("Comment", "Comment")
|
||||
new TextField('Name', _t('CommentAdmin.NAME', 'Name')),
|
||||
new TextareaField('Comment', _t('CommentAdmin.COMMENT', 'Comment'))
|
||||
);
|
||||
|
||||
$idField = new HiddenField('ID', '', $section);
|
||||
@ -75,7 +75,7 @@ class CommentAdmin extends LeftAndMain {
|
||||
|
||||
$fields = new FieldSet(
|
||||
new TabSet( 'Root',
|
||||
new Tab('Comments',
|
||||
new Tab(_t('CommentAdmin.COMMENTS', 'Comments'),
|
||||
new LiteralField("Title", $title),
|
||||
$idField,
|
||||
$table
|
||||
@ -143,10 +143,11 @@ JS;
|
||||
$comment->delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$msg = sprintf(_t('CommentAdmin.DELETED', 'Deleted %s comments.'), $numComments);
|
||||
echo <<<JS
|
||||
$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value);
|
||||
statusMessage("Deleted $numComments comments.");
|
||||
statusMessage("$msg");
|
||||
JS;
|
||||
|
||||
}
|
||||
@ -182,10 +183,11 @@ JS;
|
||||
user_error("No comments in $commentList could be found!", E_USER_ERROR);
|
||||
}
|
||||
|
||||
$msg = sprintf(_t('CommentAdmin.MARKEDSPAM', 'Marked %s comments as spam.'), $numComments);
|
||||
echo <<<JS
|
||||
$deleteList
|
||||
$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value);
|
||||
statusMessage("Marked $numComments comments as spam.");
|
||||
statusMessage("$msg");
|
||||
JS;
|
||||
}
|
||||
|
||||
@ -221,10 +223,11 @@ JS;
|
||||
user_error("No comments in $commentList could be found!", E_USER_ERROR);
|
||||
}
|
||||
|
||||
$msg = sprintf(_t('CommentAdmin.MARKEDNOTSPAM', 'Marked %s comments as not spam.'), $numComments);
|
||||
echo <<<JS
|
||||
$deleteList
|
||||
$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value);
|
||||
statusMessage("Marked $numComments comments as not spam.");
|
||||
statusMessage("$msg");
|
||||
JS;
|
||||
}
|
||||
|
||||
@ -246,7 +249,8 @@ JS;
|
||||
} else {
|
||||
user_error("No comments in $commentList could be found!", E_USER_ERROR);
|
||||
}
|
||||
|
||||
|
||||
$msg = sprintf(_t('CommentAdmin.APPROVED', 'Accepted %s comments.'), $numComments);
|
||||
echo <<<JS
|
||||
$deleteList
|
||||
$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value);
|
||||
|
@ -56,7 +56,7 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
|
||||
function __construct() {
|
||||
$this->result_actions = new FieldSet(
|
||||
new FormAction("export","Export as CSV")
|
||||
new FormAction('export', _t('GenericDataAdmin.EXPORTCSV', 'Export as CSV'))
|
||||
);
|
||||
|
||||
parent::__construct();
|
||||
@ -120,9 +120,10 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
* @return Form
|
||||
*/
|
||||
function CreationForm() {
|
||||
$plural_name = singleton($this->stat('data_type'))->plural_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->singular_name();
|
||||
return new Form($this, 'CreationForm', new FieldSet(), new FieldSet(new FormAction("createRecord", "Create {$singular_name}")));
|
||||
// is this plural name used ??
|
||||
$plural_name = singleton($this->stat('data_type'))->i18n_plural_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18_nsingular_name();
|
||||
return new Form($this, 'CreationForm', new FieldSet(), new FieldSet(new FormAction("createRecord", _t('GenericDataAdmin.CREATE', 'Create').' '.$singular_name)));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -146,7 +147,7 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
function SearchForm() {
|
||||
|
||||
$fields = $this->getSearchFields();
|
||||
$actions = new FieldSet($action = new FormAction("getResults", "Go"));
|
||||
$actions = new FieldSet($action = new FormAction("getResults", _t('GenericDataAdmin.GO', 'Go')));
|
||||
|
||||
$searchForm = new Form($this, "SearchForm", $fields, $actions);
|
||||
$searchForm->loadDataFrom($_REQUEST);
|
||||
@ -186,10 +187,10 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
|
||||
$actions = (method_exists($genericData, 'getCMSActions')) ? $genericData->getCMSActions() : new FieldSet();
|
||||
if(!$actions->fieldByName('action_save')) {
|
||||
$actions->push(new FormAction('save', 'Save','ajaxAction-save'));
|
||||
$actions->push(new FormAction('save', _t('GenericDataAdmin.SAVE', 'Save'),'ajaxAction-save'));
|
||||
}
|
||||
if(!$actions->fieldByName('action_delete')) {
|
||||
$actions->push(new FormAction('delete', 'Delete','ajaxAction-delete'));
|
||||
$actions->push(new FormAction('delete', _t('GenericDataAdmin.DELETE', 'Delete'),'ajaxAction-delete'));
|
||||
}
|
||||
|
||||
$required = (method_exists($genericData, 'getCMSRequiredField')) ? $genericData->getCMSRequiredField() : new RequiredFields();
|
||||
@ -224,8 +225,8 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
function Results() {
|
||||
$ret = "";
|
||||
|
||||
$singular_name = singleton($this->stat('data_type'))->singular_name();
|
||||
$plural_name = singleton($this->stat('data_type'))->plural_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18n_singular_name();
|
||||
$plural_name = singleton($this->stat('data_type'))->i18n_plural_name();
|
||||
if (!$this->filter) {
|
||||
$this->filter = array(
|
||||
"ClassName" => $this->stat('data_type')
|
||||
@ -237,7 +238,7 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
$results = $this->performSearch();
|
||||
if($results) {
|
||||
$name = ($results->Count() > 1) ? $plural_name : $singular_name;
|
||||
$ret .= "<H2>{$results->Count()} {$name} found:</H2>";
|
||||
$ret .= "<H2>{$results->Count()} {$name} "._t('GenericDataAdmin.FOUND', 'found:')."</H2>";
|
||||
|
||||
switch($this->stat('result_format')) {
|
||||
case 'table':
|
||||
@ -250,9 +251,9 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
$ret .= $this->getResultActionsForm($results);
|
||||
} else {
|
||||
if($this->hasMethod('isEmptySearch') && $this->isEmptySearch()) {
|
||||
$ret .="<h3>Please choose some search criteria and press 'Go'.</h3>";
|
||||
$ret .='<h3>'._t('GenericDataAdmin.CHOOSECRIT', 'Please choose some search criteria and press \'Go\'.').'</h3>';
|
||||
} else {
|
||||
$ret .="<h3>Sorry, no {$plural_name} found by this search.</h3>";
|
||||
$ret .='<h3>'.sprintf(_t('GenericDataAdmin.NORESULTS', 'Sorry, no %s found by this search.'), $plural_name).'</h3>';
|
||||
}
|
||||
}
|
||||
return $ret;
|
||||
@ -486,7 +487,7 @@ HTML;
|
||||
}
|
||||
}
|
||||
$this->getActionUpdateJS($generic);
|
||||
FormResponse::status_message('Saved', 'good');
|
||||
FormResponse::status_message(_t('GenericDataAdmin.SAVED', 'Saved'), 'good');
|
||||
FormResponse::update_status($generic->Status);
|
||||
|
||||
if (method_exists($this, "saveAfterCall")) {
|
||||
@ -548,7 +549,7 @@ HTML;
|
||||
// clear session data
|
||||
Session::clear('currentPage');
|
||||
|
||||
FormResponse::status_message('Successfully deleted', 'good');
|
||||
FormResponse::status_message(_t('GenericDataAdmin.DELETEDSUCCESS', 'Successfully deleted'), 'good');
|
||||
FormResponse::add("$('Form_EditForm').deleteEffect();");
|
||||
|
||||
return FormResponse::respond();
|
||||
|
@ -251,16 +251,16 @@ class MemberList extends FormField {
|
||||
|
||||
function OrderByField() {
|
||||
$fields = new FieldGroup( new DropdownField('MemberListOrderByField','', array(
|
||||
'FirstName' => 'FirstName',
|
||||
'Surname' => 'Surname',
|
||||
'Email' => 'Email'
|
||||
'FirstName' => _t('MemberList.FN', 'FirstName'),
|
||||
'Surname' => _t('MemberList.SN', 'Surname'),
|
||||
'Email' => _t('MemberList.EMAIL', 'Email')
|
||||
)),
|
||||
new DropdownField('MemberListOrderByOrder','',array(
|
||||
'ASC' => 'Ascending',
|
||||
'DESC' => 'Descending'
|
||||
'ASC' => _t('MemberList.ASC', 'Ascending'),
|
||||
'DESC' => _t('MemberList.DESC', 'Descending')
|
||||
)));
|
||||
|
||||
$field = new FieldGroup( new LabelField( 'Order by' ), $fields );
|
||||
$field = new FieldGroup( new LabelField(_t('MemberList.ORDERBY', 'Order by')), $fields );
|
||||
return $field->FieldHolder();
|
||||
}
|
||||
|
||||
@ -268,7 +268,7 @@ class MemberList extends FormField {
|
||||
|
||||
$groups = DataObject::get('Group');
|
||||
|
||||
$groupArray = array( '' => 'Any group' );
|
||||
$groupArray = array( '' => _t('MemberList.ANYGROUP', 'Any group'));
|
||||
|
||||
foreach( $groups as $group )
|
||||
$groupArray[$group->ID] = $group->Title;
|
||||
|
@ -78,9 +78,9 @@ class MemberTableField extends ComplexTableField {
|
||||
array_push( $this->permissions, $permission );
|
||||
|
||||
$fieldList = array(
|
||||
"FirstName" => "Firstname",
|
||||
"Surname" => "Surname",
|
||||
"Email" => "Email"
|
||||
"FirstName" => _t('MemberTableField.FIRSTNAME', 'Firstname'),
|
||||
"Surname" => _t('MemberTableField.SURNAME', 'Surname'),
|
||||
"Email" => _t('MemberTableField.EMAIL', 'Email')
|
||||
);
|
||||
|
||||
$csvFieldList = $fieldList;
|
||||
@ -163,35 +163,35 @@ class MemberTableField extends ComplexTableField {
|
||||
|
||||
function SearchForm() {
|
||||
$searchFields = new FieldGroup(
|
||||
new TextField('MemberSearch', 'Search'),
|
||||
new TextField('MemberSearch', _t('MemberTableField.SEARCH', 'Search')),
|
||||
new HiddenField("ctf[ID]",'',$this->group->ID),
|
||||
new HiddenField('MemberFieldName','',$this->name),
|
||||
new HiddenField('MemberDontShowPassword','',$this->hidePassword)
|
||||
);
|
||||
|
||||
$orderByFields = new FieldGroup(
|
||||
new LabelField('Order by'),
|
||||
new LabelField(_t('MemberTableField.ORDERBY', 'Order by')),
|
||||
new FieldSet(
|
||||
new DropdownField('MemberOrderByField','', array(
|
||||
'FirstName' => 'FirstName',
|
||||
'Surname' => 'Surname',
|
||||
'Email' => 'Email'
|
||||
'FirstName' => _t('MemberTableField.FIRSTNAME', 'FirstName'),
|
||||
'Surname' => _t('MemberTableField.SURNAME', 'Surname'),
|
||||
'Email' => _t('MemberTableField', 'Email')
|
||||
)),
|
||||
new DropdownField('MemberOrderByOrder','',array(
|
||||
'ASC' => 'Ascending',
|
||||
'DESC' => 'Descending'
|
||||
'ASC' => _t('MemberTableField.ASC', 'Ascending'),
|
||||
'DESC' => _t('MemberTableField.DESC', 'Descending')
|
||||
))
|
||||
)
|
||||
);
|
||||
|
||||
$groups = DataObject::get('Group');
|
||||
$groupArray = array('' => 'Any group');
|
||||
$groupArray = array('' => _t('MemberTableField.ANYGROUP', 'Any group'));
|
||||
foreach( $groups as $group ) {
|
||||
$groupArray[$group->ID] = $group->Title;
|
||||
}
|
||||
$groupFields = new DropdownField('MemberGroup','Filter by group',$groupArray );
|
||||
$groupFields = new DropdownField('MemberGroup', _t('MemberTableField.FILTERBYGROUP', 'Filter by group'),$groupArray );
|
||||
|
||||
$actionFields = new LiteralField('MemberFilterButton','<input type="submit" class="action" name="MemberFilterButton" value="Filter" id="MemberFilterButton"/>');
|
||||
$actionFields = new LiteralField('MemberFilterButton','<input type="submit" class="action" name="MemberFilterButton" value="'._t('MemberTableField.FILTER', 'Filter').'" id="MemberFilterButton"/>');
|
||||
|
||||
$fieldContainer = new FieldGroup(
|
||||
$searchFields,
|
||||
@ -212,7 +212,7 @@ class MemberTableField extends ComplexTableField {
|
||||
unset($data['ID']);
|
||||
|
||||
if(!is_numeric($data['ctf']['ID'])) {
|
||||
FormResponse::status_messsage('Adding failed', 'bad');
|
||||
FormResponse::status_messsage(_t('MemberTableField.ADDINGFIELD', 'Adding failed'), 'bad');
|
||||
}
|
||||
|
||||
$className = $this->stat('data_class');
|
||||
|
@ -88,13 +88,13 @@ class BatchProcess_Controller extends Controller {
|
||||
$processID = $this->urlParams['ID'];
|
||||
|
||||
if( !$processID ) {
|
||||
return "ERROR: Could not continue process";
|
||||
return _t('BatchProcess_Controller.ERROR', 'ERROR: Could not continue process');
|
||||
}
|
||||
|
||||
$process = unserialize(Session::get('BatchProcesses.' . ($this->urlParams['ID'] - 1)));
|
||||
|
||||
if( !$process ) {
|
||||
return "ERROR:Could not continue process";
|
||||
return _t('BatchProcess_Controller.ERROR', 'ERROR:Could not continue process');
|
||||
}
|
||||
|
||||
if( $this->urlParams['Batch'] )
|
||||
|
@ -24,18 +24,18 @@ class Newsletter extends DataObject {
|
||||
$sent_status_report = $this->renderWith("Newsletter_SentStatusReport");
|
||||
$ret = new FieldSet(
|
||||
new TabSet("Root",
|
||||
$mailTab = new Tab("Newsletter",
|
||||
new TextField("Subject", "Subject", $this->Subject),
|
||||
new HtmlEditorField("Content", "Content")
|
||||
$mailTab = new Tab(_t('Newsletter.NEWSLETTER', 'Newsletter'),
|
||||
new TextField("Subject", _t('Newsletter.SUBJECT', 'Subject'), $this->Subject),
|
||||
new HtmlEditorField("Content", _t('Newsletter.CONTENT', 'Content'))
|
||||
),
|
||||
$sentToTab = new Tab("Sent Status Report",
|
||||
$sentToTab = new Tab(_t('Newsletter.SENTREPORT', 'Sent Status Report'),
|
||||
new LiteralField("Sent Status Report", $sent_status_report)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
if( $this->Status != 'Draft' ) {
|
||||
$mailTab->push( new ReadonlyField("SendDate", "Sent at", $this->SendDate) );
|
||||
$mailTab->push( new ReadonlyField("SendDate", _t('Newsletter.SENTAT', 'Sent at'), $this->SendDate) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,7 +54,7 @@ class NewsletterType extends DataObject {
|
||||
if($this->ID){
|
||||
$group = $this->Group();
|
||||
if($group->Title != "$this->Title"){
|
||||
$group->Title = "Mailing List: " . $this->Title;
|
||||
$group->Title = _t('NewsletterType.MAILINGLIST', 'Mailing List:').' '. $this->Title;
|
||||
// Otherwise the code would have mailing list in it too :-(
|
||||
$group->Code = SiteTree::generateURLSegment($this->Title);
|
||||
$group->write();
|
||||
@ -73,20 +73,20 @@ class NewsletterType extends DataObject {
|
||||
}
|
||||
|
||||
$fields = new FieldSet(
|
||||
new TextField("Title", "Newsletter Type"),
|
||||
new TextField("FromEmail", "Send newsletters from"),
|
||||
new TextField("Title", _t('NewsletterType.NEWSLETTERTYPE', 'Newsletter Type')),
|
||||
new TextField("FromEmail", _t('NewsletterType.SENDFROM', 'Send newsletters from')),
|
||||
new TabSet("Root",
|
||||
new Tab("Drafts",
|
||||
$draftList = new NewsletterList("Draft", $this, "Draft")
|
||||
new Tab(_t('NewsletterType.DRAFTS', 'Drafts'),
|
||||
$draftList = new NewsletterList("Draft", $this, _t('NewsletterType.DRAFT', 'Draft'))
|
||||
),
|
||||
new TabSet("Sent",
|
||||
new Tab("Sent",
|
||||
$sendList = new NewsletterList("Send", $this, "Send")
|
||||
new TabSet('Sent',
|
||||
new Tab(_t('NewsletterType.SENT', 'Sent'),
|
||||
$sendList = new NewsletterList("Send", $this, _t('NewsletterType.SEND', 'Send'))
|
||||
),
|
||||
new Tab("Unsubscribed",
|
||||
new Tab(_t('NewsletterType.UNSUBSCRIBED', 'Unsubscribed'),
|
||||
$unsubscribedList = new UnsubscribedList("Unsubscribed", $this)
|
||||
),
|
||||
new Tab("Bounced",
|
||||
new Tab(_t('NewsletterType.BOUNCED', 'Bounced'),
|
||||
$bouncedList = new BouncedList("Bounced", $this )
|
||||
)
|
||||
)
|
||||
@ -96,15 +96,15 @@ class NewsletterType extends DataObject {
|
||||
if($this->GroupID) {
|
||||
$fields->addFieldToTab('Root',
|
||||
new TabSet("Recipients",
|
||||
new Tab( "Recipients",
|
||||
new Tab( _t('NewsletterType.RECIPIENTS', 'Recipients'),
|
||||
$recipients = new MemberTableField(
|
||||
$this,
|
||||
"Recipients",
|
||||
$group
|
||||
)
|
||||
),
|
||||
new Tab( "Import",
|
||||
$importField = new RecipientImportField("ImportFile","Import from file", $group )
|
||||
new Tab( _t('NewsletterType.IMPORT', 'Import'),
|
||||
$importField = new RecipientImportField("ImportFile", _t('NewsletterType.IMPORTFROM', 'Import from file'), $group )
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -115,7 +115,7 @@ class NewsletterType extends DataObject {
|
||||
}
|
||||
|
||||
$fields->addFieldToTab('Root',
|
||||
new Tab("Template",
|
||||
new Tab(_t('NewsletterType.TEMPLATE', 'Template'),
|
||||
$templates = new TemplateList("Template","Template", $this->Template, NewsletterAdmin::template_path())
|
||||
)
|
||||
);
|
||||
|
@ -20,7 +20,7 @@ class TemplateList extends DropdownField {
|
||||
}
|
||||
|
||||
private function getTemplates() {
|
||||
$templates = array( "" => "None" );
|
||||
$templates = array( "" => _t('TemplateList.NONE', 'None') );
|
||||
|
||||
$absPath = Director::baseFolder();
|
||||
if( $absPath{strlen($absPath)-1} != "/" )
|
||||
|
@ -45,7 +45,7 @@ class Unsubscribe_Controller extends Page_Controller {
|
||||
}
|
||||
|
||||
if($this->urlParams['Email'] == "done")
|
||||
$listForm->sessionMessage("Thank you. You have been removed from the selected groups", "good");
|
||||
$listForm->sessionMessage(_t('Unsubscribe.SUCCESS', 'Thank you. You have been removed from the selected groups'), "good");
|
||||
|
||||
return $this->customise( array( 'Content' => $listForm->forTemplate() ) )->renderWith('Page');
|
||||
}
|
||||
@ -101,7 +101,7 @@ class Unsubscribe_Controller extends Page_Controller {
|
||||
$url = "unsubscribe/done/".$member->Email."/".$nlTypeTitles;
|
||||
Director::redirect($url);
|
||||
} else {
|
||||
$form->addErrorMessage('MailingLists', 'You need to select at least one mailing list to unsubscribe from.', 'bad');
|
||||
$form->addErrorMessage('MailingLists', _t('Unsubscribe.NOMLSELECTED', 'You need to select at least one mailing list to unsubscribe from.'), 'bad');
|
||||
Director::redirectBack();
|
||||
}
|
||||
}
|
||||
@ -135,15 +135,15 @@ class Unsubscribe_MailingListForm extends Form {
|
||||
$lists = $this->getMailingLists( $member );
|
||||
|
||||
if( $lists ) {
|
||||
$fields->push( new LabelField( 'You are subscribed to the following lists:' ) );
|
||||
$fields->push( new LabelField( _t('Unsubcribe.SUBSCRIBEDTO', 'You are subscribed to the following lists:')) );
|
||||
|
||||
foreach( $lists as $list ) {
|
||||
$fields->push( new CheckboxField( "MailingLists[{$list->ID}]", $list->Title ) );
|
||||
}
|
||||
|
||||
$actions->push( new FormAction('unsubscribe', 'Unsubscribe' ) );
|
||||
$actions->push( new FormAction('unsubscribe', _t('Unsubscribe.UNSUBSCRIBE', 'Unsubscribe') ) );
|
||||
} else {
|
||||
$fields->push( new LabelField( "I'm sorry, but $email doesn't appear to be in any of our mailing lists." ) );
|
||||
$fields->push( new LabelField(sprintf(_t('Unsubscribe.NOTSUBSCRIBED', 'I\'m sorry, but %s doesn\'t appear to be in any of our mailing lists.'), $email) ) );
|
||||
}
|
||||
|
||||
parent::__construct( $controller, $name, $fields, $actions );
|
||||
@ -170,11 +170,11 @@ class Unsubscribe_EmailAddressForm extends Form {
|
||||
function __construct( $controller, $name ) {
|
||||
|
||||
$fields = new FieldSet(
|
||||
new EmailField( 'Email', 'Email address' )
|
||||
new EmailField( 'Email', _t('Unsubscribe.EMAILADDR', 'Email address') )
|
||||
);
|
||||
|
||||
$actions = new FieldSet(
|
||||
new FormAction( 'showlists', 'Show lists' )
|
||||
new FormAction( 'showlists', _t('Unsubscribe.SHOWLISTS', 'Show lists') )
|
||||
);
|
||||
|
||||
parent::__construct( $controller, $name, $fields, $actions );
|
||||
@ -199,7 +199,7 @@ class Unsubscribe_Successful extends Form {
|
||||
}
|
||||
function setSuccessfulMessage($email, $newsletterTypes) {
|
||||
Requirements::themedCSS("form");
|
||||
$this->setMessage("Thank you. $email will no longer receive the $newsletterTypes.", "good");
|
||||
$this->setMessage(sprintf(_t('Unsubscribe.REMOVESUCCESS', 'Thank you. %s will no longer receive the %s.'), $email, $newsletterTypes), "good");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -236,10 +236,10 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
if(isset($mailType)&&$mailType) {
|
||||
$fields = new FieldSet(
|
||||
new TabSet("Root",
|
||||
new Tab("Newsletter Settings",
|
||||
new Tab(_t('NewsletterAdmin.NLSETTINGS', 'Newsletter Settings'),
|
||||
new TextField("Title", _t('NewsletterAdmin.NEWSLTYPE','Newsletter Type')),
|
||||
new TextField("FromEmail", _t('NewsletterAdmin.FROMEM','From email address')),
|
||||
$templates = new TemplateList("Template","Template", $mailType->Template, self::template_path())
|
||||
$templates = new TemplateList("Template", _t('NewsletterAdmin.TEMPLATE', 'Template'), $mailType->Template, self::template_path())
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -250,7 +250,7 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
$fields->push( new HiddenField( "executeForm", "", "TypeEditForm" ) );
|
||||
$idField->setValue($id);
|
||||
|
||||
$actions = new FieldSet(new FormAction('save','Save'));
|
||||
$actions = new FieldSet(new FormAction('save', _t('NewsletterAdmin.SAVE', 'Save')));
|
||||
|
||||
$form = new Form($this, "EditForm", $fields, $actions);
|
||||
$form->loadDataFrom(array(
|
||||
@ -284,20 +284,20 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
if(isset($mailType) && is_object($mailType)) {
|
||||
$fields = new FieldSet(
|
||||
new TabSet("Root",
|
||||
new Tab( "Recipients",
|
||||
new Tab(_t('NewsletterAdmin.RECIPIENTS', 'Recipients'),
|
||||
$recipients = new MemberTableField(
|
||||
$this,
|
||||
"Recipients",
|
||||
$group
|
||||
)
|
||||
),
|
||||
new Tab( "Import",
|
||||
$importField = new RecipientImportField("ImportFile","Import from file", $group )
|
||||
new Tab(_t('NewsletterAdmin.IMPORT', 'Import'),
|
||||
$importField = new RecipientImportField("ImportFile",_t('NewsletterAdmin.IMPORTFROM', 'Import from file'), $group )
|
||||
),
|
||||
new Tab("Unsubscribers",
|
||||
new Tab(_t('NewsletterAdmin.UNSUBSCRIBERS', 'Unsubscribers'),
|
||||
$unsubscribedList = new UnsubscribedList("Unsubscribed", $mailType)
|
||||
),
|
||||
new Tab("Bounced", $bouncedList = new BouncedList("Bounced", $mailType )
|
||||
new Tab(_t('NewsletterAdmin.BOUNCED','Bounced'), $bouncedList = new BouncedList("Bounced", $mailType )
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -350,7 +350,7 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
} else {
|
||||
user_error("NewsletterAdmin::removebouncedmember: Bad parameters: Group=$groupID, Member=".$bounceObject->MemberID, E_USER_ERROR);
|
||||
}
|
||||
FormResponse::status_message($memberObject->Email.' was removed from the mailing list', 'good');
|
||||
FormResponse::status_message($memberObject->Email.' '._t('NewsletterAdmin.REMOVEDSUCCESS', 'was removed from the mailing list'), 'good');
|
||||
FormResponse::add("$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value, 'recipients');");
|
||||
return FormResponse::respond();
|
||||
}
|
||||
@ -429,7 +429,7 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
$id = isset($_REQUEST['ID']) ? $_REQUEST['ID'] : $_REQUEST['NewsletterID'];
|
||||
|
||||
if( !$id ) {
|
||||
FormResponse::status_message('No newsletter specified','bad');
|
||||
FormResponse::status_message(_t('NewsletterAdmin.NONLSPECIFIED', 'No newsletter specified'),'bad');
|
||||
return FormResponse::respond();
|
||||
}
|
||||
|
||||
@ -552,11 +552,11 @@ class NewsletterAdmin extends LeftAndMain {
|
||||
// If the email is currently not blocked, block it
|
||||
if (FALSE == $memberObject->BlacklistedEmail) {
|
||||
$memberObject->setBlacklistedEmail(TRUE);
|
||||
FormResponse::status_message($memberObject->Email.' was added to blacklist', 'good');
|
||||
FormResponse::status_message($memberObject->Email.' '._t('NewsletterAdmin.ADDEDTOBL', 'was added to blacklist'), 'good');
|
||||
} else {
|
||||
// Unblock the email
|
||||
$memberObject->setBlacklistedEmail(FALSE);
|
||||
FormResponse::status_message($memberObject->Email.' was removed from blacklist', 'good');
|
||||
FormResponse::status_message($memberObject->Email.' '._t('NewsletterAdmin.REMOVEDFROMBL','was removed from blacklist'), 'good');
|
||||
}
|
||||
return FormResponse::respond();
|
||||
}
|
||||
|
@ -43,9 +43,9 @@ class UserDefinedForm extends Page {
|
||||
function getCMSFields($cms) {
|
||||
$fields = parent::getCMSFields($cms);
|
||||
|
||||
$fields->addFieldToTab("Root.Form", new FieldEditor("Fields", "Fields", "", $this ));
|
||||
$fields->addFieldToTab("Root.Submissions", new SubmittedFormReportField( "Reports", "Received Submissions", "", $this ) );
|
||||
$fields->addFieldToTab("Root.Content.On complete", new HtmlEditorField( "OnCompleteMessage", "Show on completion",3,"",$this->OnCompleteMessage, $this ) );
|
||||
$fields->addFieldToTab("Root."._t('UserDefinedForm.FORM', 'Form'), new FieldEditor("Fields", 'Fields', "", $this ));
|
||||
$fields->addFieldToTab("Root."._t('UserDefinedForm.SUBMISSIONS','Submissions'), new SubmittedFormReportField( "Reports", _t('UserDefinedForm.RECEIVED', 'Received Submissions'), "", $this ) );
|
||||
$fields->addFieldToTab("Root.Content."._t('UserDefinedForm.ONCOMPLETE','On complete'), new HtmlEditorField( "OnCompleteMessage", _t('UserDefinedForm.ONCOMPLETELABEL', 'Show on completion'),3,"",_t('UserDefinedForm.ONCOMPLETEMESSAGE', $this->OnCompleteMessage), $this ) );
|
||||
|
||||
return $fields;
|
||||
}
|
||||
@ -61,7 +61,7 @@ class UserDefinedForm extends Page {
|
||||
|
||||
// Build actions
|
||||
$actions = new FieldSet(
|
||||
new FormAction( "filter", "Submit" )
|
||||
new FormAction( "filter", _t('UserDefinedForm.SUBMIT', 'Submit') )
|
||||
);
|
||||
|
||||
// set the name of the form
|
||||
@ -116,12 +116,12 @@ class UserDefinedForm extends Page {
|
||||
$submittedValues = DataObject::get( 'SubmittedFormField', implode( ' AND ', $filterClause ), "", "INNER JOIN `SubmittedForm` ON `SubmittedFormField`.`ParentID`=`SubmittedForm`.`ID`" );
|
||||
|
||||
if( !$submittedValues || $submittedValues->Count() == 0 )
|
||||
return "No matching results found";
|
||||
return _t('UserDefinedForm.NORESULTS', 'No matching results found');
|
||||
|
||||
$submissions = $submittedValues->groupWithParents( 'ParentID', 'SubmittedForm' );
|
||||
|
||||
if( !$submissions || $submissions->Count() == 0 )
|
||||
return "No matching results found";
|
||||
return _t('UserDefinedForm.NORESULTS', 'No matching results found');
|
||||
|
||||
return $submissions->customise(
|
||||
array( 'Submissions' => $submissions )
|
||||
@ -141,7 +141,7 @@ class UserDefinedForm extends Page {
|
||||
}
|
||||
|
||||
public function customFormActions( $isReadonly = false ) {
|
||||
return new FieldSet( new TextField( "SubmitButtonText", "Text on submit button:", $this->SubmitButtonText ) );
|
||||
return new FieldSet( new TextField( "SubmitButtonText", _t('UserDefinedForm.TEXTONSUBMIT', 'Text on submit button:'), $this->SubmitButtonText ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -325,10 +325,11 @@ class UserDefinedForm_SubmittedFormEmail extends Email_Template {
|
||||
protected $ss_template = "SubmittedFormEmail";
|
||||
protected $from = '$Sender.Email';
|
||||
protected $to = '$Recipient.Email';
|
||||
protected $subject = "Submission of form";
|
||||
protected $subject = 'Submission of form';
|
||||
protected $data;
|
||||
|
||||
function __construct($values) {
|
||||
$this->subject = _t('UserDefinedForm_SubmittedFormEmail.EMAILSUBJECT', 'Submission of form');
|
||||
parent::__construct();
|
||||
|
||||
$this->data = $values;
|
||||
|
@ -44,8 +44,8 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
if($record) {
|
||||
$fields = new FieldSet(
|
||||
new TabSet("Root",
|
||||
new Tab("Members",
|
||||
new TextField("Title", "Group name"),
|
||||
new Tab(_t('SecurityAdmin.MEMBERS', 'Members'),
|
||||
new TextField("Title", _t('SecurityAdmin.GROUPNAME', 'Group name')),
|
||||
$memberList = new MemberTableField(
|
||||
$this,
|
||||
"Members",
|
||||
@ -53,7 +53,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
)
|
||||
),
|
||||
|
||||
new Tab("Permissions",
|
||||
new Tab(_t('SecurityAdmin.PERMISSIONS', 'Permissions'),
|
||||
new LiteralField("", "<p>"._t('SecurityAdmin.ADVANCEDONLY',"This section is for advanced users only.
|
||||
See <a href=\"http://doc.silverstripe.com/doku.php?id=permissions:codes\" target=\"_blank\">this page</a>
|
||||
for more information.")."</p>"),
|
||||
@ -61,8 +61,8 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
"Permissions",
|
||||
"Permission",
|
||||
array(
|
||||
"Code" => "Code",
|
||||
"Arg" => "Optional ID",
|
||||
"Code" => _t('SecurityAdmin.CODE', 'Code'),
|
||||
"Arg" => _t('SecurityAdmin.OPTIONALID', 'Optional ID'),
|
||||
),
|
||||
array(
|
||||
"Code" => "PermissionDropdownField",
|
||||
@ -352,7 +352,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
|
||||
function providePermissions() {
|
||||
return array(
|
||||
'EDIT_PERMISSIONS' => 'Edit Permissions on each Group',
|
||||
'EDIT_PERMISSIONS' => _t('SecurityAdmin.EDITPERMISSIONS', 'Edit Permissions on each Group'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -17,9 +17,9 @@ class StaticExporter extends Controller {
|
||||
parent::init();
|
||||
if(!Permission::check('ADMIN')) {
|
||||
$messageSet = array(
|
||||
'default' => "Enter your email address and password to access the CMS.",
|
||||
'alreadyLoggedIn' => "I'm sorry, but you can't access that part of the CMS. If you want to log in as someone else, do so below",
|
||||
'logInAgain' => "You have been logged out of the CMS. If you would like to log in again, enter a username and password below.",
|
||||
'default' => _t('LeftAndMain.PERMDEFAULT', 'Enter your email address and password to access the CMS.'),
|
||||
'alreadyLoggedIn' => _t('LeftAndMain.PERMALREADY', 'I\'m sorry, but you can\'t access that part of the CMS. If you want to log in as someone else, do so below'),
|
||||
'logInAgain' => _t('LeftAndMain.PERMAGAIN', 'You have been logged out of the CMS. If you would like to log in again, enter a username and password below.'),
|
||||
);
|
||||
|
||||
Security::permissionFailure($this, $messageSet);
|
||||
|
@ -84,7 +84,7 @@ class StatisticsAdmin extends LeftAndMain {
|
||||
*/
|
||||
public function EditForm() {
|
||||
return "<div class=\"tab statstab\" id=\"bovs\">\n
|
||||
<h1>Select a report type from the left for a detailed look at site statistics</h1>\n\n" .
|
||||
<h1>"._t('StatisticsAdmin.WELCOME','Select a report type from the left for a detailed look at site statistics')."</h1>\n\n" .
|
||||
$this->RecentViews() .
|
||||
"\n\n</div>\n\n" .
|
||||
$this->showAll();
|
||||
|
@ -84,7 +84,7 @@ class ThumbnailStripField extends FormField {
|
||||
}
|
||||
$result .= '</ul>';
|
||||
}else{
|
||||
$result = "<h2> No images found in ". $folder->Title. "</h2>";
|
||||
$result = '<h2> '._t('ThumbnailStripField.NOIMAGESFOUND', 'No images found in').' '. $folder->Title. '</h2>';
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
247
lang/pt_PT.php
247
lang/pt_PT.php
@ -349,4 +349,251 @@ $lang['pt_PT']['ViewArchivedEmail.ss']['CANACCESS'] = 'Pode aceder ao site arqui
|
||||
$lang['pt_PT']['ViewArchivedEmail.ss']['HAVEASKED'] = 'Pediu para ver o conteúdo do seu site em';
|
||||
$lang['pt_PT']['WaitingOn.ss']['ATO'] = 'atribuído a';
|
||||
|
||||
// --- New New New
|
||||
|
||||
$lang['pt_PT']['Page']['SINGULARNAME'] = 'Página';
|
||||
$lang['pt_PT']['Page']['PLURALNAME'] = 'Páginas';
|
||||
$lang['pt_PT']['ErrorPage']['SINGULARNAME'] = 'Página de Erro';
|
||||
$lang['pt_PT']['ErrorPage']['PLURALNAME'] = 'Páginas de Erro';
|
||||
$lang['pt_PT']['UserDefinedForm']['SINGULARNAME'] = 'Formulário Definido pelo Utilizador';
|
||||
$lang['pt_PT']['UserDefinedForm']['PLURALNAME'] = 'Formulários Definidos pelo Utilizador';
|
||||
$lang['pt_PT']['RedirectorPage']['SINGULARNAME'] = 'Página de Redireccionamento';
|
||||
$lang['pt_PT']['RedirectorPage']['PLURALNAME'] = 'Páginas de Redireccionamento';
|
||||
$lang['pt_PT']['VirtualPage']['SINGULARNAME'] = 'Página Virtual';
|
||||
$lang['pt_PT']['VirtualPage']['PLURALNAME'] = 'Páginas Virtuais';
|
||||
$lang['pt_PT']['SubscribeForm']['SINGULARNAME'] = 'Página de Subscrição';
|
||||
$lang['pt_PT']['SubscribeForm']['PLURALNAME'] = 'Páginas de Subscrição';
|
||||
|
||||
// ThumbnailStripField.php
|
||||
$lang['pt_PT']['ThumbnailStripField']['NOIMAGESFOUND'] = 'Nenhuma imagem encontrada em';
|
||||
|
||||
// StatisticsAdmin.php
|
||||
$lang['pt_PT']['StatisticsAdmin']['WELCOME'] = 'Seleccione um tipo de relatório na esquerda para ver as estatísticas do site mais detalhadamente';
|
||||
|
||||
// SecurityAdmin.php
|
||||
$lang['pt_PT']['SecurityAdmin']['MEMBERS'] = 'Membros';
|
||||
$lang['pt_PT']['SecurityAdmin']['GROUPNAME'] = 'Nome do Grupo';
|
||||
$lang['pt_PT']['SecurityAdmin']['PERMISSIONS'] = 'Permissões';
|
||||
$lang['pt_PT']['SecurityAdmin']['CODE'] = 'Código';
|
||||
$lang['pt_PT']['SecurityAdmin']['OPTIONALID'] = 'ID Opcional';
|
||||
$lang['pt_PT']['SecurityAdmin']['EDITPERMISSIONS'] = 'Editar permissões em cada grupo';
|
||||
|
||||
// NewsletterAdmin.php
|
||||
$lang['pt_PT']['NewsletterAdmin']['NLSETTINGS'] = 'Definições da Newsletter';
|
||||
$lang['pt_PT']['NewsletterAdmin']['TEMPLATE'] = 'Modelo';
|
||||
$lang['pt_PT']['NewsletterAdmin']['SAVE'] = 'Gravar';
|
||||
$lang['pt_PT']['NewsletterAdmin']['RECIPIENTS'] = 'Recipientes';
|
||||
$lang['pt_PT']['NewsletterAdmin']['IMPORT'] = 'Importar';
|
||||
$lang['pt_PT']['NewsletterAdmin']['UNSUBSCRIBERS'] = 'Subscrições Removidas';
|
||||
$lang['pt_PT']['NewsletterAdmin']['BOUNCED'] = 'Devolvidos';
|
||||
$lang['pt_PT']['NewsletterAdmin']['REMOVEDSUCCESS'] = 'foi removido da lista de email';
|
||||
$lang['pt_PT']['NewsletterAdmin']['NONLSPECIFIED'] = 'Nenhuma lista de email especificada';
|
||||
$lang['pt_PT']['NewsletterAdmin']['ADDEDTOBL'] = 'foi adicionado á lista negra';
|
||||
$lang['pt_PT']['NewsletterAdmin']['REMOVEDFROMBL'] = 'foi removido da lista negra';
|
||||
$lang['pt_PT']['NewsletterAdmin']['IMPORTFROM'] = 'Importar do ficheiro';
|
||||
|
||||
// MemberTableField.php
|
||||
$lang['pt_PT']['MemberTableField']['FIRSTNAME'] = 'Primeiro Nome';
|
||||
$lang['pt_PT']['MemberTableField']['SURNAME'] = 'Último Nome';
|
||||
$lang['pt_PT']['MemberTableField']['EMAIL'] = 'Email';
|
||||
$lang['pt_PT']['MemberTableField']['SEARCH'] = 'Pesquisa';
|
||||
$lang['pt_PT']['MemberTableField']['ORDERBY'] = 'Ordenar por';
|
||||
$lang['pt_PT']['MemberTableField']['ASC'] = 'Ascendente';
|
||||
$lang['pt_PT']['MemberTableField']['DESC'] = 'Descendente';
|
||||
$lang['pt_PT']['MemberTableField']['ANYGROUP'] = 'Qualquer Grupo';
|
||||
$lang['pt_PT']['MemberTableField']['FILTERBYGROUP'] = 'Filtrar por Grupo';
|
||||
$lang['pt_PT']['MemberTableField']['FILTER'] = 'Filtrar';
|
||||
$lang['pt_PT']['MemberTableField']['ADDINGFIELD'] = 'A adicionar campo';
|
||||
|
||||
// MemberTableField.php
|
||||
$lang['pt_PT']['MemberList']['ASC'] = 'Ascendente';
|
||||
$lang['pt_PT']['MemberList']['DESC'] = 'Descendente';
|
||||
$lang['pt_PT']['MemberList']['ORDERBY'] = 'Ordenar por';
|
||||
$lang['pt_PT']['MemberList']['ANYGROUP'] = 'Qualquer Grupo';
|
||||
|
||||
// ImageEditor.php
|
||||
$lang['pt_PT']['ImageEditor']['ERROR'] = 'Erro:';
|
||||
|
||||
// GenericDataAdmin.php
|
||||
$lang['pt_PT']['GenericDataAdmin']['EXPORTCSV'] = 'Exportar em CSV';
|
||||
$lang['pt_PT']['GenericDataAdmin']['CREATE'] = 'Criar';
|
||||
$lang['pt_PT']['GenericDataAdmin']['GO'] = 'Ir';
|
||||
$lang['pt_PT']['GenericDataAdmin']['SAVE'] = 'Gravar';
|
||||
$lang['pt_PT']['GenericDataAdmin']['DELETE'] = 'Apagar';
|
||||
$lang['pt_PT']['GenericDataAdmin']['FOUND'] = 'encontrados:';
|
||||
$lang['pt_PT']['GenericDataAdmin']['CHOOSECRIT'] = 'Por favor escolha um critério para a pesquisa e clique em \'Ir\'.';
|
||||
$lang['pt_PT']['GenericDataAdmin']['CHOOSECRIT'] = 'Nenhuma ocorrência de %s encontrada.';
|
||||
$lang['pt_PT']['GenericDataAdmin']['SAVED'] = 'Gravado';
|
||||
$lang['pt_PT']['GenericDataAdmin']['DELETEDSUCCESS'] = 'Apagado com sucesso';
|
||||
|
||||
// GenericDataAdmin.php
|
||||
$lang['pt_PT']['CommentAdmin']['NAME'] = 'Nome';
|
||||
$lang['pt_PT']['CommentAdmin']['COMMENT'] = 'Comentário';
|
||||
$lang['pt_PT']['CommentAdmin']['COMMENTS'] = 'Comentários';
|
||||
$lang['pt_PT']['CommentAdmin']['DELETED'] = '% comentário(s) apagado(s).';
|
||||
$lang['pt_PT']['CommentAdmin']['MARKEDSPAM'] = '% comentário(s) marcados como spam.';
|
||||
$lang['pt_PT']['CommentAdmin']['MARKEDNOTSPAM'] = '% comentário(s) marcados como não sendo spam.';
|
||||
$lang['pt_PT']['CommentAdmin']['APPROVED'] = '% comentário(s) aprovado(s).';
|
||||
|
||||
// CMSMain.php
|
||||
$lang['pt_PT']['CMSMain']['REMOVED'] = '\'%s\' Removido%s do site publicado';
|
||||
$lang['pt_PT']['CMSMain']['DESCREMOVED'] = 'e %s descendentes';
|
||||
$lang['pt_PT']['CMSMain']['REPORT'] = 'Relatório';
|
||||
$lang['pt_PT']['CMSMain']['ACCESS'] = 'Acesso a %s no CMS';
|
||||
|
||||
// AssetTableField.php
|
||||
$lang['pt_PT']['AssetTableField']['URL'] = 'URL';
|
||||
$lang['pt_PT']['AssetTableField']['MAIN'] = 'Principal';
|
||||
$lang['pt_PT']['AssetTableField']['IMAGE'] = 'Imagem';
|
||||
$lang['pt_PT']['AssetTableField']['EDITIMAGE'] = 'Editar esta Imagem';
|
||||
$lang['pt_PT']['AssetTableField']['GALLERYOPTIONS'] = 'Opções da Galeria';
|
||||
$lang['pt_PT']['AssetTableField']['CAPTION'] = 'Texto Alternativo';
|
||||
$lang['pt_PT']['AssetTableField']['POPUPWIDTH'] = 'Largura da Janela Popup';
|
||||
$lang['pt_PT']['AssetTableField']['POPUPHEIGHT'] = 'Altura da Janela Popup';
|
||||
$lang['pt_PT']['AssetTableField']['SWFFILEOPTIONS'] = 'Opções de Ficheiro Flash';
|
||||
$lang['pt_PT']['AssetTableField']['ISFLASH'] = 'É um documento Flash';
|
||||
$lang['pt_PT']['AssetTableField']['DIMLIMIT'] = 'Limitar as dimensões na Janela de Popup';
|
||||
|
||||
// AssetAdmin.php
|
||||
$lang['pt_PT']['AssetAdmin']['NOTEMP'] = 'Não existe uma pasta temporária para envio de ficheiros. Por favor adicione um valor em upload_tmp_dir no php.ini.';
|
||||
$lang['pt_PT']['AssetAdmin']['URL'] = 'URL';
|
||||
$lang['pt_PT']['AssetAdmin']['NOWBROKEN'] = ' As seguintes páginas contêm agora links quebrados:';
|
||||
$lang['pt_PT']['AssetAdmin']['NOWBROKEN2'] = 'Os respectivos proprietários receberam um email e brevemente as páginas serão corrigidas.';
|
||||
$lang['pt_PT']['AssetAdmin']['FOLDERSDELETED'] = 'pastas apagadas.';
|
||||
$lang['pt_PT']['AssetAdmin']['FOLDERDELETED'] = 'pasta apagada.';
|
||||
$lang['pt_PT']['AssetAdmin']['THUMBSDELETED'] = 'Todas as miniaturas não usadas foram apagadas.';
|
||||
|
||||
// UserDefinedForm.php
|
||||
$lang['pt_PT']['UserDefinedForm']['ONCOMPLETE'] = 'Ao Submeter';
|
||||
$lang['pt_PT']['UserDefinedForm']['ONCOMPLETEMESSAGE'] = '<p>Obrigado, recebemos a sua submissão.</p>';
|
||||
$lang['pt_PT']['UserDefinedForm']['ONCOMPLETELABEL'] = 'Mostrar após inserção';
|
||||
$lang['pt_PT']['UserDefinedForm']['SUBMISSIONS'] = 'Submissões';
|
||||
$lang['pt_PT']['UserDefinedForm']['FORM'] = 'Formulário';
|
||||
$lang['pt_PT']['UserDefinedForm']['RECEIVED'] = 'Submissões recebidas';
|
||||
$lang['pt_PT']['UserDefinedForm']['SUBMIT'] = 'Submeter';
|
||||
$lang['pt_PT']['UserDefinedForm']['NORESULTS'] = 'Nenhum resultado encontrado.';
|
||||
$lang['pt_PT']['UserDefinedForm']['TEXTONSUBMIT'] = 'Texto no botão de inserir formulário';
|
||||
$lang['pt_PT']['UserDefinedForm_SubmittedFormEmail']['EMAILSUBJECT'] = 'Inserção de formulário';
|
||||
|
||||
// BatchProcess.php
|
||||
$lang['pt_PT']['BatchProcess_Controller']['ERROR'] = 'Erro: devido a um erro é impossivel continuar com o processo.';
|
||||
|
||||
// Newsletter.php
|
||||
$lang['pt_PT']['Newsletter']['NEWSLETTER'] = 'Email';
|
||||
$lang['pt_PT']['Newsletter']['SUBJECT'] = 'Assunto';
|
||||
$lang['pt_PT']['Newsletter']['CONTENT'] = 'Conteúdo';
|
||||
$lang['pt_PT']['Newsletter']['SENTREPORT'] = 'Relatório de Estado de envio';
|
||||
$lang['pt_PT']['Newsletter']['SENTAT'] = 'Enviado Em';
|
||||
|
||||
// NewsletterType.php
|
||||
$lang['pt_PT']['NewsletterType']['MAILINGLIST'] = 'Lista de Email:';
|
||||
$lang['pt_PT']['NewsletterType']['NEWSLETTERTYPE'] = 'Tipo de Lista de email';
|
||||
$lang['pt_PT']['NewsletterType']['SENDFROM'] = 'Enviar newsletter de';
|
||||
$lang['pt_PT']['NewsletterType']['DRAFTS'] = 'Rascunhos';
|
||||
$lang['pt_PT']['NewsletterType']['DRAFT'] = 'Rascunho';
|
||||
$lang['pt_PT']['NewsletterType']['SENT'] = 'Enviado';
|
||||
$lang['pt_PT']['NewsletterType']['SEND'] = 'Enviar';
|
||||
$lang['pt_PT']['NewsletterType']['UNSUBSCRIBED'] = 'Assinaturas Removidas';
|
||||
$lang['pt_PT']['NewsletterType']['BOUNCED'] = 'Devolvidos';
|
||||
$lang['pt_PT']['NewsletterType']['RECIPIENTS'] = 'Recipientes';
|
||||
$lang['pt_PT']['NewsletterType']['IMPORT'] = 'Importar';
|
||||
$lang['pt_PT']['NewsletterType']['IMPORTFROM'] = 'Importar do ficheiro';
|
||||
$lang['pt_PT']['NewsletterType']['TEMPLATE'] = 'Modelos';
|
||||
|
||||
// Unsubscribe.php
|
||||
$lang['pt_PT']['Unsubscribe']['SUCCESS'] = 'Obrigado. Foi removido dos grupos seleccionados';
|
||||
$lang['pt_PT']['Unsubscribe']['NOMLSELECTED'] = 'Tem de seleccionar pelo menos uma lista de email para remover a subscrição';
|
||||
$lang['pt_PT']['Unsubscribe']['SUBSCRIBEDTO'] = 'Tem as seguintes lista de email assinadas';
|
||||
$lang['pt_PT']['Unsubscribe']['UNSUBSCRIBE'] = 'Remover a Assinatura';
|
||||
$lang['pt_PT']['Unsubscribe']['NOTSUBSCRIBED'] = 'Desculpe mas o email %s não se encontra em nenhuma das nossas listas de email.';
|
||||
$lang['pt_PT']['Unsubscribe']['EMAILADDR'] = 'Endereço de Email';
|
||||
$lang['pt_PT']['Unsubscribe']['SHOWLISTS'] = 'Mostrar Listas';
|
||||
$lang['pt_PT']['Unsubscribe']['REMOVESUCCESS'] = 'Obrigado. O email %s não irá receber mais mensagens da lista de email %s';
|
||||
|
||||
// Unsubscribe.php
|
||||
$lang['pt_PT']['TemplateList']['NONE'] = 'Nenhum';
|
||||
|
||||
// NEW NEW NEW NEW
|
||||
|
||||
// WidgetEditor.ss
|
||||
$lang['pt_PT']['WidgetEditor.ss']['DELETE'] = 'Apagar';
|
||||
|
||||
// WidgetAreaEditor.ss
|
||||
$lang['pt_PT']['WidgetAreaEditor.ss']['AVAILABLE'] = 'Widgets Disponíveis';
|
||||
$lang['pt_PT']['WidgetAreaEditor.ss']['NOAVAIL'] = 'Não existem widgets disponóveis de momento.';
|
||||
$lang['pt_PT']['WidgetAreaEditor.ss']['INUSE'] = 'Widgets Actualmente em uso.';
|
||||
$lang['pt_PT']['WidgetAreaEditor.ss']['TOADD'] = 'Para adicionar Widgets arraste-as da esquerda para aqui.';
|
||||
|
||||
// PageCommentInterface_singlecomment.ss
|
||||
$lang['pt_PT']['PageCommentInterface_singlecomment.ss']['APPROVE'] = 'Aprovar este comentário';
|
||||
|
||||
// Newsletter_SentStatusReport.ss
|
||||
$lang['pt_PT']['Newsletter_SentStatusReport.ss']['FAILEDBL'] = 'Não houve envio para os seguintes recipientes porque estão na lista negra';
|
||||
|
||||
// Newsletter_RecipientReportField.ss
|
||||
$lang['pt_PT']['Newsletter_RecipientReportField.ss']['MLRELOAD1'] = 'Para ver os novos membros na lista de recipientes, tem que';
|
||||
$lang['pt_PT']['Newsletter_RecipientReportField.ss']['MLRELOAD2'] = 'refrescar a lista';
|
||||
|
||||
// LeftAndMain.ss
|
||||
$lang['pt_PT']['LeftAndMain.ss']['EDITINCMS'] = 'Editar esta página no editor de conteúdos';
|
||||
$lang['pt_PT']['LeftAndMain.ss']['VIEWINDRAFT'] = 'Vêr esta página no site de rascunho';
|
||||
$lang['pt_PT']['LeftAndMain.ss']['VIEWINPUBLISHED'] = 'Vêr esta página no site publicado';
|
||||
|
||||
// ImageEditor.ss
|
||||
$lang['pt_PT']['ImageEditor.ss']['EXIT'] = 'sair';
|
||||
$lang['pt_PT']['ImageEditor.ss']['ACTIONS'] = 'acções';
|
||||
$lang['pt_PT']['ImageEditor.ss']['EDITFUNCTIONS'] = 'funções de edição';
|
||||
$lang['pt_PT']['ImageEditor.ss']['APPLY'] = 'aplicar';
|
||||
$lang['pt_PT']['ImageEditor.ss']['CURRENTACTION'] = 'acções actual';
|
||||
|
||||
// CMSMain_dialog.ss
|
||||
$lang['pt_PT']['CMSMain_dialog.ss']['BUTTONNOTFOUND'] = 'Nome do botão não encontrado';
|
||||
$lang['pt_PT']['CMSMain_dialog.ss']['NOLINKED'] = 'windo.linkedObject não encontrado para o click do botão voltar à janela principal';
|
||||
|
||||
// StatisticsAdmin_left.ss
|
||||
$lang['pt_PT']['StatisticsAdmin_left.ss']['VIEWS'] = 'Visualizações';
|
||||
$lang['pt_PT']['StatisticsAdmin_left.ss']['OS'] = 'Sistemas Operativos';
|
||||
$lang['pt_PT']['StatisticsAdmin_left.ss']['BROWSERS'] = 'Navegadores';
|
||||
$lang['pt_PT']['StatisticsAdmin_left.ss']['TRENDS'] = 'Tendências';
|
||||
$lang['pt_PT']['StatisticsAdmin_left.ss']['STATISTICS'] = 'Estatísticas';
|
||||
|
||||
// NewsletterAdmin_BouncedList.ss
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['INSTRUCTIONS'] = 'Instrucções';
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['INSTRUCTIONS1'] = 'Retire o tick da caixa do email na lista negra para enviar email para o mesmo.';
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['INSTRUCTIONS2'] = 'Para removêr o email da lista de email click no icon';
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['BLACKLISTED'] = 'Na Lista Negra';
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['REASON'] = 'Razão:';
|
||||
$lang['pt_PT']['NewsletterAdmin_BouncedList.ss']['DATE'] = 'Data:';
|
||||
|
||||
// MemberList_PageControls.ss
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['VIEWLAST'] = 'Vêr os últimos';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['LASTMEMBERS'] = 'membros';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['VIEWFIRST'] = 'Vêr os primeiros';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['FIRSTMEMBERS'] = 'membros';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['VIEWPREVIOUS'] = 'Vêr os membros';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['PREVIOUSMEMBERS'] = 'anteriores';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['DISPLAYING'] = 'A mostrar';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['TO'] = 'até';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['OF'] = 'de';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['VIEWPREVIOUS'] = 'Vêr os próximos';
|
||||
$lang['pt_PT']['MemberList_PageControls.ss']['PREVIOUSMEMBERS'] = 'membros';
|
||||
|
||||
// GenericDataAdmin_right.ss
|
||||
$lang['pt_PT']['GenericDataAdmin_right.ss']['WELCOME1'] = 'Bem-vindo a';
|
||||
$lang['pt_PT']['genericDataAdmin_right.ss']['WELCOME2'] = 'Por favor, escolha uma opção no painel da esquerda.';
|
||||
|
||||
// CommentTableField.ss
|
||||
$lang['pt_PT']['CommentTableField.ss']['EDIT'] = 'editar';
|
||||
$lang['pt_PT']['CommentTableField.ss']['APPROVE'] = 'aprovar';
|
||||
$lang['pt_PT']['CommentTableField.ss']['SPAM'] = 'spam';
|
||||
$lang['pt_PT']['CommentTableField.ss']['HAM'] = 'não spam';
|
||||
$lang['pt_PT']['CommentTableField.ss']['DELETE'] = 'apagar';
|
||||
|
||||
// CommentAdmin_right.ss
|
||||
$lang['pt_PT']['CommentAdmin_right.ss']['WELCOME1'] = 'Bem-vindo a';
|
||||
$lang['pt_PT']['CommentAdmin_right.ss']['WELCOME2'] = 'gestão de comentários. Por favor escolha uma pasta na esquerda.';
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
@ -11,10 +11,10 @@ function buttonClick(el) {
|
||||
window.linkedObject.result = el.name;
|
||||
|
||||
} else {
|
||||
throw("Couldn't find the button name");
|
||||
throw("<% _t('BUTTONNOTFOUND', 'Couldn\'t find the button name') %>");
|
||||
}
|
||||
} else {
|
||||
throw("Can't find window.linkedObject to send the button click back to the main window");
|
||||
throw("<% _t('NOLINKED', 'Can\'t find window.linkedObject to send the button click back to the main window') %>");
|
||||
}
|
||||
window.close();
|
||||
<% end_if %>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<div id="ExitIcon">
|
||||
</div>
|
||||
<p id="ExitText" class="menuText">
|
||||
exit
|
||||
<% _t('EXIT', 'exit') %>
|
||||
</p>
|
||||
</a>
|
||||
<a id="UndoButton" href="#a">
|
||||
@ -47,7 +47,7 @@
|
||||
</p>
|
||||
</a>
|
||||
<p id="ActionsDescription" class="menuText">
|
||||
actions
|
||||
<% _t('ACTIONS', 'actions') %>
|
||||
</p>
|
||||
</div>
|
||||
<div id="Functions">
|
||||
@ -71,7 +71,7 @@
|
||||
<p id="ImageHeight" class="menuText"></p>
|
||||
</div>
|
||||
<p id="FunctionsDescription" class="menuText">
|
||||
edit functions
|
||||
<% _t('EDITFUNCTIONS', 'edit functions') %>
|
||||
</p>
|
||||
</div>
|
||||
<div id="CurrentAction">
|
||||
@ -86,11 +86,11 @@
|
||||
<div id="ApplyIcon">
|
||||
</div>
|
||||
<p id="ApplyText" class="menuText">
|
||||
apply
|
||||
<% _t('APPLY', 'apply') %>
|
||||
</p>
|
||||
</a>
|
||||
<p id="CurrentActionDescription" class="menuText">
|
||||
current action
|
||||
<% _t('CURRENTACTION', 'current action') %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -20,17 +20,17 @@
|
||||
<% end_control %>
|
||||
<% if Can(show) %>
|
||||
<td width="18">
|
||||
<a class="popuplink showlink" href="$ShowLink" target="_blank" title="Show asset"><img src="cms/images/show.png" alt="show" /></a>
|
||||
<a class="popuplink showlink" href="$ShowLink" target="_blank" title="<% _t('SHOW', 'Show asset') %>"><img src="cms/images/show.png" alt="<% _t('SHOW', 'Show asset') %>" /></a>
|
||||
</td>
|
||||
<% end_if %>
|
||||
<% if Can(edit) %>
|
||||
<td width="18">
|
||||
<a class="popuplink editlink" href="$EditLink" target="_blank" title="Edit asset"><img src="cms/images/edit.gif" alt="edit" /></a>
|
||||
<a class="popuplink editlink" href="$EditLink" target="_blank" title="<% _t('EDIT', 'Edit asset') %>"><img src="cms/images/edit.gif" alt="<% _t('EDIT', 'Edit asset') %>" /></a>
|
||||
</td>
|
||||
<% end_if %>
|
||||
<% 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" title="<% _t('DELFILE','Delete this file') %>" /></a>
|
||||
<a class="deletelink" href="admin/assets/removefile/$ID" title="<% _t('DELFILE', 'Delete this file') %>"><img src="cms/images/delete.gif" alt="<% _t('DELFILE', 'Delete this file') %>" title="<% _t('DELFILE','Delete this file') %>" /></a>
|
||||
</td>
|
||||
<% end_if %>
|
||||
</tr>
|
||||
|
@ -5,7 +5,7 @@
|
||||
$EditForm
|
||||
<% else %>
|
||||
<form id="Form_EditForm" action="admin/comments?executeForm=EditForm" method="post" enctype="multipart/form-data">
|
||||
<p>Welcome to the $ApplicationName comment management. Please select a folder in the tree on the left.</p>
|
||||
<p><% _t('WELCOME1', 'Welcome to the') %> $ApplicationName <% _t('WELCOME2', 'comment management. Please select a folder in the tree on the left.') %></p>
|
||||
</form>
|
||||
<% end_if %>
|
||||
|
||||
|
@ -44,19 +44,19 @@
|
||||
<td>$Value</td>
|
||||
<% end_control %>
|
||||
<% if Can(edit) %>
|
||||
<td width="18"><a class="popuplink editlink" href="$EditLink" target="_blank"><img src="cms/images/edit.gif" alt="edit" /></a></td>
|
||||
<td width="18"><a class="popuplink editlink" href="$EditLink" target="_blank"><img src="cms/images/edit.gif" alt="<% _t('EDIT', 'edit') %>" /></a></td>
|
||||
<% end_if %>
|
||||
<% if HasApproveButton %>
|
||||
<td width="18"><a class="approvelink" href="$ApproveLink" title="<% _t('APPROVECOMMENT', 'Approve this comment') %>"><img src="cms/images/approvecomment.png" alt="approve" /></a></td>
|
||||
<td width="18"><a class="approvelink" href="$ApproveLink" title="<% _t('APPROVECOMMENT', 'Approve this comment') %>"><img src="cms/images/approvecomment.png" alt="<% _t('APPROVE', 'approve') %>" /></a></td>
|
||||
<% end_if %>
|
||||
<% if HasSpamButton %>
|
||||
<td width="18"><a class="spamlink" href="$SpamLink" title="<% _t('MARKASSPAM', 'Mark this comment as spam') %>"><img src="cms/images/declinecomment.png" alt="spam" /></a></td>
|
||||
<td width="18"><a class="spamlink" href="$SpamLink" title="<% _t('MARKASSPAM', 'Mark this comment as spam') %>"><img src="cms/images/declinecomment.png" alt="<% _t('SPAM', 'spam') %>" /></a></td>
|
||||
<% end_if %>
|
||||
<% if HasHamButton %>
|
||||
<td width="18"><a class="hamlink" href="$HamLink" title="<% _t('MARKNOSPAM', 'Mark this comment as not spam') %>"><img src="cms/images/approvecomment.png" alt="ham" /></a></td>
|
||||
<td width="18"><a class="hamlink" href="$HamLink" title="<% _t('MARKNOSPAM', 'Mark this comment as not spam') %>"><img src="cms/images/approvecomment.png" alt="<% _t('HAM', 'ham') %>" /></a></td>
|
||||
<% end_if %>
|
||||
<% if Can(delete) %>
|
||||
<td width="18"><a class="deletelink" href="$DeleteLink" title="<% _t('DELETEROW', 'Delete this row') %>"><img src="cms/images/delete.gif" alt="delete" /></a></td>
|
||||
<td width="18"><a class="deletelink" href="$DeleteLink" title="<% _t('DELETEROW', 'Delete this row') %>"><img src="cms/images/delete.gif" alt="<% _t('DELETE', 'delete') %>" /></a></td>
|
||||
<% end_if %>
|
||||
</tr>
|
||||
<% end_control %>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<form id="Form_EditForm" action="admin?executeForm=EditForm" method="post" enctype="multipart/form-data">
|
||||
<h1>$ApplicationName</h1>
|
||||
|
||||
<p>Welcome to $ApplicationName! Please choose click on one of the entries on the left pane.</p>
|
||||
<p><% _t('WELCOME1', 'Welcome to') %> $ApplicationName! <% _t('WELCOME2', 'Please choose click on one of the entries on the left pane.') %></p>
|
||||
|
||||
</form>
|
||||
<% end_if %>
|
||||
|
@ -1,15 +1,15 @@
|
||||
<div class="PageControls">
|
||||
<input name="MemberListStart" id="MemberListStart" type="hidden" value="$MemberListStart" />
|
||||
<% if LastLink %><a class="Last" href="$LastLink" title="View last $PageSize members"><img src="cms/images/pagination/record-last.png" alt="View last $PageSize members" /></a>
|
||||
<% else %><span class="Last"><img src="cms/images/pagination/record-last-g.png" alt="View last $PageSize members" /></span><% end_if %>
|
||||
<% if FirstLink %><a class="First" href="$FirstLink" title="View first $PageSize members"><img src="cms/images/pagination/record-first.png" alt="View first $PageSize members" /></a>
|
||||
<% else %><span class="First"><img src="cms/images/pagination/record-first-g.png" alt="View first $PageSize members" /></span><% end_if %>
|
||||
<% if PrevLink %><a class="Prev" href="$PrevLink" title="View previous $PageSize members"><img src="cms/images/pagination/record-prev.png" alt="View previous $PageSize members" /></a>
|
||||
<% else %><img class="Prev" src="cms/images/pagination/record-prev-g.png" alt="View previous $PageSize members" /><% end_if %>
|
||||
<% if LastLink %><a class="Last" href="$LastLink" title="<% _t('VIEWLAST', 'View last') %> $PageSize <% _t('LASTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-last.png" alt="View last $PageSize members" /></a>
|
||||
<% else %><span class="Last"><img src="cms/images/pagination/record-last-g.png" alt="<% _t('VIEWLAST', 'View last') %> $PageSize <% _t('LASTMEMBERS', 'members') %>" /></span><% end_if %>
|
||||
<% if FirstLink %><a class="First" href="$FirstLink" title="<% _t('VIEWFIRST', 'View first') %> $PageSize <% _t('FIRSTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-first.png" alt="View first $PageSize members" /></a>
|
||||
<% else %><span class="First"><img src="cms/images/pagination/record-first-g.png" alt="<% _t('VIEWFIRST', 'View first') %> $PageSize <% _t('FIRSTMEMBERS', 'members') %>" /></span><% end_if %>
|
||||
<% if PrevLink %><a class="Prev" href="$PrevLink" title="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>"><img src="cms/images/pagination/record-prev.png" alt="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>" /></a>
|
||||
<% else %><img class="Prev" src="cms/images/pagination/record-prev-g.png" alt="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>" /><% end_if %>
|
||||
<span class="Count">
|
||||
Displaying $FirstMember to $LastMember of $TotalMembers
|
||||
<% _t('DISPLAYING', 'Displaying') %> $FirstMember <% _t('TO', 'to') %> $LastMember <% _t('OF', 'of') %> $TotalMembers
|
||||
</span>
|
||||
<% if NextLink %><a class="Next" href="$NextLink" title="View next $PageSize members"><img src="cms/images/pagination/record-next.png" alt="View next $PageSize members" /></a>
|
||||
<% else %><img class="Next" src="cms/images/pagination/record-next-g.png" alt="View next $PageSize members" /><% end_if %>
|
||||
<% if NextLink %><a class="Next" href="$NextLink" title="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-next.png" alt="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>" /></a>
|
||||
<% else %><img class="Next" src="cms/images/pagination/record-next-g.png" alt="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>" /><% end_if %>
|
||||
|
||||
</div>
|
||||
|
@ -1,17 +1,17 @@
|
||||
<% if Entries %>
|
||||
<p><b>Instructions:</b></p>
|
||||
<p><b><% _t('INSTRUCTIONS', 'Instructions:') %></b></p>
|
||||
<ul>
|
||||
<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><% _t('INSTRUCTIONS1', 'Uncheck the box to enable sending to a blacklisted email address.') %></li>
|
||||
<li><% _t('INSTRUCTIONS2', 'To remove a recipients's email address from your mailing list, click the icon') %> <img src="cms/images/delete.gif" alt="delete" /></li>
|
||||
</ul>
|
||||
<table id="BouncedListTable" class="CMSList BouncedList" summary="<% _t('HAVEBOUNCED','Emails that have bounced') %>">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="18">Blacklisted</th>
|
||||
<th width="18"><% _t('BLACKLISTED', 'Blacklisted') %></th>
|
||||
<th><% _t('UNAME','User name') %></th>
|
||||
<th><% _t('EMADD','Email address') %></th>
|
||||
<th>Reason:</th>
|
||||
<th>Date</th>
|
||||
<th><% _t('RESON', 'Reason:') %></th>
|
||||
<th><% _t('DATE', 'Date') %></th>
|
||||
<th width="18"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<h2>Statistics</h2>
|
||||
<h2><% _t('STATISTICS', 'Statistics') %></h2>
|
||||
|
||||
<div id="treepanes">
|
||||
<div id="sitetree_holder">
|
||||
@ -6,10 +6,10 @@
|
||||
<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>
|
||||
<li id="stbrowsers"><a href="$baseURL/admin/statistics/browsers">Browsers</a></li>
|
||||
<li id="stviews"><a href="$baseURL/admin/statistics/views"><% _t('VIEWS', 'Views') %></a></li>
|
||||
<li id="sttrends"><a href="$baseURL/admin/statistics/trends"><% _t('TRENDS', Trends) %></a></li>
|
||||
<li id="stos"><a href="$baseURL/admin/statistics/os"><% _t('OS', 'Operating Systems') %></a></li>
|
||||
<li id="stbrowsers"><a href="$baseURL/admin/statistics/browsers"><% _t('BROWSERS', 'Browsers') %></a></li>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -54,9 +54,9 @@
|
||||
<div id="switchView" class="bottomTabs">
|
||||
<% if class = CMSMain %>
|
||||
<div class="blank"> <% _t('VIEWPAGEIN','Page view:') %> </div>
|
||||
<span class="current" title="Edit this page in the CMS"><% _t('EDIT','Edit') %></span>
|
||||
| <a id="viewStageSite" title="View the Page in the Draft Site" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
|
||||
| <a id="viewLiveSite" title="View the Page in the Published Site" href="home/?stage=Live"><% _t('PUBLIS','Published Site') %></a>
|
||||
<span class="current" title="<% _t('EDITINCMS', 'Edit this page in the CMS') %>"><% _t('EDIT','Edit') %></span>
|
||||
| <a id="viewStageSite" title="<% _t('VIEWINDRAFT', 'View the Page in the Draft Site') %>" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
|
||||
| <a id="viewLiveSite" title="<% _t('VIEWINPUBLISHED', 'View the Page in the Published Site') %>" href="home/?stage=Live"><% _t('PUBLIS','Published Site') %></a>
|
||||
<a style="display: none; margin-left: 20px;" id="viewArchivedSite" href="home/"><% _t('ARCHS','Archived Site') %></a>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<% if ImportMessage %>
|
||||
<p>
|
||||
$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><% _t('MLRELOAD1', 'To see the new members on the Recipients tab, you need to') %> <a href="#" onclick="javascript:top.reloadRecipientsList()"><% _t('MLRELOAD2', 'reload the Mailing List') %></a>.</p>
|
||||
<ul>
|
||||
<li><label><% _t('IMPORTED','New members imported:') %></label>$NewMembers</li>
|
||||
<li><label><% _t('UPDATED','Members updated:') %></label>$ChangedMembers</li>
|
||||
|
@ -47,7 +47,7 @@
|
||||
<% end_if %>
|
||||
|
||||
<% if SentRecipients(BlackListed) %>
|
||||
<h2 class="error" style="width:auto;">Sending to the Following Recipients Did Not Occur Because They Are BlackListed</h2>
|
||||
<h2 class="error" style="width:auto;"><% _t('FAILEDBL', 'Sending to the Following Recipients Did Not Occur Because They Are BlackListed') %></h2>
|
||||
|
||||
<table class="CMSList">
|
||||
<thead>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<br />
|
||||
<ul class="actionLinks">
|
||||
<% if ApproveLink %>
|
||||
<li><a href="$ApproveLink" class="approvelink">approve this comment</a></li>
|
||||
<li><a href="$ApproveLink" class="approvelink"><% _t('APPROVE', 'approve this comment') %></a></li>
|
||||
<% end_if %>
|
||||
<% if SpamLink %>
|
||||
<li><a href="$SpamLink" class="spamlink"><% _t('ISSPAM','this comment is spam') %></a></li>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="WidgetAreaEditor" id="WidgetAreaEditor" name="$Name">
|
||||
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
|
||||
<div class="availableWidgetsHolder">
|
||||
<h2>Available Widgets</h2>
|
||||
<h2><% _t('AVAILABLE', 'Available Widgets') %></h2>
|
||||
<div class="availableWidgets" id="WidgetAreaEditor_availableWidgets">
|
||||
<% if AvailableWidgets %>
|
||||
<% control AvailableWidgets %>
|
||||
@ -9,13 +9,13 @@
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<div id="NoWidgets">
|
||||
<p>There are currently no widgets available.</p>
|
||||
<p><% _t('NOAVAIL', 'There are currently no widgets available.') %></p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="usedWidgetsHolder">
|
||||
<h2>Widgets currently used</h2>
|
||||
<h2><% _t('INUSE', 'Widgets currently used') %></h2>
|
||||
<div class="usedWidgets" id="WidgetAreaEditor_usedWidgets">
|
||||
<% if UsedWidgets %>
|
||||
<% control UsedWidgets %>
|
||||
@ -23,7 +23,7 @@
|
||||
<% end_control %>
|
||||
<% else %>
|
||||
<div id="NoWidgets">
|
||||
<p>To add widgets, drag them from the left area to here.</p>
|
||||
<p><% _t('TOADD', 'To add widgets, drag them from the left area to here.') %></p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
@ -8,5 +8,5 @@
|
||||
<input type="hidden" name="$Name[Type]" value="$ClassName" />
|
||||
<input type="hidden" name="$Name[Sort]" value="$Sort" />
|
||||
</div>
|
||||
<p class="deleteWidget"><span class="widgetDelete">Delete</span></p>
|
||||
<p class="deleteWidget"><span class="widgetDelete"><% _t('DELETE', 'Delete') %></span></p>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user