MantisBT-Discord – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 <?php 1 <?php
2 /** 2 /**
3 * Slack Integration 3 * Slack Integration
4 * Copyright (C) 2014 Karim Ratib (karim@meedan.com) 4 * Copyright (C) 2014 Karim Ratib (karim@meedan.com)
5 * 5 *
6 * Slack Integration is free software; you can redistribute it and/or 6 * Slack Integration is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License 2 7 * modify it under the terms of the GNU General Public License 2
8 * as published by the Free Software Foundation. 8 * as published by the Free Software Foundation.
9 * 9 *
10 * Slack Integration is distributed in the hope that it will be useful, 10 * Slack Integration is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with Slack Integration; if not, write to the Free Software 16 * along with Slack Integration; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 * or see http://www.gnu.org/licenses/. 18 * or see http://www.gnu.org/licenses/.
19 * 19 *
20 * @author Karim Ratib 20 * @author Karim Ratib
21 */ 21 */
22   22  
23 $s_plugin_Discord_ = ''; 23 $s_plugin_Discord_ = '';
24 $s_plugin_Discord_title = 'Intégration de Discord'; 24 $s_plugin_Discord_title = 'Intégration de Discord';
25 $s_plugin_Discord_description = 'Plugiciel d\'intégration pour envoyer les notifications de Mantis à des channels de Discord.'; 25 $s_plugin_Discord_description = 'Plugiciel d\'intégration pour envoyer les notifications de Mantis à des channels de Discord.';
26 $s_plugin_Discord_config = 'Configuration'; 26 $s_plugin_Discord_config = 'Configuration';
27 $s_plugin_Discord_url_webhook = 'URL de webhook Discord de défaut'; 27 $s_plugin_Discord_url_webhook = 'URL de webhook Discord de défaut';
28 $s_plugin_Discord_url_webhooks = 'URLs de webhook Discord additionnels'; 28 $s_plugin_Discord_url_webhooks = 'URLs de webhook Discord additionnels';
29 //$s_plugin_Discord_bot_name = 'Nom du bot Discord'; 29 //$s_plugin_Discord_bot_name = 'Nom du bot Discord';
30 //$s_plugin_Discord_bot_icon = 'Icône du bot Discord'; 30 //$s_plugin_Discord_bot_icon = 'Icône du bot Discord';
31 $s_plugin_Discord_skip_bulk = 'Ne pas envoyer de notification pour les actions en bloc'; 31 $s_plugin_Discord_skip_bulk = 'Ne pas envoyer de notification pour les actions en bloc';
32 $s_plugin_Discord_link_names = 'Convertir les noms d\'utilisateurs en liens Discord (peut causer des notifications excessives dans Discord)'; 32 $s_plugin_Discord_link_names = 'Convertir les noms d\'utilisateurs en liens Discord (peut causer des notifications excessives dans Discord)';
33 //$s_plugin_Discord_default_channel = 'Channel Discord de défault'; 33 //$s_plugin_Discord_default_channel = 'Channel Discord de défault';
34 //$s_plugin_Discord_channels = 'Correspondances des channels'; 34 //$s_plugin_Discord_channels = 'Correspondances des channels';
35 //$s_plugin_Discord_usernames = 'Correspondances des noms d\'utilisateurs'; 35 //$s_plugin_Discord_usernames = 'Correspondances des noms d\'utilisateurs';
36 $s_plugin_Discord_language = 'Langue'; 36 $s_plugin_Discord_language = 'Langue';
37 $s_plugin_Discord_columns = 'Champs de bogues'; 37 $s_plugin_Discord_columns = 'Champs de bogues';
38 $s_plugin_Discord_bug_created = '[%s] %s a crée <%s|%s>. (%s)'; 38 $s_plugin_Discord_bug_created = '[%s] %s a crée __%s__ (%s)';
39 $s_plugin_Discord_bug_updated = '[%s] %s a modifié <%s|%s>. (%s)'; 39 $s_plugin_Discord_bug_updated = '[%s] %s a modifié __%s__ (%s)';
40 $s_plugin_Discord_bug_deleted = '[%s] %s a effacé %s.'; 40 $s_plugin_Discord_bug_deleted = '[%s] %s a effacé %s.';
41 $s_plugin_Discord_bugnote_created = "[%s] %s a commenté sur <%s|%s> pour dire:"; 41 $s_plugin_Discord_bugnote_created = "[%s] %s a commenté sur <%s>.";
42 $s_plugin_Discord_bugnote_updated = "[%s] %s a modifié un commentaire sur <%s|%s> pour dire:"; 42 $s_plugin_Discord_bugnote_updated = "[%s] %s a modifié un commentaire sur __%s__";
43 $s_plugin_Discord_bugnote_deleted = "[%s] %s a effacé un commentaire sur <%s|%s>."; 43 $s_plugin_Discord_bugnote_deleted = "[%s] %s a effacé un commentaire sur __%s__";
44 $s_plugin_Discord_no_user = '(personne)'; 44 $s_plugin_Discord_no_user = '(personne)';
45 $s_plugin_Discord_unknown_field = '(incapable de visualiser le champ "%s")'; 45 $s_plugin_Discord_unknown_field = '(incapable de visualiser le champ "%s")';
46 $s_plugin_Discord_skip = 'Ne pas envoyer de notification sur Discord'; 46 $s_plugin_Discord_skip = 'Ne pas envoyer de notification sur Discord';
47 $s_plugin_Discord_action_update = 'Envoyer'; 47 $s_plugin_Discord_action_update = 'Envoyer';
48   48  
49 $MANTIS_ERROR['plugin_Discord_ERROR_NO_CURL'] = 'Le plugiciel Discord requiert l\'extension cURL (http://php.net/curl)'; 49 $MANTIS_ERROR['plugin_Discord_ERROR_NO_CURL'] = 'Le plugiciel Discord requiert l\'extension cURL (http://php.net/curl)';
50 $MANTIS_ERROR['plugin_Discord_ERROR_PHP_VERSION'] = 'Le plugiciel Discord requiert PHP 5.3.0 ou plus'; 50 $MANTIS_ERROR['plugin_Discord_ERROR_PHP_VERSION'] = 'Le plugiciel Discord requiert PHP 5.3.0 ou plus';
51 $MANTIS_ERROR['plugin_Discord_ERROR_CURL'] = 'La requête pour Discord n\'est pas arrivée à destination. Vérifiez votre URL de webhook. Vérifiez aussi que le nom et l\'icône du bot Discord ne contiennent pas de caractère anormaux. Regardez ci-dessous pour plus d\'informations.'; 51 $MANTIS_ERROR['plugin_Discord_ERROR_CURL'] = 'La requête pour Discord n\'est pas arrivée à destination. Vérifiez votre URL de webhook. Vérifiez aussi que le nom et l\'icône du bot Discord ne contiennent pas de caractère anormaux. Regardez ci-dessous pour plus d\'informations.';
52   52