diff --git a/includes/edit/edit.php b/includes/edit/edit.php index 0ee40c04..691e5835 100644 --- a/includes/edit/edit.php +++ b/includes/edit/edit.php @@ -80,7 +80,7 @@ function code_snippets_load_single_menu() { /* Make sure the user has permission to be here */ if ( ! current_user_can( get_snippets_cap() ) ) { - wp_die( __( 'You are not access this page.', 'code-snippets' ) ); + wp_die( __( 'You are not authorized to access this page.', 'code-snippets' ) ); } /* Create the snippet tables if they don't exist */ diff --git a/includes/manage/manage.php b/includes/manage/manage.php index 0449cf42..aea43762 100644 --- a/includes/manage/manage.php +++ b/includes/manage/manage.php @@ -64,7 +64,7 @@ function code_snippets_load_manage_menu() { /* Make sure the user has permission to be here */ if ( ! current_user_can( get_snippets_cap() ) ) { - wp_die( __( 'You are not access this page.', 'code-snippets' ) ); + wp_die( __( 'You are not authorized to access this page.', 'code-snippets' ) ); } /* Load stylesheet for this page */ diff --git a/languages/code-snippets-ru_RU.mo b/languages/code-snippets-ru_RU.mo index 51aa764a..9882c6e5 100644 Binary files a/languages/code-snippets-ru_RU.mo and b/languages/code-snippets-ru_RU.mo differ diff --git a/languages/code-snippets-ru_RU.po b/languages/code-snippets-ru_RU.po index 71a5be2f..aba80990 100644 --- a/languages/code-snippets-ru_RU.po +++ b/languages/code-snippets-ru_RU.po @@ -433,7 +433,7 @@ msgid "Import snippets from a Code Snippets export file" msgstr "Импортировать сниппеты из файла экспорта плагина \"Code Snippets\"." #: includes/class-admin.php:246 -msgid "You are not access this page." +msgid "You are not authorized to access this page." msgstr "У вас нет доступа к этой странице." #: includes/class-admin.php:288 includes/class-admin.php:695 diff --git a/languages/code-snippets-sk_SK.mo b/languages/code-snippets-sk_SK.mo index dbd1253a..36020808 100644 Binary files a/languages/code-snippets-sk_SK.mo and b/languages/code-snippets-sk_SK.mo differ diff --git a/languages/code-snippets-sk_SK.po b/languages/code-snippets-sk_SK.po index 7a25e876..ecd01644 100644 --- a/languages/code-snippets-sk_SK.po +++ b/languages/code-snippets-sk_SK.po @@ -421,7 +421,7 @@ msgid "Import snippets from a Code Snippets export file" msgstr "Importovať snippety zo súboru Code Snippets" #: ../includes/class-admin.php:246 -msgid "You are not access this page." +msgid "You are not authorized to access this page." msgstr "Nemáte prístup na túto stránku." #: ../includes/class-admin.php:288 ../includes/class-admin.php:695 diff --git a/languages/code-snippets.pot b/languages/code-snippets.pot index cffa9610..56f0930a 100644 --- a/languages/code-snippets.pot +++ b/languages/code-snippets.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: code-snippets 2.0.0-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-02-23 22:26+1030\n" +"POT-Creation-Date: 2015-02-23 22:28+1030\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -267,9 +267,8 @@ msgstr "" msgid "Delete" msgstr "" -#: includes/edit/edit.php:83 includes/import/import.php:92 -#: includes/manage/manage.php:67 -msgid "You are not access this page." +#: includes/edit/edit.php:83 includes/manage/manage.php:67 +msgid "You are not authorized to access this page." msgstr "" #: includes/edit/edit.php:176 includes/manage/class-list-table.php:242 @@ -377,6 +376,10 @@ msgstr "" msgid "Import" msgstr "" +#: includes/import/import.php:92 +msgid "You are not access this page." +msgstr "" + #: includes/manage/admin-help.php:17 msgid "" "Snippets are similar to plugins - they both extend and expand the "