Skip to content

Commit a763c6d

Browse files
committed
Merge pull request #106 from VSEphpbb/release
Release Prep 1.0.4
2 parents df62338 + 6869cea commit a763c6d

27 files changed

Lines changed: 1411 additions & 2 deletions

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 1.0.4 - 2016-01-17
4+
5+
- Added a feature where route names are auto-suggested based on the page title
6+
- Fixed an issue that prevented pages from being updated on MSSQL systems
7+
- Fixed some minor coding and language issues
8+
- Added Brazilian Portuguese language pack
9+
- Added Czech language pack
10+
- Added Mandarin Chinese (Simplified Script) language pack
11+
- Added Russian language pack
12+
313
## 1.0.3 - 2015-06-14
414

515
- Inaccessible pages will corectly send 404 status codes

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "phpbb-extension",
44
"description": "An extension which allows you to add static pages to your phpBB forum",
55
"homepage": "https://www.phpbb.com",
6-
"version": "1.0.4-dev",
6+
"version": "1.0.4",
77
"keywords": ["phpbb", "extension", "static", "pages"],
88
"license": "GPL-2.0",
99
"authors": [
@@ -36,6 +36,11 @@
3636
{
3737
"name": "John Peskens",
3838
"role": "Extensions Development Team"
39+
},
40+
{
41+
"name": "Ruslan Uzdenov",
42+
"homepage": "http://www.phpbbguru.net",
43+
"role": "Extensions Development Team"
3944
}
4045
],
4146
"require": {

language/cs/exceptions.php

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
/*
42+
* These are errors which can be triggered by sending invalid data to the
43+
* pages extension API.
44+
*
45+
* These errors will never show to a user unless they are either modifying
46+
* the core pages extension code OR unless they are writing an extension
47+
* which makes calls to this extension.
48+
*
49+
* Translators: Feel free to not translate these language strings
50+
*/
51+
$lang = array_merge($lang, array(
52+
'EXCEPTION_FIELD_MISSING' => 'Požadované pole chybí',
53+
'EXCEPTION_INVALID_ARGUMENT' => 'Stanoven neplatný argument pro „%1$s“. Důvod: %2$s',
54+
'EXCEPTION_OUT_OF_BOUNDS' => 'Data v poli „%1$s“ jsou mimo jeho rozsah',
55+
'EXCEPTION_TOO_LONG' => 'Délka vstupních údajů překračuje maximální povolenou délku.',
56+
'EXCEPTION_NOT_UNIQUE' => 'Vstupní údaje nejsou jedinečné.',
57+
'EXCEPTION_UNEXPECTED_VALUE' => 'Pole „%1$s“ obsahuje neočekávaná data. Důvod: %2$s',
58+
'EXCEPTION_ILLEGAL_CHARACTERS' => 'Vstupní údaje obsahují nepovolené znaky.',
59+
));

language/cs/info_acp_pages.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
// ACP modules
43+
'ACP_PAGES' => 'Stránky',
44+
'ACP_PAGES_MANAGE' => 'Správa stránek',
45+
46+
// Logs
47+
'ACP_PAGES_ADDED_LOG' => '<strong>Stránka přidána</strong><br />» %s',
48+
'ACP_PAGES_EDITED_LOG' => '<strong>Stránka upravena</strong><br />» %s',
49+
'ACP_PAGES_DELETED_LOG' => '<strong>Stránka odstraněna</strong><br />» %s',
50+
));

