Skip to content

Commit 07f82cf

Browse files
committed
Adds common.php to fixtures in FileListValidator-tests
1 parent 69191e8 commit 07f82cf

File tree

3 files changed

+135
-0
lines changed
  • src/Phpbb/TranslationValidator/Tests/FileListValidator/fixtures

3 files changed

+135
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/**
3+
*
4+
* This file is part of the phpBB Forum Software package.
5+
*
6+
* @copyright (c) phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
12+
*/
13+
14+
/**
15+
* DO NOT CHANGE
16+
*/
17+
if (!defined('IN_PHPBB'))
18+
{
19+
exit;
20+
}
21+
22+
if (empty($lang) || !is_array($lang))
23+
{
24+
$lang = array();
25+
}
26+
27+
// DEVELOPERS PLEASE NOTE
28+
//
29+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
30+
//
31+
// Placeholders can now contain order information, e.g. instead of
32+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
33+
// translators to re-order the output of data while ensuring it remains correct
34+
//
35+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
36+
// equally where a string contains only two placeholders which are used to wrap text
37+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
38+
//
39+
// Some characters you may want to copy&paste:
40+
// ’ » “ ” …
41+
//
42+
43+
$lang = array_merge($lang, array(
44+
'DIRECTION' => 'ltr',
45+
));
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/**
3+
*
4+
* This file is part of the phpBB Forum Software package.
5+
*
6+
* @copyright (c) phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
12+
*/
13+
14+
/**
15+
* DO NOT CHANGE
16+
*/
17+
if (!defined('IN_PHPBB'))
18+
{
19+
exit;
20+
}
21+
22+
if (empty($lang) || !is_array($lang))
23+
{
24+
$lang = array();
25+
}
26+
27+
// DEVELOPERS PLEASE NOTE
28+
//
29+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
30+
//
31+
// Placeholders can now contain order information, e.g. instead of
32+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
33+
// translators to re-order the output of data while ensuring it remains correct
34+
//
35+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
36+
// equally where a string contains only two placeholders which are used to wrap text
37+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
38+
//
39+
// Some characters you may want to copy&paste:
40+
// ’ » “ ” …
41+
//
42+
43+
$lang = array_merge($lang, array(
44+
'DIRECTION' => 'ltr',
45+
));
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?php
2+
/**
3+
*
4+
* This file is part of the phpBB Forum Software package.
5+
*
6+
* @copyright (c) phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
12+
*/
13+
14+
/**
15+
* DO NOT CHANGE
16+
*/
17+
if (!defined('IN_PHPBB'))
18+
{
19+
exit;
20+
}
21+
22+
if (empty($lang) || !is_array($lang))
23+
{
24+
$lang = array();
25+
}
26+
27+
// DEVELOPERS PLEASE NOTE
28+
//
29+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
30+
//
31+
// Placeholders can now contain order information, e.g. instead of
32+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
33+
// translators to re-order the output of data while ensuring it remains correct
34+
//
35+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
36+
// equally where a string contains only two placeholders which are used to wrap text
37+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
38+
//
39+
// Some characters you may want to copy&paste:
40+
// ’ » “ ” …
41+
//
42+
43+
$lang = array_merge($lang, array(
44+
'DIRECTION' => 'ltr',
45+
));

0 commit comments

Comments
 (0)