Skip to content

Commit 4bba423

Browse files
committed
Merge branch 'master' into dev/4.0
Signed-off-by: Matt Friedman <[email protected]> # Conflicts: # .github/workflows/tests.yml
2 parents fe0fb5c + e27777d commit 4bba423

13 files changed

+419
-20
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ jobs:
125125
db: "mariadb:10.2"
126126
- php: '8.3'
127127
db: "mysql:5.7"
128-
- php: '8.3'
129-
db: "mariadb:10.2"
128+
- php: '8.4'
129+
db: "mysql:5.7"
130130

131131
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
132132

@@ -263,7 +263,9 @@ jobs:
263263
- php: '8.2'
264264
db: "postgres:9.5"
265265
- php: '8.3'
266-
db: "postgres:9.5"
266+
db: "postgres:14"
267+
- php: '8.4'
268+
db: "postgres:14"
267269

268270
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
269271

@@ -358,7 +360,7 @@ jobs:
358360
db: "mcr.microsoft.com/mssql/server:2017-latest"
359361
db_alias: 'MSSQL 2017'
360362
- php: '8.1'
361-
db: "mcr.microsoft.com/mssql/server:2019-latest"
363+
db: "mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04"
362364
db_alias: 'MSSQL 2019'
363365
- php: '8.1'
364366
db: "mcr.microsoft.com/mssql/server:2022-latest"
@@ -368,7 +370,7 @@ jobs:
368370

369371
services:
370372
mssql:
371-
image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2022-latest' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
373+
image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' && matrix.db != 'mcr.microsoft.com/mssql/server:2022-latest' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
372374
env:
373375
SA_PASSWORD: "Pssw0rd_12"
374376
ACCEPT_EULA: "y"
@@ -408,7 +410,7 @@ jobs:
408410
env:
409411
MATRIX_DB: ${{ matrix.db }}
410412
run: |
411-
if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2022-latest' ]
413+
if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2022-latest' ]
412414
then
413415
db='mssql'
414416
else

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"composer/installers": "~1.0"
3434
},
3535
"require-dev": {
36-
"phing/phing": "2.4.*"
36+
"phing/phing": "~2.4"
3737
},
3838
"extra": {
3939
"display-name": "Board Rules",

language/pt/boardrules_common.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42-
'BOARDRULES' => 'Regras',
43-
'BOARDRULES_TITLE' => 'Ver as regras deste Fórum',
42+
'BOARDRULES' => 'Regras',
43+
'BOARDRULES_TITLE' => 'Ver as regras deste Fórum',
4444
'BOARDRULES_AGREEMENT' => 'Concorda em respeitar as regras deste fórum estabelecidas na secção “Regras”',
45-
'BOARDRULES_VIEWONLINE' => 'Vendo as regras do Fórum',
45+
'BOARDRULES_VIEWONLINE' => 'A ler as regras do Fórum',
4646
'BOARDRULES_NOTIFICATION' => 'As regras do Fórum foram atualizadas. Clique aqui para as rever.',
4747
));

language/pt/boardrules_controller.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42-
'BOARDRULES_HEADER' => 'Regras do Fórum',
43-
'BOARDRULES_EXPLAIN' => 'Estas regras são divulgados para esclarecer as várias responsabilidades de todos os membros da comunidade aqui no %s. Elas devem ser respeitadas por todos para garantir que nosso Fórum funciona sem problemas e oferece uma experiência divertida e produtiva para todos os membros da comunidade e visitantes.',
42+
'BOARDRULES_HEADER' => 'Regras do Fórum',
43+
'BOARDRULES_EXPLAIN' => 'Estas regras servem para esclarecer as várias responsabilidades de todos os membros da comunidade %s. Devem ser respeitadas por todos para garantir que o nosso Fórum funciona sem problemas e oferece uma experiência divertida e produtiva para todos os membros da comunidade.',
4444
'BOARDRULES_CATEGORIES' => 'Secções de Regras',
45-
'BOARDRULES_CATEGORY_ANCHOR'=> 'section-%s',
46-
'BOARDRULES_RULE_ANCHOR' => 'rule-%s',
45+
'BOARDRULES_CATEGORY_ANCHOR' => 'seccao-%s',
46+
'BOARDRULES_RULE_ANCHOR' => 'regra-%s',
4747
));

