diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml new file mode 100644 index 00000000..57fed561 --- /dev/null +++ b/.github/workflows/translate.yml @@ -0,0 +1,18 @@ +name: "Translate" + +on: + push: + branches: + - "add_transifex_ci" + schedule: + - cron: "0 0 * * *" + +jobs: + refresh-translations: + permissions: + contents: "write" + name: "Push / Pull" + uses: "stonebuzz/plugin-translation-workflows/.github/workflows/translation.yml@v1" + secrets: + tx_token: "${{ secrets.TRANSLATE_TOKEN }}" + master_branch: "add_transifex_ci" diff --git a/.tx/config b/.tx/config index e3f51109..b0b5c50d 100644 --- a/.tx/config +++ b/.tx/config @@ -4,5 +4,4 @@ host = https://www.transifex.com [o:teclib:p:glpi-project-plugin-escalade:r:escalade-pot] file_filter = locales/.po source_file = locales/escalade.pot -source_lang = en -type = PO +source_lang = en_GB diff --git a/locales/en_GB.po b/locales/en_GB.po index a685a127..cc4a9b51 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 11:04+0200\n" -"PO-Revision-Date: 2024-07-03 11:04+0200\n" +"POT-Creation-Date: 2024-08-27 14:02+0200\n" +"PO-Revision-Date: 2024-08-27 14:02+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_GB\n" @@ -69,39 +69,39 @@ msgstr "Display delete button" msgid "Don't change" msgstr "Don't change" -#: inc/config.class.php:347 hook.php:595 hook.php:614 +#: inc/config.class.php:347 hook.php:581 hook.php:600 msgid "Enable filtering on the groups assignment" msgstr "Enable filtering on the groups assignment" -#: inc/ticket.class.php:882 +#: inc/ticket.class.php:927 msgid "Error : adding actors (group)" msgstr "Error : adding actors (group)" -#: inc/ticket.class.php:872 +#: inc/ticket.class.php:917 msgid "Error : adding actors (user)" msgstr "Error : adding actors (user)" -#: inc/ticket.class.php:893 +#: inc/ticket.class.php:938 msgid "Error : adding documents" msgstr "Error : adding documents" -#: inc/ticket.class.php:860 +#: inc/ticket.class.php:905 msgid "Error : adding followups" msgstr "Error : adding followups" -#: inc/ticket.class.php:843 +#: inc/ticket.class.php:888 msgid "Error : adding link between the two tickets" msgstr "Error : adding link between the two tickets" -#: inc/ticket.class.php:830 +#: inc/ticket.class.php:875 msgid "Error : adding new ticket" msgstr "Error : adding new ticket" -#: inc/ticket.class.php:814 +#: inc/ticket.class.php:859 msgid "Error : get old ticket" msgstr "Error : get old ticket" -#: inc/ticket.class.php:1012 inc/ticket.class.php:1013 +#: inc/ticket.class.php:1057 inc/ticket.class.php:1058 msgid "Escalate" msgstr "Escalate" @@ -118,12 +118,12 @@ msgstr "Escalation" msgid "Escalation history in tasks" msgstr "Escalation history in tasks" -#: inc/ticket.class.php:387 front/ticket.form.php:69 +#: inc/ticket.class.php:422 front/ticket.form.php:85 #, php-format msgid "Escalation to the group %s." msgstr "Escalation to the group %s." -#: hook.php:550 +#: hook.php:536 msgid "Group concerned by the escalation" msgstr "Group concerned by the escalation" @@ -143,15 +143,15 @@ msgstr "" "Nota: This feature (creation part) is duplicate with the Behaviorplugin. This last has priority." -#: hook.php:568 +#: hook.php:554 msgid "Number of escalations" msgstr "Number of escalations" -#: hook.php:582 +#: hook.php:568 msgid "Number of escalations between two groups" msgstr "Number of escalations between two groups" -#: inc/history.class.php:131 +#: inc/history.class.php:130 msgid "Reassign the ticket to group" msgstr "Reassign the ticket to group" @@ -175,11 +175,11 @@ msgstr "Requester user of the task/reminder" msgid "Requester user of the ticket" msgstr "Requester user of the ticket" -#: inc/ticket.class.php:207 +#: inc/ticket.class.php:254 msgid "Solution provided, back to the group" msgstr "Solution provided, back to the group" -#: inc/ticket.class.php:271 +#: inc/ticket.class.php:318 msgid "Solution rejected, return to the group" msgstr "Solution rejected, return to the group" @@ -187,7 +187,7 @@ msgstr "Solution rejected, return to the group" msgid "Solve date modification" msgstr "Solve date modification" -#: inc/ticket.class.php:854 inc/ticket.class.php:899 inc/ticket.class.php:904 +#: inc/ticket.class.php:899 inc/ticket.class.php:944 inc/ticket.class.php:949 msgid "This ticket has been cloned from the ticket num" msgstr "This ticket has been cloned from the ticket num" @@ -195,11 +195,11 @@ msgstr "This ticket has been cloned from the ticket num" msgid "Ticket status after an escalation" msgstr "Ticket status after an escalation" -#: inc/history.class.php:222 +#: inc/history.class.php:244 msgid "Tickets to close (escalated)" msgstr "Tickets to close (escalated)" -#: inc/history.class.php:208 +#: inc/history.class.php:230 msgid "Tickets to follow (escalated)" msgstr "Tickets to follow (escalated)" @@ -207,7 +207,7 @@ msgstr "Tickets to follow (escalated)" msgid "Use the technician's group" msgstr "Use the technician's group" -#: inc/history.class.php:155 +#: inc/history.class.php:177 msgid "View full history" msgstr "View full history" @@ -223,7 +223,7 @@ msgstr "at creation time" msgid "at modification time" msgstr "at modification time" -#: front/popup_histories.php:33 +#: inc/history.class.php:174 msgid "full assignation history" msgstr "full assignation history" diff --git a/locales/escalade.pot b/locales/escalade.pot index a26f5922..444952cc 100644 --- a/locales/escalade.pot +++ b/locales/escalade.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 11:04+0200\n" +"POT-Creation-Date: 2024-08-27 14:02+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -69,39 +69,39 @@ msgstr "" msgid "Don't change" msgstr "" -#: inc/config.class.php:347 hook.php:595 hook.php:614 +#: inc/config.class.php:347 hook.php:581 hook.php:600 msgid "Enable filtering on the groups assignment" msgstr "" -#: inc/ticket.class.php:882 +#: inc/ticket.class.php:927 msgid "Error : adding actors (group)" msgstr "" -#: inc/ticket.class.php:872 +#: inc/ticket.class.php:917 msgid "Error : adding actors (user)" msgstr "" -#: inc/ticket.class.php:893 +#: inc/ticket.class.php:938 msgid "Error : adding documents" msgstr "" -#: inc/ticket.class.php:860 +#: inc/ticket.class.php:905 msgid "Error : adding followups" msgstr "" -#: inc/ticket.class.php:843 +#: inc/ticket.class.php:888 msgid "Error : adding link between the two tickets" msgstr "" -#: inc/ticket.class.php:830 +#: inc/ticket.class.php:875 msgid "Error : adding new ticket" msgstr "" -#: inc/ticket.class.php:814 +#: inc/ticket.class.php:859 msgid "Error : get old ticket" msgstr "" -#: inc/ticket.class.php:1012 inc/ticket.class.php:1013 +#: inc/ticket.class.php:1057 inc/ticket.class.php:1058 msgid "Escalate" msgstr "" @@ -118,12 +118,12 @@ msgstr "" msgid "Escalation history in tasks" msgstr "" -#: inc/ticket.class.php:387 front/ticket.form.php:69 +#: inc/ticket.class.php:422 front/ticket.form.php:85 #, php-format msgid "Escalation to the group %s." msgstr "" -#: hook.php:550 +#: hook.php:536 msgid "Group concerned by the escalation" msgstr "" @@ -141,15 +141,15 @@ msgid "" "href='##link##'>Behaviorplugin. This last has priority." msgstr "" -#: hook.php:568 +#: hook.php:554 msgid "Number of escalations" msgstr "" -#: hook.php:582 +#: hook.php:568 msgid "Number of escalations between two groups" msgstr "" -#: inc/history.class.php:131 +#: inc/history.class.php:130 msgid "Reassign the ticket to group" msgstr "" @@ -173,11 +173,11 @@ msgstr "" msgid "Requester user of the ticket" msgstr "" -#: inc/ticket.class.php:207 +#: inc/ticket.class.php:254 msgid "Solution provided, back to the group" msgstr "" -#: inc/ticket.class.php:271 +#: inc/ticket.class.php:318 msgid "Solution rejected, return to the group" msgstr "" @@ -185,7 +185,7 @@ msgstr "" msgid "Solve date modification" msgstr "" -#: inc/ticket.class.php:854 inc/ticket.class.php:899 inc/ticket.class.php:904 +#: inc/ticket.class.php:899 inc/ticket.class.php:944 inc/ticket.class.php:949 msgid "This ticket has been cloned from the ticket num" msgstr "" @@ -193,11 +193,11 @@ msgstr "" msgid "Ticket status after an escalation" msgstr "" -#: inc/history.class.php:222 +#: inc/history.class.php:244 msgid "Tickets to close (escalated)" msgstr "" -#: inc/history.class.php:208 +#: inc/history.class.php:230 msgid "Tickets to follow (escalated)" msgstr "" @@ -205,7 +205,7 @@ msgstr "" msgid "Use the technician's group" msgstr "" -#: inc/history.class.php:155 +#: inc/history.class.php:177 msgid "View full history" msgstr "" @@ -221,7 +221,7 @@ msgstr "" msgid "at modification time" msgstr "" -#: front/popup_histories.php:33 +#: inc/history.class.php:174 msgid "full assignation history" msgstr ""