From aa49f2d522fc9da7ce0628ff4cfea0556f21b83a Mon Sep 17 00:00:00 2001 From: Maison da Silva Date: Sat, 17 Feb 2024 00:10:49 -0300 Subject: [PATCH 01/15] Update for New Version --- languages/hestia-nginx-cache-pt_BR..mo | Bin 0 -> 2682 bytes languages/hestia-nginx-cache-pt_BR..po | 142 +++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 languages/hestia-nginx-cache-pt_BR..mo create mode 100644 languages/hestia-nginx-cache-pt_BR..po diff --git a/languages/hestia-nginx-cache-pt_BR..mo b/languages/hestia-nginx-cache-pt_BR..mo new file mode 100644 index 0000000000000000000000000000000000000000..31e76b0045c290f17f3fa63311b4e3516db0fe36 GIT binary patch literal 2682 zcmeH|KWrRD6vihI2pkZSK=?26f_uzBjFW^()-{2GA(fvY9gE9CDn1dYW3y|Y{2adp> zL5{O{j}R|{7r_JIC*aHAry!rZ4xWUz8zAf22P4*X800*TfxI4rtm}1<&z%Q3o&{Og zRgmL-3$m{3AnW=aWL-Bw_BXt*(e)w7x;_V4*9OSCegs+9f%}^{uYnxr0?4{5kmLLY zvaY{CxE3cmjjmH5=XVL@D|-+Vr4VpipW~b+gY9^59(>dCu?}1 zT{{YLtvEi9M=^0tb)8U7ffU5!m^>cAUOBn> z&F0tGyybC2`8%H}lk`S^Y3H(~eo^Jx?ARGeC&|*N-i^hZO0O$YB_&Rp6zlD_%pAgF z-nICQSzKS(o)4$`jKvhb37BTgsqQSt|H|f|MP$&M#NeWJpGFMK`~48kwJwAJ~NE zY?ThB%S7$QHE9rRo2=USO>!%?tna1rRqcb#8UxX6SsGd&c-bpA)|qu;g^Mt-nno6p zuZ>mF)(IKbUU!dmT%6n9-lYiak?Reawj^KGof6|vb8mITbkZ6b)NbvVNkX@6_pPIW z99wq^4vnvhx`cU!>%lE(s+5E> zH*Jl6j0FM)_`ao5t7<)1UilB5b3r)|9by>5$oIP4T!&$m#E95k<7-XYTkQ_(7K;qG zSX6h!)|uN3<4lc3-`O>lhG;2^IDodMw_5{F#Z&RCon>kAO6DqBRkG~SoRe2{p`{^K zR^^rQYRjfaqY%x#)9Dv@Z;NOVrSd&8C?g*I?9>cb6hCJT9iOGsGo7bwfG=T{e_>1{i_u703gw1BrZ( Date: Sat, 17 Feb 2024 00:11:19 -0300 Subject: [PATCH 02/15] Delete languages/hestia-nginx-cache-pt_BR..po --- languages/hestia-nginx-cache-pt_BR..po | 142 ------------------------- 1 file changed, 142 deletions(-) delete mode 100644 languages/hestia-nginx-cache-pt_BR..po diff --git a/languages/hestia-nginx-cache-pt_BR..po b/languages/hestia-nginx-cache-pt_BR..po deleted file mode 100644 index 52c18ee..0000000 --- a/languages/hestia-nginx-cache-pt_BR..po +++ /dev/null @@ -1,142 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-16 23:56-0300\n" -"PO-Revision-Date: 2024-02-17 00:06-0300\n" -"Last-Translator: Maison da Silva\n" -"Language-Team: Brazilian Portuguese\n" -"Language: pt-BR\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Loco https://localise.biz\n" -"X-Loco-Source-Locale: pt-BR\n" -"X-Loco-Project-Id: 154433\n" -"X-Loco-Api-Version: 1.0.28 20240209-1" - -#. Plugin Name of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: includes/admin.php:175 includes/admin.php:176 includes/admin.php:190 -#: includes/site_health.php:44 loco:65d0204b49eac4bf09031b10 -msgid "Hestia Nginx Cache" -msgstr "Hestia Nginx Cache" - -#. Plugin URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: loco:65d0204b49eac4bf09031b11 -msgid "https://github.com/jakobbouchard/hestia-nginx-cache" -msgstr "https://github.com/jakobbouchard/hestia-nginx-cache" - -#. Description of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: loco:65d0204b49eac4bf09031b12 -msgid "" -"Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o " -"cache Nginx quando necessário." -msgstr "" -"Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o " -"cache Nginx quando necessário." - -#. Author of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: loco:65d0204b49eac4bf09031b13 -msgid "Jakob Bouchard" -msgstr "Jakob Bouchard" - -#. Author URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: loco:65d0204b49eac4bf09031b14 -msgid "https://jakobbouchard.dev" -msgstr "https://jakobbouchard.dev" - -#: includes/admin.php:60 loco:65d0204b49eac4bf09031b15 -msgid "Configurações" -msgstr "Configurações" - -#: includes/admin.php:72 loco:65d0204b49eac4bf09031b16 -msgid "Configurações da API" -msgstr "Configurações da API" - -#: includes/admin.php:73 includes/site_health.php:61 -#: loco:65d0204b49eac4bf09031b17 -msgid "Nome do host do servidor" -msgstr "Nome do host do servidor" - -#: includes/admin.php:74 includes/site_health.php:65 -#: loco:65d0204b49eac4bf09031b18 -msgid "Porta do servidor" -msgstr "Porta do servidor" - -#: includes/admin.php:75 loco:65d0204b49eac4bf09031b19 -msgid "Chave de acesso" -msgstr "Chave de acesso" - -#: includes/admin.php:76 loco:65d0204b49eac4bf09031b1a -msgid "Chave secreta" -msgstr "Chave secreta" - -#: includes/admin.php:77 loco:65d0204b49eac4bf09031b1b -msgid "Nome de usuário do Hestia" -msgstr "Nome de usuário do Hestia" - -#: includes/admin.php:78 loco:65d0204b49eac4bf09031b1c -msgid "Domínio a limpar" -msgstr "Domínio a limpar" - -#: includes/admin.php:80 loco:65d0204b49eac4bf09031b1d -msgid "Configurações do Plugin" -msgstr "Configurações do Plugin" - -#: includes/admin.php:81 loco:65d0204b49eac4bf09031b1e -msgid "Exibir botão na barra de administração" -msgstr "Exibir botão na barra de administração" - -#: includes/admin.php:82 loco:65d0204b49eac4bf09031b1f -msgid "Texto do botão na barra de administração" -msgstr "Texto do botão na barra de administração" - -#: includes/admin.php:106 loco:65d0204b49eac4bf09031b20 -msgid "" -"Por favor, consulte o guia de instalação do plugin para obter informações " -"sobre como gerar uma chave de API." -msgstr "" -"Por favor, consulte o guia de instalação do plugin para obter informações " -"sobre como gerar uma chave de API." - -#: includes/admin.php:155 loco:65d0204b49eac4bf09031b21 -msgid "Configurações para o plugin." -msgstr "Configurações para o plugin." - -#: includes/admin.php:169 loco:65d0204b49eac4bf09031b22 -msgid "Deixe em branco para o padrão." -msgstr "Deixe em branco para o padrão." - -#: includes/admin.php:197 includes/admin.php:231 loco:65d0204b49eac4bf09031b23 -msgid "Limpar Cache do Nginx Hestia Cache" -msgstr "Limpar Cache do Nginx Hestia Cache" - -#: includes/admin.php:214 includes/admin.php:255 loco:65d0204b49eac4bf09031b24 -msgid "Não foi possível limpar o Cache do Nginx Hestia Cache!" -msgstr "Não foi possível limpar o Cache do Nginx Hestia Cache!" - -#: includes/admin.php:268 loco:65d0204b49eac4bf09031b25 -msgid "O Cache do Hestia Nginx Cache foi limpo com sucesso." -msgstr "O Cache do Hestia Nginx Cache foi limpo com sucesso." - -#: includes/site_health.php:47 loco:65d0204b49eac4bf09031b26 -msgid "Versão" -msgstr "Versão" - -#: includes/site_health.php:51 loco:65d0204b49eac4bf09031b27 -msgid "Configuração" -msgstr "Configuração" - -#: includes/site_health.php:52 loco:65d0204b49eac4bf09031b28 -msgid "O plugin foi configurado." -msgstr "O plugin foi configurado." - -#: includes/site_health.php:52 loco:65d0204b49eac4bf09031b29 -msgid "O plugin não foi configurado." -msgstr "O plugin não foi configurado." From 7163370cc6bde611b602cd6eb3921655c53ab72c Mon Sep 17 00:00:00 2001 From: Maison da Silva Date: Sat, 17 Feb 2024 00:11:27 -0300 Subject: [PATCH 03/15] Delete languages/hestia-nginx-cache-pt_BR..mo --- languages/hestia-nginx-cache-pt_BR..mo | Bin 2682 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 languages/hestia-nginx-cache-pt_BR..mo diff --git a/languages/hestia-nginx-cache-pt_BR..mo b/languages/hestia-nginx-cache-pt_BR..mo deleted file mode 100644 index 31e76b0045c290f17f3fa63311b4e3516db0fe36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2682 zcmeH|KWrRD6vihI2pkZSK=?26f_uzBjFW^()-{2GA(fvY9gE9CDn1dYW3y|Y{2adp> zL5{O{j}R|{7r_JIC*aHAry!rZ4xWUz8zAf22P4*X800*TfxI4rtm}1<&z%Q3o&{Og zRgmL-3$m{3AnW=aWL-Bw_BXt*(e)w7x;_V4*9OSCegs+9f%}^{uYnxr0?4{5kmLLY zvaY{CxE3cmjjmH5=XVL@D|-+Vr4VpipW~b+gY9^59(>dCu?}1 zT{{YLtvEi9M=^0tb)8U7ffU5!m^>cAUOBn> z&F0tGyybC2`8%H}lk`S^Y3H(~eo^Jx?ARGeC&|*N-i^hZO0O$YB_&Rp6zlD_%pAgF z-nICQSzKS(o)4$`jKvhb37BTgsqQSt|H|f|MP$&M#NeWJpGFMK`~48kwJwAJ~NE zY?ThB%S7$QHE9rRo2=USO>!%?tna1rRqcb#8UxX6SsGd&c-bpA)|qu;g^Mt-nno6p zuZ>mF)(IKbUU!dmT%6n9-lYiak?Reawj^KGof6|vb8mITbkZ6b)NbvVNkX@6_pPIW z99wq^4vnvhx`cU!>%lE(s+5E> zH*Jl6j0FM)_`ao5t7<)1UilB5b3r)|9by>5$oIP4T!&$m#E95k<7-XYTkQ_(7K;qG zSX6h!)|uN3<4lc3-`O>lhG;2^IDodMw_5{F#Z&RCon>kAO6DqBRkG~SoRe2{p`{^K zR^^rQYRjfaqY%x#)9Dv@Z;NOVrSd&8C?g*I?9>cb6hCJT9iOGsGo7bwfG=T{e_>1{i_u703gw1BrZ( Date: Sat, 17 Feb 2024 00:13:21 -0300 Subject: [PATCH 04/15] Update for new version Update for new version --- languages/hestia-nginx-cache-pt_BR.mo | Bin 1428 -> 2682 bytes languages/hestia-nginx-cache-pt_BR.po | 132 ++++++++++++++++++++------ 2 files changed, 104 insertions(+), 28 deletions(-) diff --git a/languages/hestia-nginx-cache-pt_BR.mo b/languages/hestia-nginx-cache-pt_BR.mo index 71ea160a77d09d5d1eb5cc222b04bb9fc2ff0d69..31e76b0045c290f17f3fa63311b4e3516db0fe36 100644 GIT binary patch literal 2682 zcmeH|KWrRD6vihI2pkZSK=?26f_uzBjFW^()-{2GA(fvY9gE9CDn1dYW3y|Y{2adp> zL5{O{j}R|{7r_JIC*aHAry!rZ4xWUz8zAf22P4*X800*TfxI4rtm}1<&z%Q3o&{Og zRgmL-3$m{3AnW=aWL-Bw_BXt*(e)w7x;_V4*9OSCegs+9f%}^{uYnxr0?4{5kmLLY zvaY{CxE3cmjjmH5=XVL@D|-+Vr4VpipW~b+gY9^59(>dCu?}1 zT{{YLtvEi9M=^0tb)8U7ffU5!m^>cAUOBn> z&F0tGyybC2`8%H}lk`S^Y3H(~eo^Jx?ARGeC&|*N-i^hZO0O$YB_&Rp6zlD_%pAgF z-nICQSzKS(o)4$`jKvhb37BTgsqQSt|H|f|MP$&M#NeWJpGFMK`~48kwJwAJ~NE zY?ThB%S7$QHE9rRo2=USO>!%?tna1rRqcb#8UxX6SsGd&c-bpA)|qu;g^Mt-nno6p zuZ>mF)(IKbUU!dmT%6n9-lYiak?Reawj^KGof6|vb8mITbkZ6b)NbvVNkX@6_pPIW z99wq^4vnvhx`cU!>%lE(s+5E> zH*Jl6j0FM)_`ao5t7<)1UilB5b3r)|9by>5$oIP4T!&$m#E95k<7-XYTkQ_(7K;qG zSX6h!)|uN3<4lc3-`O>lhG;2^IDodMw_5{F#Z&RCon>kAO6DqBRkG~SoRe2{p`{^K zR^^rQYRjfaqY%x#)9Dv@Z;NOVrSd&8C?g*I?9>cb6hCJT9iOGsGo7bwfG=T{e_>1{i_u703gw1BrZ(&7XIk_j%tRbLUqk-)3vC3D#xA0wO36 zSZ}AOIE(!|!~x z-e7YR7azc7@GIzoGxe#^CRhrcfn-Z)6LY#7#_4m~=YAyqb4Bl`Mudu+Sf=z?D*8yO zV4#H77G2AYWLd64p{a=ky*riiODQ^zL`qX30ufl`0e>ow=(^1Ph^v4M%0GV<9!8>g zR-3!-%RC8aDh)jnw2}^Pkl&AEu7BN8o%=pK9Op^$!YW?Y&n9kjPh?UVwxh#1VC#9P z*-&~kGA7fWZI9tQt9(lp+B(n5WIIc8v~Ne%C|FvKf>r*TgNH-bSE6d1ZEzzz+IHG4 z=B%*R(y-O_IvuaO#2nXi93*eDJ#iXqOzBUu%bYfAxzy=+Zg Date: Sat, 17 Feb 2024 00:47:56 -0300 Subject: [PATCH 05/15] Fix File --- languages/hestia-nginx-cache-pt_BR.mo | Bin 2682 -> 2598 bytes languages/hestia-nginx-cache-pt_BR.po | 281 +++++++++++++------------- 2 files changed, 139 insertions(+), 142 deletions(-) diff --git a/languages/hestia-nginx-cache-pt_BR.mo b/languages/hestia-nginx-cache-pt_BR.mo index 31e76b0045c290f17f3fa63311b4e3516db0fe36..443159760aba4f29f6420aa41119a62082698eea 100644 GIT binary patch literal 2598 zcmb`I&u<$=6vwAf0W}5GO8h7kG~ohOyKC2p(&8vWN!pa4q_rATdIHVvj@Of{XUxp3 zlfn`B3s4V;Q|SSL)B{LdIB+1>R^k9s1rit3|9}$+iSOH8+i4oag-Fh4f4q6W-`n4g z9=y)*_X2*$@%w{r@OS&bgokl?2lqAb7w~ED9{2?K7x)x-=pn|Ag2%us;3<%ve+WJa zegZxVeh$6^epkIe_Ap~daDM_M{c|9lTLvEouYiw%5%?Uq36h^5fhWNmU>&>zz6Aaa zz6>5e$k?Oc>)C4Q@QbO^+k8pHz5O2X742nOYT#XC`P;@OZ40|0 zU&y@)3SEx-o~$&*q=|3!q~==6L?+?LQtqVHqA%H-V$(!?(d2PY*o3W0F_c{P2mV@N zB9UE@XP&h)DV*e1cBLh^$;Ked;qNPsEA70iJS*77*zkG@`^vo8WOr@5H zL2{uvr4T6#p`KJt(%Gi0+?S4Z8C&U#1g}dwgcm*Id=Wx*KQPv_aY05Gg(nklL$*$S zRF$C;AP_OC80+Bf!CLUxyG$AHK_-%@ zN?dh?O!mGmjomMDMOsJQ)AN4dTJ?IWd@ql}*!1fgRK}>PV!cTf6<Svx-o`E=N*VMx8y zaOv7Wwu-rh^BB}QPSfF}pMR^f9GsoVk?WX<;Jl7af<@5cXCvinSA$g(n_%7KHkNcP zGU$`~-KB+E`%))Zva%S9;2Z{_#hZ=hOwecsr)N5i=~koBYP@!m{x={TT$V#cRo^Rn zhC_Dd3n~H_CSk_ydF0}Gn@@)=lIqjmB$P)`C{i=i4q7JV7Anwm4TTTv;qz5VBHz2Ph|YgO~bXIWoShqLX)PPw*oqDn!PG% zFYesZ%5cFm)gK5u+E=?bW3>hg4Wx9RfyGI&dp)j_GA^(rX&=Q{d?++Gyj+l_^7nF~ z;kA|&#?B3^Ovo;pei2&k^5O}FRhrwoIL}G7O^cI9=n3S%@PLq53KX5oyJBeUDVlkQ zl}hHZD~q(03$)A$nJ6cw(h+$qyK0wKnRh0#5{mk?PA$GPd0$YAmUTc;!o8U#tr!d} z1Xkq2mR}iqTtr`0(G^=(RB@w=uwzLEUyGqijHNg{T;BC${9)U-qT@W2w$E>?Na4fy z-<@%hTBmCi9~e~Q)=*|uM<8v*2XgHCsQ$&%DRyb{dY{H1jnr8vz3J0}rj`wHs7g7# aA1!5(n8^!0@@My38WpPUX#f2`3;7?h7A8Xg literal 2682 zcmeH|KWrRD6vihI2pkZSK=?26f_uzBjFW^()-{2GA(fvY9gE9CDn1dYW3y|Y{2adp> zL5{O{j}R|{7r_JIC*aHAry!rZ4xWUz8zAf22P4*X800*TfxI4rtm}1<&z%Q3o&{Og zRgmL-3$m{3AnW=aWL-Bw_BXt*(e)w7x;_V4*9OSCegs+9f%}^{uYnxr0?4{5kmLLY zvaY{CxE3cmjjmH5=XVL@D|-+Vr4VpipW~b+gY9^59(>dCu?}1 zT{{YLtvEi9M=^0tb)8U7ffU5!m^>cAUOBn> z&F0tGyybC2`8%H}lk`S^Y3H(~eo^Jx?ARGeC&|*N-i^hZO0O$YB_&Rp6zlD_%pAgF z-nICQSzKS(o)4$`jKvhb37BTgsqQSt|H|f|MP$&M#NeWJpGFMK`~48kwJwAJ~NE zY?ThB%S7$QHE9rRo2=USO>!%?tna1rRqcb#8UxX6SsGd&c-bpA)|qu;g^Mt-nno6p zuZ>mF)(IKbUU!dmT%6n9-lYiak?Reawj^KGof6|vb8mITbkZ6b)NbvVNkX@6_pPIW z99wq^4vnvhx`cU!>%lE(s+5E> zH*Jl6j0FM)_`ao5t7<)1UilB5b3r)|9by>5$oIP4T!&$m#E95k<7-XYTkQ_(7K;qG zSX6h!)|uN3<4lc3-`O>lhG;2^IDodMw_5{F#Z&RCon>kAO6DqBRkG~SoRe2{p`{^K zR^^rQYRjfaqY%x#)9Dv@Z;NOVrSd&8C?g*I?9>cb6hCJT9iOGsGo7bwfG=T{e_>1{i_u703gw1BrZ( Date: Sat, 17 Feb 2024 00:56:41 -0300 Subject: [PATCH 06/15] Fix --- languages/hestia-nginx-cache-pt_BR.po | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/languages/hestia-nginx-cache-pt_BR.po b/languages/hestia-nginx-cache-pt_BR.po index 5f97921..397c0a5 100644 --- a/languages/hestia-nginx-cache-pt_BR.po +++ b/languages/hestia-nginx-cache-pt_BR.po @@ -95,12 +95,8 @@ msgid "Admin bar button text" msgstr "Texto do botão na barra de administração" #: includes/admin.php:106 -msgid "" -"Please refer to the plugin's installation guide for information on how to " -"generate an API key." -msgstr "" -"Por favor, consulte o guia de instalação do plugin para obter informações " -"sobre como gerar uma chave de API." +msgid "Please refer to the plugin's installation guide for information on how to generate an API key." +msgstr "Por favor, consulte o guia de instalação do plugin para obter informações sobre como gerar uma chave de API." #: includes/admin.php:155 msgid "Settings for the plugin." From 3d5c56acb0c11759c10e9c165facce33f099ccb2 Mon Sep 17 00:00:00 2001 From: Maison da Silva Date: Sat, 17 Feb 2024 00:59:01 -0300 Subject: [PATCH 07/15] Update hestia-nginx-cache-pt_BR.po --- languages/hestia-nginx-cache-pt_BR.po | 1 - 1 file changed, 1 deletion(-) diff --git a/languages/hestia-nginx-cache-pt_BR.po b/languages/hestia-nginx-cache-pt_BR.po index 397c0a5..67c81b0 100644 --- a/languages/hestia-nginx-cache-pt_BR.po +++ b/languages/hestia-nginx-cache-pt_BR.po @@ -17,7 +17,6 @@ msgstr "" "PO-Revision-Date: 2024-02-17 03:47+0000\n" "X-Generator: Loco https://localise.biz/\n" "X-Domain: hestia-nginx-cache\n" -"X-Loco-Version: 2.6.6; wp-6.4.3" #. Plugin Name of the plugin #: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php From 26ab7d5af4b5874c0bfb0d703a69a15955dffe60 Mon Sep 17 00:00:00 2001 From: Maison da Silva Date: Sat, 17 Feb 2024 01:04:42 -0300 Subject: [PATCH 08/15] Add files via upload --- languages/hestia-nginx-cache-pt_BR.mo | Bin 2598 -> 2573 bytes languages/hestia-nginx-cache-pt_BR.po | 17 +++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/languages/hestia-nginx-cache-pt_BR.mo b/languages/hestia-nginx-cache-pt_BR.mo index 443159760aba4f29f6420aa41119a62082698eea..fb8d589a8e1bed064276b7535cfda9ba896aee71 100644 GIT binary patch delta 215 zcmZ1`(krsTgt1#cLQlzAbko*YXa#PK-vOG3vn_qm;h;SAT0r;8-O%O-AqmfaR#6r z4BLSM#z1;MkOo=!nRD|g##R;<6DtFg&B1JOjEtd^cd;u91SF;u9bTNTkeaKIRFs&P XJoyLvMh=hs;*z|?+|z#DjiH7GJfckmYaP(hb_h3;>Yp%P((_BhnxFLZ;sZ1OGUo>y=Bjih(c z7wrc#)~qzgQM`M%p2Ri5k9lC_V_ Date: Sat, 17 Feb 2024 01:05:22 -0300 Subject: [PATCH 09/15] Update hestia-nginx-cache-pt_BR.po --- languages/hestia-nginx-cache-pt_BR.po | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/languages/hestia-nginx-cache-pt_BR.po b/languages/hestia-nginx-cache-pt_BR.po index 2531021..81cfc1c 100644 --- a/languages/hestia-nginx-cache-pt_BR.po +++ b/languages/hestia-nginx-cache-pt_BR.po @@ -17,7 +17,6 @@ msgstr "" "PO-Revision-Date: 2024-02-17 04:04+0000\n" "X-Generator: Loco https://localise.biz/\n" "X-Domain: hestia-nginx-cache\n" -"X-Loco-Version: 2.6.6; wp-6.4.3" #. Plugin Name of the plugin #: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php @@ -33,12 +32,8 @@ msgstr "https://github.com/jakobbouchard/hestia-nginx-cache" #. Description of the plugin #: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "" -"Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache " -"when needed." -msgstr "" -"Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o " -"cache Nginx quando necessário." +msgid "Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed." +msgstr "Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o cache Nginx quando necessário." #. Author of the plugin #: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php From 1fc4061fb22f3133c154eac621f6d56b5f41caf1 Mon Sep 17 00:00:00 2001 From: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com> Date: Sun, 31 Mar 2024 21:27:02 +0200 Subject: [PATCH 10/15] Feature Disable Auto Purge See: https://forum.hestiacp.com/t/apache2-and-nginx-restart-every-few-minutes/13628/3 --- hestia-nginx-cache.php | 3 +++ includes/admin.php | 20 +++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/hestia-nginx-cache.php b/hestia-nginx-cache.php index 1abc800..01008e2 100644 --- a/hestia-nginx-cache.php +++ b/hestia-nginx-cache.php @@ -122,6 +122,9 @@ public function purge($force = false) } $options = get_option(self::NAME); + if(key_exists('disable_automatic_purge', $options) && $options['disable_automatic_purge'] && !$force){ + return false; + } // Server credentials $hostname = $options['host']; diff --git a/includes/admin.php b/includes/admin.php index d16538c..c038ffb 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -80,6 +80,7 @@ public function register_settings() add_settings_section('plugin_settings', esc_html__('Plugin Settings', 'hestia-nginx-cache'), [$this, 'plugin_settings_text'], 'hestia-nginx-cache'); add_settings_field('plugin_setting_show_purge_button', esc_html__('Show button in the admin bar', 'hestia-nginx-cache'), [$this, 'plugin_setting_show_purge_button'], $this->plugin::NAME, 'plugin_settings'); add_settings_field('plugin_setting_purge_button_text', esc_html__('Admin bar button text', 'hestia-nginx-cache'), [$this, 'plugin_setting_purge_button_text'], $this->plugin::NAME, 'plugin_settings'); + add_settings_field('plugin_setting_automatic_purge', esc_html__('Disable Automatic Purge', 'hestia-nginx-cache'), [$this, 'plugin_setting_automatic_purge'], $this->plugin::NAME, 'plugin_settings'); } public function validate_options($input) @@ -158,7 +159,13 @@ public function plugin_settings_text() public function plugin_setting_show_purge_button() { $options = get_option($this->plugin::NAME); - $show_adminbar_button = $this->plugin::$is_configured ? $options["show_adminbar_button"] : false; + $show_adminbar_button = false; + if( $this->plugin::$is_configured ){ + if(key_exists('show_adminbar_button', $options)){ + $show_adminbar_button = $options["show_adminbar_button"]; + } + } + $show_adminbar_button = $this->plugin::$is_configured ? : false; echo ''; } @@ -169,6 +176,17 @@ public function plugin_setting_purge_button_text() echo ''; } + function plugin_setting_automatic_purge(){ + $options = get_option($this->plugin::NAME); + $disable_automatic_purge = false; + if( $this->plugin::$is_configured ){ + if(key_exists('disable_automatic_purge', $options)){ + $disable_automatic_purge = $options["disable_automatic_purge"]; + } + } + echo ''; + } + public function add_settings_page() { add_options_page( From 0556bb7d03fe0a9c43d7840a584e04d651527d03 Mon Sep 17 00:00:00 2001 From: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com> Date: Sun, 31 Mar 2024 21:35:46 +0200 Subject: [PATCH 11/15] Disable pingback / trackback as they can used/abused by spammers/hackers --- hestia-nginx-cache.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/hestia-nginx-cache.php b/hestia-nginx-cache.php index 01008e2..0a2ae07 100644 --- a/hestia-nginx-cache.php +++ b/hestia-nginx-cache.php @@ -52,13 +52,11 @@ class Hestia_Nginx_Cache 'attachment_updated', 'publish_phone', 'clean_post_cache', - 'pingback_post', 'comment_post', 'edit_comment', 'delete_comment', 'wp_insert_comment', 'wp_set_comment_status', - 'trackback_post', 'transition_post_status', 'transition_comment_status', 'wp_update_nav_menu', From ac8ad4300b27eaa58346a63f356b53aa92de7168 Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Mon, 24 Jun 2024 17:44:23 -0400 Subject: [PATCH 12/15] Update translations --- languages/hestia-nginx-cache-fr_CA.mo | Bin 2387 -> 2425 bytes languages/hestia-nginx-cache-fr_CA.po | 4 +++ languages/hestia-nginx-cache.pot | 40 ++++++++++++++------------ 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/languages/hestia-nginx-cache-fr_CA.mo b/languages/hestia-nginx-cache-fr_CA.mo index f5d16251b35afd455f34b7d69b7750d63d74d4a3..da2ede9d78096112bded84a0e7642ee43d052bbf 100644 GIT binary patch delta 559 zcmYMwOG^S#6u|MTsg=El(t@ZdG$IA!`teh|Vs9LE}r zV>`~F9CQlBk#@^A0qV35Ef2xA#X@DsZ+K(!y^ zC|{DX&TTP|v8}Cb>S`>XOK)j8Bcaabvnjn)v0d4%iesXB-rO+LyQa0`T(%A!aqmzx zG8_oA+|!zw%4;b-swT6mR>V1A-8(gF)U~8OUT$lNoUx;4Rj%GK)~QmpzYdwaUMjkt F?BD;XPxb%+ delta 524 zcmYMvy-Pw-7{~GB&G(8*EDNl}us5}ggy>F57=#9a5Y>>}%xoyN8%+)R7r0#73TIs! z#I>odC1^6Lxmue7p}wbt4qQIZ@7%+4p7Z5;bd_FR=1ajE=JWDB%fPxa{o6x%O?F}( z2eFC0c#nP9LKnW{7PdS4DMbhmIfHw6f%5zl4hT^a9~822yYs`=B}6ybgLa%iIa~1sKF(tW$M6>Y_<}YRW+CS2X-7HelJ(CxhRCVkToR&8(a%N&<;$vgicORkPtk1> zSFnsZ9Kttr<2T9++)OL?{U~3!j1FAK5lrC%o?ry47?m%2pcqFBrvn&3dWwWmGsPN; zQd5i#OTw|JMx((9%cz@UqicFLpE>ePuWEViK$~$UwS4Ye%VkyHp&mAFEVIU^dDm!J iH1BpeS;!Q^o0@)>)m7gyAzhRqT`U-?b*Is^-YGvUUPsCR diff --git a/languages/hestia-nginx-cache-fr_CA.po b/languages/hestia-nginx-cache-fr_CA.po index da5680b..b75ccda 100644 --- a/languages/hestia-nginx-cache-fr_CA.po +++ b/languages/hestia-nginx-cache-fr_CA.po @@ -93,6 +93,10 @@ msgstr "Afficher le bouton dans la barre d'administration" msgid "Admin bar button text" msgstr "Texte du bouton de la barre d'administration" +#: includes/admin.php:83 +msgid "Disable Automatic Purge" +msgstr "Désactiver le vidage automatique" + #: includes/admin.php:106 msgid "Please refer to the plugin's installation guide for information on how to generate an API key." msgstr "Veuillez vous référer au guide d'installation de l'extension pour plus d'informations sur la façon de générer une clé API." diff --git a/languages/hestia-nginx-cache.pot b/languages/hestia-nginx-cache.pot index 204c3ba..b188842 100644 --- a/languages/hestia-nginx-cache.pot +++ b/languages/hestia-nginx-cache.pot @@ -2,44 +2,44 @@ # This file is distributed under the GPL v3. msgid "" msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.4\n" +"Project-Id-Version: Hestia Nginx Cache 2.2.5\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-02-14T03:00:09+00:00\n" +"POT-Creation-Date: 2024-06-24T21:41:55+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.10.0\n" "X-Domain: hestia-nginx-cache\n" #. Plugin Name of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: includes/admin.php:175 -#: includes/admin.php:176 -#: includes/admin.php:190 +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +#: includes/admin.php:193 +#: includes/admin.php:194 +#: includes/admin.php:208 #: includes/site_health.php:44 msgid "Hestia Nginx Cache" msgstr "" #. Plugin URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "https://github.com/jakobbouchard/hestia-nginx-cache" msgstr "" #. Description of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed." msgstr "" #. Author of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "Jakob Bouchard" msgstr "" #. Author URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "https://jakobbouchard.dev" msgstr "" @@ -89,29 +89,33 @@ msgstr "" msgid "Admin bar button text" msgstr "" -#: includes/admin.php:106 +#: includes/admin.php:83 +msgid "Disable Automatic Purge" +msgstr "" + +#: includes/admin.php:107 msgid "Please refer to the plugin's installation guide for information on how to generate an API key." msgstr "" -#: includes/admin.php:155 +#: includes/admin.php:156 msgid "Settings for the plugin." msgstr "" -#: includes/admin.php:169 +#: includes/admin.php:176 msgid "Leave empty for default" msgstr "" -#: includes/admin.php:197 -#: includes/admin.php:231 +#: includes/admin.php:215 +#: includes/admin.php:249 msgid "Purge Nginx Cache" msgstr "" -#: includes/admin.php:214 -#: includes/admin.php:255 +#: includes/admin.php:232 +#: includes/admin.php:273 msgid "The Hestia Nginx Cache could not be purged!" msgstr "" -#: includes/admin.php:268 +#: includes/admin.php:286 msgid "The Hestia Nginx Cache was purged successfully." msgstr "" From e0e778c78ec0e7c318a160226f25ed016dfed72c Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Mon, 24 Jun 2024 17:48:04 -0400 Subject: [PATCH 13/15] Correctly update po --- languages/hestia-nginx-cache-fr_CA.po | 55 +++--- languages/hestia-nginx-cache-pt_BR.po | 271 +++++++++++++------------- 2 files changed, 164 insertions(+), 162 deletions(-) diff --git a/languages/hestia-nginx-cache-fr_CA.po b/languages/hestia-nginx-cache-fr_CA.po index b75ccda..e9337c5 100644 --- a/languages/hestia-nginx-cache-fr_CA.po +++ b/languages/hestia-nginx-cache-fr_CA.po @@ -1,51 +1,46 @@ -# Copyright (C) 2024 Jakob Bouchard -# This file is distributed under the GPL v3. msgid "" msgstr "" "Project-Id-Version: Hestia Nginx Cache 2.2.4\n" -"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-" -"cache\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" "Last-Translator: Jakob Bouchard \n" "Language-Team: Unknown\n" -"Language: fr_CA\n" -"Plural-Forms: nplurals=2; plural=n!=1;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Loco-Source-Locale: en_CA\n" "POT-Creation-Date: 2024-02-14T03:00:09+00:00\n" "PO-Revision-Date: 2024-02-14 02:53+0000\n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=n!=1;\n" +"X-Loco-Source-Locale: en_CA\n" "X-Generator: Loco https://localise.biz/\n" "X-Domain: hestia-nginx-cache\n" #. Plugin Name of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: includes/admin.php:175 includes/admin.php:176 includes/admin.php:190 -#: includes/site_health.php:45 +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +#: includes/admin.php:193 +#: includes/admin.php:194 +#: includes/admin.php:208 +#: includes/site_health.php:44 msgid "Hestia Nginx Cache" msgstr "Cache Nginx de Hestia" #. Plugin URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "https://github.com/jakobbouchard/hestia-nginx-cache" msgstr "" #. Description of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "" -"Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache " -"when needed." -msgstr "" -"Intégration du cache Nginx de Hestia pour WordPress. Vide automatiquement le " -"cache de Nginx lorsque nécessaire." +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +msgid "Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed." +msgstr "Intégration du cache Nginx de Hestia pour WordPress. Vide automatiquement le cache de Nginx lorsque nécessaire." #. Author of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "Jakob Bouchard" msgstr "" #. Author URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php msgid "https://jakobbouchard.dev" msgstr "" @@ -57,11 +52,13 @@ msgstr "Réglages" msgid "API Settings" msgstr "Options d'API" -#: includes/admin.php:73 includes/site_health.php:62 +#: includes/admin.php:73 +#: includes/site_health.php:61 msgid "Server hostname" msgstr "Nom d'hôte du serveur" -#: includes/admin.php:74 includes/site_health.php:66 +#: includes/admin.php:74 +#: includes/site_health.php:65 msgid "Server port" msgstr "Port du serveur" @@ -97,27 +94,29 @@ msgstr "Texte du bouton de la barre d'administration" msgid "Disable Automatic Purge" msgstr "Désactiver le vidage automatique" -#: includes/admin.php:106 +#: includes/admin.php:107 msgid "Please refer to the plugin's installation guide for information on how to generate an API key." msgstr "Veuillez vous référer au guide d'installation de l'extension pour plus d'informations sur la façon de générer une clé API." -#: includes/admin.php:155 +#: includes/admin.php:156 msgid "Settings for the plugin." msgstr "Options pour l'extension." -#: includes/admin.php:169 +#: includes/admin.php:176 msgid "Leave empty for default" msgstr "Laisser vide pour le texte par défaut" -#: includes/admin.php:197 includes/admin.php:231 +#: includes/admin.php:215 +#: includes/admin.php:249 msgid "Purge Nginx Cache" msgstr "Vider le cache Nginx" -#: includes/admin.php:214 includes/admin.php:255 +#: includes/admin.php:232 +#: includes/admin.php:273 msgid "The Hestia Nginx Cache could not be purged!" msgstr "Le cache Nginx de Hestia n'a pas pu être vidé!" -#: includes/admin.php:268 +#: includes/admin.php:286 msgid "The Hestia Nginx Cache was purged successfully." msgstr "Le cache Nginx de Hestia a été vidé avec succès." diff --git a/languages/hestia-nginx-cache-pt_BR.po b/languages/hestia-nginx-cache-pt_BR.po index 81cfc1c..c4f9284 100644 --- a/languages/hestia-nginx-cache-pt_BR.po +++ b/languages/hestia-nginx-cache-pt_BR.po @@ -1,134 +1,137 @@ -# Copyright (C) 2024 Jakob Bouchard -# This file is distributed under the GPL v3. -msgid "" -msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.4\n" -"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-" -"cache\n" -"Last-Translator: Maison da Silva\n" -"Language-Team: Português do Brasil\n" -"Language: pt-BR\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Loco-Source-Locale: en_CA\n" -"POT-Creation-Date: 2024-02-14T03:00:09+00:00\n" -"PO-Revision-Date: 2024-02-17 04:04+0000\n" -"X-Generator: Loco https://localise.biz/\n" -"X-Domain: hestia-nginx-cache\n" - -#. Plugin Name of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -#: includes/admin.php:175 includes/admin.php:176 includes/admin.php:190 -#: includes/site_health.php:45 -msgid "Hestia Nginx Cache" -msgstr "Hestia Nginx Cache" - -#. Plugin URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "https://github.com/jakobbouchard/hestia-nginx-cache" -msgstr "https://github.com/jakobbouchard/hestia-nginx-cache" - -#. Description of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed." -msgstr "Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o cache Nginx quando necessário." - -#. Author of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "Jakob Bouchard" -msgstr "Jakob Bouchard" - -#. Author URI of the plugin -#: C:\Users\Jakob\Dev\hestia-nginx-cache\hestia-nginx-cache.php -msgid "https://jakobbouchard.dev" -msgstr "https://jakobbouchard.dev" - -#: includes/admin.php:60 -msgid "Settings" -msgstr "Configuração" - -#: includes/admin.php:72 -msgid "API Settings" -msgstr "Configurações da API" - -#: includes/admin.php:73 includes/site_health.php:62 -msgid "Server hostname" -msgstr "Hostname do servidor" - -#: includes/admin.php:74 includes/site_health.php:66 -msgid "Server port" -msgstr "Porta do servidor" - -#: includes/admin.php:75 -msgid "Access key" -msgstr "Chave de acesso" - -#: includes/admin.php:76 -msgid "Secret key" -msgstr "Chave secreta" - -#: includes/admin.php:77 -msgid "Hestia username" -msgstr "Usuário do Hestia" - -#: includes/admin.php:78 -msgid "Domain to purge" -msgstr "Domínio a limpar" - -#: includes/admin.php:80 -msgid "Plugin Settings" -msgstr "Configurações do Plugin" - -#: includes/admin.php:81 -msgid "Show button in the admin bar" -msgstr "Exibir botão na barra de administração" - -#: includes/admin.php:82 -msgid "Admin bar button text" -msgstr "Texto do botão na barra de administração" - -#: includes/admin.php:106 -msgid "" -"Please refer to the plugin's installation guide for information on how to " -"generate an API key." -msgstr "" -"Por favor, consulte o guia de instalação do plugin para obter informações " -"sobre como gerar uma chave de API." - -#: includes/admin.php:155 -msgid "Settings for the plugin." -msgstr "Configurações para o plugin" - -#: includes/admin.php:169 -msgid "Leave empty for default" -msgstr "Padrão em branco" - -#: includes/admin.php:197 includes/admin.php:231 -msgid "Purge Nginx Cache" -msgstr "Limpar Cache do Nginx" - -#: includes/admin.php:214 includes/admin.php:255 -msgid "The Hestia Nginx Cache could not be purged!" -msgstr "Não foi possível limpar o Cache do Nginx Hestia Cache!" - -#: includes/admin.php:268 -msgid "The Hestia Nginx Cache was purged successfully." -msgstr "O Cache do Hestia Nginx Cache foi limpo com sucesso." - -#: includes/site_health.php:47 -msgid "Version" -msgstr "Versão" - -#: includes/site_health.php:51 -msgid "Configuration" -msgstr "Configurações" - -#: includes/site_health.php:52 -msgid "The plugin has been configured" -msgstr "O plugin foi configurado" - -#: includes/site_health.php:52 -msgid "The plugin has not been configured" -msgstr "O plugin não foi configurado" +msgid "" +msgstr "" +"Project-Id-Version: Hestia Nginx Cache 2.2.4\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" +"Last-Translator: Maison da Silva\n" +"Language-Team: Português do Brasil\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2024-02-14T03:00:09+00:00\n" +"PO-Revision-Date: 2024-02-17 04:04+0000\n" +"Language: pt-BR\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Loco-Source-Locale: en_CA\n" +"X-Generator: Loco https://localise.biz/\n" +"X-Domain: hestia-nginx-cache\n" + +#. Plugin Name of the plugin +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +#: includes/admin.php:193 +#: includes/admin.php:194 +#: includes/admin.php:208 +#: includes/site_health.php:44 +msgid "Hestia Nginx Cache" +msgstr "Hestia Nginx Cache" + +#. Plugin URI of the plugin +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +msgid "https://github.com/jakobbouchard/hestia-nginx-cache" +msgstr "https://github.com/jakobbouchard/hestia-nginx-cache" + +#. Description of the plugin +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +msgid "Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed." +msgstr "Integração de Hestia Nginx Cache para WordPress. Limpa automaticamente o cache Nginx quando necessário." + +#. Author of the plugin +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +msgid "Jakob Bouchard" +msgstr "Jakob Bouchard" + +#. Author URI of the plugin +#: C:\Users\Jakob\Dev\jaap-hst-nginx-cache\hestia-nginx-cache.php +msgid "https://jakobbouchard.dev" +msgstr "https://jakobbouchard.dev" + +#: includes/admin.php:60 +msgid "Settings" +msgstr "Configuração" + +#: includes/admin.php:72 +msgid "API Settings" +msgstr "Configurações da API" + +#: includes/admin.php:73 +#: includes/site_health.php:61 +msgid "Server hostname" +msgstr "Hostname do servidor" + +#: includes/admin.php:74 +#: includes/site_health.php:65 +msgid "Server port" +msgstr "Porta do servidor" + +#: includes/admin.php:75 +msgid "Access key" +msgstr "Chave de acesso" + +#: includes/admin.php:76 +msgid "Secret key" +msgstr "Chave secreta" + +#: includes/admin.php:77 +msgid "Hestia username" +msgstr "Usuário do Hestia" + +#: includes/admin.php:78 +msgid "Domain to purge" +msgstr "Domínio a limpar" + +#: includes/admin.php:80 +msgid "Plugin Settings" +msgstr "Configurações do Plugin" + +#: includes/admin.php:81 +msgid "Show button in the admin bar" +msgstr "Exibir botão na barra de administração" + +#: includes/admin.php:82 +msgid "Admin bar button text" +msgstr "Texto do botão na barra de administração" + +#: includes/admin.php:107 +msgid "Please refer to the plugin's installation guide for information on how to generate an API key." +msgstr "Por favor, consulte o guia de instalação do plugin para obter informações sobre como gerar uma chave de API." + +#: includes/admin.php:156 +msgid "Settings for the plugin." +msgstr "Configurações para o plugin" + +#: includes/admin.php:176 +msgid "Leave empty for default" +msgstr "Padrão em branco" + +#: includes/admin.php:215 +#: includes/admin.php:249 +msgid "Purge Nginx Cache" +msgstr "Limpar Cache do Nginx" + +#: includes/admin.php:232 +#: includes/admin.php:273 +msgid "The Hestia Nginx Cache could not be purged!" +msgstr "Não foi possível limpar o Cache do Nginx Hestia Cache!" + +#: includes/admin.php:286 +msgid "The Hestia Nginx Cache was purged successfully." +msgstr "O Cache do Hestia Nginx Cache foi limpo com sucesso." + +#: includes/site_health.php:47 +msgid "Version" +msgstr "Versão" + +#: includes/site_health.php:51 +msgid "Configuration" +msgstr "Configurações" + +#: includes/site_health.php:52 +msgid "The plugin has been configured" +msgstr "O plugin foi configurado" + +#: includes/site_health.php:52 +msgid "The plugin has not been configured" +msgstr "O plugin não foi configurado" + +#: includes/admin.php:83 +msgid "Disable Automatic Purge" +msgstr "" From df68cc8a8ce567ad91626b7a9fed82b78cfec35d Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Mon, 24 Jun 2024 17:51:21 -0400 Subject: [PATCH 14/15] Bump version --- hestia-nginx-cache.php | 6 +++--- languages/hestia-nginx-cache-fr_CA.po | 2 +- languages/hestia-nginx-cache-pt_BR.po | 2 +- languages/hestia-nginx-cache.pot | 2 +- readme.txt | 5 ++++- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/hestia-nginx-cache.php b/hestia-nginx-cache.php index 0a2ae07..2a88db2 100644 --- a/hestia-nginx-cache.php +++ b/hestia-nginx-cache.php @@ -10,8 +10,8 @@ * @wordpress-plugin * Plugin Name: Hestia Nginx Cache * Description: Hestia Nginx Cache Integration for WordPress. Auto-purges the Nginx cache when needed. - * Plugin URI: https://github.com/jakobbouchard/hestia-nginx-cache - * Version: 2.2.5 + * Plugin URI: https://github.com/jakobbouchard/hestia-nginx-cache + * Version: 2.3.0 * Requires at least: 4.8 * Requires PHP: 5.4 * Author: Jakob Bouchard @@ -28,7 +28,7 @@ class Hestia_Nginx_Cache { public const NAME = 'hestia-nginx-cache'; - public const VERSION = '2.2.4'; + public const VERSION = '2.3.0'; private static $instance = null; public static $plugin_basename = null; diff --git a/languages/hestia-nginx-cache-fr_CA.po b/languages/hestia-nginx-cache-fr_CA.po index e9337c5..8e56bf4 100644 --- a/languages/hestia-nginx-cache-fr_CA.po +++ b/languages/hestia-nginx-cache-fr_CA.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.4\n" +"Project-Id-Version: Hestia Nginx Cache 2.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" "Last-Translator: Jakob Bouchard \n" "Language-Team: Unknown\n" diff --git a/languages/hestia-nginx-cache-pt_BR.po b/languages/hestia-nginx-cache-pt_BR.po index c4f9284..f54e56f 100644 --- a/languages/hestia-nginx-cache-pt_BR.po +++ b/languages/hestia-nginx-cache-pt_BR.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.4\n" +"Project-Id-Version: Hestia Nginx Cache 2.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" "Last-Translator: Maison da Silva\n" "Language-Team: Português do Brasil\n" diff --git a/languages/hestia-nginx-cache.pot b/languages/hestia-nginx-cache.pot index b188842..183c8ca 100644 --- a/languages/hestia-nginx-cache.pot +++ b/languages/hestia-nginx-cache.pot @@ -2,7 +2,7 @@ # This file is distributed under the GPL v3. msgid "" msgstr "" -"Project-Id-Version: Hestia Nginx Cache 2.2.5\n" +"Project-Id-Version: Hestia Nginx Cache 2.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hestia-nginx-cache\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/readme.txt b/readme.txt index c0d7e7b..202c354 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: cache, caching, wp-cache, flush, purge, hestia, hestiacp, nginx Requires at least: 4.8 Tested up to: 6.4 Requires PHP: 5.4 -Stable tag: 2.2.5 +Stable tag: 2.3.0 License: GPL v3 License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -70,6 +70,9 @@ If your issues persist, do not hesitate to contact me via email! == Changelog == += 2.3.0 = +* Add an option to disable automatic purging. + = 2.2.5 = * Fix a dumb issue with the new JavaScript. From 303a14af9da6f535c10cbe1bc0c3235da8669467 Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Mon, 24 Jun 2024 17:53:57 -0400 Subject: [PATCH 15/15] Bump tested version --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 202c354..eae1645 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: jakobbouchard, jaapmarcus Donate link: https://github.com/sponsors/jakobbouchard Tags: cache, caching, wp-cache, flush, purge, hestia, hestiacp, nginx Requires at least: 4.8 -Tested up to: 6.4 +Tested up to: 6.5 Requires PHP: 5.4 Stable tag: 2.3.0 License: GPL v3