mantis-matrix-integration – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <?php
2 /**
3 * Matrix Integration
4 * Copyright (C) 2024 Wizardry and Steamworks (wizardry.steamworks@outlook.com)
5 * based on: Slack Integration by 2014 Karim Ratib (karim.ratib@gmail.com)
6 * License GPLv2
7 */
8  
9 $s_plugin_Matrix_ = '';
10 $s_plugin_Matrix_title = 'matrix.org Integration';
11 $s_plugin_Matrix_description = 'Adds matrix.org integration to Mantis.';
12 $s_plugin_Matrix_config = 'Configuration';
13 $s_plugin_Matrix_room = 'Matrix Room';
14 $s_plugin_Matrix_server = 'Matrix Server URL';
15 $s_plugin_Matrix_username = 'Matrix Bot Username';
16 $s_plugin_Matrix_password = 'Matrix Bot Password';
17 $s_plugin_Matrix_skip_bulk = 'Skip notification on bulk actions';
18 $s_plugin_Matrix_link_names = 'Turn user names into Slack links (may cause excess Slack notifications)';
19  
20 //$s_plugin_Matrix_bug_created = '[%s] %s created <%s|%s>.';
21 $s_plugin_Matrix_bug_created = '<b>%s</b><br/><hr/>%s created report %s';
22 //$s_plugin_Matrix_bug_updated = '[%s] %s updated <%s|%s>.';
23 $s_plugin_Matrix_bug_updated = '<b>%s</b><br/><hr/>%s updated report %s';
24 //$s_plugin_Matrix_bug_deleted = '[%s] %s deleted %s.';
25 $s_plugin_Matrix_bug_deleted = '<b>%s</b><br/><hr/>%s deleted report %s';
26 //$s_plugin_Matrix_bugnote_created = "[%s] %s commented on <%s|%s> saying:\n%s";
27 $s_plugin_Matrix_bugnote_created = "<b>%s</b><br/><hr/>%s commented on report %s";
28 //$s_plugin_Matrix_bugnote_updated = "[%s] %s edited a comment on <%s|%s> saying:\n%s";
29 $s_plugin_Matrix_bugnote_updated = "<b>%s</b><br/><hr/>%s edited a comment on report %s";
30 //$s_plugin_Matrix_bugnote_deleted = "[%s] %s deleted a comment on <%s|%s>.";
31 $s_plugin_Matrix_bugnote_deleted = "<b>%s</b><br/><hr/>%s deleted a comment on report %s";
32  
33 $s_plugin_Matrix_no_user = '(no one)';
34 $s_plugin_Matrix_unknown_field = '(don\'t know how to render field "%s")';
35 $s_plugin_Matrix_skip = 'Skip Matrix notification';
36  
37 $MANTIS_ERROR['plugin_Matrix_ERROR_PHP_VERSION'] = 'The Matrix plugin requires PHP 5.3.0 or higher';