diff --git a/_config.php b/_config.php index 5ad8db81..f19c1c9b 100644 --- a/_config.php +++ b/_config.php @@ -1,11 +1,12 @@ 'BatchProcess_Controller', - 'silverstripe/' => '->admin/', - 'cms/' => '->admin/', + 'silverstripe' => '->admin', + 'cms' => '->admin', 'admin/statistics/$Action/$ID' => 'StatisticsAdmin', 'admin/security/$Action/$ID/$OtherID' => 'SecurityAdmin', 'admin/help/$Action/$ID' => 'CMSHelp', @@ -17,8 +18,7 @@ Director::addRules(50, array( 'admin/bulkload/$Action/$ID/$OtherID' => 'BulkLoaderAdmin', 'admin/ImageEditor/$Action' => 'ImageEditor', 'admin/$Action/$ID/$OtherID' => 'CMSMain', - 'unsubscribe/$Email/$MailingList' => 'Unsubscribe_Controller', - 'membercontrolpanel/$Email' => 'MemberControlPanel' + 'unsubscribe/$Email/$MailingList' => 'Unsubscribe_Controller' )); ?> diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index 9f91b10f..1ec4bada 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -1,11 +1,33 @@ urlParams['ID']}" id="AssetAdmin_upload" border="0" style="border-style: none; width: 100%; height: 200px"> - -HTML; - } function index() { File::sync(); @@ -155,7 +168,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; } @@ -204,8 +217,24 @@ HTML; $statusMessage = _t('AssetAdmin.NOTHINGTOUPLOAD','There was nothing to upload'); $status = ""; } + + + $fileIDs = array(); + $fileNames = array(); + foreach($newFiles as $newFile) { + $fileIDs[] = $newFile; + $fileObj = DataObject::get_one('File', "`File`.ID=$newFile"); + $fileNames[] = $fileObj->Name; + } + + $sFileIDs = implode(',', $fileIDs); + $sFileNames = implode(',', $fileNames); + echo << + /* IDs: $sFileIDs */ + /* Names: $sFileNames */ + var form = parent.document.getElementById('Form_EditForm'); form.getPageFromServer(form.elements.ID.value); parent.statusMessage("{$statusMessage}","{$status}"); @@ -230,62 +259,8 @@ HTML; $record = singleton("Folder"); } - $fileList = new AssetTableField( - $this, - "Files", - "File", - array("Title" => _t('AssetAdmin.TITLE', "Title"), "LinkedURL" => _t('AssetAdmin.FILENAME', "Filename")), - "" - ); - $fileList->setFolder($record); - $fileList->setPopupCaption(_t('AssetAdmin.VIEWEDITASSET', "View/Edit Asset")); - - if($record) { - $nameField = ($id != "root") ? new TextField("Name", "Folder Name") : new HiddenField("Name"); - if( $record->userCanEdit() ) { - $deleteButton = new InlineFormAction('deletemarked',_t('AssetAdmin.DELSELECTED','Delete selected files'), 'delete'); - $deleteButton->includeDefaultJS(false); - } else { - $deleteButton = new HiddenField('deletemarked'); - } - - $fields = new FieldSet( - new HiddenField("Title"), - new TabSet("Root", - new Tab(_t('AssetAdmin.FILESTAB', "Files"), - $nameField, - $fileList, - $deleteButton, - new HiddenField("FileIDs"), - new HiddenField("DestFolderID") - ), - new Tab(_t('AssetAdmin.DETAILSTAB', "Details"), - new ReadonlyField("URL"), - new ReadonlyField("ClassName", _t('AssetAdmin.TYPE','Type')), - new ReadonlyField("Created", _t('AssetAdmin.CREATED','First Uploaded')), - new ReadonlyField("LastEdited", _t('AssetAdmin.LASTEDITED','Last Updated')) - ), - new Tab(_t('AssetAdmin.UPLOADTAB', "Upload"), - new LiteralField("UploadIframe", - $this->getUploadIframe() - ) - ), - new Tab(_t('AssetAdmin.UNUSEDFILESTAB', "Unused files"), - new LiteralField("UnusedAssets", - "
Edit this image
" . '' . + '' . ""._t('AssetTableField.EDITIMAGE', 'Edit this image')."
" . '' . '' ) ), @@ -100,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') ) ) ); } @@ -109,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') ) ) ); } diff --git a/code/BulkLoader.php b/code/BulkLoader.php index f90e359c..9da995a4 100755 --- a/code/BulkLoader.php +++ b/code/BulkLoader.php @@ -1,5 +1,16 @@ \ No newline at end of file diff --git a/code/CMSMain.php b/code/CMSMain.php index e91afaf8..ba0f0186 100644 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1,8 +1,15 @@ 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 = $class; + $addAction = $instance->i18n_singular_name(); } + */ + $addAction = $instance->i18n_singular_name(); $result->push(new ArrayData(array( "ClassName" => $class, "AddAction" => $addAction, ))); } + $result->sort('AddAction'); + return $result; } @@ -427,7 +471,9 @@ JS; $newItem->ClassName = $className; $newItem->ParentID = $parentID; - if($newItem->fieldExists('Sort')) { + // DataObject::fieldExists only checks the current class, not the hierarchy + // This allows the CMS to set the correct sort value + if($newItem->castingHelperPair('Sort')) { $newItem->Sort = DB::query("SELECT MAX(Sort) FROM SiteTree WHERE ParentID = '" . Convert::raw2sql($parentID) . "'")->value() + 1; } @@ -436,6 +482,9 @@ JS; if($setID) $newItem->ID = $id; + # Some modules like subsites add extra fields that need to be set when the new item is created + $this->extend('augmentNewSiteTreeItem', $newItem); + return $newItem; } @@ -470,13 +519,13 @@ JS; if(isset($descendantsRemoved)) { $descRemoved = " and $descendantsRemoved descendants"; + $descRemoved = sprintf(' '._t('CMSMain.DESCREMOVED', 'and %s descendants'), $descendantsRemoved); } else { $descRemoved = ''; } - $title = Convert::raw2js($record->Title); FormResponse::add($this->deleteTreeNodeJS($record)); - FormResponse::status_message("Deleted '$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(); } @@ -491,7 +540,7 @@ JS; //$record->PublishedByID = Member::currentUser()->ID; $record->write(); $record->publish("Stage", "Live"); - + GoogleSitemap::ping(); // Fix the sort order for this page's siblings @@ -668,7 +717,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 @@ -834,7 +883,7 @@ HTML; $form->loadDataFrom($record); $form->loadDataFrom(array( "ID" => $id, - "Version" => $version, + "Version" => $fromVersion, )); $form->makeReadonly(); foreach($form->Fields()->dataFields() as $field) { @@ -1123,14 +1172,23 @@ HTML; ini_set('max_execution_time', 300); if(isset($_POST['confirm'])) { - $pages = DataObject::get("SiteTree"); + $start = 0; + $pages = DataObject::get("SiteTree", "", "", "", "$start,30"); $count = 0; - foreach($pages as $page) { - $this->performPublish($page); - $page->destroy(); - unset($page); - $count++; - echo "Thanks, you have been added to our mailing list.
", - ); + static $defaults = array( + "OnCompleteMessage" => "Thanks, you have been added to our mailing list.
", + ); static $has_many = array( 'Newsletters' => 'NewsletterType' @@ -53,14 +64,19 @@ class SubscribeForm extends UserDefinedForm { if( !empty( $typeValue ) ) { $newField->prepopulate( $typeValue ); } - - $newField->setField('ID', "new-" . $count); - + + $newField->ParentID = $this->ID; $newField->Sort = $count; - $f->addWithoutWrite($newField); + $newField->write(); $count++; } } + + public function write($showDebug = false, $forceInsert = false, $forceWrite = false) { + $isNew = (!$this->ID); + parent::write($showDebug, $forceInsert, $forceWrite); + if($isNew) $this->addDefaultFields(); + } public function Newsletters() { $components = $this->getComponents('Newsletters'); @@ -148,6 +164,11 @@ class SubscribeForm extends UserDefinedForm { } } +/** + * Email for sending subscribe form submissions. + * @package cms + * @subpackage newsletter + */ class SubscribeForm_SubscribeEmail extends Email_Template { protected $to = '$Email'; protected $subject = '$Subject'; @@ -155,10 +176,14 @@ class SubscribeForm_SubscribeEmail extends Email_Template { protected $from = ''; } +/** + * Controller for the SubscribeForm page + * @package cms + * @subpackage newsletter + */ class SubscribeForm_Controller extends UserDefinedForm_Controller { function process( $data, $form ) { - // Add the user to the mailing list $member = Object::create("Member"); @@ -167,7 +192,6 @@ class SubscribeForm_Controller extends UserDefinedForm_Controller { // map the editables to the data foreach( $this->Fields() as $editable ) { - $field = $editable->CustomParameter; if( !$field ) continue; @@ -177,14 +201,14 @@ class SubscribeForm_Controller extends UserDefinedForm_Controller { // if( $member->hasField( $field ) ) $member->$field = $data[$editable->Name]; } - + // need to write the member record before adding the user to groups $member->write(); $newsletters = array(); // Add member to the selected newsletters - if( $data['Newsletters'] ) foreach( $data['Newsletters'] as $listID ) { + if( isset($data['Newsletters'])) foreach( $data['Newsletters'] as $listID ) { if( !is_numeric( $listID ) ) continue; @@ -238,13 +262,9 @@ class SubscribeForm_Controller extends UserDefinedForm_Controller { $newsletters = array(); - // Debug::show($newsletterList); - // get the newsletter types to display on the form foreach( $newsletterList as $newsletter ) - $newsletters[] = $newsletter; - - // Debug::show( $newsletters ); + $newsletters[$newsletter->ID] = $newsletter->Title; $form->Fields()->push( new CheckboxSetField( 'Newsletters', 'Subscribe to lists', $newsletters ) ); diff --git a/code/Newsletter/TemplateList.php b/code/Newsletter/TemplateList.php index d4169f0e..c5c598d5 100755 --- a/code/Newsletter/TemplateList.php +++ b/code/Newsletter/TemplateList.php @@ -1,6 +1,14 @@ "None" ); + $templates = array( "" => _t('TemplateList.NONE', 'None') ); $absPath = Director::baseFolder(); if( $absPath{strlen($absPath)-1} != "/" ) diff --git a/code/Newsletter/Unsubscribe.php b/code/Newsletter/Unsubscribe.php index 4ff1aab8..6dc542f0 100755 --- a/code/Newsletter/Unsubscribe.php +++ b/code/Newsletter/Unsubscribe.php @@ -1,7 +1,15 @@ 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'); } @@ -93,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(); } } @@ -106,6 +114,12 @@ class Unsubscribe_Controller extends Page_Controller { } } +/** + * 2nd step form for the Unsubcribe page. + * The form will list all the mailing lists that the user is subscribed to. + * @package cms + * @subpackage newsletter + */ class Unsubscribe_MailingListForm extends Form { protected $memberEmail; @@ -121,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 ); @@ -145,16 +159,22 @@ class Unsubscribe_MailingListForm extends Form { } } +/** + * 1st step form for the Unsubcribe page. + * The form will let people enter an email address and press a button to continue. + * @package cms + * @subpackage newsletter + */ 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 ); @@ -165,6 +185,12 @@ class Unsubscribe_EmailAddressForm extends Form { } } +/** + * Final stage form for the Unsubcribe page. + * The form just gives you a success message. + * @package cms + * @subpackage newsletter + */ class Unsubscribe_Successful extends Form { function __construct($controller, $name){ $fields = new FieldSet(); @@ -173,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"); } } diff --git a/code/Newsletter/UnsubscribedList.php b/code/Newsletter/UnsubscribedList.php index 43bd06d8..9d96f8d2 100755 --- a/code/Newsletter/UnsubscribedList.php +++ b/code/Newsletter/UnsubscribedList.php @@ -1,7 +1,15 @@ GroupID) { $group = DataObject::get_one("Group", "ID = $mailType->GroupID"); } - - if(isset($mailType)) { + 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()) ) ) ); @@ -241,7 +275,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( @@ -275,20 +309,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 ) ) ) ); @@ -341,7 +375,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(); } @@ -420,7 +454,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(); } @@ -543,11 +577,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(); } diff --git a/code/PageTypes/UserDefinedForm.php b/code/PageTypes/UserDefinedForm.php index ca6aa78b..fe7e926f 100755 --- a/code/PageTypes/UserDefinedForm.php +++ b/code/PageTypes/UserDefinedForm.php @@ -1,5 +1,15 @@ 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; } @@ -51,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 @@ -106,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 ) @@ -131,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 ) ); } /** @@ -149,6 +159,11 @@ class UserDefinedForm extends Page { } } +/** + * Controller for the {@link UserDefinedForm} page type. + * @package cms + * @subpackage pagetypes + */ class UserDefinedForm_Controller extends Page_Controller { function init() { @@ -173,8 +188,13 @@ class UserDefinedForm_Controller extends Page_Controller { $required[] = $field->Name; } - $fields->push( new HiddenField( "Referrer", "", $_SERVER['HTTP_REFERER'] ) ); + if(!isset($_SERVER['HTTP_REFERER'])) { + $_SERVER['HTTP_REFERER'] = ""; + } + $referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; + $fields->push( new HiddenField( "Referrer", "", $referer ) ); + // Build actions $actions = new FieldSet( new FormAction( "process", $this->SubmitButtonText ) @@ -213,7 +233,7 @@ class UserDefinedForm_Controller extends Page_Controller { if( $field->hasMethod( 'getValueFromData' ) ) $submittedField->Value = $field->getValueFromData( $data ); else - $submittedField->Value = $data[$field->Name]; + if(isset($data[$field->Name])) $submittedField->Value = $data[$field->Name]; $submittedField->write(); $submittedFields->push($submittedField); @@ -259,7 +279,7 @@ class UserDefinedForm_Controller extends Page_Controller { $values[$field->Title] = Convert::linkIfMatch($field->getValueFromData( $data )); } else { - $values[$field->Title] = Convert::linkIfMatch($data[$field->Name]); + if(isset($data[$field->Name])) $values[$field->Title] = Convert::linkIfMatch($data[$field->Name]); } } @@ -301,14 +321,20 @@ class UserDefinedForm_Controller extends Page_Controller { } } +/** + * Email that gets sent when a submission is made. + * @package cms + * @subpackage pagetypes + */ 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; diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index 7059b2f4..17cdba8e 100755 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -1,5 +1,15 @@ "._t('SecurityAdmin.ADVANCEDONLY',"This section is for advanced users only. See this page for more information.").""), new TableField( "Permissions", "Permission", - array("Code" => "Code", "Arg" => "Optional ID"), - array("Code" => "PermissionDropdownField", "Arg" => "TextField"), + array( + "Code" => _t('SecurityAdmin.CODE', 'Code'), + "Arg" => _t('SecurityAdmin.OPTIONALID', 'Optional ID'), + ), + array( + "Code" => "PermissionDropdownField", + "Arg" => "TextField", + ), "GroupID", $id ) ) @@ -62,11 +91,13 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { $memberList->setController($this); $memberList->setPermissions(array('show', 'edit', 'delete', 'export', 'add')); - + $memberList->setParentClass('Group'); + $memberList->setPopupCaption(_t('SecurityAdmin.VIEWUSER', 'View User')); + $fields->push($idField = new HiddenField("ID")); $idField->setValue($id); $actions = new FieldSet( - new FormAction('addmember',_t('SecurityAdmin.ADDMEMBER','Add Member')) + //new FormAction('addmember',_t('SecurityAdmin.ADDMEMBER','Add Member')) ); $actions->push(new FormAction('save',_t('SecurityAdmin.SAVE','Save'))); @@ -93,6 +124,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { public function autocomplete() { $fieldName = $this->urlParams['ID']; $fieldVal = $_REQUEST[$fieldName]; + $result = ''; $matches = DataObject::get("Member","$fieldName LIKE '" . addslashes($fieldVal) . "%'"); if($matches) { @@ -335,7 +367,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'), ); } } diff --git a/code/SideReport.php b/code/SideReport.php index cec6980a..1d1ef964 100755 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -1,5 +1,16 @@ \n"; - foreach($fieldsToShow as $fieldTitle => $fieldSource) { + foreach($fieldsToShow as $fieldTitle => $fieldInfo) { + if(isset($fieldInfo['source'])) { + $fieldSource = $fieldInfo['source']; + + // Legacy format for the input data + } else { + $fieldSource = $fieldInfo; + $fieldInfo = array( + 'link' => true, + 'newline' => false, + ); + } + $fieldName = ereg_replace('[^A-Za-z0-9]+','',$fieldTitle); if(is_string($fieldSource)) { $val = $record->$fieldSource; @@ -22,7 +45,14 @@ abstract class SideReport extends Object { $val = $record->val($fieldSource[0], $fieldSource[1]); } - $result .= "ID\">$val"; + if(isset($fieldInfo['newline']) && $fieldInfo['newline']) $result .= "Welcome to SilverStripe CMS! Please choose click on one of the items on the left pane.
", initialize : function() { - Behaviour.register({ - '#Form_EditForm_action_delete' : { - onclick: this.remove.bind(this) - } - }); }, updateCMSContent: function(el, currentTab, link, customCallBack) { if(!customCallBack) customCallBack = function(){}; if(el || link){ - var reqLink = (el.href) ? el.href : link; + var reqLink = (el && el.href) ? el.href : link; if(typeof(currentTab) != 'undefined') $('Form_EditForm').openTab = currentTab; @@ -59,7 +54,7 @@ RightContent.prototype = { remove: function(e) { if(window.confirm('Are you sure you want to delete?')){ var el = Event.element(e); - Ajax.SubmitForm(el.ownerForm, el.name, { + Ajax.SubmitForm($('Form_EditForm'), el.name, { postBody : 'ajax=1', onSuccess: Ajax.Evaluator, onFailure: ajaxErrorHandler @@ -113,4 +108,8 @@ RightContent.prototype = { titleHolder[0].innerHTML = title; } } -} \ No newline at end of file +} + +var action_delete_right = function(e) { + $('Form_EditForm').remove(e); +} \ No newline at end of file diff --git a/javascript/LeftAndMain_left.js b/javascript/LeftAndMain_left.js index e62b1adb..2d5707de 100755 --- a/javascript/LeftAndMain_left.js +++ b/javascript/LeftAndMain_left.js @@ -190,7 +190,22 @@ TreeNodeAPI.prototype = { } }, duplicatePage: function() { - new Ajax.Request(baseHref() + 'admin/duplicate/' + this.getIdx() + '?ajax=1', { + // Pass the parent ID to the duplicator, which helps ensure that multi-parent pages are duplicated into the node that the user clicked + var parentClause = ""; + if(this.parentTreeNode && this.parentTreeNode.getIdx) { + parentClause = "&parentID=" + this.parentTreeNode.getIdx(); + } + + new Ajax.Request(baseHref() + 'admin/duplicate/' + this.getIdx() + '?ajax=1' + parentClause, { + method : 'get', + onSuccess : Ajax.Evaluator, + onFailure : function(response) { + errorMessage('Error: ', response); + } + }); + }, + duplicatePageWithChildren: function() { + new Ajax.Request(baseHref() + 'admin/duplicatewithchildren/' + this.getIdx() + '?ajax=1', { method : 'get', onSuccess : Ajax.Evaluator, onFailure : function(response) { @@ -443,16 +458,13 @@ ReorganiseAction = Class.create(); ReorganiseAction.applyTo('#sortitems'); ReorganiseAction.prototype = { initialize: function () { - this.isDraggable = false; }, onclick : function() { - if (this.isDraggable == false) { + if ($('sitetree').isDraggable == false) { $('sitetree').makeDraggable(); - this.isDraggable = true; } else { $('sitetree').stopBeingDraggable(); - this.isDraggable = false; } } } @@ -480,4 +492,4 @@ SiteTreeFilterForm.prototype = { return false; } -} \ No newline at end of file +} diff --git a/javascript/ThumbnailStripField.js b/javascript/ThumbnailStripField.js index 401c6536..5662ab3c 100755 --- a/javascript/ThumbnailStripField.js +++ b/javascript/ThumbnailStripField.js @@ -30,7 +30,7 @@ ThumbnailStripField.prototype = { ajaxGetFiles: function(folderID,callback) { if(!callback) callback = this.reapplyBehaviour.bind(this); this.innerHTML = 'Loading...' - var ajaxURL = this.helperURLBase() + '&methodName='+this.updateMethod+'&folderID=' + folderID + ($('SecurityID') ? '&SecurityID=' + $('SecurityID').value : ''); + var ajaxURL = this.helperURLBase() + '&methodName='+this.updateMethod+'&folderID=' + folderID + ($('SecurityID') ? '&SecurityID=' + $('SecurityID').value : '') + '&cacheKillerDate=' + parseInt((new Date()).getTime()) + '&cacheKillerRand=' + parseInt(10000*Math.random()); new Ajax.Updater(this, ajaxURL, { method : 'get', onComplete : callback, diff --git a/javascript/tinymce.template.js b/javascript/tinymce.template.js index 8aaa3bb1..02d68fa7 100755 --- a/javascript/tinymce.template.js +++ b/javascript/tinymce.template.js @@ -27,7 +27,7 @@ if((typeof tinyMCE != 'undefined')) { theme_advanced_toolbar_location : "manually_placed", theme_advanced_toolbar_align : "left", theme_advanced_toolbar_parent : "right", - plugins : "contextmenu,table,emotions,flash", + plugins : "contextmenu,table,emotions,flash,paste", table_inline_editing : true, theme_advanced_buttons1 : "italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,separator,bullist,numlist,outdent,indent,hr,charmap", theme_advanced_buttons2 : "undo,redo,separator,cut,copy,paste,separator,search,replace,separator,flash", @@ -43,4 +43,4 @@ if((typeof tinyMCE != 'undefined')) { valid_elements : "+a[id|rel|rev|dir|tabindex|accesskey|type|name|href|target|title|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align],-ol[class],-ul[class],-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align],-sub[class],-sup[class],-blockquote[dir|class],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|dir|id|style],-tr[id|dir|class|rowspan|width|height|align|valign|bgcolor|background|bordercolor|style],tbody[id|class|style],thead[id|class|style],tfoot[id|class|style],-td[id|dir|class|colspan|rowspan|width|height|align|valign|scope|style],-th[id|dir|class|colspan|rowspan|width|height|align|valign|scope|style],caption[id|dir|class],-div[id|dir|class|align],-span[class|align],-pre[class|align],address[class|align],-h1[id|dir|class|align],-h2[id|dir|class|align],-h3[id|dir|class|align],-h4[id|dir|class|align],-h5[id|dir|class|align],-h6[id|dir|class|align],hr[class],dd[id|class|title|dir],dl[id|class|title|dir],dt[id|class|title|dir]", extended_valid_elements : "img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]" }); -} \ No newline at end of file +} diff --git a/lang/bg_BG.php b/lang/bg_BG.php index 085efc10..8c0b138f 100644 --- a/lang/bg_BG.php +++ b/lang/bg_BG.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['bg_BG'] = $lang['en_US']; +if(array_key_exists('bg_BG', $lang) && is_array($lang['bg_BG'])) { + $lang['bg_BG'] = array_merge($lang['en_US'], $lang['bg_BG']); +} else { + $lang['bg_BG'] = $lang['en_US']; +} $lang['bg_BG']['AssetAdmin']['CHOOSEFILE'] = 'Избери файл'; $lang['bg_BG']['AssetAdmin']['CONTENTMODBY'] = 'Съдържанието достъпно за промяна от'; diff --git a/lang/cs_CZ.php b/lang/cs_CZ.php index e67eb11c..25e1a048 100644 --- a/lang/cs_CZ.php +++ b/lang/cs_CZ.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['cs_CZ'] = $lang['en_US']; +if(array_key_exists('cs_CZ', $lang) && is_array($lang['cs_CZ'])) { + $lang['cs_CZ'] = array_merge($lang['en_US'], $lang['cs_CZ']); +} else { + $lang['cs_CZ'] = $lang['en_US']; +} $lang['cs_CZ']['AssetAdmin']['CHOOSEFILE'] = 'Vybrat soubor'; $lang['cs_CZ']['AssetAdmin']['CONTENTMODBY'] = 'Obsah upravitelný'; diff --git a/lang/de_DE.php b/lang/de_DE.php index dac1233a..35d15f60 100644 --- a/lang/de_DE.php +++ b/lang/de_DE.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['de_DE'] = $lang['en_US']; +if(array_key_exists('de_DE', $lang) && is_array($lang['de_DE'])) { + $lang['de_DE'] = array_merge($lang['en_US'], $lang['de_DE']); +} else { + $lang['de_DE'] = $lang['en_US']; +} $lang['de_DE']['AssetAdmin']['CHOOSEFILE'] = 'Datei auswählen'; $lang['de_DE']['AssetAdmin']['CONTENTMODBY'] = 'Inhalt veränderbar durch'; diff --git a/lang/en_US.php b/lang/en_US.php index b02b1441..2da7e8a7 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -137,6 +137,20 @@ $lang['en_US']['CMSMain']['VISITRESTORE'] = array( PR_LOW, 'restorepage/(ID) should not be translated (is an URL)' ); +$lang['en_US']['CommentAdmin']['APPROVEDCOMMENTS'] = 'Approved Comments'; +$lang['en_US']['CommentAdmin']['COMMENTSAWAITINGMODERATION'] = 'Comments Awaiting Moderation'; +$lang['en_US']['CommentAdmin']['SPAM'] = 'Spam'; +$lang['en_US']['CommentAdmin']['AUTHOR'] = 'Author'; +$lang['en_US']['CommentAdmin']['COMMENT'] = 'Comment'; +$lang['en_US']['CommentAdmin']['PAGE'] = 'Page'; +$lang['en_US']['CommentAdmin']['DATEPOSTED'] = 'Date Posted'; +$lang['en_US']['CommentAdmin']['ACCEPT'] = 'Accept'; +$lang['en_US']['CommentAdmin']['SPAMMARKED'] = 'Mark as spam'; +$lang['en_US']['CommentAdmin']['MARKASNOTSPAM'] = 'Mark as not spam'; +$lang['en_US']['CommentAdmin']['DELETE'] = 'Delete'; +$lang['en_US']['CommentAdmin']['DELETEALL'] = 'Delete All'; +$lang['en_US']['CommentTableField']['SEARCH'] = 'Search'; +$lang['en_US']['CommentTableField']['FILTER'] = 'Filter'; $lang['en_US']['LeftAndMain']['PERMDEFAULT'] = 'Please choose an authentication method and enter your credentials to access the CMS.'; $lang['en_US']['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'; $lang['en_US']['LeftAndMain']['PERMAGAIN'] = 'You have been logged out of the CMS. If you would like to log in again, enter a username and password below.'; @@ -244,6 +258,11 @@ $lang['en_US']['CMSMain_versions.ss']['NOTPUB'] = 'Not published'; $lang['en_US']['CommentList.ss']['NOCOM'] = 'There are no comments on this page.'; $lang['en_US']['CommentList.ss']['CREATEDW'] = 'Comments are created whenever one of the \'workflow actions\' are undertaken - Publish, Reject, Submit.'; +$lang['en_US']['CommentTableField.ss']['APPROVECOMMENT'] = 'Approve this comment'; +$lang['en_US']['CommentTableField.ss']['MARKASSPAM'] = 'Mark this comment as spam' ; +$lang['en_US']['CommentTableField.ss']['MARKNOSPAM'] = 'Mark this comment as not spam'; +$lang['en_US']['CommentTableField.ss']['DELETEROW'] = 'Delete this row'; +$lang['en_US']['CommentTableField.ss']['NOITEMSFOUND'] = 'No items found'; $lang['en_US']['ImageEditor.ss']['UNTITLED'] = 'Untitled Document'; $lang['en_US']['ImageEditor.ss']['SAVE'] = 'save image'; $lang['en_US']['ImageEditor.ss']['UNDO'] = 'undo'; @@ -328,6 +347,10 @@ $lang['en_US']['CMSMain_right.ss']['CHOOSEPAGE'] = 'Please choose a page from th $lang['en_US']['CMSRight.ss']['ECONTENT'] = 'Edit Content'; $lang['en_US']['CMSRight.ss']['WELCOMETO'] = 'Welcome to'; $lang['en_US']['CMSRight.ss']['CHOOSEPAGE'] = 'Please choose a page from the left.'; +$lang['en_US']['CommentAdmin_left.ss']['COMMENTS'] = 'Comments'; +$lang['en_US']['CommentAdmin_left.ss']['APPROVED'] = 'Approved'; +$lang['en_US']['CommentAdmin_left.ss']['AWAITMODERATION'] = 'Awaiting Moderation'; +$lang['en_US']['CommentAdmin_left.ss']['SPAM'] = 'Spam'; $lang['en_US']['GenericDataAdmin_left.ss']['ADDLISTING'] = 'Add Listing'; $lang['en_US']['GenericDataAdmin_left.ss']['SEARCHLISTINGS'] = 'Search Listings'; $lang['en_US']['GenericDataAdmin_left.ss']['SEARCHRESULTS'] = 'Search Results'; @@ -454,6 +477,7 @@ $lang['en_US']['PageCommentInterface.ss']['COMMENTS'] = 'Comments'; $lang['en_US']['PageCommentInterface.ss']['PREV'] = 'previous'; $lang['en_US']['PageCommentInterface.ss']['NEXT'] = 'next'; $lang['en_US']['PageCommentInterface.ss']['NOCOMMENTSYET'] = 'No one has commented on this page yet.'; +$lang['en_US']['PageCommentInterface.ss']['RSSFEEDCOMMENTS'] = 'RSS feed for comments on this page'; $lang['en_US']['PageCommentInterface_singlecomment.ss']['PBY'] = 'Posted by'; $lang['en_US']['PageCommentInterface_singlecomment.ss']['ISSPAM'] = 'this comment is spam'; $lang['en_US']['PageCommentInterface_singlecomment.ss']['ISNTSPAM'] = 'this comment is not spam'; @@ -469,4 +493,75 @@ $lang['en_US']['ViewArchivedEmail.ss']['HAVEASKED'] = array( ); $lang['en_US']['ViewArchivedEmail.ss']['CANACCESS'] = 'You can access the archived site at this link:'; +// New2 + +$lang['en_US']['MemberTableField.ss']['DISPLAYING'] = 'Displaying'; +$lang['en_US']['MemberTableField.ss']['TO'] = 'to'; +$lang['en_US']['MemberTableField.ss']['OF'] = 'of'; +$lang['en_US']['MemberTableField.ss']['EDITASSET'] = 'Edit file'; +$lang['en_US']['MemberTableField']['FIRSTNAME'] = 'Firstname'; +$lang['en_US']['MemberTableField']['SURNAME'] = 'Surname'; +$lang['en_US']['MemberTableField']['EMAIL'] = 'Email'; + +$lang['en_US']['GenericDataAdmin']['CSVEXPORT'] = 'Export to CSV'; + +$lang['en_US']['SecurityAdmin']['VIEWUSER'] = 'View User'; +$lang['en_US']['CMSMain']['ACCESSTO'] = array('Access to %s in CMS', + PR_MEDIUM, + '%s is a class name'); + +$lang['en_US']['CMSMain']['ASSETADMINNAME'] = 'Assets'; +$lang['en_US']['CMSMain']['BULKLOADERADMINNAME'] = 'Bulk Loader'; +$lang['en_US']['CMSMain']['CMSMAINNAME'] = 'Main CMS'; +$lang['en_US']['CMSMain']['COMMENTADMINNAME'] = 'Comments'; +$lang['en_US']['CMSMain']['GENERICDATAADMINNAME'] = 'Generic Data'; +$lang['en_US']['CMSMain']['LEFTANDMAINNAME'] = 'Left And Main'; +$lang['en_US']['CMSMain']['NEWSLETTERADMINNAME'] = 'Newsletter'; +$lang['en_US']['CMSMain']['REPORTADMINNAME'] = 'Reports'; +$lang['en_US']['CMSMain']['SECURITYADMINNAME'] = 'Security'; +$lang['en_US']['CMSMain']['STATISTICSADMINNAME'] = 'Statistics'; + +$lang['en_US']['CommentAdmin']['APPROVEDCOMMENTS'] = 'Approved Comments'; +$lang['en_US']['CommentAdmin']['WAITINGMODERATION'] = 'Comments Awaiting Moderation'; +$lang['en_US']['CommentAdmin']['SPAM'] = 'Spam'; +$lang['en_US']['CommentAdmin']['AUTHOR'] = 'Author'; +$lang['en_US']['CommentAdmin']['COMMENT'] = 'Comment'; +$lang['en_US']['CommentAdmin']['COMMENTS'] = 'Comments'; +$lang['en_US']['CommentAdmin']['PAGE'] = 'Page'; +$lang['en_US']['CommentAdmin']['CREATED'] = 'Date Posted'; +$lang['en_US']['CommentAdmin']['ACCEPT'] = 'Accept'; +$lang['en_US']['CommentAdmin']['MARKSPAM'] = 'Mark as spam'; +$lang['en_US']['CommentAdmin']['MARKNOTSPAM'] = 'Mark as not spam'; +$lang['en_US']['CommentAdmin']['DELETE'] = 'Delete'; +$lang['en_US']['CommentAdmin']['DELETEALL'] = 'Delete All'; +$lang['en_US']['CommentAdmin']['NAME'] = 'Name'; +$lang['en_US']['CommentAdmin']['EDIT'] = 'Edit'; + +$lang['en_US']['CommentTableField']['SEARCH'] = 'Search'; +$lang['en_US']['CommentTableField']['FILTER'] = 'Filter'; + +$lang['en_US']['CommentTableField.ss']['DISPLAYING'] = 'Displaying'; +$lang['en_US']['CommentTableField.ss']['TO'] = 'to'; +$lang['en_US']['CommentTableField.ss']['OF'] = 'of'; +$lang['en_US']['CommentTableField.ss']['NOITEMSFOUND'] = 'No items found'; +$lang['en_US']['CommentTableField.ss']['EDIT'] = 'Edit'; + +$lang['en_US']['CommentTableField.ss']['APPROVE'] = 'Approve this comment'; +$lang['en_US']['CommentTableField.ss']['MARKASSPAM'] = 'Mark this comment as spam'; +$lang['en_US']['CommentTableField.ss']['MARKASNOTSPAM'] = 'Mark this comment as not spam'; +$lang['en_US']['CommentTableField.ss']['DELETEROW'] = 'Delete this row'; + +$lang['en_US']['CommentAdmin_left.ss']['COMMENTS'] = 'Comments'; +$lang['en_US']['CommentAdmin_left.ss']['APPROVED'] = 'Approved'; +$lang['en_US']['CommentAdmin_left.ss']['WAITINGMODERATION'] = 'Awaiting Moderation'; +$lang['en_US']['CommentAdmin_left.ss']['SPAM'] = 'Spam'; + +$lang['en_US']['StatisticsAdmin']['SELECTREPORT'] = 'Select a report type from the left for a detailed look at site statistics'; + +$lang['en_US']['StatisticsAdmin_left.ss']['STATISTICS'] = 'Statistics'; +$lang['en_US']['StatisticsAdmin_left.ss']['VIEWS'] = 'Views'; +$lang['en_US']['StatisticsAdmin_left.ss']['TRENDS'] = 'Trends'; +$lang['en_US']['StatisticsAdmin_left.ss']['OS'] = 'Operating Systems'; +$lang['en_US']['StatisticsAdmin_left.ss']['BROWSERS'] = 'Browsers'; + ?> diff --git a/lang/es_ES.php b/lang/es_ES.php index dc71e137..f4b94578 100644 --- a/lang/es_ES.php +++ b/lang/es_ES.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['es_ES'] = $lang['en_US']; +if(array_key_exists('es_ES', $lang) && is_array($lang['es_ES'])) { + $lang['es_ES'] = array_merge($lang['en_US'], $lang['es_ES']); +} else { + $lang['es_ES'] = $lang['en_US']; +} $lang['es_ES']['AssetAdmin']['CHOOSEFILE'] = 'Seleccione archivo'; $lang['es_ES']['AssetAdmin']['CONTENTMODBY'] = 'Contenido modificable por'; diff --git a/lang/fr_FR.php b/lang/fr_FR.php index 7e43e1ea..b157bec9 100644 --- a/lang/fr_FR.php +++ b/lang/fr_FR.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['fr_FR'] = $lang['en_US']; +if(array_key_exists('fr_FR', $lang) && is_array($lang['fr_FR'])) { + $lang['fr_FR'] = array_merge($lang['en_US'], $lang['fr_FR']); +} else { + $lang['fr_FR'] = $lang['en_US']; +} $lang['fr_FR']['AssetAdmin']['CHOOSEFILE'] = 'Choisir un fichier'; $lang['fr_FR']['AssetAdmin']['CONTENTMODBY'] = 'Contenu modifiable par'; @@ -180,7 +184,7 @@ $lang['fr_FR']['LeftAndMain']['CHANGEDURL'] = 'URL modifiée en \'%s\''; $lang['fr_FR']['LeftAndMain']['COMMENTS'] = 'Commentaires'; $lang['fr_FR']['LeftAndMain']['FILESIMAGES'] = 'Fichiers & Images'; $lang['fr_FR']['LeftAndMain']['HELP'] = 'Aide'; -$lang['fr_FR']['LeftAndMain']['NEWSLETTERS'] = 'News-Lettres'; +$lang['fr_FR']['LeftAndMain']['NEWSLETTERS'] = 'Newsletters'; $lang['fr_FR']['LeftAndMain']['PAGETYPE'] = 'Type de page :'; $lang['fr_FR']['LeftAndMain']['PERMAGAIN'] = 'Vous avez été déconnecté du CMS. Si vous voulez vous reconnecter, entrez un nom d\'utilisateur et un mot de passe ci-dessous.'; $lang['fr_FR']['LeftAndMain']['PERMALREADY'] = 'Désolé, mais vous ne pouvez pas accéder cette partie du CMS. Si vous voulez changer d\'identification, faites le ci-dessous'; @@ -288,6 +292,7 @@ $lang['fr_FR']['Newsletter_SentStatusReport.ss']['SENDBOUNCED'] = 'Envois aux De $lang['fr_FR']['Newsletter_SentStatusReport.ss']['SENDFAIL'] = 'Envois aux Destinataires Suivants Echoué'; $lang['fr_FR']['Newsletter_SentStatusReport.ss']['SENTOK'] = 'L\'Envoi aux Destinataires Suivants a été Réussi'; $lang['fr_FR']['Newsletter_SentStatusReport.ss']['SN'] = 'Nom de famille'; +$lang['fr_FR']['PageComment']['COMMENTBY'] = 'Commentaire de \'%s\' sur %s'; $lang['fr_FR']['PageCommentInterface.ss']['COMMENTS'] = 'Commentaires'; $lang['fr_FR']['PageCommentInterface.ss']['NEXT'] = 'suivant'; $lang['fr_FR']['PageCommentInterface.ss']['NOCOMMENTSYET'] = 'Personne n\'a encore commenté cette page.'; diff --git a/lang/hr_HR.php b/lang/hr_HR.php index b4f41119..c8415d10 100644 --- a/lang/hr_HR.php +++ b/lang/hr_HR.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['hr_HR'] = $lang['en_US']; +if(array_key_exists('hr_HR', $lang) && is_array($lang['hr_HR'])) { + $lang['hr_HR'] = array_merge($lang['en_US'], $lang['hr_HR']); +} else { + $lang['hr_HR'] = $lang['en_US']; +} $lang['hr_HR']['AssetAdmin']['CHOOSEFILE'] = 'Odaberite datoteku'; $lang['hr_HR']['AssetAdmin']['CONTENTMODBY'] = 'Sadržaj može mijenjati'; @@ -259,7 +263,7 @@ $lang['hr_HR']['NewsletterAdmin_right.ss']['ONLYNOT'] = 'Pošalji samo korisnici $lang['hr_HR']['NewsletterAdmin_right.ss']['SEND'] = 'Pošalji newsletter'; $lang['hr_HR']['NewsletterAdmin_right.ss']['SENDTEST'] = 'Pošalji test na'; $lang['hr_HR']['NewsletterAdmin_right.ss']['WELCOME1'] = 'Dobrodošli na'; -$lang['hr_HR']['NewsletterAdmin_right.ss']['WELCOME2'] = 'administraciju newslettera. Odaberite direktorij s lijeve strane. +$lang['hr_HR']['NewsletterAdmin_right.ss']['WELCOME2'] = 'administraciju newslettera. Odaberite direktorij s lijeve strane. '; $lang['hr_HR']['NewsletterAdmin_SiteTree.ss']['DRAFTS'] = 'Privremeni'; $lang['hr_HR']['NewsletterAdmin_SiteTree.ss']['MAILLIST'] = 'Mailing liste'; @@ -290,6 +294,7 @@ $lang['hr_HR']['Newsletter_SentStatusReport.ss']['SENDBOUNCED'] = 'Slanje slijed $lang['hr_HR']['Newsletter_SentStatusReport.ss']['SENDFAIL'] = 'Slanje slijedećim primateljima nije uspjelo'; $lang['hr_HR']['Newsletter_SentStatusReport.ss']['SENTOK'] = 'Slanje slijedećim primateljima je uspješno'; $lang['hr_HR']['Newsletter_SentStatusReport.ss']['SN'] = 'Prezime'; +$lang['hr_HR']['PageComment']['COMMENTBY'] = 'Komentar od \'%s\' na %s'; $lang['hr_HR']['PageCommentInterface.ss']['COMMENTS'] = 'Komentari'; $lang['hr_HR']['PageCommentInterface.ss']['NEXT'] = 'slijedeći'; $lang['hr_HR']['PageCommentInterface.ss']['NOCOMMENTSYET'] = 'Na ovoj stranici nema komentara'; diff --git a/lang/hu_HU.php b/lang/hu_HU.php index c28af92b..7009c6e9 100644 --- a/lang/hu_HU.php +++ b/lang/hu_HU.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['hu_HU'] = $lang['en_US']; +if(array_key_exists('hu_HU', $lang) && is_array($lang['hu_HU'])) { + $lang['hu_HU'] = array_merge($lang['en_US'], $lang['hu_HU']); +} else { + $lang['hu_HU'] = $lang['en_US']; +} $lang['hu_HU']['AssetAdmin']['CHOOSEFILE'] = 'Válassz fájlt'; $lang['hu_HU']['AssetAdmin']['CONTENTMODBY'] = 'A tartalmat módosíthatja'; diff --git a/lang/it_IT.php b/lang/it_IT.php index 1cc588b3..b2900b5c 100644 --- a/lang/it_IT.php +++ b/lang/it_IT.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['it_IT'] = $lang['en_US']; +if(array_key_exists('it_IT', $lang) && is_array($lang['it_IT'])) { + $lang['it_IT'] = array_merge($lang['en_US'], $lang['it_IT']); +} else { + $lang['it_IT'] = $lang['en_US']; +} $lang['it_IT']['AssetAdmin']['CHOOSEFILE'] = 'Scegli file'; $lang['it_IT']['AssetAdmin']['CONTENTMODBY'] = 'Contenuto modificabile da'; diff --git a/lang/nl_NL.php b/lang/nl_NL.php index 1b745b9a..90427b9a 100644 --- a/lang/nl_NL.php +++ b/lang/nl_NL.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['nl_NL'] = $lang['en_US']; +if(array_key_exists('nl_NL', $lang) && is_array($lang['nl_NL'])) { + $lang['nl_NL'] = array_merge($lang['en_US'], $lang['nl_NL']); +} else { + $lang['nl_NL'] = $lang['en_US']; +} $lang['nl_NL']['AssetAdmin']['CHOOSEFILE'] = 'Kies een bestand '; $lang['nl_NL']['AssetAdmin']['CONTENTMODBY'] = 'Inhoud bewerkbaar door'; diff --git a/lang/pl_PL.php b/lang/pl_PL.php index 12527d7d..02fd9fa8 100644 --- a/lang/pl_PL.php +++ b/lang/pl_PL.php @@ -4,13 +4,17 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['pl_PL'] = $lang['en_US']; +if(array_key_exists('pl_PL', $lang) && is_array($lang['pl_PL'])) { + $lang['pl_PL'] = array_merge($lang['en_US'], $lang['pl_PL']); +} else { + $lang['pl_PL'] = $lang['en_US']; +} $lang['pl_PL']['AssetAdmin']['CHOOSEFILE'] = 'Wybierz plik'; -$lang['pl_PL']['AssetAdmin']['CONTENTMODBY'] = 'Zawartość modyfikowana przez'; -$lang['pl_PL']['AssetAdmin']['CONTENTUSABLEBY'] = 'Zawartość używana przez '; -$lang['pl_PL']['AssetAdmin']['CREATED'] = 'Pierwsze wgrany'; -$lang['pl_PL']['AssetAdmin']['DELETEDX'] = 'Usunięto %s pliki. %s'; +$lang['pl_PL']['AssetAdmin']['CONTENTMODBY'] = 'Zawartość modyfikowalna przez'; +$lang['pl_PL']['AssetAdmin']['CONTENTUSABLEBY'] = 'Zawartość używalna przez '; +$lang['pl_PL']['AssetAdmin']['CREATED'] = 'Wgrany jako pierwszy'; +$lang['pl_PL']['AssetAdmin']['DELETEDX'] = 'Usunięto %s plików. %s'; $lang['pl_PL']['AssetAdmin']['DELETEUNUSEDTHUMBNAILS'] = 'Usuń nieużywane miniatury'; $lang['pl_PL']['AssetAdmin']['DELSELECTED'] = 'Usuń zaznaczone pliki'; $lang['pl_PL']['AssetAdmin']['DETAILSTAB'] = 'Detale'; @@ -18,31 +22,32 @@ $lang['pl_PL']['AssetAdmin']['FILENAME'] = 'Nazwa pliku'; $lang['pl_PL']['AssetAdmin']['FILESREADY'] = 'Pliki gotowe do wgrania'; $lang['pl_PL']['AssetAdmin']['FILESTAB'] = 'Pliki'; $lang['pl_PL']['AssetAdmin']['LASTEDITED'] = 'Ostatni nadpisany '; -$lang['pl_PL']['AssetAdmin']['MOVEDX'] = 'Przenieś %s pliki'; +$lang['pl_PL']['AssetAdmin']['MOVEDX'] = 'Przeniesiono %s plików'; $lang['pl_PL']['AssetAdmin']['NEWFOLDER'] = 'Nowy Folder'; $lang['pl_PL']['AssetAdmin']['NOTHINGTOUPLOAD'] = 'Nie ma nic do wgrania'; -$lang['pl_PL']['AssetAdmin']['NOWBROKEN'] = 'Te strony mają przerwane linki'; +$lang['pl_PL']['AssetAdmin']['NOWBROKEN'] = 'Te strony mają zepsute linki'; $lang['pl_PL']['AssetAdmin']['ONLYADMINS'] = 'Tylko administrator może wgrać %s pliki.'; $lang['pl_PL']['AssetAdmin']['OWNER'] = 'Właściciel'; $lang['pl_PL']['AssetAdmin']['SAVEDFILE'] = 'Zapisano plik %s'; $lang['pl_PL']['AssetAdmin']['SAVEFOLDERNAME'] = 'Zapisz nazwę folderu'; -$lang['pl_PL']['AssetAdmin']['TITLE'] = 'Tytul'; +$lang['pl_PL']['AssetAdmin']['TITLE'] = 'Tytuł'; $lang['pl_PL']['AssetAdmin']['TOOLARGE'] = '5S jest za duży (%s). Pliki tego typu nie mogą być większe niż %s.'; $lang['pl_PL']['AssetAdmin']['TYPE'] = 'Rodzaj'; $lang['pl_PL']['AssetAdmin']['UNUSEDFILESTAB'] = 'Nieużywane pliki'; $lang['pl_PL']['AssetAdmin']['UNUSEDFILESTITLE'] = 'Nieużywane pliki'; $lang['pl_PL']['AssetAdmin']['UNUSEDTHUMBNAILSTITLE'] = 'Nieużywane miniatury'; $lang['pl_PL']['AssetAdmin']['UPLOAD'] = 'Wgraj pliki z listy poniżej'; -$lang['pl_PL']['AssetAdmin']['UPLOADEDX'] = 'Wgrano %s pliki'; +$lang['pl_PL']['AssetAdmin']['UPLOADEDX'] = 'Wgrano pliki (%s)'; $lang['pl_PL']['AssetAdmin']['UPLOADTAB'] = 'Wgraj'; -$lang['pl_PL']['AssetAdmin']['VIEWEDITASSET'] = 'Zobacz/Edytuj stronę'; +$lang['pl_PL']['AssetAdmin']['VIEWASSET'] = 'Zobacz zawartość'; +$lang['pl_PL']['AssetAdmin']['VIEWEDITASSET'] = 'Zobacz/Edytuj zawartość'; $lang['pl_PL']['AssetAdmin_left.ss']['CREATE'] = 'Stwórz'; $lang['pl_PL']['AssetAdmin_left.ss']['DELETE'] = 'Usuń ...'; $lang['pl_PL']['AssetAdmin_left.ss']['DELFOLDERS'] = 'Usuń zaznaczone foldery'; $lang['pl_PL']['AssetAdmin_left.ss']['FOLDERS'] = 'Foldery'; $lang['pl_PL']['AssetAdmin_left.ss']['GO'] = 'Idź'; $lang['pl_PL']['AssetAdmin_left.ss']['SELECTTODEL'] = 'Wybierz foldery, które chcesz usunąć i kliknij przycisk poniżej'; -$lang['pl_PL']['AssetAdmin_left.ss']['TOREORG'] = 'Aby zreorganizować twoje foldery, przenieś na zewnątrz wybrane'; +$lang['pl_PL']['AssetAdmin_left.ss']['TOREORG'] = 'Aby zreorganizować twoje foldery, przenieś je w wybrane miejsca'; $lang['pl_PL']['AssetAdmin_right.ss']['CHOOSEPAGE'] = 'Proszę wybrać stronę po lewej'; $lang['pl_PL']['AssetAdmin_right.ss']['WELCOME'] = 'Witamy w '; $lang['pl_PL']['AssetAdmin_uploadiframe.ss']['PERMFAILED'] = 'Nie masz uprawnień do wgrania plików do tego folderu '; @@ -50,22 +55,22 @@ $lang['pl_PL']['AssetTableField']['CREATED'] = 'Pierwszy wgrany'; $lang['pl_PL']['AssetTableField']['DIM'] = 'Rozmiar'; $lang['pl_PL']['AssetTableField']['FILENAME'] = 'Nazwa pliku'; $lang['pl_PL']['AssetTableField']['LASTEDIT'] = 'Ostatnia zmiana'; -$lang['pl_PL']['AssetTableField']['NOLINKS'] = 'Ten plik jest zlinkowany do innej strony'; +$lang['pl_PL']['AssetTableField']['NOLINKS'] = 'Do tego pliku nie prowadzą żadne odnośniki.'; $lang['pl_PL']['AssetTableField']['OWNER'] = 'Właściciel'; -$lang['pl_PL']['AssetTableField']['PAGESLINKING'] = 'Link kolejnej strony do tego pliku:'; +$lang['pl_PL']['AssetTableField']['PAGESLINKING'] = 'Następujące strony zawierają linki do tej strony:'; $lang['pl_PL']['AssetTableField']['SIZE'] = 'Rozmiar'; $lang['pl_PL']['AssetTableField.ss']['DELFILE'] = 'Usuń ten plik'; $lang['pl_PL']['AssetTableField.ss']['DRAGTOFOLDER'] = 'Przenieś folder do pliku po lewej'; $lang['pl_PL']['AssetTableField']['TITLE'] = 'Tytuł'; $lang['pl_PL']['AssetTableField']['TYPE'] = 'Rodzaj'; $lang['pl_PL']['BulkLoaderAdmin']['CONFIRMBULK'] = 'Potwierdź dużą ilość załadowanych'; -$lang['pl_PL']['BulkLoaderAdmin']['CSVFILE'] = 'CSV plik'; -$lang['pl_PL']['BulkLoaderAdmin']['DATALOADED'] = 'Te dane zostaną załadowane w'; +$lang['pl_PL']['BulkLoaderAdmin']['CSVFILE'] = 'Plik CSV'; +$lang['pl_PL']['BulkLoaderAdmin']['DATALOADED'] = 'Te dane zostały załadowane w'; $lang['pl_PL']['BulkLoaderAdmin']['PRESSCNT'] = 'Naciśnij kontynuuj aby wgrać dane do'; $lang['pl_PL']['BulkLoaderAdmin']['PREVIEW'] = 'Podgląd'; $lang['pl_PL']['BulkLoaderAdmin_left.ss']['BATCHEF'] = 'Otwórz plik funkcji'; $lang['pl_PL']['BulkLoaderAdmin_left.ss']['FUNCTIONS'] = 'Funkcje'; -$lang['pl_PL']['BulkLoaderAdmin_preview.ss']['RES'] = 'Rezultaty'; +$lang['pl_PL']['BulkLoaderAdmin_preview.ss']['RES'] = 'Wyniki'; $lang['pl_PL']['CMSLeft.ss']['DELPAGE'] = 'Usuń strony ...'; $lang['pl_PL']['CMSLeft.ss']['DELPAGES'] = 'Usuń zaznaczone strony'; $lang['pl_PL']['CMSLeft.ss']['GO'] = 'Idż'; @@ -76,15 +81,15 @@ $lang['pl_PL']['CMSMain']['CANCEL'] = 'Anuluj'; $lang['pl_PL']['CMSMain']['CHOOSEREPORT'] = '(Wybierz raport)'; $lang['pl_PL']['CMSMain']['COMPARINGV'] = 'Porównaj wersję #%d i #%d'; $lang['pl_PL']['CMSMain']['COPYPUBTOSTAGE'] = 'Naprawdę chcesz skopiować publikowaną treść tej strony?'; -$lang['pl_PL']['CMSMain']['DELETEFP'] = 'usuń z opublikowanych stron'; +$lang['pl_PL']['CMSMain']['DELETEFP'] = 'usuń z opublikowanej strony'; $lang['pl_PL']['CMSMain']['EMAIL'] = 'E-mail'; $lang['pl_PL']['CMSMain']['GO'] = 'Idź'; $lang['pl_PL']['CMSMain']['METADESCOPT'] = 'Opis'; -$lang['pl_PL']['CMSMain']['METAKEYWORDSOPT'] = 'Klucz'; +$lang['pl_PL']['CMSMain']['METAKEYWORDSOPT'] = 'Słowa kluczowe'; $lang['pl_PL']['CMSMain']['NEW'] = 'Nowy'; $lang['pl_PL']['CMSMain']['NOCONTENT'] = 'brak zawartości'; $lang['pl_PL']['CMSMain']['NOTHINGASSIGNED'] = 'Nie masz nic przydzielonego'; -$lang['pl_PL']['CMSMain']['NOWAITINGON'] = 'Nie czekaj na nikogo'; +$lang['pl_PL']['CMSMain']['NOWAITINGON'] = 'Obecnie nie oczekujesz na nikogo.'; $lang['pl_PL']['CMSMain']['NOWBROKEN'] = 'Poniższe strony mają nieprawidłowe linki:'; $lang['pl_PL']['CMSMain']['NOWBROKEN2'] = 'Właściciele zostaną powiadomieni mailem i naprawią strony'; $lang['pl_PL']['CMSMain']['OK'] = 'OK'; @@ -95,32 +100,33 @@ $lang['pl_PL']['CMSMain']['PAGESDEL'] = 'Usunięto strony %d'; $lang['pl_PL']['CMSMain']['PAGESPUB'] = '%d opublikowane strony'; $lang['pl_PL']['CMSMain']['PAGETYPEOPT'] = 'Typ strony'; $lang['pl_PL']['CMSMain']['PRINT'] = 'Drukuj'; +$lang['pl_PL']['CMSMain']['PUBALLCONFIRM'] = 'Opublikuj każdą stronę witryny, kopiując zawartość z brudnopisu'; $lang['pl_PL']['CMSMain']['PUBALLFUN'] = 'Funkcja "Opublikuj wszystkie"'; -$lang['pl_PL']['CMSMain']['PUBALLFUN2'] = 'Naciśnięcie przycisku jest równoznaczne z naciśnięciem "publikuj" każdej strony. Używaj tego gdy zamierzasz edytować całą zawartość, np. kiedy strona jest budowana po raz pierwszy'; -$lang['pl_PL']['CMSMain']['PUBPAGES'] = 'Gotowe: Opublikowane %d strony'; +$lang['pl_PL']['CMSMain']['PUBALLFUN2'] = 'Naciśnięcie przycisku jest równoznaczne z naciśnięciem "publikuj" każdej strony. Używaj tego gdy zamierzasz edytować całą zawartość, np. kiedy strona jest tworzona po raz pierwszy'; +$lang['pl_PL']['CMSMain']['PUBPAGES'] = 'Gotowe: Opublikowano %d strony'; $lang['pl_PL']['CMSMain']['REMOVEDFD'] = 'Usuń ze strony roboczej'; -$lang['pl_PL']['CMSMain']['REMOVEDPAGE'] = 'Zmień \'%s\' z publikowanej wersji'; +$lang['pl_PL']['CMSMain']['REMOVEDPAGE'] = 'Usunięto \'%s\' z opublikowanej strony'; $lang['pl_PL']['CMSMain']['RESTORE'] = 'Odzyskaj'; $lang['pl_PL']['CMSMain']['RESTORED'] = 'Odzyskiwanie\'%s\' udane'; -$lang['pl_PL']['CMSMain']['ROLLBACK'] = 'Wróć do wersji.'; +$lang['pl_PL']['CMSMain']['ROLLBACK'] = 'Wróć do tej wersji.'; $lang['pl_PL']['CMSMain']['ROLLEDBACKPUB'] = 'Poprzednia opublikowana wersja. Nowy numer wersji to #%d'; $lang['pl_PL']['CMSMain']['ROLLEDBACKVERSION'] = 'Poprzednia wersja to #%d. Nowy numer wersji to #%d'; $lang['pl_PL']['CMSMain']['SAVE'] = 'Zapisz'; -$lang['pl_PL']['CMSMain']['SENTTO'] = 'Wyślij do %s %s po akceptację'; -$lang['pl_PL']['CMSMain']['STATUSOPT'] = 'Stauts'; +$lang['pl_PL']['CMSMain']['SENTTO'] = 'Wysłano do %s %s po akceptację'; +$lang['pl_PL']['CMSMain']['STATUSOPT'] = 'Status'; $lang['pl_PL']['CMSMain']['TOTALPAGES'] = 'W sumie stron:'; $lang['pl_PL']['CMSMain']['VERSIONSNOPAGE'] = 'Nie można znaleźć strony #%d'; -$lang['pl_PL']['CMSMain']['VIEWING'] = 'Widzisz wersję #%d, stworzoną %s'; -$lang['pl_PL']['CMSMain']['VISITRESTORE'] = 'zobacz zrekonstruowane/(ID)'; +$lang['pl_PL']['CMSMain']['VIEWING'] = 'Oglądasz wersję #%d, stworzoną %s'; +$lang['pl_PL']['CMSMain']['VISITRESTORE'] = 'zobacz restorepage/(ID)'; $lang['pl_PL']['CMSMain']['WAITINGON'] = 'Poczekaj na innych ludzi pracujących nad tymi % stronami'; $lang['pl_PL']['CMSMain']['WORKTODO'] = 'Pracujesz na tych % stronach'; -$lang['pl_PL']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Dodałeś do oczekujących stron i nie opublikowałeś jeszcze'; +$lang['pl_PL']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Dodałeś do oczekujących i jeszcze nie opublikowanych stron'; $lang['pl_PL']['CMSMain_left.ss']['ADDSEARCHCRITERIA'] = 'Dodaj kryterium ...'; $lang['pl_PL']['CMSMain_left.ss']['BATCHACTIONS'] = 'Akcja pliku'; $lang['pl_PL']['CMSMain_left.ss']['CHANGED'] = 'zmienione'; $lang['pl_PL']['CMSMain_left.ss']['CLOSEBOX'] = 'kliknij aby zamknąć'; $lang['pl_PL']['CMSMain_left.ss']['COMMENTS'] = 'Komentarze'; -$lang['pl_PL']['CMSMain_left.ss']['COMPAREMODE'] = 'Porównaj tryb (kliknij 2 razy poniżej)'; +$lang['pl_PL']['CMSMain_left.ss']['COMPAREMODE'] = 'Tryb porównania (wybierz 2 poniżej)'; $lang['pl_PL']['CMSMain_left.ss']['CREATE'] = 'Stwórz'; $lang['pl_PL']['CMSMain_left.ss']['DEL'] = 'usunięte'; $lang['pl_PL']['CMSMain_left.ss']['DELETECONFIRM'] = 'Usuń zaznaczone strony'; @@ -132,11 +138,12 @@ $lang['pl_PL']['CMSMain_left.ss']['GO'] = 'idź'; $lang['pl_PL']['CMSMain_left.ss']['KEY'] = 'Klucz:'; $lang['pl_PL']['CMSMain_left.ss']['NEW'] = 'nowy'; $lang['pl_PL']['CMSMain_left.ss']['OPENBOX'] = 'kliknij aby otworzyć'; -$lang['pl_PL']['CMSMain_left.ss']['PAGEVERSIONH'] = 'Wersja historyczna strony'; +$lang['pl_PL']['CMSMain_left.ss']['PAGEVERSIONH'] = 'Wersja archiwalna strony'; $lang['pl_PL']['CMSMain_left.ss']['PUBLISHCONFIRM'] = 'Publikuj zaznaczone strony'; $lang['pl_PL']['CMSMain_left.ss']['SEARCH'] = 'Szukaj'; $lang['pl_PL']['CMSMain_left.ss']['SEARCHTITLE'] = 'Szukaj przez URL, Tytuł, Tytuł Menu i Zawartość'; $lang['pl_PL']['CMSMain_left.ss']['SELECTPAGESACTIONS'] = 'Zaznacz strony które chcesz zmienić i kliknij polecenie: '; +$lang['pl_PL']['CMSMain_left.ss']['SELECTPAGESDUP'] = 'Wybierz strony, które chcesz zduplikować, to, czy ich podstrony powinny zostać uwzględnione oraz gdzie chcesz umieścić duplikaty'; $lang['pl_PL']['CMSMain_left.ss']['SHOWONLYCHANGED'] = 'Pokaż tylko zmienione strony'; $lang['pl_PL']['CMSMain_left.ss']['SHOWUNPUB'] = 'pokaż nieopublikowane wersje'; $lang['pl_PL']['CMSMain_left.ss']['SITECONTENT TITLE'] = 'Zawartość i struktura strony'; @@ -153,13 +160,13 @@ $lang['pl_PL']['CMSMain_right.ss']['SUBMIT'] = 'przedstaw do akceptacji'; $lang['pl_PL']['CMSMain_right.ss']['WELCOMETO'] = 'Witamy w '; $lang['pl_PL']['CMSMain_versions.ss']['AUTHOR'] = 'Autor'; $lang['pl_PL']['CMSMain_versions.ss']['NOTPUB'] = 'Nie opublikowany'; -$lang['pl_PL']['CMSMain_versions.ss']['PUBR'] = 'Opublikowany'; +$lang['pl_PL']['CMSMain_versions.ss']['PUBR'] = 'Publikujący'; $lang['pl_PL']['CMSMain_versions.ss']['UNKNOWN'] = 'Nieznany'; $lang['pl_PL']['CMSMain_versions.ss']['WHEN'] = 'Kiedy'; $lang['pl_PL']['CMSRight.ss']['CHOOSEPAGE'] = 'Proszę wybrać stronę po lewej'; $lang['pl_PL']['CMSRight.ss']['ECONTENT'] = 'Edytuj zawartość'; $lang['pl_PL']['CMSRight.ss']['WELCOMETO'] = 'Witamy w'; -$lang['pl_PL']['CommentList.ss']['CREATEDW'] = 'Komentarze są tworzone każdorazowo gdy \'przepływ zadań\' jest przedsiębrane - Opublikuj, Odrzuć, Zatwierdź'; +$lang['pl_PL']['CommentList.ss']['CREATEDW'] = 'Komentarze są tworzone za każdym razem, gdy jest wykonywane jedno z poleceń - Opublikuj, Odrzuć, Zatwierdź'; $lang['pl_PL']['CommentList.ss']['NOCOM'] = 'Nie ma komentarzy na tej stronie'; $lang['pl_PL']['GenericDataAdmin_left.ss']['ADDLISTING'] = 'Dodaj listę'; $lang['pl_PL']['GenericDataAdmin_left.ss']['SEARCHLISTINGS'] = 'Szukaj listy'; @@ -177,30 +184,30 @@ $lang['pl_PL']['LeftAndMain']['CHANGEDURL'] = 'Zmieniony URL to \'%s\''; $lang['pl_PL']['LeftAndMain']['COMMENTS'] = 'Komentarze'; $lang['pl_PL']['LeftAndMain']['FILESIMAGES'] = 'Pliki i Obrazy'; $lang['pl_PL']['LeftAndMain']['HELP'] = 'Pomoc'; -$lang['pl_PL']['LeftAndMain']['NEWSLETTERS'] = 'Newsletter'; +$lang['pl_PL']['LeftAndMain']['NEWSLETTERS'] = 'Newslettery'; $lang['pl_PL']['LeftAndMain']['PAGETYPE'] = 'Rodzaj strony:'; -$lang['pl_PL']['LeftAndMain']['PERMAGAIN'] = 'Zostałeś zalogowany do CMS. Jeśli chcesz zalogować się ponownie, wpisz username i hasło poniżej'; -$lang['pl_PL']['LeftAndMain']['PERMALREADY'] = 'Przepraszam, ale nie masz dostępu do tej części CMS. Jeśli chcesz zaloguj się jako inny użytkownik poniżej.'; -$lang['pl_PL']['LeftAndMain']['PERMDEFAULT'] = 'Proszę wybrać metodę potwierdzenia autentyczności i uruchomić referencje dostępu do CMS.'; -$lang['pl_PL']['LeftAndMain']['PLEASESAVE'] = 'Proszę zapisać stronę: Ta strona nie może być nadpisana ponieważ została już zapisana.'; +$lang['pl_PL']['LeftAndMain']['PERMAGAIN'] = 'Zostałeś wylogowany z CMSa. Jeśli chcesz zalogować się ponownie, wpisz username i hasło poniżej'; +$lang['pl_PL']['LeftAndMain']['PERMALREADY'] = 'Niestety nie masz dostępu do tej części CMS. Jeśli chcesz zaloguj się jako inny użytkownik poniżej.'; +$lang['pl_PL']['LeftAndMain']['PERMDEFAULT'] = 'Proszę wybrać metodę identyfikacji i wpisać swoje dane, aby uruchomić CMSa.'; +$lang['pl_PL']['LeftAndMain']['PLEASESAVE'] = 'Proszę zapisać stronę: Ta strona nie może być nadpisana ponieważ nie została jeszcze zapisana.'; $lang['pl_PL']['LeftAndMain']['REPORTS'] = 'Raporty'; -$lang['pl_PL']['LeftAndMain']['REQUESTERROR'] = 'Błąd żądania'; +$lang['pl_PL']['LeftAndMain']['REQUESTERROR'] = 'Błąd zapytania'; $lang['pl_PL']['LeftAndMain']['SAVED'] = 'zapisane'; $lang['pl_PL']['LeftAndMain']['SAVEDUP'] = 'Zapisane'; $lang['pl_PL']['LeftAndMain']['SECURITY'] = 'Bezpieczeństwo'; $lang['pl_PL']['LeftAndMain']['SITECONTENT'] = 'Zawartość strony'; $lang['pl_PL']['LeftAndMain']['SITECONTENTLEFT'] = 'Zawartość strony'; $lang['pl_PL']['LeftAndMain.ss']['APPVERSIONTEXT1'] = 'To jest'; -$lang['pl_PL']['LeftAndMain.ss']['APPVERSIONTEXT2'] = 'wersja, której aktualnie używasz, technicznie jest gałęzią CVS'; +$lang['pl_PL']['LeftAndMain.ss']['APPVERSIONTEXT2'] = 'wersja, której aktualnie używasz, jest gałęzią CVS'; $lang['pl_PL']['LeftAndMain.ss']['ARCHS'] = 'Archiwalne strony'; $lang['pl_PL']['LeftAndMain.ss']['DRAFTS'] = 'Wersje robocze'; $lang['pl_PL']['LeftAndMain.ss']['EDIT'] = 'Edytuj'; $lang['pl_PL']['LeftAndMain.ss']['EDITPROFILE'] = 'Profil'; -$lang['pl_PL']['LeftAndMain.ss']['LOADING'] = 'Wczytuję ...'; +$lang['pl_PL']['LeftAndMain.ss']['LOADING'] = 'Wczytywanie...'; $lang['pl_PL']['LeftAndMain.ss']['LOGGEDINAS'] = 'Zalogowany jako'; $lang['pl_PL']['LeftAndMain.ss']['LOGOUT'] = 'Wyloguj'; $lang['pl_PL']['LeftAndMain.ss']['PUBLIS'] = 'Opublikowane strony'; -$lang['pl_PL']['LeftAndMain.ss']['SSWEB'] = 'Silverstripe Website'; +$lang['pl_PL']['LeftAndMain.ss']['SSWEB'] = 'Strona Silverstripe'; $lang['pl_PL']['LeftAndMain.ss']['SWITCHTO'] = 'Przełącz na:'; $lang['pl_PL']['LeftAndMain.ss']['VIEWPAGEIN'] = 'Widok strony:'; $lang['pl_PL']['LeftAndMain']['STATISTICS'] = 'Statystyki'; @@ -208,16 +215,16 @@ $lang['pl_PL']['LeftAndMain']['STATUSTO'] = 'Status zmieniony na \'%s\''; $lang['pl_PL']['LeftAndMain']['TREESITECONTENT'] = 'Zawartość strony'; $lang['pl_PL']['MemberList']['ADD'] = 'Dodaj'; $lang['pl_PL']['MemberList']['EMAIL'] = 'Email'; -$lang['pl_PL']['MemberList']['FILTERBYG'] = 'Szukaj w grupach'; -$lang['pl_PL']['MemberList']['FN'] = 'Pierwsza kategoria'; +$lang['pl_PL']['MemberList']['FILTERBYG'] = 'Szukaj według grup'; +$lang['pl_PL']['MemberList']['FN'] = 'Imię'; $lang['pl_PL']['MemberList']['PASSWD'] = 'Hasło'; $lang['pl_PL']['MemberList']['SEARCH'] = 'Szukaj'; -$lang['pl_PL']['MemberList']['SN'] = 'Podkategoria'; +$lang['pl_PL']['MemberList']['SN'] = 'Nazwisko'; $lang['pl_PL']['MemberList.ss']['FILTER'] = 'Filtr'; -$lang['pl_PL']['MemberList_Table.ss']['EMAIL'] = 'Email adres'; -$lang['pl_PL']['MemberList_Table.ss']['FN'] = 'Pierwsza kategoria'; +$lang['pl_PL']['MemberList_Table.ss']['EMAIL'] = 'Adres e-mail'; +$lang['pl_PL']['MemberList_Table.ss']['FN'] = 'Imię'; $lang['pl_PL']['MemberList_Table.ss']['PASSWD'] = 'Hasło'; -$lang['pl_PL']['MemberList_Table.ss']['SN'] = 'Podkategoria'; +$lang['pl_PL']['MemberList_Table.ss']['SN'] = 'Nazwisko'; $lang['pl_PL']['MemberTableField']['ADD'] = 'Dodaj'; $lang['pl_PL']['MemberTableField']['ADDEDTOGROUP'] = 'Dodaj użytkownika do grupy'; $lang['pl_PL']['MemberTableField.ss']['ADDNEW'] = 'Dodaj nowość'; @@ -229,7 +236,7 @@ $lang['pl_PL']['NewsletterAdmin']['MEWDRAFTMEWSL'] = 'Nowe oczekujące newslette $lang['pl_PL']['NewsletterAdmin']['NEWLIST'] = 'Nowa lista mailingowa'; $lang['pl_PL']['NewsletterAdmin']['NEWNEWSLTYPE'] = 'Nowy rodzaj newslettera'; $lang['pl_PL']['NewsletterAdmin']['NEWSLTYPE'] = 'Rodzaj newslettera'; -$lang['pl_PL']['NewsletterAdmin']['PLEASEENTERMAIL'] = 'Proszę wprowadź email adres'; +$lang['pl_PL']['NewsletterAdmin']['PLEASEENTERMAIL'] = 'Proszę wprowadź adres e-mail'; $lang['pl_PL']['NewsletterAdmin']['RESEND'] = 'Prześlij ponownie'; $lang['pl_PL']['NewsletterAdmin']['SAVE'] = 'Zapisz'; $lang['pl_PL']['NewsletterAdmin']['SAVED'] = 'Zapisane'; @@ -237,7 +244,7 @@ $lang['pl_PL']['NewsletterAdmin']['SEND'] = 'Wyślij ...'; $lang['pl_PL']['NewsletterAdmin']['SENDING'] = 'Wysyłanie emaili ...'; $lang['pl_PL']['NewsletterAdmin']['SENTTESTTO'] = 'Wysłano test do'; $lang['pl_PL']['NewsletterAdmin']['SHOWCONTENTS'] = 'Pokaż zawartość'; -$lang['pl_PL']['NewsletterAdmin_BouncedList.ss']['EMADD'] = 'Adres email'; +$lang['pl_PL']['NewsletterAdmin_BouncedList.ss']['EMADD'] = 'Adres e-mail'; $lang['pl_PL']['NewsletterAdmin_BouncedList.ss']['HAVEBOUNCED'] = 'Email został odrzucony'; $lang['pl_PL']['NewsletterAdmin_BouncedList.ss']['NOBOUNCED'] = 'Brak odrzuconych maili'; $lang['pl_PL']['NewsletterAdmin_BouncedList.ss']['UNAME'] = 'Nazwa użytkownika'; @@ -247,7 +254,7 @@ $lang['pl_PL']['NewsletterAdmin_left.ss']['CREATE'] = 'Stwórz ...'; $lang['pl_PL']['NewsletterAdmin_left.ss']['DEL'] = 'Usuń ...'; $lang['pl_PL']['NewsletterAdmin_left.ss']['DELETEDRAFTS'] = 'Usuń zaznaczone wersje robocze'; $lang['pl_PL']['NewsletterAdmin_left.ss']['GO'] = 'Idź'; -$lang['pl_PL']['NewsletterAdmin_left.ss']['NEWSLETTERS'] = 'Newsletter'; +$lang['pl_PL']['NewsletterAdmin_left.ss']['NEWSLETTERS'] = 'Newslettery'; $lang['pl_PL']['NewsletterAdmin_left.ss']['SELECTDRAFTS'] = 'Wybierz wersje robocze które chcesz usunąć i kliknij przycisk poniżej'; $lang['pl_PL']['NewsletterAdmin_right.ss']['CANCEL'] = 'Anuluj'; $lang['pl_PL']['NewsletterAdmin_right.ss']['ENTIRE'] = 'Wyślij do całej listy mailingowej'; @@ -259,18 +266,18 @@ $lang['pl_PL']['NewsletterAdmin_right.ss']['WELCOME2'] = 'Administracja newslett $lang['pl_PL']['NewsletterAdmin_SiteTree.ss']['DRAFTS'] = 'Oczekujące'; $lang['pl_PL']['NewsletterAdmin_SiteTree.ss']['MAILLIST'] = 'Lista mailingowa'; $lang['pl_PL']['NewsletterAdmin_SiteTree.ss']['SENT'] = 'Wyślij pozycję'; -$lang['pl_PL']['NewsletterAdmin_UnsubscribedList.ss']['NOUNSUB'] = 'Nie ma użytkowników nieprenumerujących tego newslettera'; +$lang['pl_PL']['NewsletterAdmin_UnsubscribedList.ss']['NOUNSUB'] = 'Nie ma użytkowników nie zapisanych do tego newslettera'; $lang['pl_PL']['NewsletterAdmin_UnsubscribedList.ss']['UNAME'] = 'Nazwa użytkownika'; -$lang['pl_PL']['NewsletterAdmin_UnsubscribedList.ss']['UNSUBON'] = 'Niezaprenumerowany'; +$lang['pl_PL']['NewsletterAdmin_UnsubscribedList.ss']['UNSUBON'] = 'Nie zapisany'; $lang['pl_PL']['NewsletterList.ss']['CHOOSEDRAFT1'] = 'Proszę wybrać wersje robocze po lewej lub'; $lang['pl_PL']['NewsletterList.ss']['CHOOSEDRAFT2'] = 'dodaj jeden'; $lang['pl_PL']['NewsletterList.ss']['CHOOSESENT'] = 'Proszę wybrać pozycję wyślij po lewej'; -$lang['pl_PL']['Newsletter_RecipientImportField.ss']['CHANGED'] = 'Numer zmienionych detali:'; +$lang['pl_PL']['Newsletter_RecipientImportField.ss']['CHANGED'] = 'Ilość zmienionych detali:'; $lang['pl_PL']['Newsletter_RecipientImportField.ss']['IMPORTED'] = 'Nowi użytkownicy zaimportowani:'; $lang['pl_PL']['Newsletter_RecipientImportField.ss']['IMPORTNEW'] = 'zaimportowani nowi użytkownicy'; -$lang['pl_PL']['Newsletter_RecipientImportField.ss']['SEC'] = 'drudzy'; +$lang['pl_PL']['Newsletter_RecipientImportField.ss']['SEC'] = 'sekundy'; $lang['pl_PL']['Newsletter_RecipientImportField.ss']['SKIPPED'] = 'Archiwalne dokumenty:'; -$lang['pl_PL']['Newsletter_RecipientImportField.ss']['TIME'] = 'Lista pobranych: '; +$lang['pl_PL']['Newsletter_RecipientImportField.ss']['TIME'] = 'Czas zużyty:'; $lang['pl_PL']['Newsletter_RecipientImportField.ss']['UPDATED'] = 'Uaktualnieni użytkownicy:'; $lang['pl_PL']['Newsletter_RecipientImportField_Table.ss']['CONTENTSOF'] = 'Zawartość'; $lang['pl_PL']['Newsletter_RecipientImportField_Table.ss']['NO'] = 'Anuluj'; @@ -278,10 +285,14 @@ $lang['pl_PL']['Newsletter_RecipientImportField_Table.ss']['RECIMPORTED'] = 'Odb $lang['pl_PL']['Newsletter_RecipientImportField_Table.ss']['YES'] = 'Potwierdź'; $lang['pl_PL']['Newsletter_SentStatusReport.ss']['DATE'] = 'Data'; $lang['pl_PL']['Newsletter_SentStatusReport.ss']['EMAIL'] = 'Email'; -$lang['pl_PL']['Newsletter_SentStatusReport.ss']['FN'] = 'Pierwsza kategoria'; -$lang['pl_PL']['Newsletter_SentStatusReport.ss']['NEWSNEVERSENT'] = 'Newsletter nigdy nie będzie wysłany do następujących użytkowników'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['FN'] = 'Imię'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['NEWSNEVERSENT'] = 'Newsletter nigdy nie był wysłany do następujących użytkowników'; $lang['pl_PL']['Newsletter_SentStatusReport.ss']['RES'] = 'Rezultat'; -$lang['pl_PL']['Newsletter_SentStatusReport.ss']['SN'] = 'Podkategoria'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['SENDBOUNCED'] = 'Wysłanie do następujących odbiorców zostało odrzucone'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['SENDFAIL'] = 'Wysyłanie do następujących odbiorców nie powiodło się'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['SENTOK'] = 'Wysyłanie do następujących odbiorców powiodło się'; +$lang['pl_PL']['Newsletter_SentStatusReport.ss']['SN'] = 'Nazwisko'; +$lang['pl_PL']['PageComment']['COMMENTBY'] = 'Komentarz \'%s\' do %s'; $lang['pl_PL']['PageCommentInterface.ss']['COMMENTS'] = 'Komentarze'; $lang['pl_PL']['PageCommentInterface.ss']['NEXT'] = 'następny'; $lang['pl_PL']['PageCommentInterface.ss']['NOCOMMENTSYET'] = 'Nikt nie skomentował jeszcze tej strony'; @@ -293,7 +304,7 @@ $lang['pl_PL']['PageCommentInterface_singlecomment.ss']['PBY'] = 'Dodane przez'; $lang['pl_PL']['PageCommentInterface_singlecomment.ss']['REMCOM'] = 'zmień ten komentarz'; $lang['pl_PL']['ReportAdmin_left.ss']['REPORTS'] = 'Raporty'; $lang['pl_PL']['ReportAdmin_right.ss']['WELCOME1'] = 'Witamy w'; -$lang['pl_PL']['ReportAdmin_right.ss']['WELCOME2'] = 'Raport sesji. Proszę wybrać określony raport po lewej'; +$lang['pl_PL']['ReportAdmin_right.ss']['WELCOME2'] = 'Sekcja raportów. Proszę wybrać jeden z raportów po lewej'; $lang['pl_PL']['ReportAdmin_SiteTree.ss']['REPORTS'] = 'Raporty'; $lang['pl_PL']['SecurityAdmin']['ADDMEMBER'] = 'Dodaj użytkownika'; $lang['pl_PL']['SecurityAdmin']['ADVANCEDONLY'] = 'Ta sekcja przeznaczona jest tylko dla zaawansowanych użytkowników. Zobacz tę stronę aby uzyskać więcej informacji.'; @@ -306,13 +317,14 @@ $lang['pl_PL']['SecurityAdmin_left.ss']['DELGROUPS'] = 'Usuń zaznaczone grupy'; $lang['pl_PL']['SecurityAdmin_left.ss']['GO'] = 'Idź'; $lang['pl_PL']['SecurityAdmin_left.ss']['SECGROUPS'] = 'Grupa bezpieczeństwa'; $lang['pl_PL']['SecurityAdmin_left.ss']['SELECT'] = 'Zaznacz strony które chcesz usunąć i kliknij przycisk poniżej'; +$lang['pl_PL']['SecurityAdmin_left.ss']['TOREORG'] = 'Aby zmienić układ witryny, przeciągnij strony w odpowiadające Ci miejsca.'; $lang['pl_PL']['SecurityAdmin_right.ss']['WELCOME1'] = 'Witamy w'; -$lang['pl_PL']['SecurityAdmin_right.ss']['WELCOME2'] = 'Administracja sekcją bezpieczeństwa. Proszę wybrać grupę po lewej'; +$lang['pl_PL']['SecurityAdmin_right.ss']['WELCOME2'] = 'Sekcja administracji bezpieczeństwem. Proszę wybrać jedną z grup po lewej'; $lang['pl_PL']['SideReport']['EMPTYPAGES'] = 'Puste strony'; $lang['pl_PL']['SideReport']['LAST2WEEKS'] = 'Strony zmienione w ostatnich 2 tygodniach'; $lang['pl_PL']['SideReport']['REPEMPTY'] = '%s raport jest pusty'; $lang['pl_PL']['StaticExporter']['BASEURL'] = 'Podstawowy URL'; -$lang['pl_PL']['StaticExporter']['EXPORTTO'] = 'Eksportuj ten folder'; +$lang['pl_PL']['StaticExporter']['EXPORTTO'] = 'Eksportuj do tego folderu'; $lang['pl_PL']['StaticExporter']['FOLDEREXPORT'] = 'Folder przeniesiony do'; $lang['pl_PL']['StaticExporter']['NAME'] = 'Statyczny eksport'; $lang['pl_PL']['StaticExporter']['ONETHATEXISTS'] = 'Proszę wybierz dostępny folder'; @@ -326,6 +338,6 @@ $lang['pl_PL']['ThumbnailStripField.ss']['CHOOSEFOLDER'] = '(Wybierz powyższy f '; $lang['pl_PL']['ViewArchivedEmail.ss']['CANACCESS'] = 'Masz dostęp do archiwalnej strony pod adresem:'; $lang['pl_PL']['ViewArchivedEmail.ss']['HAVEASKED'] = 'Zobacz zawartość naszej strony na'; -$lang['pl_PL']['WaitingOn.ss']['ATO'] = 'wyznaczone do'; +$lang['pl_PL']['WaitingOn.ss']['ATO'] = 'przypisane do'; ?> \ No newline at end of file diff --git a/lang/pt_BR.php b/lang/pt_BR.php index 01d334a8..0305755d 100644 --- a/lang/pt_BR.php +++ b/lang/pt_BR.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['pt_BR'] = $lang['en_US']; +if(array_key_exists('pt_BR', $lang) && is_array($lang['pt_BR'])) { + $lang['pt_BR'] = array_merge($lang['en_US'], $lang['pt_BR']); +} else { + $lang['pt_BR'] = $lang['en_US']; +} $lang['pt_BR']['AssetAdmin']['CHOOSEFILE'] = 'Selecione Arquivo'; $lang['pt_BR']['AssetAdmin']['CONTENTMODBY'] = 'Conteúdos modificáveis por'; diff --git a/lang/pt_PT.php b/lang/pt_PT.php index 900bbe42..c22f0006 100644 --- a/lang/pt_PT.php +++ b/lang/pt_PT.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['pt_PT'] = $lang['en_US']; +if(array_key_exists('pt_PT', $lang) && is_array($lang['pt_PT'])) { + $lang['pt_PT'] = array_merge($lang['en_US'], $lang['pt_PT']); +} else { + $lang['pt_PT'] = $lang['en_US']; +} $lang['pt_PT']['AssetAdmin']['CHOOSEFILE'] = 'Escolha ficheiro '; $lang['pt_PT']['AssetAdmin']['CONTENTMODBY'] = 'Conteúdo modificável por'; @@ -345,4 +349,321 @@ $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'] = 'Obrigado, recebemos a sua submissão.
'; +$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.'; + + + + +// New2 + +$lang['pt_PT']['MemberTableField.ss']['DISPLAYING'] = 'A mostrar'; +$lang['pt_PT']['MemberTableField.ss']['TO'] = 'até'; +$lang['pt_PT']['MemberTableField.ss']['OF'] = 'de'; +$lang['pt_PT']['MemberTableField.ss']['EDITASSET'] = 'Editar ficheiro'; +$lang['pt_PT']['MemberTableField']['FIRSTNAME'] = 'Primeiro Nome'; +$lang['pt_PT']['MemberTableField']['SURNAME'] = 'Sobrenome'; +$lang['pt_PT']['MemberTableField']['EMAIL'] = 'Email'; + +$lang['pt_PT']['GenericDataAdmin']['CSVEXPORT'] = 'Exportar para CSV'; + +$lang['pt_PT']['SecurityAdmin']['VIEWUSER'] = 'Ver Utilizador'; + +$lang['pt_PT']['CMSMain']['ACCESSTO'] = array('Accesso a %s no CMS'); +$lang['pt_PT']['CMSMain']['ASSETADMINNAME'] = 'Ficheiros e Imagens'; +$lang['pt_PT']['CMSMain']['BULKLOADERADMINNAME'] = 'Acções em Volume'; +$lang['pt_PT']['CMSMain']['CMSMAINNAME'] = 'CMS Principal'; +$lang['pt_PT']['CMSMain']['COMMENTADMINNAME'] = 'Comentários'; +$lang['pt_PT']['CMSMain']['GENERICDATAADMINNAME'] = 'Dados Genéricos'; +$lang['pt_PT']['CMSMain']['LEFTANDMAINNAME'] = 'Esquerda e Principal'; +$lang['pt_PT']['CMSMain']['NEWSLETTERADMINNAME'] = 'Listas de Email'; +$lang['pt_PT']['CMSMain']['REPORTADMINNAME'] = 'Relatórios'; +$lang['pt_PT']['CMSMain']['SECURITYADMINNAME'] = 'Segurança'; +$lang['pt_PT']['CMSMain']['STATISTICSADMINNAME'] = 'Estatísticas'; + +$lang['pt_PT']['CommentAdmin']['APPROVEDCOMMENTS'] = 'Comentários Aprovados'; +$lang['pt_PT']['CommentAdmin']['WAITINGMODERATION'] = 'Comentários por Aprovar'; +$lang['pt_PT']['CommentAdmin']['SPAM'] = 'Spam'; +$lang['pt_PT']['CommentAdmin']['AUTHOR'] = 'Autor'; +$lang['pt_PT']['CommentAdmin']['COMMENT'] = 'Comentário'; +$lang['pt_PT']['CommentAdmin']['COMMENTS'] = 'Comentários'; +$lang['pt_PT']['CommentAdmin']['PAGE'] = 'Página'; +$lang['pt_PT']['CommentAdmin']['CREATED'] = 'Criado em'; +$lang['pt_PT']['CommentAdmin']['ACCEPT'] = 'Aceitar'; +$lang['pt_PT']['CommentAdmin']['MARKSPAM'] = 'Marcar como spam'; +$lang['pt_PT']['CommentAdmin']['MARKNOTSPAM'] = 'Marcar como não sendo spam'; +$lang['pt_PT']['CommentAdmin']['DELETE'] = 'Apagar'; +$lang['pt_PT']['CommentAdmin']['DELETEALL'] = 'Apagar Todos'; +$lang['pt_PT']['CommentAdmin']['NAME'] = 'Nome'; +$lang['pt_PT']['CommentAdmin']['EDIT'] = 'Editar'; + +$lang['pt_PT']['CommentTableField']['SEARCH'] = 'Procurar'; +$lang['pt_PT']['CommentTableField']['FILTER'] = 'Filtro'; + +$lang['pt_PT']['CommentTableField.ss']['DISPLAYING'] = 'A mostrar'; +$lang['pt_PT']['CommentTableField.ss']['TO'] = 'até'; +$lang['pt_PT']['CommentTableField.ss']['OF'] = 'de'; +$lang['pt_PT']['CommentTableField.ss']['NOITEMSFOUND'] = 'Nenhum item encontrado'; +$lang['pt_PT']['CommentTableField.ss']['EDIT'] = 'Editar'; +$lang['pt_PT']['CommentTableField.ss']['APPROVE'] = 'Aprovar este comentário'; +$lang['pt_PT']['CommentTableField.ss']['MARKASSPAM'] = 'Marcar como spam'; +$lang['pt_PT']['CommentTableField.ss']['MARKASNOTSPAM'] = 'Marcar como não sendo spam'; +$lang['pt_PT']['CommentTableField.ss']['DELETEROW'] = 'Apagar esta linha'; + +$lang['pt_PT']['CommentAdmin_left.ss']['COMMENTS'] = 'Comentários'; +$lang['pt_PT']['CommentAdmin_left.ss']['APPROVED'] = 'Aprovados'; +$lang['pt_PT']['CommentAdmin_left.ss']['WAITINGMODERATION'] = 'Por Aprovar'; +$lang['pt_PT']['CommentAdmin_left.ss']['SPAM'] = 'Spam'; + +$lang['pt_PT']['StatisticsAdmin']['SELECTREPORT'] = 'Seleccione um relatório da esquerda para ver as estatísticas do site mais detalhadamente'; + +$lang['pt_PT']['StatisticsAdmin_left.ss']['STATISTICS'] = 'Estatísticas'; +$lang['pt_PT']['StatisticsAdmin_left.ss']['VIEWS'] = 'Visualizações'; +$lang['pt_PT']['StatisticsAdmin_left.ss']['TRENDS'] = 'Tendências'; +$lang['pt_PT']['StatisticsAdmin_left.ss']['OS'] = 'Sistemas Operativos'; +$lang['pt_PT']['StatisticsAdmin_left.ss']['BROWSERS'] = 'Browsers'; + + + ?> \ No newline at end of file diff --git a/lang/ru_RU.php b/lang/ru_RU.php index 13eff8aa..2747b22f 100644 --- a/lang/ru_RU.php +++ b/lang/ru_RU.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['ru_RU'] = $lang['en_US']; +if(array_key_exists('ru_RU', $lang) && is_array($lang['ru_RU'])) { + $lang['ru_RU'] = array_merge($lang['en_US'], $lang['ru_RU']); +} else { + $lang['ru_RU'] = $lang['en_US']; +} $lang['ru_RU']['AssetAdmin']['CHOOSEFILE'] = 'Выберите файл'; $lang['ru_RU']['AssetAdmin']['CONTENTMODBY'] = 'Редакторы содержимого:'; diff --git a/lang/sk_SK.php b/lang/sk_SK.php index f5ea2d63..2f9fa064 100644 --- a/lang/sk_SK.php +++ b/lang/sk_SK.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['sk_SK'] = $lang['en_US']; +if(array_key_exists('sk_SK', $lang) && is_array($lang['sk_SK'])) { + $lang['sk_SK'] = array_merge($lang['en_US'], $lang['sk_SK']); +} else { + $lang['sk_SK'] = $lang['en_US']; +} $lang['sk_SK']['AssetAdmin']['CHOOSEFILE'] = 'Vybrať súbor'; $lang['sk_SK']['AssetAdmin']['CONTENTMODBY'] = 'Obsah upraviteľný pre'; diff --git a/lang/sv_SE.php b/lang/sv_SE.php index df7e39a3..65f8428b 100644 --- a/lang/sv_SE.php +++ b/lang/sv_SE.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['sv_SE'] = $lang['en_US']; +if(array_key_exists('sv_SE', $lang) && is_array($lang['sv_SE'])) { + $lang['sv_SE'] = array_merge($lang['en_US'], $lang['sv_SE']); +} else { + $lang['sv_SE'] = $lang['en_US']; +} $lang['sv_SE']['AssetAdmin']['CHOOSEFILE'] = 'Välj fil'; $lang['sv_SE']['AssetAdmin']['CONTENTMODBY'] = 'Följande kan redigera innehållet'; diff --git a/lang/tr_TR.php b/lang/tr_TR.php index 1ef56d71..62e5ce39 100644 --- a/lang/tr_TR.php +++ b/lang/tr_TR.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['tr_TR'] = $lang['en_US']; +if(array_key_exists('tr_TR', $lang) && is_array($lang['tr_TR'])) { + $lang['tr_TR'] = array_merge($lang['en_US'], $lang['tr_TR']); +} else { + $lang['tr_TR'] = $lang['en_US']; +} $lang['tr_TR']['AssetAdmin']['CHOOSEFILE'] = 'Yükleyeceğiniz Dosyayı seçiniz'; $lang['tr_TR']['AssetAdmin']['CONTENTMODBY'] = 'İçeriği değiştirebilme yetkisi olan(lar)'; diff --git a/lang/zh_CN.php b/lang/zh_CN.php index 70d54343..f5632956 100644 --- a/lang/zh_CN.php +++ b/lang/zh_CN.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['zh_CN'] = $lang['en_US']; +if(array_key_exists('zh_CN', $lang) && is_array($lang['zh_CN'])) { + $lang['zh_CN'] = array_merge($lang['en_US'], $lang['zh_CN']); +} else { + $lang['zh_CN'] = $lang['en_US']; +} $lang['zh_CN']['AssetAdmin']['CHOOSEFILE'] = '选择文件'; $lang['zh_CN']['AssetAdmin']['CONTENTMODBY'] = '内容可被修改'; diff --git a/lang/zh_TW.php b/lang/zh_TW.php index 4f3287be..2c0c7ab2 100644 --- a/lang/zh_TW.php +++ b/lang/zh_TW.php @@ -4,7 +4,11 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['zh_TW'] = $lang['en_US']; +if(array_key_exists('zh_TW', $lang) && is_array($lang['zh_TW'])) { + $lang['zh_TW'] = array_merge($lang['en_US'], $lang['zh_TW']); +} else { + $lang['zh_TW'] = $lang['en_US']; +} $lang['zh_TW']['AssetAdmin']['CHOOSEFILE'] = '選擇檔案'; $lang['zh_TW']['AssetAdmin']['CONTENTMODBY'] = '可以更改內容的人:'; diff --git a/templates/Includes/AssetTableField.ss b/templates/Includes/AssetTableField.ss index 91af35a2..b5bd0878 100755 --- a/templates/Includes/AssetTableField.ss +++ b/templates/Includes/AssetTableField.ss @@ -20,17 +20,17 @@ <% end_control %> <% if Can(show) %>Instructions:
+<% _t('INSTRUCTIONS', 'Instructions:') %>
Blacklisted | +<% _t('BLACKLISTED', 'Blacklisted') %> | <% _t('UNAME','User name') %> | <% _t('EMADD','Email address') %> | -Reason: | -Date | +<% _t('RESON', 'Reason:') %> | +<% _t('DATE', 'Date') %> |
---|
<% _t('NOBOUNCED','No emails sent have bounced.') %>
-<% end_if %> \ No newline at end of file +<% end_if %> diff --git a/templates/Includes/StatisticsAdmin_left.ss b/templates/Includes/StatisticsAdmin_left.ss index a05f0b41..307cf587 100644 --- a/templates/Includes/StatisticsAdmin_left.ss +++ b/templates/Includes/StatisticsAdmin_left.ss @@ -1,4 +1,4 @@ -