Skip to content

Commit e9d9a61

Browse files
authored
Merge pull request #20 from ticgal/19-localazy-integration
Localazy integration
2 parents 5ae9e7a + 048e183 commit e9d9a61

File tree

7 files changed

+41
-30
lines changed

7 files changed

+41
-30
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Costs
22
The cost plugin for GLPI
33

4+
## 3.0.1 - 2022-07-27
5+
## Features
6+
- Localazy integration #10666
7+
48
## 3.0.0 - 2022-07-07
59
### Features
610
- GLPI 10 compatibility #10398

locales/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
localazy.keys.json
2+
localazy.jar

locales/costs.pot

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Cost Glpi Plugin.
2-
# Copyright (C) 2021 TICgal
2+
# Copyright (C) 2022 TICgal
33
# This file is distributed under the same license as the PACKAGE package.
4-
# TICgal, 2021
4+
# TICgal, 2022
55
#
66
#, fuzzy
77
msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-05-20 14:43+0200\n"
12-
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
11+
"POT-Creation-Date: 2022-07-27 12:10+0200\n"
12+
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"Language: \n"
@@ -26,6 +26,6 @@ msgstr ""
2626
msgid "Add task description on cost"
2727
msgstr ""
2828

29-
#: inc/ticket.class.php:53 inc/ticket.class.php:116
29+
#: inc/ticket.class.php:53 inc/ticket.class.php:119
3030
msgid "Billable"
3131
msgstr ""

locales/en_GB.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# Copyright (C) 2020 TICgal
33
# This file is distributed under the same license as the PACKAGE package.
44
# TICgal, 2020
5-
#
5+
#
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-05-20 14:43+0200\n"
10+
"POT-Creation-Date: 2022-07-27 12:10+0200\n"
1111
"PO-Revision-Date: 2021-05-20 14:43+0200\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -27,6 +27,6 @@ msgstr "Costs"
2727
msgid "Add task description on cost"
2828
msgstr "Add task description on cost"
2929

30-
#: inc/ticket.class.php:53 inc/ticket.class.php:116
30+
#: inc/ticket.class.php:53 inc/ticket.class.php:119
3131
msgid "Billable"
3232
msgstr "Billable"

locales/es_ES.po

+7-21
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,18 @@
1-
# Cost Glpi Plugin.
2-
# Copyright (C) 2020 TICgal
3-
# This file is distributed under the same license as the PACKAGE package.
4-
# TICgal, 2020
5-
#
61
msgid ""
72
msgstr ""
8-
"Project-Id-Version: \n"
9-
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-05-20 14:43+0200\n"
11-
"PO-Revision-Date: 2021-05-20 14:44+0200\n"
12-
"Last-Translator: \n"
13-
"Language-Team: \n"
14-
"Language: es_ES\n"
153
"MIME-Version: 1.0\n"
164
"Content-Type: text/plain; charset=UTF-8\n"
175
"Content-Transfer-Encoding: 8bit\n"
18-
"X-Generator: Poedit 2.0.6\n"
19-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20-
21-
#: inc/config.class.php:46 inc/config.class.php:102 inc/entity.class.php:46
22-
#: inc/task.class.php:7 inc/ticket.class.php:41
23-
msgid "Costs"
24-
msgstr "Costes"
6+
"X-Generator: Localazy (https://localazy.com)\n"
7+
"Project-Id-Version: Costs\n"
8+
"Language: es_ES\n"
9+
"Plural-Forms: nplurals=2; plural=(n==1) ? 0 : 1;\n"
2510

26-
#: inc/config.class.php:89
2711
msgid "Add task description on cost"
2812
msgstr "Añadir la descripción de la tarea en el coste"
2913

30-
#: inc/ticket.class.php:53 inc/ticket.class.php:116
3114
msgid "Billable"
3215
msgstr "Facturable"
16+
17+
msgid "Costs"
18+
msgstr "Costes"

locales/localazy.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"upload": {
3+
"type": "pot",
4+
"deprecate": "project",
5+
"files": [
6+
"costs.pot",
7+
{
8+
"group": "existing",
9+
"file": "costs.pot",
10+
"pattern": "./*.po",
11+
"type": "po",
12+
"lang": "${autodetectLang}"
13+
}
14+
]
15+
},
16+
"download": {
17+
"files": "${languageCode}_${regionCode}.po"
18+
}
19+
}

setup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
@link https://tic.gal
3333
@since 2018
3434
---------------------------------------------------------------------- */
35-
define ('PLUGIN_COSTS_VERSION', '3.0.0');
35+
define ('PLUGIN_COSTS_VERSION', '3.0.1');
3636
// Minimal GLPI version, inclusive
3737
define("PLUGIN_COSTS_MIN_GLPI", "10.0");
3838
// Maximum GLPI version, exclusive

0 commit comments

Comments
 (0)