From 274682932c7c811582ccec21fe000ed659f20496 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Jul 2020 12:09:57 +0200 Subject: [PATCH] Add GLPI 9.5 compatibility --- locales/de_DE.mo | Bin 1032 -> 1073 bytes locales/de_DE.po | 20 +++++++++++++++----- locales/en_GB.mo | Bin 943 -> 1091 bytes locales/en_GB.po | 17 +++++++++++++---- locales/es_ES.mo | Bin 827 -> 956 bytes locales/es_ES.po | 16 ++++++++++++---- locales/gl_ES.mo | Bin 863 -> 904 bytes locales/gl_ES.po | 21 ++++++++++++++++----- locales/hr_HR.mo | Bin 1081 -> 1122 bytes locales/hr_HR.po | 20 +++++++++++++++----- locales/yagp.pot | 18 +++++++++++++----- setup.php | 11 ++--------- 12 files changed, 86 insertions(+), 37 deletions(-) diff --git a/locales/de_DE.mo b/locales/de_DE.mo index b45e6b00557eeb55cd39abcc49b02cc4d9e7bfd8..fb1c57d0c1ed9839ec3c413b8ead5b36bcbd1dfa 100644 GIT binary patch delta 181 zcmeC+*vK&<$1jJGfnh5U>oG7eC^0iI@B-;TAngI9oG7e{A6Na;04ke%nS@3K-vsQ^8x94AT0-^`+&3(kX{R< zS%CBfAT0uf UlL(QsQb\n" "Language-Team: \n" +"Language: de_DE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3\n" -"Last-Translator: Milo Ivir \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: de_DE\n" -#: inc/config.class.php:45 inc/config.class.php:106 +#: inc/config.class.php:45 inc/config.class.php:116 msgid "Yagp" msgstr "Yagp" #: inc/config.class.php:88 msgid "Change ticket solved date to last task end time" -msgstr "Ändere das Schlussdatum des Tickets in die End-Zeit der letzten Aufgabe" +msgstr "" +"Ändere das Schlussdatum des Tickets in die End-Zeit der letzten Aufgabe" #: inc/config.class.php:93 msgid "Auto renew tacit contracts" msgstr "Stillschweigende Veträge automatisch erneuern" +#: inc/config.class.php:98 +msgid "Fixed Menu" +msgstr "" + +#: inc/config.class.php:103 +#, fuzzy +msgid "Go to ticket" +msgstr "Anzahl Tickets" + #: inc/contractrenew.class.php:5 msgid "YagpContractRenew" msgstr "Yagp Vetrag erneuern" diff --git a/locales/en_GB.mo b/locales/en_GB.mo index 50f5c9a4ae34e7c579b873d533f0c2d261eb7176..510ac9dd5b0506d9ef6094e43da4967fa7bf9b66 100644 GIT binary patch delta 476 zcmaLSKTE?v7zXf5TWyUlmDWHhc+PS$jiM49{D*ZZ7U@uM3g#$5$VqyI4nje9u>`+> zU%<)5!NtkZ!A|1bMf3{@K5yH_#UoFC$%VX6a-V(9^*-h^w+w3zDI*t19(hM-af7iE zT!OQ33$DOJXu>X}cdsD5cLObW2N&QY%)r;l^8qa2eh5Q@_1F(CsGyY|7hFOrxQ0~l z1gYQ!Qo#UH!4OgbO{W42Cwg9nRA57lW-~|%p_Lsonn$x4Tb%5G9D0qa z6^VUcOOLyb>j-B zNQ(pMC?G8cq>F$w3y|)F%J%_j5g>m7kTwP4tw0Pi?==(Hym|&UW{818KpJGA6OaZO z7y_h02Ic^1kb%um`3@irGH@1<2ATy1K(oLeU= zD-@;XrIss{Bu>_2^qM?@v5`N((b?P4-BlsXH7MBA-*2)Ylhou8CLuvXOI-tFT?2Ck YLo+KQ3vC0#$>mH}Co3>U0CnX80M4%^=>Px# diff --git a/locales/en_GB.po b/locales/en_GB.po index fc0ca94..93a6707 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-07 16:57+0100\n" -"PO-Revision-Date: 2019-03-07 16:28+0100\n" +"POT-Creation-Date: 2020-07-24 12:06+0200\n" +"PO-Revision-Date: 2020-07-24 12:08+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_GB\n" @@ -16,8 +16,9 @@ msgstr "" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.3.1\n" -#: inc/config.class.php:45 inc/config.class.php:106 +#: inc/config.class.php:45 inc/config.class.php:116 msgid "Yagp" msgstr "Yagp" @@ -29,6 +30,14 @@ msgstr "Change ticket solved date to last task end time" msgid "Auto renew tacit contracts" msgstr "Auto renew tacit contracts" +#: inc/config.class.php:98 +msgid "Fixed Menu" +msgstr "Fixed Menu" + +#: inc/config.class.php:103 +msgid "Go to ticket" +msgstr "Go to ticket" + #: inc/contractrenew.class.php:5 msgid "YagpContractRenew" msgstr "YagpContractRenew" diff --git a/locales/es_ES.mo b/locales/es_ES.mo index 7b02f16fcb107a03a1e734ecbee0ae0c777b6f10..643d1e8f5161046a4ba7097853667d3045f79ee3 100644 GIT binary patch delta 371 zcmZ{e!7c+q9EbnAt!@<&lG+4^Il0KPT|(2FR0yFOkw{!*t0P&YE44&ioIF6Y@c@LI ziz{y4L+Sy%frD=he>F{5IliN7slZe2H+cJA#aHk za2XHcDjvag?BWI!jr#8 HzwFu%5OX}I delta 242 zcmdnPzMHN7o)F7a1|VPuVi_O~0b*_-?g3&D*a5^+K)e%(LE=|{SRaTV0I?tt3otS; zhy!UQAT0)@t$?&D5C;OW8jxSk#K6D{q~`%?MjtHkWfo`V=jpm6mZVxK7#SE^>KYj9 g8kj2>npqheX&V?$=4M*TY@la0c{9_J$@$E_0GXT~q5uE@ diff --git a/locales/es_ES.po b/locales/es_ES.po index 67c6f08..e4cff70 100644 --- a/locales/es_ES.po +++ b/locales/es_ES.po @@ -7,18 +7,18 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-07 16:57+0100\n" -"PO-Revision-Date: 2019-03-07 16:32+0100\n" +"POT-Creation-Date: 2020-07-24 12:06+0200\n" +"PO-Revision-Date: 2020-07-24 12:08+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.6\n" +"X-Generator: Poedit 2.3.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: inc/config.class.php:45 inc/config.class.php:106 +#: inc/config.class.php:45 inc/config.class.php:116 msgid "Yagp" msgstr "" @@ -30,6 +30,14 @@ msgstr "Cambiar fecha de solución por la fecha de fin de la ultima tarea" msgid "Auto renew tacit contracts" msgstr "Auto renovación de contratos tácitos" +#: inc/config.class.php:98 +msgid "Fixed Menu" +msgstr "Menú fijo" + +#: inc/config.class.php:103 +msgid "Go to ticket" +msgstr "Ir al ticket" + #: inc/contractrenew.class.php:5 msgid "YagpContractRenew" msgstr "" diff --git a/locales/gl_ES.mo b/locales/gl_ES.mo index 3aedd6e15e8c124bf55f9d286529b0aff064700f..8d2f93765557a78367930768a55f383227c841ab 100644 GIT binary patch delta 166 zcmcc5*17|M3sk$MliMdt^Trj?sLPk-%N6=&$rsBzanMx)*GXDSo D4S^?P delta 138 zcmaFFv6Ev$j&Bbm1H)DzR$*XZaAIa);0My_K-vRHmjh{TAbkKxO9AOKKw26|KL^q* zK$;my2mxshAT0}|r8n->W1K9&q`{k)UYeMmsvDA;m}{jlxtXbWvKf=!$(hVQ0o^?t%m4rY diff --git a/locales/hr_HR.po b/locales/hr_HR.po index 99c8f35..02a644b 100644 --- a/locales/hr_HR.po +++ b/locales/hr_HR.po @@ -9,18 +9,19 @@ msgid "" msgstr "" "Project-Id-Version: YAGP\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-07 16:57+0100\n" +"POT-Creation-Date: 2020-07-24 12:06+0200\n" "PO-Revision-Date: 2020-04-08 15:47+0200\n" +"Last-Translator: Milo Ivir \n" "Language-Team: \n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.3\n" -"Last-Translator: Milo Ivir \n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" -"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" -#: inc/config.class.php:45 inc/config.class.php:106 +#: inc/config.class.php:45 inc/config.class.php:116 msgid "Yagp" msgstr "Yagp" @@ -32,6 +33,15 @@ msgstr "Promijeni datum rješavanja naloga s vremenom završetka zadnjeg zadatka msgid "Auto renew tacit contracts" msgstr "Automatski obnovi implicitne ugovore" +#: inc/config.class.php:98 +msgid "Fixed Menu" +msgstr "" + +#: inc/config.class.php:103 +#, fuzzy +msgid "Go to ticket" +msgstr "Broj naloga" + #: inc/contractrenew.class.php:5 msgid "YagpContractRenew" msgstr "Yagp obnovi ugovor" diff --git a/locales/yagp.pot b/locales/yagp.pot index 30905cf..659e1f5 100644 --- a/locales/yagp.pot +++ b/locales/yagp.pot @@ -1,15 +1,15 @@ # YAGP Glpi Plugin. -# Copyright (C) 2019 TICgal +# Copyright (C) 2020 TICgal # This file is distributed under the same license as the PACKAGE package. -# TICgal, 2019 +# TICgal, 2020 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-07 16:57+0100\n" -"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n" +"POT-Creation-Date: 2020-07-24 12:09+0200\n" +"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: inc/config.class.php:45 inc/config.class.php:106 +#: inc/config.class.php:45 inc/config.class.php:116 msgid "Yagp" msgstr "" @@ -29,6 +29,14 @@ msgstr "" msgid "Auto renew tacit contracts" msgstr "" +#: inc/config.class.php:98 +msgid "Fixed Menu" +msgstr "" + +#: inc/config.class.php:103 +msgid "Go to ticket" +msgstr "" + #: inc/contractrenew.class.php:5 msgid "YagpContractRenew" msgstr "" diff --git a/setup.php b/setup.php index 84d674d..1a610d2 100644 --- a/setup.php +++ b/setup.php @@ -1,9 +1,9 @@ 'yagp', @@ -20,13 +20,6 @@ function plugin_version_yagp() { ]]; } -/** - * Check plugin's prerequisites before installation - */ -function plugin_yagp_check_prerequisites() { - return true; -} - /** * Check plugin's config before activation */