diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index d9cb79bc..478c8d3d 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -15,7 +15,7 @@ function table($type) { $list = $published; if (empty($list)) { echo '

'; - echo $Language->g('There are not pages in this moment.'); + echo $Language->g('There are no pages at this moment.'); echo '

'; return false; } @@ -23,7 +23,7 @@ function table($type) { $list = $drafts; if (empty($list)) { echo '

'; - echo $Language->g('There are not draft pages in this moment.'); + echo $Language->g('There are no draft pages at this moment.'); echo '

'; return false; } @@ -31,7 +31,7 @@ function table($type) { $list = $scheduled; if (empty($list)) { echo '

'; - echo $Language->g('There are not scheduled pages in this moment.'); + echo $Language->g('There are no scheduled pages at this moment.'); echo '

'; return false; } @@ -39,7 +39,7 @@ function table($type) { $list = $static; if (empty($list)) { echo '

'; - echo $Language->g('There are not static pages in this moment.'); + echo $Language->g('There are no static pages at this moment.'); echo '

'; return false; } @@ -47,7 +47,7 @@ function table($type) { $list = $sticky; if (empty($list)) { echo '

'; - echo $Language->g('There are not sticky pages in this moment.'); + echo $Language->g('There are no sticky pages at this moment.'); echo '

'; return false; } @@ -126,7 +126,7 @@ function table($type) { echo ''.$friendlyURL.''; echo ''.PHP_EOL; - echo 'Edit'.PHP_EOL; + echo ' Edit'.PHP_EOL; echo ''.PHP_EOL; echo ''; @@ -222,8 +222,8 @@ function table($type) { 'jsdeletePageModal', - 'modalTitle'=>'Delete content', - 'modalText'=>'Are you sure you ?', + 'modalTitle'=>' ' . 'Delete content', + 'modalText'=>'Are you sure you want to delete this page?', 'buttonPrimary'=>'Delete', 'buttonPrimaryClass'=>'deletePageModalAcceptButton', 'buttonSecondary'=>'Cancel', @@ -263,4 +263,4 @@ $(document).ready(function() { form.hide().appendTo("body").submit(); }); }); - \ No newline at end of file + diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 4c985e73..71859665 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -124,7 +124,7 @@ 'name'=>'externalCoverImage', 'placeholder'=>'https://', 'value'=>$externalCoverImage, - 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicate for images.' + 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicated for images.' )); ?> @@ -216,7 +216,7 @@ 'label'=>'Tags', 'placeholder'=>'', 'value'=>$page->tags(), - 'tip'=>'Write the tags separeted by comma' + 'tip'=>'Write the tags separated by comma' )); // Friendly URL @@ -295,7 +295,7 @@ 'label'=>'', 'selected'=>$page->categoryKey(), 'class'=>'', - 'emptyOption'=>'- Without category -', + 'emptyOption'=>'- Uncategorized -', 'options'=>$dbCategories->getKeyNameArray() )); ?> diff --git a/bl-kernel/admin/views/new-content.php b/bl-kernel/admin/views/new-content.php index 1358a1f1..adc0c0d4 100644 --- a/bl-kernel/admin/views/new-content.php +++ b/bl-kernel/admin/views/new-content.php @@ -100,7 +100,7 @@ 'name'=>'externalCoverImage', 'placeholder'=>"https://", 'value'=>'', - 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicate for images.' + 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicated for images.' )); ?> @@ -173,7 +173,7 @@ 'name'=>'tags', 'label'=>'Tags', 'placeholder'=>'', - 'tip'=>'Write the tags separeted by comma' + 'tip'=>'Write the tags separated by comma' )); // Friendly URL diff --git a/bl-kernel/dbpages.class.php b/bl-kernel/dbpages.class.php index 9048afd0..cd649891 100644 --- a/bl-kernel/dbpages.class.php +++ b/bl-kernel/dbpages.class.php @@ -789,7 +789,7 @@ class dbPages extends dbJSON { } // Returns an Array, array('tagSlug'=>'tagName') - // (string) $tags, tag list separeted by comma. + // (string) $tags, tag list separated by comma. public function generateTags($tags) { $tmp = array(); @@ -818,4 +818,4 @@ class dbPages extends dbJSON { return $this->save(); } -} \ No newline at end of file +} diff --git a/bl-kernel/pagex.class.php b/bl-kernel/pagex.class.php index 61cb2b8e..e77687e9 100644 --- a/bl-kernel/pagex.class.php +++ b/bl-kernel/pagex.class.php @@ -232,7 +232,7 @@ class PageX { } // Returns the tags separated by comma - // (boolean) $returnsArray, TRUE to get the tags as an array, FALSE to get the tags separeted by comma + // (boolean) $returnsArray, TRUE to get the tags as an array, FALSE to get the tags separated by comma // The tags in array format returns array( tagKey => tagName ) public function tags($returnsArray=false) { @@ -247,7 +247,7 @@ class PageX { if (empty($tags)) { return ''; } - // Return string with tags separeted by comma. + // Return string with tags separated by comma. return implode(', ', $tags); }