Commit 71888aae authored by Simon's avatar Simon

Merge branch 'published-logic' into dev

parents 88b5869d 5902e9bd
...@@ -185,8 +185,8 @@ services: ...@@ -185,8 +185,8 @@ services:
wp plugin install pods --version=2.7.14 --activate-network; wp plugin install pods --version=2.7.14 --activate-network;
# wp plugin update pods --version=2.7.14; # wp plugin update pods --version=2.7.14;
wp plugin install polylang --version=2.6.1 --activate-network; wp plugin install polylang --version=2.6.2 --activate-network;
# wp plugin update polylang --version=2.6.1; # wp plugin update polylang --version=2.6.2;
wp plugin install wordpress-seo --version=11.6 --activate-network; wp plugin install wordpress-seo --version=11.6 --activate-network;
# wp plugin update wordpress-seo --version=11.6; # wp plugin update wordpress-seo --version=11.6;
......
...@@ -2,8 +2,8 @@ msgid "" ...@@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-04 13:03+0000\n" "POT-Creation-Date: 2019-06-04 08:20+0000\n"
"PO-Revision-Date: 2019-05-04 13:04+0000\n" "PO-Revision-Date: 2019-07-16 10:33+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n" "Language-Team: Lithuanian\n"
"Language: lt_LT\n" "Language: lt_LT\n"
...@@ -13,68 +13,50 @@ msgstr "" ...@@ -13,68 +13,50 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n" "X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.1.1" "X-Loco-Version: 2.3.0; wp-5.2.2"
#: 404.php:25 #: page-vasaros-darbu-bankas.php:196
msgid "Sorry, the page you are looking for does not exist!" msgid "900"
msgstr "Atsiprašome, bet puslapis kurio jūs ieškote, neegzistuoja!" msgstr "910"
#: 404.php:27
msgid "Return to homepage"
msgstr "Grįžti į pagrindinį puslapį"
#: single-job.php:48
msgid "Salary from"
msgstr "Darbo užmokestis nuo"
#: single-job.php:54
msgid "Salary to"
msgstr "Darbo užmokestis iki"
#: single-job.php:66
msgid "Published"
msgstr "Paskelbta"
#: single-job.php:68 #: page-divisions.php:53
msgid "Valid till" msgid "All"
msgstr "Galioja iki" msgstr "Visi"
#: single-job.php:75 #: single-job.php:75
msgid "Apply" msgid "Apply"
msgstr "Kandidatuoti" msgstr "Kandidatuoti"
#: header.php:137 #. Name of the theme
msgid "Get an offer" #. Author of the theme
msgstr "Gaukite pasiūlymą" msgid "Biuro"
msgstr "Biuro"
#: header.php:155 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Gauk darbo pasiūlymą"
#: front-page.php:43 #. Description of the theme
msgid "Recent job ads" msgid "Biuro multiregion theme"
msgstr "Naujausi darbo skelbimai" msgstr "Biuro multiregion theme"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25 #: template-parts/layout/aside-job-list.php:100
msgid "More job ads" msgid "City"
msgstr "Daugiau darbo skelbimų" msgstr "Miestas"
#: front-page.php:80 sales-page.php:57 #: page-vasaros-darbu-bankas.php:170
msgid "Trust in us" #: template-parts/layout/aside-job-list.php:131
msgstr "Mumis pasitiki" msgid "Didn't find a job offer you like?"
msgstr "Neradai tau tinkančio pasiūlymo?"
#. Name of the template #. Name of the template
msgid "Search & Jobs page" msgid "Divisions page"
msgstr "Paieškos ir darbo skelbimų puslapis" msgstr "Padalinių puslapis"
#: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Other filters"
msgstr "Kiti paieškos filtrai"
#. Name of the template #. Name of the template
msgid "VDB page" msgid "Employees Landing Page I"
msgstr "VDB puslapis" msgstr "Darbuotojų Landing Page I"
#: page-vasaros-darbu-bankas.php:172
#: template-parts/layout/aside-job-list.php:133
msgid "Fill out the form and we will contact you"
msgstr "Užpildyk formą ir mes su tavimi susisieksime"
#: page-vasaros-darbu-bankas.php:30 #: page-vasaros-darbu-bankas.php:30
msgid "" msgid ""
...@@ -84,109 +66,131 @@ msgstr "" ...@@ -84,109 +66,131 @@ msgstr ""
"Kviečiame surasti darbą vasarai - peržvelk pasiūlymus, juos nuolat papildome " "Kviečiame surasti darbą vasarai - peržvelk pasiūlymus, juos nuolat papildome "
"naujais!" "naujais!"
#: page-vasaros-darbu-bankas.php:170 #: header.php:118 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:199 #: template-parts/layout/aside-job-list.php:147
msgid "Didn't find a job offer you like?" msgid "Get a job offer"
msgstr "Neradai tau tinkančio pasiūlymo?" msgstr "Gauk darbo pasiūlymą"
#: page-vasaros-darbu-bankas.php:172 #: header.php:100
#: template-parts/layout/aside-job-list.php:201 msgid "Get an offer"
msgid "Fill out the form and we will contact you" msgstr "Gaukite pasiūlymą"
msgstr "Užpildyk formą ir mes su tavimi susisieksime"
#: page-vasaros-darbu-bankas.php:196 #. Author URI of the theme
msgid "900" msgid "https://www.biuro.lt/"
msgstr "900" msgstr "https://www.biuro.lt/"
#: page-vasaros-darbu-bankas.php:197 #: template-parts/layout/aside-job.php:11
msgid "" msgid "I think you might like this job offer"
"This is how many people we employed during summer at 2018.<br/>Join us this " msgstr "Manau, tau turėtų patikti šis darbo pasiūlymas"
"summer!"
msgstr ""
"Tiek 2018 m. vasarą įdarbinome žmonių.<br/>Šiais metais kviečiame "
"prisijungti ir tave!"
#: searchform.php:114 #: template-parts/layout/aside-job-inactive.php:1
msgid "Locations" msgid "Job ad is inactive"
msgstr "Vietovė" msgstr "Darbo skelbimas yra neaktyvus"
#: searchform.php:230 #: template-parts/layout/aside-job-list.php:104
msgid "Keyword" msgid "Job area"
msgstr "Raktažodis" msgstr "Darbo sritis"
#: searchform.php:238 #: template-parts/layout/aside-job.php:11
msgid "Search" msgid "Job position"
msgstr "Ieškoti" msgstr "Darbo pasiūlymas"
#. Name of the template #: template-parts/layout/aside-job-list.php:108
msgid "Sales page" msgid "Job type"
msgstr "Pardavimų puslapis" msgstr "Darbo tipas"
#. Name of the template #: searchform.php:61
msgid "Regions page" msgid "Keyword"
msgstr "Regionų puslapis" msgstr "Raktažodis"
#. Name of the template #: searchform.php:44
msgid "Divisions page" msgid "Locations"
msgstr "Padalinių puslapis" msgstr "Miestas"
#: page-divisions.php:70 #: template-parts/layout/aside-job-list.php:67
msgid "All" msgid "More ..."
msgstr "Visi" msgstr "Daugiau..."
#: template-parts/jobs/jobs-none.php:14 #: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "There are currently no job ads." msgid "More job ads"
msgstr "Šiuo metu nėra darbo pasiūlymų pagal Jūsų paiešką." msgstr "Daugiau darbo skelbimų"
#: template-parts/jobs/jobs-not-found.php:14 #: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found." msgid "No search results were found."
msgstr "Pagal Jūsų paiešką, darbo skelbimų šiuo metu neturime." msgstr "Pagal Jūsų paiešką, darbo skelbimų šiuo metu neturime."
#: template-parts/layout/aside-job-list.php:144 #: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "More ..." msgid "Other filters"
msgstr "Daugiau..." msgstr "Kiti paieškos filtrai"
#: template-parts/layout/aside-job-list.php:168 #: single-job.php:66
msgid "City" msgid "Published"
msgstr "Miestas" msgstr "Paskelbta"
#: template-parts/layout/aside-job-list.php:172 #: front-page.php:43
msgid "Job area" msgid "Recent job ads"
msgstr "Darbo sritis" msgstr "Naujausi darbo skelbimai"
#: template-parts/layout/aside-job-list.php:176 #. Name of the template
msgid "Job type" msgid "Regions page"
msgstr "Darbo tipas" msgstr "Regionų puslapis"
#: template-parts/layout/aside-job-list.php:185 #: template-parts/layout/aside-job-list.php:117
msgid "Reset filters" msgid "Reset filters"
msgstr "Atstatyti paieškos filtrus" msgstr "Atstatyti paieškos filtrus"
#: template-parts/layout/aside-job.php:11 #: 404.php:27
msgid "Job position" msgid "Return to homepage"
msgstr "Darbo pasiūlymas" msgstr "Grįžti į pagrindinį puslapį"
#: template-parts/layout/aside-job.php:11 #: single-job.php:48
msgid "I think you might like this job offer" msgid "Salary from"
msgstr "Manau, tau turėtų patikti šis darbo pasiūlymas" msgstr "Darbo užmokestis nuo"
#: single-job.php:54
msgid "Salary to"
msgstr "Darbo užmokestis iki"
#. Name of the template
msgid "Sales page"
msgstr "Pardavimų puslapis"
#: searchform.php:66
msgid "Search"
msgstr "Ieškoti"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Paieškos ir darbo skelbimų puslapis"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Atsiprašome, bet puslapis kurio jūs ieškote, neegzistuoja!"
#: template-parts/layout/aside-job.php:43 #: template-parts/layout/aside-job.php:43
msgid "Suggest a friend" msgid "Suggest a friend"
msgstr "Pasiūlyk draugui" msgstr "Pasiūlyk draugui"
#: template-parts/layout/aside-job-inactive.php:1 #: template-parts/jobs/jobs-none.php:14
msgid "Job ad is inactive" msgid "There are currently no job ads."
msgstr "Darbo skelbimas yra neaktyvus" msgstr "Šiuo metu nėra darbo pasiūlymų pagal Jūsų paiešką."
#. Name of the theme #: page-vasaros-darbu-bankas.php:197
#. Author of the theme msgid ""
msgid "Biuro" "This is how many people we employed during summer at 2018.<br/>Join us this "
msgstr "Biuro" "summer!"
msgstr ""
"Tiek 2018 m. vasarą įdarbinome žmonių.<br/>Šiais metais kviečiame "
"prisijungti ir tave!"
#. Description of the theme #: front-page.php:80 sales-page.php:57
msgid "Biuro multiregion theme" msgid "Trust in us"
msgstr "Biuro multiregion theme" msgstr "Mumis pasitiki"
#. Author URI of the theme #: single-job.php:68
msgid "https://www.biuro.lt/" msgid "Valid till"
msgstr "https://www.biuro.lt/" msgstr "Galioja iki"
#. Name of the template
msgid "VDB page"
msgstr "VDB puslapis"
...@@ -2,8 +2,8 @@ msgid "" ...@@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-04 13:03+0000\n" "POT-Creation-Date: 2019-06-04 08:20+0000\n"
"PO-Revision-Date: 2019-06-19 05:52+0000\n" "PO-Revision-Date: 2019-07-16 10:33+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n" "Language-Team: Lithuanian\n"
"Language: lt_LT\n" "Language: lt_LT\n"
...@@ -13,68 +13,50 @@ msgstr "" ...@@ -13,68 +13,50 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n" "X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.3.0; wp-5.2.1" "X-Loco-Version: 2.3.0; wp-5.2.2"
#: 404.php:25 #: page-vasaros-darbu-bankas.php:196
msgid "Sorry, the page you are looking for does not exist!" msgid "900"
msgstr "Atsiprašome, bet puslapis kurio jūs ieškote, neegzistuoja!" msgstr "900"
#: 404.php:27
msgid "Return to homepage"
msgstr "Grįžti į pagrindinį puslapį"
#: single-job.php:48
msgid "Salary from"
msgstr "Darbo užmokestis nuo"
#: single-job.php:54
msgid "Salary to"
msgstr "Darbo užmokestis iki"
#: single-job.php:66
msgid "Published"
msgstr "Paskelbta"
#: single-job.php:68 #: page-divisions.php:53
msgid "Valid till" msgid "All"
msgstr "Galioja iki" msgstr "Visi"
#: single-job.php:75 #: single-job.php:75
msgid "Apply" msgid "Apply"
msgstr "Kandidatuoti" msgstr "Kandidatuoti"
#: header.php:137 #. Name of the theme
msgid "Get an offer" #. Author of the theme
msgstr "Gaukite pasiūlymą" msgid "Biuro"
msgstr "Biuro"
#: header.php:155 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Gauk darbo pasiūlymą"
#: front-page.php:43 #. Description of the theme
msgid "Recent job ads" msgid "Biuro multiregion theme"
msgstr "Naujausi darbo skelbimai" msgstr "Biuro multiregion theme"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25 #: template-parts/layout/aside-job-list.php:100
msgid "More job ads" msgid "City"
msgstr "Daugiau darbo skelbimų" msgstr "Miestas"
#: front-page.php:80 sales-page.php:57 #: page-vasaros-darbu-bankas.php:170
msgid "Trust in us" #: template-parts/layout/aside-job-list.php:131
msgstr "Mumis pasitiki" msgid "Didn't find a job offer you like?"
msgstr "Neradai tau tinkančio pasiūlymo?"
#. Name of the template #. Name of the template
msgid "Search & Jobs page" msgid "Divisions page"
msgstr "Paieškos ir darbo skelbimų puslapis" msgstr "Padalinių puslapis"
#: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Other filters"
msgstr "Kiti paieškos filtrai"
#. Name of the template #. Name of the template
msgid "VDB page" msgid "Employees Landing Page I"
msgstr "VDB puslapis" msgstr "Darbuotojų Landing Page I"
#: page-vasaros-darbu-bankas.php:172
#: template-parts/layout/aside-job-list.php:133
msgid "Fill out the form and we will contact you"
msgstr "Užpildyk formą ir mes su tavimi susisieksime"
#: page-vasaros-darbu-bankas.php:30 #: page-vasaros-darbu-bankas.php:30
msgid "" msgid ""
...@@ -84,109 +66,131 @@ msgstr "" ...@@ -84,109 +66,131 @@ msgstr ""
"Kviečiame surasti darbą vasarai - peržvelk pasiūlymus, juos nuolat papildome " "Kviečiame surasti darbą vasarai - peržvelk pasiūlymus, juos nuolat papildome "
"naujais!" "naujais!"
#: page-vasaros-darbu-bankas.php:170 #: header.php:118 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:199 #: template-parts/layout/aside-job-list.php:147
msgid "Didn't find a job offer you like?" msgid "Get a job offer"
msgstr "Neradai tau tinkančio pasiūlymo?" msgstr "Gauk darbo pasiūlymą"
#: page-vasaros-darbu-bankas.php:172 #: header.php:100
#: template-parts/layout/aside-job-list.php:201 msgid "Get an offer"
msgid "Fill out the form and we will contact you" msgstr "Gaukite pasiūlymą"
msgstr "Užpildyk formą ir mes su tavimi susisieksime"
#: page-vasaros-darbu-bankas.php:196 #. Author URI of the theme
msgid "900" msgid "https://www.biuro.lt/"
msgstr "900" msgstr "https://www.biuro.lt/"
#: page-vasaros-darbu-bankas.php:197 #: template-parts/layout/aside-job.php:11
msgid "" msgid "I think you might like this job offer"
"This is how many people we employed during summer at 2018.<br/>Join us this " msgstr "Manau, tau turėtų patikti šis darbo pasiūlymas"
"summer!"
msgstr ""
"Tiek 2018 m. vasarą įdarbinome žmonių.<br/>Šiais metais kviečiame "
"prisijungti ir tave!"
#: searchform.php:114 #: template-parts/layout/aside-job-inactive.php:1
msgid "Locations" msgid "Job ad is inactive"
msgstr "Miestas" msgstr "Darbo skelbimas yra neaktyvus"
#: searchform.php:230 #: template-parts/layout/aside-job-list.php:104
msgid "Keyword" msgid "Job area"
msgstr "Raktažodis" msgstr "Darbo sritis"
#: searchform.php:238 #: template-parts/layout/aside-job.php:11
msgid "Search" msgid "Job position"
msgstr "Ieškoti" msgstr "Darbo pasiūlymas"
#. Name of the template #: template-parts/layout/aside-job-list.php:108
msgid "Sales page" msgid "Job type"
msgstr "Pardavimų puslapis" msgstr "Darbo tipas"
#. Name of the template #: searchform.php:61
msgid "Regions page" msgid "Keyword"
msgstr "Regionų puslapis" msgstr "Raktažodis"
#. Name of the template #: searchform.php:44
msgid "Divisions page" msgid "Locations"
msgstr "Padalinių puslapis" msgstr "Miestas"
#: page-divisions.php:70 #: template-parts/layout/aside-job-list.php:67
msgid "All" msgid "More ..."
msgstr "Visi" msgstr "Daugiau..."
#: template-parts/jobs/jobs-none.php:14 #: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "There are currently no job ads." msgid "More job ads"
msgstr "Šiuo metu nėra darbo pasiūlymų pagal Jūsų paiešką." msgstr "Daugiau darbo skelbimų"
#: template-parts/jobs/jobs-not-found.php:14 #: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found." msgid "No search results were found."
msgstr "Pagal Jūsų paiešką, darbo skelbimų šiuo metu neturime." msgstr "Pagal Jūsų paiešką, darbo skelbimų šiuo metu neturime."
#: template-parts/layout/aside-job-list.php:144 #: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "More ..." msgid "Other filters"
msgstr "Daugiau..." msgstr "Kiti paieškos filtrai"
#: template-parts/layout/aside-job-list.php:168 #: single-job.php:66
msgid "City" msgid "Published"
msgstr "Miestas" msgstr "Paskelbta"
#: template-parts/layout/aside-job-list.php:172 #: front-page.php:43
msgid "Job area" msgid "Recent job ads"
msgstr "Darbo sritis" msgstr "Naujausi darbo skelbimai"
#: template-parts/layout/aside-job-list.php:176 #. Name of the template
msgid "Job type" msgid "Regions page"
msgstr "Darbo tipas" msgstr "Regionų puslapis"
#: template-parts/layout/aside-job-list.php:185 #: template-parts/layout/aside-job-list.php:117
msgid "Reset filters" msgid "Reset filters"
msgstr "Atstatyti paieškos filtrus" msgstr "Atstatyti paieškos filtrus"
#: template-parts/layout/aside-job.php:11 #: 404.php:27
msgid "Job position" msgid "Return to homepage"
msgstr "Darbo pasiūlymas" msgstr "Grįžti į pagrindinį puslapį"
#: template-parts/layout/aside-job.php:11 #: single-job.php:48
msgid "I think you might like this job offer" msgid "Salary from"
msgstr "Manau, tau turėtų patikti šis darbo pasiūlymas" msgstr "Darbo užmokestis nuo"
#: single-job.php:54
msgid "Salary to"
msgstr "Darbo užmokestis iki"
#. Name of the template
msgid "Sales page"
msgstr "Pardavimų puslapis"
#: searchform.php:66
msgid "Search"
msgstr "Ieškoti"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Paieškos ir darbo skelbimų puslapis"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Atsiprašome, bet puslapis kurio jūs ieškote, neegzistuoja!"
#: template-parts/layout/aside-job.php:43 #: template-parts/layout/aside-job.php:43
msgid "Suggest a friend" msgid "Suggest a friend"
msgstr "Pasiūlyk draugui" msgstr "Pasiūlyk draugui"
#: template-parts/layout/aside-job-inactive.php:1 #: template-parts/jobs/jobs-none.php:14
msgid "Job ad is inactive" msgid "There are currently no job ads."
msgstr "Darbo skelbimas yra neaktyvus" msgstr "Šiuo metu nėra darbo pasiūlymų pagal Jūsų paiešką."
#. Name of the theme #: page-vasaros-darbu-bankas.php:197
#. Author of the theme msgid ""
msgid "Biuro" "This is how many people we employed during summer at 2018.<br/>Join us this "
msgstr "Biuro" "summer!"
msgstr ""
"Tiek 2018 m. vasarą įdarbinome žmonių.<br/>Šiais metais kviečiame "
"prisijungti ir tave!"
#. Description of the theme #: front-page.php:80 sales-page.php:57
msgid "Biuro multiregion theme" msgid "Trust in us"
msgstr "Biuro multiregion theme" msgstr "Mumis pasitiki"
#. Author URI of the theme #: single-job.php:68
msgid "https://www.biuro.lt/" msgid "Valid till"
msgstr "https://www.biuro.lt/" msgstr "Galioja iki"
#. Name of the template
msgid "VDB page"
msgstr "VDB puslapis"
...@@ -2,6 +2,77 @@ ...@@ -2,6 +2,77 @@
This file contains only old changelog. See readme.txt for newer versions. This file contains only old changelog. See readme.txt for newer versions.
= 2.5.4 (2019-05-28) =
* Add Kannada to the predefined languages list
* Yoast SEO: Fix primary product cat not copied or synchronized
* WPMU Domain Mapping: Fix incorrect domain used for the theme
* Fix style-rtl.css not loaded when the language is set from the content #356
* Fix Jetpack featured pages not working. Props Anis Ladram. #357
* Fix Call to undefined function wp_generate_attachment_metadata()
= 2.5.3 (2019-04-16) =
* Add de_AT and pt_AO to the predefined languages list
* Pro: Add filter pll_translate_blocks
* Pro: fix PHP notice when the queried post type has been modified to an array
* Pro: fix PHP warning when combined with The Event Calendar and Page builder by SiteOrigin
= 2.5.2 (2019-02-12) =
* Pro: Fix translated slugs not accepting forward slashes
* Pro: Fix fatal error with ACF Pro 5.7.11
* Fix parent categories incorrectly synchronized #327
= 2.5.1 (2019-01-16) =
* Security: Fix categories and media duplication not protected from CSRF
* Pro: Allow to update the plugin with WP CLI
* Pro: Fix search in the button block not filtered in the correct language (needs WP 5.1)
* Add Saraiki to the predefined languages list
* Fix a conflict causing a blank page with Divi
= 2.5 (2018-12-06) =
* Add compatibility with WP 5.0
* Fix custom flags when the WP content folder is not in the WP install folder
* Fix PHP notice if a language has no flag
= 2.4.1 (2018-11-27) =
* Pro: Add compatibility with REST API changes made in WP 5.0
* Pro: Fix sticky posts in the REST API
* Pro: Fix overwritten custom post slug when the post is updated with the REST API
* Pro: Fix bulk translate for media
* Fix a conflict with Custom sidebars and Content aware sidebars
* Fix a conflict with the theme Pokemania
* Fix PHP notices when using the function 'icl_link_to_element' for terms
* Fix title slugs for posts written in German
= 2.4 (2018-11-12) =
* Minimum WordPress version is now 4.7
* Pro: Add the possibility to bulk duplicate or bulk synchronize posts.
* Pro: Add compatibility with Admin Columns
* Pro: Add synchronized posts to the REST API
* Pro: Fix variations messed when changing WooCommerce attributes slugs
* Pro: Fix incorrect language for ajax requests made on front by The Events Calendar
* Pro: Fix term not duplicated correctly when the language is set from the content
* Refactor the core to activate on front and for the REST api actions that were previously available only in the backend (language checks, synchronizations...).
* Add flags to widgets displayed in only one language (Props Jory Hogeveen) #257
* Honor the filter 'pll_the_language_args' for all options in menus #237
* Add better filters for default flags and custom flags
* Custom flags can now be stored in the polylang directory in the theme
* Custom flags can now use SVG
* Add compatibility with Jetpack featured content module
* Fix Twenty Fourteen featured posts possibly not filtered per language
* Fix home url not working with WordPress MU Domain mapping
* Fix Assigning a parent category breaking the hierarchy of translated category
* Fix: Accept 0,1 and 1.0 as q factors in browser preferred language detection (Props Dominic Rubas)
* Fix performance issue when using hundreds of widgets
* Fix translations possibly wrong if the post language is changed without saving the post after
= 2.3.11 (2018-10-03) = = 2.3.11 (2018-10-03) =
* Pro: Add action 'pll_created_sync_post' * Pro: Add action 'pll_created_sync_post'
......
...@@ -160,6 +160,10 @@ class PLL_Translated_Post extends PLL_Translated_Object { ...@@ -160,6 +160,10 @@ class PLL_Translated_Post extends PLL_Translated_Object {
public function current_user_can_read( $post_id, $context = 'view' ) { public function current_user_can_read( $post_id, $context = 'view' ) {
$post = get_post( $post_id ); $post = get_post( $post_id );
if ( empty( $post ) ) {
return false;
}
if ( 'inherit' === $post->post_status && $post->post_parent ) { if ( 'inherit' === $post->post_status && $post->post_parent ) {
$post = get_post( $post->post_parent ); $post = get_post( $post->post_parent );
} }
......
...@@ -154,16 +154,17 @@ class PLL_T15S { ...@@ -154,16 +154,17 @@ class PLL_T15S {
return $translations->{$slug}; return $translations->{$slug};
} }
$result = json_decode( wp_remote_retrieve_body( wp_remote_get( $url, array( 'timeout' => 2 ) ) ), true ); $result = json_decode( wp_remote_retrieve_body( wp_remote_get( $url, array( 'timeout' => 3 ) ) ), true );
if ( is_array( $result ) ) {
$translations->{$slug} = $result;
$translations->_last_checked = time();
set_site_transient( self::TRANSIENT_KEY_PLUGIN, $translations ); // Nothing found.
return $result; if ( ! is_array( $result ) ) {
$result = array();
} }
// Nothing found. $translations->{$slug} = $result;
return array(); $translations->_last_checked = time();
set_site_transient( self::TRANSIENT_KEY_PLUGIN, $translations );
return $result;
} }
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/** /**
Plugin Name: Polylang Plugin Name: Polylang
Plugin URI: https://polylang.pro Plugin URI: https://polylang.pro
Version: 2.6.1 Version: 2.6.2
Author: WP SYNTEX Author: WP SYNTEX
Author uri: https://polylang.pro Author uri: https://polylang.pro
Description: Adds multilingual capability to WordPress Description: Adds multilingual capability to WordPress
...@@ -51,7 +51,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) { ...@@ -51,7 +51,7 @@ if ( defined( 'POLYLANG_BASENAME' ) ) {
} }
} else { } else {
// Go on loading the plugin // Go on loading the plugin
define( 'POLYLANG_VERSION', '2.6.1' ); define( 'POLYLANG_VERSION', '2.6.2' );
define( 'PLL_MIN_WP_VERSION', '4.7' ); define( 'PLL_MIN_WP_VERSION', '4.7' );
define( 'POLYLANG_FILE', __FILE__ ); // this file define( 'POLYLANG_FILE', __FILE__ ); // this file
......
...@@ -4,7 +4,7 @@ Donate link: https://polylang.pro ...@@ -4,7 +4,7 @@ Donate link: https://polylang.pro
Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization Tags: multilingual, bilingual, translate, translation, language, multilanguage, international, localization
Requires at least: 4.7 Requires at least: 4.7
Tested up to: 5.2 Tested up to: 5.2
Stable tag: 2.6.1 Stable tag: 2.6.2
License: GPLv3 or later License: GPLv3 or later
Making WordPress multilingual Making WordPress multilingual
...@@ -76,6 +76,12 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin- ...@@ -76,6 +76,12 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
== Changelog == == Changelog ==
= 2.6.2 (2019-07-16) =
* Pro: Fix slow admin in case the translations update server can't be reached
* Pro: Fix value not correctly translated for ACF clone fields in repeater
* Fix strings translations mixed when registered via the WPML compatibility. #381
= 2.6.1 (2019-07-03) = = 2.6.1 (2019-07-03) =
* Pro: Fix Yoast SEO sitemap for inactive languages when using subdomains or multiple domains * Pro: Fix Yoast SEO sitemap for inactive languages when using subdomains or multiple domains
...@@ -119,74 +125,4 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin- ...@@ -119,74 +125,4 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
* Fix a conflict with Pods in the block editor. Props Jory Hogeveen. #369 * Fix a conflict with Pods in the block editor. Props Jory Hogeveen. #369
* Fix fatal error with Twenty Fourteen introduced in version 2.5.4. #374 * Fix fatal error with Twenty Fourteen introduced in version 2.5.4. #374
= 2.5.4 (2019-05-28) =
* Add Kannada to the predefined languages list
* Yoast SEO: Fix primary product cat not copied or synchronized
* WPMU Domain Mapping: Fix incorrect domain used for the theme
* Fix style-rtl.css not loaded when the language is set from the content #356
* Fix Jetpack featured pages not working. Props Anis Ladram. #357
* Fix Call to undefined function wp_generate_attachment_metadata()
= 2.5.3 (2019-04-16) =
* Add de_AT and pt_AO to the predefined languages list
* Pro: Add filter pll_translate_blocks
* Pro: fix PHP notice when the queried post type has been modified to an array
* Pro: fix PHP warning when combined with The Event Calendar and Page builder by SiteOrigin
= 2.5.2 (2019-02-12) =
* Pro: Fix translated slugs not accepting forward slashes
* Pro: Fix fatal error with ACF Pro 5.7.11
* Fix parent categories incorrectly synchronized #327
= 2.5.1 (2019-01-16) =
* Security: Fix categories and media duplication not protected from CSRF
* Pro: Allow to update the plugin with WP CLI
* Pro: Fix search in the button block not filtered in the correct language (needs WP 5.1)
* Add Saraiki to the predefined languages list
* Fix a conflict causing a blank page with Divi
= 2.5 (2018-12-06) =
* Add compatibility with WP 5.0
* Fix custom flags when the WP content folder is not in the WP install folder
* Fix PHP notice if a language has no flag
= 2.4.1 (2018-11-27) =
* Pro: Add compatibility with REST API changes made in WP 5.0
* Pro: Fix sticky posts in the REST API
* Pro: Fix overwritten custom post slug when the post is updated with the REST API
* Pro: Fix bulk translate for media
* Fix a conflict with Custom sidebars and Content aware sidebars
* Fix a conflict with the theme Pokemania
* Fix PHP notices when using the function 'icl_link_to_element' for terms
* Fix title slugs for posts written in German
= 2.4 (2018-11-12) =
* Minimum WordPress version is now 4.7
* Pro: Add the possibility to bulk duplicate or bulk synchronize posts.
* Pro: Add compatibility with Admin Columns
* Pro: Add synchronized posts to the REST API
* Pro: Fix variations messed when changing WooCommerce attributes slugs
* Pro: Fix incorrect language for ajax requests made on front by The Events Calendar
* Pro: Fix term not duplicated correctly when the language is set from the content
* Refactor the core to activate on front and for the REST api actions that were previously available only in the backend (language checks, synchronizations...).
* Add flags to widgets displayed in only one language (Props Jory Hogeveen) #257
* Honor the filter 'pll_the_language_args' for all options in menus #237
* Add better filters for default flags and custom flags
* Custom flags can now be stored in the polylang directory in the theme
* Custom flags can now use SVG
* Add compatibility with Jetpack featured content module
* Fix Twenty Fourteen featured posts possibly not filtered per language
* Fix home url not working with WordPress MU Domain mapping
* Fix Assigning a parent category breaking the hierarchy of translated category
* Fix: Accept 0,1 and 1.0 as q factors in browser preferred language detection (Props Dominic Rubas)
* Fix performance issue when using hundreds of widgets
* Fix translations possibly wrong if the post language is changed without saving the post after
See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog See [changelog.txt](https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt) for older changelog
...@@ -250,7 +250,7 @@ class PLL_Table_String extends WP_List_Table { ...@@ -250,7 +250,7 @@ class PLL_Table_String extends WP_List_Table {
$this->_column_headers = array( $this->get_columns(), array(), $this->get_sortable_columns() ); $this->_column_headers = array( $this->get_columns(), array(), $this->get_sortable_columns() );
$total_items = count( $data ); $total_items = count( $data );
$this->items = array_slice( $data, ( $this->get_pagenum() - 1 ) * $per_page, $per_page ); $this->items = array_slice( $data, ( $this->get_pagenum() - 1 ) * $per_page, $per_page, true );
$this->set_pagination_args( $this->set_pagination_args(
array( array(
......
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
global $jobs; global $jobs;
$date_format = get_option( 'date_format' ); $date_format = get_option( 'date_format' );
function showPosted($published, $valid) {
$today = date('Y-m-d');
if ($published == $today) :
_e('Today', 'biuro');
else:
$earlier = new DateTime($today);
$later = new DateTime($valid);
$count = $later->diff($earlier)->format("%a");
if ($count < 4):
printf( __( 'Left %1$s d.!', 'biuro' ), $count ); // Liko 2 d.!
else:
printf( __( 'Before %s d.', 'biuro' ), $count ); // Prieš 28 d.
endif;
endif;
}
?> ?>
<table cellspacing="0" cellpadding="0" class="c-jobs--table"> <table cellspacing="0" cellpadding="0" class="c-jobs--table">
...@@ -19,7 +37,6 @@ $date_format = get_option( 'date_format' ); ...@@ -19,7 +37,6 @@ $date_format = get_option( 'date_format' );
while ( $jobs->fetch() ) : while ( $jobs->fetch() ) :
$ID = $jobs->display( 'ID' ); $ID = $jobs->display( 'ID' );
$name = $jobs->display( 'name' ); $name = $jobs->display( 'name' );
?> ?>
<tr> <tr>
<td class="c-jobs--col c-jobs--col-position"> <td class="c-jobs--col c-jobs--col-position">
...@@ -63,7 +80,7 @@ $date_format = get_option( 'date_format' ); ...@@ -63,7 +80,7 @@ $date_format = get_option( 'date_format' );
?> ?>
</td> </td>
<td class="c-jobs--col c-jobs--col-valid"> <td class="c-jobs--col c-jobs--col-valid">
<?php echo date_i18n( $date_format, strtotime( $jobs->field( 'valid' ) ) ); ?> <?php showPosted( substr($jobs->field('date'), 0, 10), $jobs->field( 'valid' )); ?>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment