Permalink
Browse files

update locale & migration InnoDB & update xml

  • Loading branch information...
amma35 committed Jul 4, 2018
1 parent 1ccf668 commit 3a0d7543efb34c5a6ee2e9cc87381d3b361121ba
View
@@ -37,7 +37,7 @@ function plugin_tasklists_install() {
include_once(GLPI_ROOT . "/plugins/tasklists/inc/task.class.php");
if (!$DB->tableExists("glpi_plugin_tasklists_tasks")) {
$DB->runFile(GLPI_ROOT . "/plugins/tasklists/sql/empty-1.0.0.sql");
$DB->runFile(GLPI_ROOT . "/plugins/tasklists/sql/empty-1.3.0.sql");
}
View
Binary file not shown.
View
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI - Tasklists plugin 1.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-28 08:53+0200\n"
"POT-Creation-Date: 2018-07-04 09:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/tsmr/teams/79675/cs_CZ/)\n"
@@ -17,21 +17,20 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Language: cs_CZ\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"
"X-Generator: Poedit 2.0.6\n"
#: setup.php:70 inc/dashboard.class.php:58 inc/dashboard.class.php:171
#: inc/dashboard.class.php:176 inc/menu.class.php:44 inc/profile.class.php:52
msgid "Tasks list"
msgstr "Seznam úkolů"
#: inc/dashboard.class.php:77 inc/task.class.php:72 inc/task.class.php:225
#: inc/dashboard.class.php:77 inc/task.class.php:80 inc/task.class.php:276
#: inc/tasktype.class.php:47
msgid "Context"
msgid_plural "Contexts"
msgstr[0] "Kontext"
msgstr[1] "Kontexty"
msgstr[2] "Kontextů"
msgstr[3] "Kontextů"
msgstr[3] "Kontexty"
#: inc/dashboard.class.php:128
msgid "Mark as done"
@@ -45,29 +44,29 @@ msgstr "Přidat komentář"
msgid "Add task"
msgstr "Přidat úkol"
#: inc/task.class.php:98 inc/task.class.php:266
#: inc/task.class.php:118 inc/task.class.php:317
msgid "Due date"
msgstr "Termín"
#: inc/task.class.php:268
#: inc/task.class.php:319
msgid "Empty for infinite"
msgstr "Prázdné pro nekončno"
msgstr "Nevyplněné znamená nekonečno"
#: inc/task.class.php:639
#: inc/task.class.php:697
msgctxt "visibility"
msgid "This user"
msgstr "Tento uživatel"
#: inc/task.class.php:642
#: inc/task.class.php:700
msgctxt "visibility"
msgid "This user and this group"
msgstr "Tento uživatel a skupina"
#: inc/task.class.php:645
#: inc/task.class.php:703
msgctxt "visibility"
msgid "All"
msgstr "Vše"
msgstr "Všichni"
#: inc/task.class.php:661
#: inc/task.class.php:719
msgid "Affect entity for create task"
msgstr "Entita které se vytvoření úkolu týká"
msgstr "Přiřadit entitu pro vytvoření úkolu"
View
Binary file not shown.
View
@@ -2,13 +2,16 @@
# Copyright (C) YEAR Tasklists Development Team
# This file is distributed under the same license as the GLPI - Tasklists plugin package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: GLPI - Tasklists plugin 1.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-28 08:53+0200\n"
"PO-Revision-Date: 2018-05-29 15:41+0200\n"
"POT-Creation-Date: 2018-07-04 09:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -23,7 +26,7 @@ msgstr ""
msgid "Tasks list"
msgstr "Tasks list"
#: inc/dashboard.class.php:77 inc/task.class.php:72 inc/task.class.php:225
#: inc/dashboard.class.php:77 inc/task.class.php:80 inc/task.class.php:276
#: inc/tasktype.class.php:47
msgid "Context"
msgid_plural "Contexts"
@@ -42,29 +45,29 @@ msgstr "Add comment"
msgid "Add task"
msgstr "Add task"
#: inc/task.class.php:98 inc/task.class.php:266
#: inc/task.class.php:118 inc/task.class.php:317
msgid "Due date"
msgstr "Due date"
#: inc/task.class.php:268
#: inc/task.class.php:319
msgid "Empty for infinite"
msgstr "Empty for infinite"
#: inc/task.class.php:639
#: inc/task.class.php:697
msgctxt "visibility"
msgid "This user"
msgstr "This user"
#: inc/task.class.php:642
#: inc/task.class.php:700
msgctxt "visibility"
msgid "This user and this group"
msgstr "This user and this group"
#: inc/task.class.php:645
#: inc/task.class.php:703
msgctxt "visibility"
msgid "All"
msgstr "All"
#: inc/task.class.php:661
#: inc/task.class.php:719
msgid "Affect entity for create task"
msgstr "Affect entity for create task"
View
Binary file not shown.
View
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI - Tasklists plugin 1.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-28 08:53+0200\n"
"POT-Creation-Date: 2018-07-04 09:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Amandine Manceau, 2017\n"
"Language-Team: French (France) (https://www.transifex.com/tsmr/teams/79675/fr_FR/)\n"
@@ -17,14 +17,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Language: fr_FR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 2.0.6\n"
#: setup.php:70 inc/dashboard.class.php:58 inc/dashboard.class.php:171
#: inc/dashboard.class.php:176 inc/menu.class.php:44 inc/profile.class.php:52
msgid "Tasks list"
msgstr "Liste des tâches"
#: inc/dashboard.class.php:77 inc/task.class.php:72 inc/task.class.php:225
#: inc/dashboard.class.php:77 inc/task.class.php:80 inc/task.class.php:276
#: inc/tasktype.class.php:47
msgid "Context"
msgid_plural "Contexts"
@@ -43,29 +42,29 @@ msgstr "Ajouter un commentaire"
msgid "Add task"
msgstr "Ajouter une tâche"
#: inc/task.class.php:98 inc/task.class.php:266
#: inc/task.class.php:118 inc/task.class.php:317
msgid "Due date"
msgstr "Date d'échéance"
#: inc/task.class.php:268
#: inc/task.class.php:319
msgid "Empty for infinite"
msgstr "Vide pour infini"
#: inc/task.class.php:639
#: inc/task.class.php:697
msgctxt "visibility"
msgid "This user"
msgstr "Cet utilisateur"
#: inc/task.class.php:642
#: inc/task.class.php:700
msgctxt "visibility"
msgid "This user and this group"
msgstr "Cet utilisateur et ce groupe"
#: inc/task.class.php:645
#: inc/task.class.php:703
msgctxt "visibility"
msgid "All"
msgstr "Tout le monde"
#: inc/task.class.php:661
#: inc/task.class.php:719
msgid "Affect entity for create task"
msgstr "Affecter une entité pour une création de tâche"
View
@@ -8,22 +8,22 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI - Tasklists plugin 1.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-28 08:57+0200\n"
"POT-Creation-Date: 2018-07-04 09:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 2.0.6\n"
#: setup.php:70 inc/dashboard.class.php:58 inc/dashboard.class.php:171
#: inc/dashboard.class.php:176 inc/menu.class.php:44 inc/profile.class.php:52
msgid "Tasks list"
msgstr ""
#: inc/dashboard.class.php:77 inc/task.class.php:72 inc/task.class.php:225
#: inc/dashboard.class.php:77 inc/task.class.php:80 inc/task.class.php:276
#: inc/tasktype.class.php:47
msgid "Context"
msgid_plural "Contexts"
@@ -42,29 +42,29 @@ msgstr ""
msgid "Add task"
msgstr ""
#: inc/task.class.php:98 inc/task.class.php:266
#: inc/task.class.php:118 inc/task.class.php:317
msgid "Due date"
msgstr ""
#: inc/task.class.php:268
#: inc/task.class.php:319
msgid "Empty for infinite"
msgstr ""
#: inc/task.class.php:639
#: inc/task.class.php:697
msgctxt "visibility"
msgid "This user"
msgstr ""
#: inc/task.class.php:642
#: inc/task.class.php:700
msgctxt "visibility"
msgid "This user and this group"
msgstr ""
#: inc/task.class.php:645
#: inc/task.class.php:703
msgctxt "visibility"
msgid "All"
msgstr ""
#: inc/task.class.php:661
#: inc/task.class.php:719
msgid "Affect entity for create task"
msgstr ""
View
@@ -0,0 +1,46 @@
DROP TABLE IF EXISTS `glpi_plugin_tasklists_tasks`;
CREATE TABLE `glpi_plugin_tasklists_tasks` (
`id` int(11) NOT NULL auto_increment,
`entities_id` int(11) NOT NULL default '0',
`is_recursive` tinyint(1) NOT NULL default '0',
`name` varchar(255) collate utf8_unicode_ci default NULL,
`plugin_tasklists_tasktypes_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_plugin_tasklists_tasktypes (id)',
`priority` int(11) NOT NULL DEFAULT '1',
`visibility` int(11) NOT NULL DEFAULT '1',
`actiontime` int(11) NOT NULL DEFAULT '0',
`percent_done` int(11) NOT NULL DEFAULT '0',
`state` int(11) NOT NULL DEFAULT '1',
`due_date` date default NULL,
`users_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_users (id)',
`groups_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_groups (id)',
`comment` text collate utf8_unicode_ci,
`notepad` longtext collate utf8_unicode_ci,
`date_mod` datetime default NULL,
`is_deleted` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `name` (`name`),
KEY `entities_id` (`entities_id`),
KEY `plugin_tasklists_tasktypes_id` (`plugin_tasklists_tasktypes_id`),
KEY `users_id` (`users_id`),
KEY `groups_id` (`groups_id`),
KEY `date_mod` (`date_mod`),
KEY `is_deleted` (`is_deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS `glpi_plugin_tasklists_tasktypes`;
CREATE TABLE `glpi_plugin_tasklists_tasktypes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`entities_id` int(11) NOT NULL DEFAULT '0',
`is_recursive` tinyint(1) NOT NULL DEFAULT '0',
`comment` text COLLATE utf8_unicode_ci,
`plugin_tasklists_tasktypes_id` int(11) NOT NULL DEFAULT '0',
`completename` text COLLATE utf8_unicode_ci,
`level` int(11) NOT NULL DEFAULT '0',
`ancestors_cache` longtext COLLATE utf8_unicode_ci,
`sons_cache` longtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `name` (`name`),
KEY `unicity` (`plugin_tasklists_tasktypes_id`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
View
@@ -23,6 +23,10 @@
<author>Infotel</author>
</authors>
<versions>
<version>
<num>1.3.0</num>
<compatibility>9.3</compatibility>
</version>
<version>
<num>1.2.0</num>
<compatibility>9.2</compatibility>

0 comments on commit 3a0d754

Please sign in to comment.