From 54b2acf7688bfc897d9bc47f8896a15b5eff07ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Legastelois?= Date: Mon, 23 Oct 2017 14:51:39 +0200 Subject: [PATCH 1/7] loads the tinymce glpi-core library on the alerts pages of the tools menu --- setup.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.php b/setup.php index 347ccc0..93e9f89 100644 --- a/setup.php +++ b/setup.php @@ -24,7 +24,7 @@ define ('PLUGIN_NEWS_VERSION', '1.3.4'); function plugin_init_news() { - global $PLUGIN_HOOKS; + global $PLUGIN_HOOKS, $CFG_GLPI; $PLUGIN_HOOKS['csrf_compliant']['news'] = true; @@ -49,6 +49,9 @@ function plugin_init_news() { 'tools' => 'PluginNewsAlert', ]; $PLUGIN_HOOKS['config_page']['news'] = 'front/alert.php'; + + // require tinymce (for glpi >= 9.2) + $CFG_GLPI['javascript']['tools']['pluginnewsalert'] = ['tinymce']; } } } From 9391707163b7f538266795db17ad3a2d59d15a59 Mon Sep 17 00:00:00 2001 From: Alexandre Delaunay Date: Fri, 17 Nov 2017 15:19:39 +0100 Subject: [PATCH 2/7] prevent notice --- inc/alert.class.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inc/alert.class.php b/inc/alert.class.php index 736e07e..ea37c96 100644 --- a/inc/alert.class.php +++ b/inc/alert.class.php @@ -491,11 +491,14 @@ function cleanDBOnPurge() { static function preItemForm($params = []) { if (isset($params['item']) && $params['item'] instanceof CommonITILObject) { - $item = $params['item']; - $itemtype = get_class($item); + $item = $params['item']; + $itemtype = get_class($item); + $entities_id = isset($params['item']->fields['entities_id']) + ? $params['item']->fields['entities_id'] + : 0; self::displayAlerts(['show_helpdesk_alerts' => true, 'show_hidden_alerts' => false, - 'entities_id' => $params['item']->fields['entities_id'] + 'entities_id' => $entities_id ]); echo "
"; } From 4570e41bc6fb1867ff71d4c9d078efe1d9f23430 Mon Sep 17 00:00:00 2001 From: Alan Badier Date: Wed, 14 Mar 2018 14:22:51 +0100 Subject: [PATCH 3/7] Refactoring ajax_base url declaration, because alert hiding doesn't work --- js/news.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/news.js b/js/news.js index 54bc22d..01c63a5 100644 --- a/js/news.js +++ b/js/news.js @@ -1,4 +1,4 @@ -$(document).ready(function() { +pluginNewsGetBaseUrl = function() { var ajax_baseurl = '../plugins/news/ajax'; var path = document.location.pathname; // construct url for plugin pages @@ -7,12 +7,15 @@ $(document).ready(function() { var nb_directory = (plugin_path.match(/\//g) || []).length + 1; var ajax_baseurl = Array(nb_directory).join("../") + 'plugins/news/ajax'; } -}); + + return ajax_baseurl; +}; pluginNewsCloseAlerts = function() { $(document).on("click", "a.plugin_news_alert-close",function() { var alert = $(this).parent(".plugin_news_alert"); var id = alert.attr('data-id'); + var ajax_baseurl = pluginNewsGetBaseUrl(); $.post(ajax_baseurl+"/hide_alert.php", {'id' : id}) .done(function() { alert.remove(); From 6581a71e6dacc6060113eb5a89b39d18500e05f1 Mon Sep 17 00:00:00 2001 From: Alan Badier Date: Fri, 4 May 2018 10:52:52 +0200 Subject: [PATCH 4/7] Fix unecessary 'var' keyword --- js/news.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/news.js b/js/news.js index 01c63a5..d05715e 100644 --- a/js/news.js +++ b/js/news.js @@ -5,7 +5,7 @@ pluginNewsGetBaseUrl = function() { if (path.indexOf('plugins/') !== -1) { var plugin_path = path.substring(path.indexOf('plugins')); var nb_directory = (plugin_path.match(/\//g) || []).length + 1; - var ajax_baseurl = Array(nb_directory).join("../") + 'plugins/news/ajax'; + ajax_baseurl = Array(nb_directory).join("../") + 'plugins/news/ajax'; } return ajax_baseurl; From 4c1086e3d1b7797410513ef13e4e5a5168c6d6c0 Mon Sep 17 00:00:00 2001 From: Alan Badier Date: Fri, 4 May 2018 11:09:21 +0200 Subject: [PATCH 5/7] Removing js from alert.class.php and add it in news.js --- inc/alert.class.php | 5 ----- js/news.js | 12 +++++++++++- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/inc/alert.class.php b/inc/alert.class.php index ea37c96..1013581 100644 --- a/inc/alert.class.php +++ b/inc/alert.class.php @@ -469,11 +469,6 @@ static function displayAlerts($params = []) { echo Html::script($prefix."/lib/jquery/js/jquery-ui-1.10.4.custom.min.js"); echo Html::script($prefix."/plugins/news/js/news.js"); } - - echo Html::scriptBlock("$(document).ready(function() { - pluginNewsCloseAlerts(); - pluginNewsToggleAlerts(); - })"); } static function getTypes() { diff --git a/js/news.js b/js/news.js index d05715e..8fdbd05 100644 --- a/js/news.js +++ b/js/news.js @@ -28,4 +28,14 @@ pluginNewsToggleAlerts = function() { var alert = $(this).parent(".plugin_news_alert"); alert.toggleClass('expanded'); }); -} \ No newline at end of file +} + +$(document).ready(function() { + pluginNewsCloseAlerts(); + pluginNewsToggleAlerts(); + + $(".glpi_tabs").on("tabsload", function(event, ui) { + pluginNewsCloseAlerts(); + pluginNewsToggleAlerts(); + }); +}); \ No newline at end of file From eb8dc0a9c2012bfe190091cb4fa49d68a964722e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Fri, 25 May 2018 12:29:54 +0000 Subject: [PATCH 6/7] Update locales --- locales/cs_CZ.mo | Bin 1316 -> 1363 bytes locales/cs_CZ.po | 17 +++++++++-------- locales/de_DE.mo | Bin 1302 -> 1302 bytes locales/de_DE.po | 2 +- locales/en_GB.mo | Bin 808 -> 808 bytes locales/en_GB.po | 4 ++-- locales/en_US.mo | Bin 1226 -> 1226 bytes locales/en_US.po | 2 +- locales/es_ES.mo | Bin 1293 -> 1312 bytes locales/es_ES.po | 7 ++++--- locales/fr_FR.mo | Bin 1298 -> 1298 bytes locales/fr_FR.po | 6 +++--- locales/it_IT.mo | Bin 1273 -> 1273 bytes locales/it_IT.po | 2 +- locales/pl_PL.mo | Bin 861 -> 949 bytes locales/pl_PL.po | 6 +++--- locales/pt_BR.mo | Bin 1262 -> 1262 bytes locales/pt_BR.po | 2 +- locales/ro_RO.mo | Bin 852 -> 852 bytes locales/ro_RO.po | 4 ++-- locales/ru_RU.mo | Bin 1671 -> 1671 bytes locales/ru_RU.po | 2 +- locales/tr_TR.mo | Bin 1274 -> 1280 bytes locales/tr_TR.po | 4 ++-- 24 files changed, 30 insertions(+), 28 deletions(-) diff --git a/locales/cs_CZ.mo b/locales/cs_CZ.mo index 80353be04589d0dcedbfb7187d8ce789c4ba958b..6c111cf852715caba50c738f788e8f0b5b2bb002 100644 GIT binary patch delta 398 zcmZY1F-yZh6bJCLrll9TYN1 z5rl$^gM*WkQ|u=Y7s1^@{0zR>(c$>r|GoR)edaB5eR-No5wd`1h7eMe2$@1R(ImIf zEP8;>p(p4x%F$I+p!?_zs-T}}2F<1ksiRBjr;q1}*{zaXEh%-7YYkP6?ox~SBN{LZ z_8h@FCWoe*#Iin)yJtPht#ZfdMenI^UEK!P@&&cDbsIDdDv-~E4QqJ8Bo|-@WM}{` zTN)_iWm5z7|Fg>9tE9MsMM#SKweY;6^;O<453F2$KObz~i28F%yFL U<-!y6JS>o7D)6^q^d&Wa0nZF+6#xJL delta 382 zcmXZUze>YU6bA6yHlh|gN)ZPSD76JsT3czUjTLkdTm*G-5Mpwn(d6cm+yoi~pP(RQ zl7bL$QE+f_s!P%*aI=Fi(8bxs)8h2w`_7-w>{Iss_HvveWI0X9A|d1_L&!Y(i%xS! zB4h>4p?P!@T|hhN26}|HQ46i3FX$5bjW*DU^!D|h$~ELlQ?AsY+Gy?6!pC$T4praK z;Z#trGHAOq^?hNunra$lEeOZyiCo(SZhDStDn+I!)e>}|0xc-AJ!KmT1z>HZJ}s+Q zZigjlZT-Zt-T2kofjwV)7iCysotO#UYjgcp)>cWg7w_Ty*JRpD7+d3Xg^@lb%D z48$nH#OUY)xSjOlNYJFuu$nEG$ytv>@t~_wL1ohbK6)^40>+KaylJ93us8~+4}Ls! Xg`;+RC34Q~z;;+Nz(*upoooI9kLYzs diff --git a/locales/cs_CZ.po b/locales/cs_CZ.po index b535811..6c90f96 100644 --- a/locales/cs_CZ.po +++ b/locales/cs_CZ.po @@ -3,19 +3,20 @@ # This file is distributed under the same license as the GLPI - News plugin package. # # Translators: +# Pavel Borecki , 2018 msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" -"Last-Translator: David Stepan \n" +"PO-Revision-Date: 2018-03-27 05:44+0000\n" +"Last-Translator: Pavel Borecki \n" "Language-Team: Czech (Czech Republic) (http://www.transifex.com/teclib/glpi-plugin-news/language/cs_CZ/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs_CZ\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" #: setup.php:53 front/alert.form.php:84 front/alert.php:27 #: front/hidden_alerts.php:27 inc/alert.class.php:55 @@ -24,19 +25,19 @@ msgstr "Výstrahy" #: inc/alert.class.php:216 msgid "Please enter a name." -msgstr "Prosím zadejte název." +msgstr "Zadejte název." #: inc/alert.class.php:220 msgid "Please enter a message." -msgstr "Prosím, zadejte zprávu." +msgstr "Zadejte zprávu." #: inc/alert.class.php:226 msgid "The end date must be greater than the start date." -msgstr "Koncové datum musí být větší než počáteční datum." +msgstr "Je třeba, aby koncové datum bylo později než počáteční datum." #: inc/alert.class.php:292 msgid "Type (to add an icon before alert title)" -msgstr "Typ (Chcete-li přidat ikonu před název výstrahy)" +msgstr "Typ (pro přidání ikony před titulek výstrahy)" #: inc/alert.class.php:299 msgid "Show on login page" @@ -56,7 +57,7 @@ msgstr "Informace" #: inc/alert.class.php:374 msgid "Warning" -msgstr "Upozornění" +msgstr "Varování" #: inc/alert.class.php:375 msgid "Problem" diff --git a/locales/de_DE.mo b/locales/de_DE.mo index 8ed762663e55f6df304e87b07920571b32f7f76b..05b761f507b3b29b1d84b1da377635bd0e6d364b 100644 GIT binary patch delta 23 ecmbQnHH~Y-6ecc9T_a-!17j;=%gytcDwqIH{RUD1 delta 23 ecmbQnHH~Y-6ecbUT?1nULvt%r;_N( diff --git a/locales/de_DE.po b/locales/de_DE.po index 1ec8515..7b6d831 100644 --- a/locales/de_DE.po +++ b/locales/de_DE.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" +"PO-Revision-Date: 2017-09-23 03:39+0000\n" "Last-Translator: armin0103 \n" "Language-Team: German (Germany) (http://www.transifex.com/teclib/glpi-plugin-news/language/de_DE/)\n" "MIME-Version: 1.0\n" diff --git a/locales/en_GB.mo b/locales/en_GB.mo index 8123769a8b7e2e3e4aaf701a6063cbe58313fdeb..70a2c1e655847b99686efc1daa2d4ad561049bed 100644 GIT binary patch delta 38 tcmZ3%wt{U#HY2aOu7Rblk&%L-sgGaKbBx@)kg=T+0Kw@BCIA2c diff --git a/locales/en_GB.po b/locales/en_GB.po index ad5caf5..6ede923 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2016-06-02 13:36+0000\n" -"Last-Translator: Alexandre DELAUNAY \n" +"PO-Revision-Date: 2017-09-22 15:17+0000\n" +"Last-Translator: Alexandre Delaunay \n" "Language-Team: English (United Kingdom) (http://www.transifex.com/teclib/glpi-plugin-news/language/en_GB/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locales/en_US.mo b/locales/en_US.mo index 7b9e03fb647957bbf92925fb4954ad9141a711f3..97cc1d935ac809cb6b6fbed7c67190822b001ef4 100644 GIT binary patch delta 23 ecmX@bd5Uwx6ecc9T_Ym}LsKh5^Ud>^beI5FAqHvy delta 23 ecmX@bd5Uwx6ecbUT?1nULvt%r\n" "Language-Team: English (United States) (http://www.transifex.com/teclib/glpi-plugin-news/language/en_US/)\n" "MIME-Version: 1.0\n" diff --git a/locales/es_ES.mo b/locales/es_ES.mo index f51886edf70b4748e03642672166840cd220577d..5767e3f076415823483dd5b5f3761947779d7f46 100644 GIT binary patch delta 384 zcmXZXu}Z^G6vpwB8f}|8Xi*$=xLKqqfkX^Q%wWL|ibyF{Tq6yl)E3hU4nh}Kr{eD9 z3lv-&eF8^86kWRY8T{Wg2R?o|+;GmlkJhs__%54ILd}yka!(e?7ty5*kvX(6j}%zfFQ_l}hkEe@*&#)uOV4Cg`WW3?q#&yzvwW~a_&8)V*F^TV5DFR9ZnY&F(o2mQHKt_fYPmFAlZUosi2cr;1pcNd+;Je zXvx^2&`Ek1g8vs=A9(nMoHr-$+F3aBpNhRy(|H1P+rrqmzJITtb)`B>i2BYvT ZGGP=4lTk1;!~duI^Wo;x3U$)Ae~(!mEDitw diff --git a/locales/es_ES.po b/locales/es_ES.po index d2e2fce..0805e20 100644 --- a/locales/es_ES.po +++ b/locales/es_ES.po @@ -4,13 +4,14 @@ # # Translators: # Alexander J. Salas B. , 2016 +# JAVIER ANDREU , 2018 msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" -"Last-Translator: alexandre delaunay \n" +"PO-Revision-Date: 2018-05-02 15:45+0000\n" +"Last-Translator: JAVIER ANDREU \n" "Language-Team: Spanish (Spain) (http://www.transifex.com/teclib/glpi-plugin-news/language/es_ES/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -61,4 +62,4 @@ msgstr "Advertencia" #: inc/alert.class.php:375 msgid "Problem" -msgstr "" +msgstr "Problema" diff --git a/locales/fr_FR.mo b/locales/fr_FR.mo index b44e63b118890788d3cf805631107a20e01f7c6c..87d21e414821c8055d59212daa6d36a64bace796 100644 GIT binary patch delta 39 vcmbQlHHmA(6ecc9T_Ym}LsKh5^U3p=#JL@FQY#YkQi@U)Ts9wI3St5P-RBFD delta 39 vcmbQlHHmA(6ecbUT?1nULvt%r, 2016 +# Alexandre Delaunay , 2016 msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" -"Last-Translator: alexandre delaunay \n" +"PO-Revision-Date: 2017-09-22 15:17+0000\n" +"Last-Translator: Alexandre Delaunay \n" "Language-Team: French (France) (http://www.transifex.com/teclib/glpi-plugin-news/language/fr_FR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locales/it_IT.mo b/locales/it_IT.mo index da55dd76ebfb39b4d93ac8a13f23898295a1d751..6edc6aef13b738c7dbac17ebcbbf1fa402bc017e 100644 GIT binary patch delta 23 ecmey#`IB?Q6ecc9T_Ym}LsKh5^Ud>^qL~0+lLq$y delta 23 ecmey#`IB?Q6ecbUT?1nULvt%r\n" "Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-plugin-news/language/it_IT/)\n" "MIME-Version: 1.0\n" diff --git a/locales/pl_PL.mo b/locales/pl_PL.mo index 6e31efb84f44db84728f34eec00c03d76b83840d..9433fc1f5baaf951d4f9dcca815a391167504d11 100644 GIT binary patch delta 248 zcmcc1wv~N?i)u6z1H*d;1_oXr_GV^a5CYPXKpMo)0n%1Lx@u!46C2&sH1bpp4eV@< z6x7rdKujB36HO2sEN)<9Xrxe61C}tbGX%=mD;NSb8#9?0dChbUfXGO}(Adh@ zY;pyo61%I9W2m2F\n" +"PO-Revision-Date: 2017-09-22 15:17+0000\n" +"Last-Translator: Alexandre Delaunay \n" "Language-Team: Polish (Poland) (http://www.transifex.com/teclib/glpi-plugin-news/language/pl_PL/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl_PL\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" #: setup.php:53 front/alert.form.php:84 front/alert.php:27 #: front/hidden_alerts.php:27 inc/alert.class.php:55 diff --git a/locales/pt_BR.mo b/locales/pt_BR.mo index a31570360e9ac70179afcfbaffc7c6321a7ed62e..de3419718ce498e8e89fc59b9a372afa71d9afb4 100644 GIT binary patch delta 23 ecmaFI`HpkL6ecc9T_Ym}LsKh5^Ud>^0+;|@nFiJX delta 23 ecmaFI`HpkL6ecbUT?1nULvt%r\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/teclib/glpi-plugin-news/language/pt_BR/)\n" "MIME-Version: 1.0\n" diff --git a/locales/ro_RO.mo b/locales/ro_RO.mo index e50f26fd90ee9a244e6d6f345be2d08e06867400..7a22df50dddc9d245d89f4d1b65ba3e11da05cd3 100644 GIT binary patch delta 38 ucmcb@c7<(2HY2aOu7Rblk&%L-sgGaKbBx@)ka0630M7XessI20 diff --git a/locales/ro_RO.po b/locales/ro_RO.po index 9127e6f..81d6e51 100644 --- a/locales/ro_RO.po +++ b/locales/ro_RO.po @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2016-06-02 13:36+0000\n" -"Last-Translator: Alexandre DELAUNAY \n" +"PO-Revision-Date: 2017-09-22 15:17+0000\n" +"Last-Translator: Alexandre Delaunay \n" "Language-Team: Romanian (Romania) (http://www.transifex.com/teclib/glpi-plugin-news/language/ro_RO/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/locales/ru_RU.mo b/locales/ru_RU.mo index be16b6377d08a24ee2ea83aaf027a5af9e4b97cc..d731ab03eac664b355a84eee608bedcc1dcb5efb 100644 GIT binary patch delta 23 ecmZqYZRg!Eg^9~j*T_i0(A3J%eDge}m&^c7zy_)S delta 23 ecmZqYZRg!Eg^9~T*T7i8(A>(@c=J4_m&^c7xdy5L diff --git a/locales/ru_RU.po b/locales/ru_RU.po index cb050cb..88eaec7 100644 --- a/locales/ru_RU.po +++ b/locales/ru_RU.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" +"PO-Revision-Date: 2017-09-22 15:17+0000\n" "Last-Translator: Nikolay \n" "Language-Team: Russian (Russia) (http://www.transifex.com/teclib/glpi-plugin-news/language/ru_RU/)\n" "MIME-Version: 1.0\n" diff --git a/locales/tr_TR.mo b/locales/tr_TR.mo index 6fb8657087081316b8fa409499b42c22b51e61ef..441305c6eab357bf4a1bb6173d2d1713d42f1c5d 100644 GIT binary patch delta 143 zcmeyx*}yfSCUyrS1A{0N0|O@m1H(CH1_o9jeFIA01JaT}{u3ZA2BiN%#YI^d7&L)= zX&`L@q+Nlu9gwaA(riF_FOaqd(nmJl+|9^kscU4cU}R`zVz7B0lMJJvk+niWPH9nM Sj;%(Xf}Mh)=H{c!ri=jPlo%lZ delta 137 zcmZqR`o%e+CUz4e1A{0N0|O@m1H%bs1_o9jeF;k60Me2`{yiWq2Bd#L#ratn7&L)= zQ6Oyrr0s#U9gwa7(riF_JCL>p()%{v+|9^kp=)5QU}$b-YP@+KlMExbp|wImPH9nM Mj;+Dw)6Axf07G3Cpa1{> diff --git a/locales/tr_TR.po b/locales/tr_TR.po index 220d767..dd0d2d9 100644 --- a/locales/tr_TR.po +++ b/locales/tr_TR.po @@ -9,14 +9,14 @@ msgstr "" "Project-Id-Version: GLPI Plugin - News\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-02 15:36+0200\n" -"PO-Revision-Date: 2017-08-03 17:53+0000\n" +"PO-Revision-Date: 2017-09-23 21:40+0000\n" "Last-Translator: Kaya Zeren \n" "Language-Team: Turkish (Turkey) (http://www.transifex.com/teclib/glpi-plugin-news/language/tr_TR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tr_TR\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #: setup.php:53 front/alert.form.php:84 front/alert.php:27 #: front/hidden_alerts.php:27 inc/alert.class.php:55 From 7e6ba86f311d3447e0168c5fa6d5778f775ebbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Fri, 25 May 2018 14:30:56 +0200 Subject: [PATCH 7/7] Add 1.3.5 version definition --- plugin.xml | 4 ++++ setup.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 53093e5..4a2f20c 100644 --- a/plugin.xml +++ b/plugin.xml @@ -41,6 +41,10 @@ Features TECLIB' + + 1.3.5 + 9.2 + 1.3.4 9.2 diff --git a/setup.php b/setup.php index 93e9f89..e9a8ec6 100644 --- a/setup.php +++ b/setup.php @@ -21,7 +21,7 @@ -------------------------------------------------------------------------- */ -define ('PLUGIN_NEWS_VERSION', '1.3.4'); +define ('PLUGIN_NEWS_VERSION', '1.3.5'); function plugin_init_news() { global $PLUGIN_HOOKS, $CFG_GLPI;