From 4abc68697a1d69d2668454437d396638956f9e8d Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Mon, 23 Feb 2015 22:29:13 +1030 Subject: [PATCH] Fix wording of "You are not authorized to access this page" --- includes/edit/edit.php | 2 +- includes/manage/manage.php | 2 +- languages/code-snippets-ru_RU.mo | Bin 19637 -> 19651 bytes languages/code-snippets-ru_RU.po | 2 +- languages/code-snippets-sk_SK.mo | Bin 15155 -> 15169 bytes languages/code-snippets-sk_SK.po | 2 +- languages/code-snippets.pot | 11 +++++++---- 7 files changed, 11 insertions(+), 8 deletions(-) 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 51aa764a75e044e44f017d165b8246d19ab25a5d..9882c6e5183e4215fce23b8cdefaeab139f0f5e7 100644 GIT binary patch delta 873 zcmXZbT}YEr9LMqBGjwQ7QDK!YO_R!6tu)P2d&MwcsK_WNQWV$J5Js}3x_O|h+=WO> zL@AvHiGm=kAqe5c?!4$C2v-Q+2wg-3f>1=z_w)o0&*%Kl%X9wcf41a=m71`Ywp{j6 zNwcNWP5gilvAj&`z?Zm*+t`C2_e-5vTP`iQq%k~5e392N4B;J&VIO|S0la-k3S$bF zvARN7SpoQhDdZ5qEQMI6n-$r_0{nnP2%bu2CmLWUHmm$-I?@EShHc3elZ zk-tIWTMFYnoWm;2I4jXqEt<*=q8X247yd!!+3Gy!lzbGwlG%)jsm(AK=*7uP&Iy(p zIUVDl@jPy_djTKvHSs&ZDlEnjnk#&UrlK+AEQ%vb^#v=@cSU;OBE{=8*i$PlQZN3* zci7eHWa@2mu4D+`)BhIDzaSVZbT?W`bhs0ibvKcpHMPg{DAE@m?05!jV8lk;3h! zQ5e{T5MCr}c%u{)gv*<5x-z^Ggdl`27T!ePhXdn$p8s>s^Y(k#=cJWRTJLvU_AyC| zKB*f&;TRr1A@$=FZsQIKsl*sTVeleWHk?88~-I;u|H=M7M!vgN>Jo47-tV^amT!%j2!-M{}~j z*pC13GzOcvE{tG4&SO36y~dB!_Sa@9kH+*BXW%?`QvX0+$=4!r?F!=^e2O95K(mmy zRbnnZ#0Qwf3z$WIs=ewYH-zSW90zd^`OenefD`#M++}A8QF|xg�< p%h_pemvbc%T&Mpfntwr0qRbt%`cnPwlw~PZd~l&OweEBK{{s}%bRhr$ 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 dbd1253a6f4c4b21bc9fd525b83e90dbece40b9a..360208085dc965c0ae47a961e1d3e406bda953af 100644 GIT binary patch delta 830 zcmXZaPe@cz6vy%3m^!1FSXmAxQw>Ycbvd2Ovi`iiG{*w`SYaXm_r`LqZq>tb~ul%Hcojd zn6|Nt@g21JEf*3SyyXyZsh68Qc#T$(8KmlZhi`Eu`TX%kDUW;z?MJ8Z7{<_ppYa1unx~-4_axbu@S!@?bbe8D~fs9@&GpDeGK3y zq-fel`=Qb*O3ltIu>@_^e2F5XhU!%X$Law%GAbr=R bxZnNvMAnmm?$D#2p?i0W214<2Z)U-N-?MEk delta 817 zcmXZaPe@cz6vy%33_6aYl4;qHj%A~cRA%}A&q7xwAtEirOc6yQsYHm;jXnZ169mPa zl^a1NMO2toB7wSSq3)VUqHI%(+PEob=l3)NkN3IfzWe9hbM9^^652X+JGqkle(65e z;}FhZ7rOJL6YRl0Y`7xTxuqq{BL1E)UB*Ayi5b_V4t$C>{{wboK|qS)IQm@Dg96D* z{Jc<(QfQ18N@+NW7ch*r!8+#PE*9Z8{Dd9?+vqE@ma2kmj$LsFF@g96+PV{%if=Fp z7cmi6gN~F;W0MXqzC&AR52x`Xda$=Rw$Nj=csTADo+EyV=P`_5IN>U`TK{#jh*5k* z|7W!M4L4&4Y;tJu=pirrFol+pStRRPz_+*)|K49BWfMO^`_XaC#4vhs4G%Da$>`jQ zmFP8Esh9C8?xW3fe$e32KVG-7xKz4 zr7Gzz3zuU%@o2TwhEe1ms;GvGjQ4OD*RjKL5UAx8bd2E$ZqFSj4!Shg?D_3#k5nZ6 Ly%?$SdvnhKyL)8t 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 "