language/pt_br/boardrules_common.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42-
'BOARDRULES' => 'Regras',
43-
'BOARDRULES_TITLE' => 'Ver as regras deste fórum',
42+
'BOARDRULES' => 'Regras',
43+
'BOARDRULES_TITLE' => 'Ver as regras deste fórum',
4444
'BOARDRULES_AGREEMENT' => 'Concorda em respeitar as regras deste fórum estabelecidas na seção “Regras”',
45-
'BOARDRULES_VIEWONLINE' => 'Vendo as regras do Fórum',
45+
'BOARDRULES_VIEWONLINE' => 'Lendo as regras do Fórum',
4646
'BOARDRULES_NOTIFICATION' => 'As regras do fórum foram atualizadas. Clique aqui para revê-las.',
4747
));

language/pt_br/boardrules_controller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
//
4040

4141
$lang = array_merge($lang, array(
42-
'BOARDRULES_HEADER' => 'Regras do Fórum',
42+
'BOARDRULES_HEADER' => 'Regras do Fórum',
4343
'BOARDRULES_EXPLAIN' => 'Estas regras são divulgadas para esclarecer as várias responsabilidades de todos os membros da comunidade aqui no %s. Elas devem ser respeitadas por todos para garantir que nosso fórum funcione sem problemas e ofereça uma experiência divertida e produtiva para todos os membros da comunidade e visitantes.',
4444
'BOARDRULES_CATEGORIES' => 'Seções de Regras',
45-
'BOARDRULES_CATEGORY_ANCHOR'=> 'section-%s',
46-
'BOARDRULES_RULE_ANCHOR' => 'rule-%s',
45+
'BOARDRULES_CATEGORY_ANCHOR' => 'secao-%s',
46+
'BOARDRULES_RULE_ANCHOR' => 'regra-%s',
4747
));
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?php
2+
/**
3+
*
4+
* Board Rules extension for the phpBB Forum Software package.
5+
* @Traduzido por: http://phpbbportugal.com - segundo as normas do Acordo Ortográfico
6+
*
7+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
8+
* @license GNU General Public License, version 2 (GPL-2.0)
9+
*
10+
*/
11+
12+
/**
13+
* DO NOT CHANGE
14+
*/
15+
if (!defined('IN_PHPBB'))
16+
{
17+
exit;
18+
}
19+
20+
if (empty($lang) || !is_array($lang))
21+
{
22+
$lang = array();
23+
}
24+
25+
// DEVELOPERS PLEASE NOTE
26+
//
27+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
28+
//
29+
// Placeholders can now contain order information, e.g. instead of
30+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
31+
// translators to re-order the output of data while ensuring it remains correct
32+
//
33+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
34+
// equally where a string contains only two placeholders which are used to wrap text
35+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
36+
//
37+
// Some characters you may want to copy&paste:
38+
// ’ » “ ” …
39+
//
40+
41+
$lang = array_merge($lang, array(
42+
// Settings page
43+
'ACP_BOARDRULES' => 'Regras do Fórum',
44+
'ACP_BOARDRULES_SETTINGS' => 'Configurar regras',
45+
'ACP_BOARDRULES_SETTINGS_EXPLAIN' => 'Aqui pode configurar as definições principais das regras do Fórum.',
46+
'ACP_BOARDRULES_ENABLE' => 'Ativar regras',
47+
'ACP_BOARDRULES_HEADER_LINK' => 'Mostrar link no cabeçalho',
48+
'ACP_BOARDRULES_FONT_ICON' => 'Board rules link icon',
49+
'ACP_BOARDRULES_FONT_ICON_EXPLAIN' => 'Enter the name of a <strong><a href="%s" target="_blank">Font Awesome</a></strong> icon to use for the board rules link in the header. Leave this field blank for no board rules icon.',
50+
'ACP_BOARDRULES_FONT_ICON_INVALID' => 'The board rules link icon contained invalid characters.',
51+
'ACP_BOARDRULES_AT_REGISTRATION' => 'Exigir aceitação das regras no momento do registo',
52+
'ACP_BOARDRULES_AT_REGISTRATION_EXPLAIN'=> 'Acrescenta as Regras do Fórum às "Condições de utilização", permitindo a sua leitura e obrigando à sua aceitação antes do registo.',
53+
'ACP_BOARDRULES_NOTIFY' => 'Notificar Utilizadores',
54+
'ACP_BOARDRULES_NOTIFY_EXPLAIN' => 'Enviar uma notificação a todos os utilizadores registrados que as regras da comunidade foram atualizados. (Esta ação pode demorar alguns segundos para ser concluída em Fóruns com muitos milhares de membros.)',
55+
'ACP_BOARDRULES_NOTIFY_CONFIRM' => 'Tem certeza que deseja enviar notificações a todos os utilizadores?',
56+
'ACP_BOARDRULES_SETTINGS_CHANGED' => 'A configuração das regras do fórum foi alterada.',
57+
'ACP_BOARDRULES_LIST_STYLE' => 'Board rules list style',
58+
'ACP_BOARDRULES_LIST_STYLE_EXPLAIN' => 'Board rules are presented in a list format. Decide if you want rule and category items to be preceded by ordered alpha-numeric ordinals (this is the default behavior), bullets or nothing.',
59+
'ACP_BOARDRULES_LIST_STYLE_ORDERED' => 'Ordered alpha-numeric',
60+
'ACP_BOARDRULES_LIST_STYLE_BULLET' => 'Bullet',
61+
'ACP_BOARDRULES_LIST_STYLE_NONE' => 'None',
62+
63+
// Manage page
64+
'ACP_BOARDRULES_MANAGE' => 'Gerir regras',
65+
'ACP_BOARDRULES_MANAGE_EXPLAIN' => 'Nesta página pode adicionar, editar, apagar e reordenar as categorias e regras. A categoria é um conjunto de regras inter-relacionadas. Cada categoria pode ter um número ilimitado de regras.',
66+
'ACP_BOARDRULES_LANGUAGE_EXPLAIN' => 'Choose a language for your Board Rules. Users will see the rules you create for their preferred language. If you do not create any rules in their preferred language, then users will see rules created using the board’s default language.',
67+
'ACP_BOARDRULES_CATEGORY' => 'Categoria de regras',
68+
'ACP_BOARDRULES_RULE' => 'Regra',
69+
'ACP_BOARDRULES_SELECT_LANGUAGE' => 'Escolha um idioma',
70+
'ACP_BOARDRULES_CREATE_RULE' => 'Criar regra',
71+
'ACP_BOARDRULES_CREATE_RULE_EXPLAIN' => 'Através do formulário abaixo pode criar uma nova regra que será mostrada aos utilizadores.',
72+
'ACP_BOARDRULES_EDIT_RULE' => 'Editar regra',
73+
'ACP_BOARDRULES_EDIT_RULE_EXPLAIN' => 'Através do formulário abaixo pode atualizar uma regra que será mostrada aos utilizadores.',
74+
'ACP_RULE_SETTINGS' => 'Configurar regra',
75+
'ACP_RULE_PARENT' => 'Regra pai',
76+
'ACP_RULE_NO_PARENT' => 'Nenhum pai',
77+
'ACP_RULE_TITLE' => 'Título da regra',
78+
'ACP_RULE_TITLE_EXPLAIN' => 'Os Títulos das Regras são exibidos na página de regras apenas para categorias de regras. Títulos das regras também são usados para identificar as regras na gestão do ACP.',
79+
'ACP_RULE_ANCHOR' => 'Regra âncora',
80+
'ACP_RULE_ANCHOR_EXPLAIN' => 'Âncoras de regras são opcionais e usadas como pontos de ligação de ancoragem na página regras. Devem ser URL amigáveis (não podem conter espaços ou caracteres especiais), devem começar com uma letra, e devem ser exclusivos.',
81+
'ACP_RULE_MESSAGE' => 'Mensagem da regra',
82+
'ACP_RULE_MESSAGE_EXPLAIN' => 'A mensagem da regra é exibida na página de regra para cada regra (categorias não exibem mensagens das regras).',
83+
'ACP_RULE_MESSAGE_DISABLED' => 'Esta é uma categoria que contém regras, o editor mensagem foi desativado.',
84+
'ACP_ADD_RULE' => 'Criar nova regra',
85+
'ACP_DELETE_RULE_CONFIRM' => array(
86+
0 => 'Tem a certeza que deseja eliminar esta regra?',
87+
1 => 'Tem a certeza que deseja eliminar esta categoria de regra?<br />Aviso: Removendo um categoria de regra irá remover todas as regras contidas dentro dela.',
88+
),
89+
'ACP_RULE_ADDED' => 'Regra criada com sucesso.',
90+
'ACP_RULE_DELETED' => 'Regra eliminada com sucesso.',
91+
'ACP_RULE_EDITED' => 'Regra editada com sucesso.',
92+
'ACP_RULE_TITLE_EMPTY' => 'Tem que dar um titulo à regra.',
93+
94+
// Nested set exception messages (only appears in PHP error logging)
95+
// Translators: Feel free to not translate these language strings
96+
'RULES_NESTEDSET_LOCK_FAILED_ACQUIRE' => 'Board rules failed to acquire the table lock. Another process may be holding the lock. Locks are forcibly released after a timeout of 1 hour.',
97+
'RULES_NESTEDSET_INVALID_ITEM' => 'The requested rule does not exist.',
98+
'RULES_NESTEDSET_INVALID_PARENT' => 'The requested rule has no parent.',
99+
));
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
/**
3+
*
4+
* Board Rules extension for the phpBB Forum Software package.
5+
* @Traduzido por: http://phpbbportugal.com - segundo as normas do Acordo Ortográfico
6+
*
7+
* @copyright (c) 2013 phpBB Limited <https://www.phpbb.com>
8+
* @license GNU General Public License, version 2 (GPL-2.0)
9+
*
10+
*/
11+
12+
/**
13+
* DO NOT CHANGE
14+
*/
15+
if (!defined('IN_PHPBB'))
16+
{
17+
exit;
18+
}
19+
20+
if (empty($lang) || !is_array($lang))
21+
{
22+
$lang = array();
23+
}
24+
25+
// DEVELOPERS PLEASE NOTE
26+
//
27+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
28+
//
29+
// Placeholders can now contain order information, e.g. instead of
30+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
31+
// translators to re-order the output of data while ensuring it remains correct
32+
//
33+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
34+
// equally where a string contains only two placeholders which are used to wrap text
35+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
36+
//
37+
// Some characters you may want to copy&paste:
38+
// ’ » “ ” …
39+
//
40+
41+
$lang = array_merge($lang, array(
42+
'BOARDRULES' => 'Regras',
43+
'BOARDRULES_TITLE' => 'Ver as regras deste Fórum',
44+
'BOARDRULES_AGREEMENT' => 'Concorda em respeitar as regras deste fórum estabelecidas na secção “Regras”',
45+
'BOARDRULES_VIEWONLINE' => 'A ler as regras do Fórum',
46+
'BOARDRULES_NOTIFICATION' => 'As regras do Fórum foram actualizadas. Clique aqui para as rever.',
47+
));
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
/**
3+
*
4+
* Board Rules extension for the phpBB Forum Software package.
5+
* @Traduzido por: http://phpbbportugal.com - segundo as normas do Acordo Ortográfico
6+
*
7+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
8+
* @license GNU General Public License, version 2 (GPL-2.0)
9+
*
10+
*/
11+
12+
/**
13+
* DO NOT CHANGE
14+
*/
15+
if (!defined('IN_PHPBB'))
16+
{
17+
exit;
18+
}
19+
20+
if (empty($lang) || !is_array($lang))
21+
{
22+
$lang = array();
23+
}
24+
25+
// DEVELOPERS PLEASE NOTE
26+
//
27+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
28+
//
29+
// Placeholders can now contain order information, e.g. instead of
30+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
31+
// translators to re-order the output of data while ensuring it remains correct
32+
//
33+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
34+
// equally where a string contains only two placeholders which are used to wrap text
35+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
36+
//
37+
// Some characters you may want to copy&paste:
38+
// ’ » “ ” …
39+
//
40+
41+
$lang = array_merge($lang, array(
42+
'BOARDRULES_HEADER' => 'Regras do Fórum',
43+
'BOARDRULES_EXPLAIN' => 'Estas regras servem para esclarecer as várias responsabilidades de todos os membros da comunidade %s. Devem ser respeitadas por todos para garantir que o nosso Fórum funciona sem problemas e oferece uma experiência divertida e produtiva para todos os membros da comunidade.',
44+
'BOARDRULES_CATEGORIES' => 'Secções de Regras',
45+
'BOARDRULES_CATEGORY_ANCHOR'=> 'seccao-%s',
46+
'BOARDRULES_RULE_ANCHOR' => 'regra-%s',
47+
));
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?php
2+
/**
3+
*
4+
* Board Rules extension for the phpBB Forum Software package.
5+
* @Traduzido por: http://phpbbportugal.com - segundo as normas do Acordo Ortográfico
6+
*
7+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
8+
* @license GNU General Public License, version 2 (GPL-2.0)
9+
*
10+
*/
11+
12+
/**
13+
* DO NOT CHANGE
14+
*/
15+
if (!defined('IN_PHPBB'))
16+
{
17+
exit;
18+
}
19+
20+
if (empty($lang) || !is_array($lang))
21+
{
22+
$lang = array();
23+
}
24+
25+
// DEVELOPERS PLEASE NOTE
26+
//
27+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
28+
//
29+
// Placeholders can now contain order information, e.g. instead of
30+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
31+
// translators to re-order the output of data while ensuring it remains correct
32+
//
33+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
34+
// equally where a string contains only two placeholders which are used to wrap text
35+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
36+
//
37+
// Some characters you may want to copy&paste:
38+
// ’ » “ ” …
39+
//
40+
41+
$lang = array_merge($lang, array(
42+
'BOARDRULES_SAMPLE_CATEGORY_TITLE' => 'Examplo Regra Categoria',
43+
'BOARDRULES_SAMPLE_CATEGORY_MESSAGE' => 'Esta é uma categoria de exemplo das Regras do Fórum. Categorias contêm grupos de regras relacionadas. Mensagens Categoria (como esta) não são exibidas na página de regras.',
44+
'BOARDRULES_SAMPLE_CATEGORY_ANCHOR' => 'examplo-categoria',
45+
46+
'BOARDRULES_SAMPLE_RULE_TITLE' => 'Examplo de Regra',
47+
'BOARDRULES_SAMPLE_RULE_MESSAGE' => 'Esta é uma Regras de exemplo das Regras do Fórum. Tudo parece funcionar bem. Pode editar ou excluir esta regra e categoria e continuar a configurar suas próprias regras deste Fórum.',
48+
'BOARDRULES_SAMPLE_RULE_ANCHOR' => 'examplo-regra',
49+
));

0 commit comments

Comments
 (0)