language/cs/pages_acp.php

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
// Manage page
43+
'ACP_PAGES_MANAGE' => 'Správa stránek',
44+
'ACP_PAGES_MANAGE_EXPLAIN' => 'Zde můžete přidat, upravit či odstranit vlastní statické stránky.',
45+
'ACP_PAGES_CREATE_PAGE' => 'Vytvořit stránku',
46+
'ACP_PAGES_CREATE_PAGE_EXPLAIN' => 'Pomocí následujícího formuláře můžete vytvořit vlastní statickou stránku pro své fórum.',
47+
'ACP_PAGES_EDIT_PAGE' => 'Upravit stránku',
48+
'ACP_PAGES_EDIT_PAGE_EXPLAIN' => 'Pomocí následujícího formuláře můžete aktualizovat již existující vlastní statickou stránku pro své fórum.',
49+
50+
// Display pages list
51+
'ACP_PAGES_TITLE' => 'Název',
52+
'ACP_PAGES_DESCRIPTION' => 'Popis',
53+
'ACP_PAGES_ROUTE' => 'Cesta',
54+
'ACP_PAGES_TEMPLATE' => 'Šablona',
55+
'ACP_PAGES_ORDER' => 'Pořadí',
56+
'ACP_PAGES_LINK' => 'Odkaz',
57+
'ACP_PAGES_VIEW' => 'Zobrazit stránku',
58+
'ACP_PAGES_STATUS' => 'Stav',
59+
'ACP_PAGES_PUBLISHED' => 'Publikováno',
60+
'ACP_PAGES_PUBLISHED_NO_GUEST' => 'Publikováno (pouze pro členy)',
61+
'ACP_PAGES_PRIVATE' => 'Soukromá',
62+
'ACP_PAGES_EMPTY' => 'Nenalezeny žádné stránky',
63+
64+
// Purge icons
65+
'ACP_PAGES_PURGE_ICONS' => 'Vymazat ikony',
66+
'ACP_PAGES_PURGE_ICONS_LABEL' => 'Vymazat mezipaměť ikon stránek',
67+
'ACP_PAGES_PURGE_ICONS_EXPLAIN' => 'Při přidávání vlastních ikon pro odkazy stránek může být potřeba pročištění cache, aby byly nové ikony vidět. Ikony s názvem <samp>pages_route.gif</samp>, kde <samp>route</samp> je název cesty stránky, umístěte do složky phpBB motivů <samp>styles/*/theme/images/</samp>.',
68+
69+
// Messages shown to user
70+
'ACP_PAGES_DELETE_CONFIRM' => 'Opravdu chcete tuto stránku smazat?',
71+
'ACP_PAGES_DELETE_SUCCESS' => 'Stránka byla úspěšně odstraněna.',
72+
'ACP_PAGES_DELETE_ERRORED' => 'Stránku nelze odstranit.',
73+
'ACP_PAGES_ADD_SUCCESS' => 'Stránka byla úspěšně přidána.',
74+
'ACP_PAGES_EDIT_SUCCESS' => 'Stránka byla úspěšně aktualizována.',
75+
76+
// Add/edit page
77+
'ACP_PAGES_SETTINGS' => 'Nastavení stránky',
78+
'ACP_PAGES_OPTIONS' => 'Možnosti stránky',
79+
'ACP_PAGES_FORM_TITLE' => 'Název stránky',
80+
'ACP_PAGES_FORM_TITLE_EXPLAIN' => 'Toto pole je povinné.',
81+
'ACP_PAGES_FORM_DESC' => 'Popis stránky',
82+
'ACP_PAGES_FORM_DESC_EXPLAIN' => 'Tato informace bude zobrazena pouze v seznamu stránek v ACP.',
83+
'ACP_PAGES_FORM_ROUTE' => 'URL adresa stránky',
84+
'ACP_PAGES_FORM_ROUTE_EXPLAIN' => '<strong>Cesta</strong> je unikátní identifikátor používaný na konci URL adresy stránky, který určuje podobu odkazu na stránku – např. <samp>phpBB/page/<strong>route</strong></samp>. Jsou povolena pouze písmena, čísla, spojovníky a podtržítka. Toto pole je povinné.',
85+
'ACP_PAGES_FORM_CONTENT' => 'Obsah stránky',
86+
'ACP_PAGES_FORM_CONTENT_EXPLAIN' => 'Obsah lze vytvořit pomocí BBCode, smajlíků a magic URL adres. Můžete také povolit HTML režim, ve kterém BBCode, smajlíci ani magic URL adresy nebudou fungovat, ale můžete používat libovolnou platnou HTML syntaxi. Pamatujte, že tento obsah bude přidán do již existující šablony, takže byste neměli používat DOCTYPE, HTML, BODY nebo HEAD tagy. Všechny ostatní formátovací HTML značky jako např. IFRAME, SCRIPT, STYLE, EMBED, VIDEO, atp. použít lze.',
87+
'ACP_PAGES_FORM_TEMPLATE' => 'Šablona stránky',
88+
'ACP_PAGES_FORM_TEMPLATE_EXPLAIN' => 'Šablony pro vlastní stránku s názvem <samp>pages_*.html</samp> umístěte do složky phpBB motivů: <samp>styles/*/template</samp>.',
89+
'ACP_PAGES_FORM_TEMPLATE_SELECT' => 'Výběr šablony',
90+
'ACP_PAGES_FORM_ORDER' => 'Pořadí stránek',
91+
'ACP_PAGES_FORM_ORDER_EXPLAIN' => 'Stránky budou řazeny podle tohoto pole, které vám umožní organizovat pořadí, ve kterém se odkazy zobrazí. Nižší čísla mají přednost před vyššími.',
92+
'ACP_PAGES_FORM_LINKS' => 'Umístění odkazů na stránku',
93+
'ACP_PAGES_FORM_LINKS_EXPLAIN' => 'Vyberte jednu či více umístění, kde bude zobrazen odkaz na tuto stránkue. Pro označení/odznačení více položek použijte CTRL+CLICK (nebo CMD+CLICK na Macu).',
94+
'ACP_PAGES_FORM_DISPLAY' => 'Zobrazit stránku',
95+
'ACP_PAGES_FORM_DISPLAY_EXPLAIN' => 'Pokud je hodnota nastavena na Ne, stránka nebude dostupná. (Poznámka: Administrátoři budou mít ke stránce přístup i nadále, což umožňuje zobrazit soukromý náhled stránky během jejího vývoje.)',
96+
'ACP_PAGES_FORM_GUESTS' => 'Zobrazovat stránku návštěvníkům',
97+
'ACP_PAGES_FORM_GUESTS_EXPLAIN' => 'Pokud je hodnota nastavena na Ne, stránka bude dostupná pouze registrovaným členům.',
98+
'ACP_PAGES_FORM_VIEW_PAGE' => 'Odkaz na stránku',
99+
'PARSE_HTML' => 'Zpracovávat HTML',
100+
101+
// Page link location names
102+
'NAV_BAR_LINKS_BEFORE' => 'Navigační panel před odkazy',
103+
'NAV_BAR_LINKS_AFTER' => 'Navigační panel za odkazy',
104+
'NAV_BAR_CRUMBS_BEFORE' => 'Navigační panel před navigací',
105+
'NAV_BAR_CRUMBS_AFTER' => 'Navigační panel za navigací',
106+
'FOOTER_TIMEZONE_BEFORE' => 'Patička před časovou zónou',
107+
'FOOTER_TIMEZONE_AFTER' => 'Patička za časovou zónou',
108+
'FOOTER_TEAMS_BEFORE' => 'Patička před odkazem „Tým“',
109+
'FOOTER_TEAMS_AFTER' => 'Patička za odkazem „Tým“',
110+
'QUICK_LINK_MENU_BEFORE' => 'Menu Rychlé odkazy nahoře',
111+
'QUICK_LINK_MENU_AFTER' => 'Menu Rychlé odkazy dole',
112+
));

language/cs/pages_common.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
'PAGES_VIEWONLINE' => 'Zobrazeno %s',
43+
));

language/cs/pages_controller.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
'PAGE_NOT_AVAILABLE' => 'Požadovaná stránka „%s“ není dostupná.',
43+
));

language/cs/permissions_pages.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
* Czech translation by R3gi (regiprogi@gmail.com)
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+
'ACL_A_PAGES' => 'Umožňuje správu rozšíření Stránky',
43+
));

0 commit comments

Comments
 (0)