Skip to content

Commit 3d52da0

Browse files
authored
Merge pull request #163 from phpbb-extensions/release-2.0.4
Merge Release 2.0.4
2 parents 17a0438 + cc3aa6d commit 3d52da0

27 files changed

Lines changed: 396 additions & 6 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Version 2.x (for phpBB 3.2)
44

5+
## 2.0.4 - 2020-03-29
6+
7+
- New option to display page's titles before the site name in browser windows.
8+
- Fixed links to FontAwesome's web site.
9+
- Removed Subsilver2 style and support.
10+
511
### 2.0.3 - 2018-03-14
612

713
- Fixed HTML syntax errors in the ACP pages.

composer.json

Lines changed: 1 addition & 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": "2.0.4-dev",
6+
"version": "2.0.4",
77
"keywords": ["phpbb", "extension", "static", "pages"],
88
"license": "GPL-2.0-only",
99
"authors": [

language/ar/pages_acp.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
'ACP_PAGES_FORM_GUESTS' => 'عرض الصفحة للزائرين ',
9999
'ACP_PAGES_FORM_GUESTS_EXPLAIN' => 'اختيارك "لا" يعني اتاحة هذه الصفحة فقط للأعضاء المسجلين.',
100100
'ACP_PAGES_FORM_VIEW_PAGE' => 'رابط الصفحة ',
101+
'ACP_PAGES_TITLE_SWITCH' => 'Display page title first',
102+
'ACP_PAGES_TITLE_SWITCH_EXPLAIN' => 'By default browsers will display this page’s title after the site name <samp style="white-space: nowrap">“Site Name - Page Title”</samp>. Enabling this option will display this page’s title before the site name <samp style="white-space: nowrap">“Page Title - Site Name”</samp>.',
101103
'PARSE_HTML' => 'تفعيل الـHTML',
102104

103105
// Page link location names

language/cs/pages_acp.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
'ACP_PAGES_FORM_GUESTS' => 'Zobrazovat stránku návštěvníkům',
9999
'ACP_PAGES_FORM_GUESTS_EXPLAIN' => 'Pokud je hodnota nastavena na Ne, stránka bude dostupná pouze registrovaným členům.',
100100
'ACP_PAGES_FORM_VIEW_PAGE' => 'Odkaz na stránku',
101+
'ACP_PAGES_TITLE_SWITCH' => 'Display page title first',
102+
'ACP_PAGES_TITLE_SWITCH_EXPLAIN' => 'By default browsers will display this page’s title after the site name <samp style="white-space: nowrap">“Site Name - Page Title”</samp>. Enabling this option will display this page’s title before the site name <samp style="white-space: nowrap">“Page Title - Site Name”</samp>.',
101103
'PARSE_HTML' => 'Zpracovávat HTML',
102104

103105
// Page link location names

language/da/exceptions.php

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
*
6+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
*/
10+
11+
/**
12+
* DO NOT CHANGE
13+
*/
14+
if (!defined('IN_PHPBB'))
15+
{
16+
exit;
17+
}
18+
19+
if (empty($lang) || !is_array($lang))
20+
{
21+
$lang = array();
22+
}
23+
24+
// DEVELOPERS PLEASE NOTE
25+
//
26+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
27+
//
28+
// Placeholders can now contain order information, e.g. instead of
29+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
30+
// translators to re-order the output of data while ensuring it remains correct
31+
//
32+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
33+
// equally where a string contains only two placeholders which are used to wrap text
34+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
35+
//
36+
// Some characters you may want to copy&paste:
37+
// ’ » “ ” …
38+
//
39+
40+
/*
41+
* These are errors which can be triggered by sending invalid data to the
42+
* pages extension API.
43+
*
44+
* These errors will never show to a user unless they are either modifying
45+
* the core pages extension code OR unless they are writing an extension
46+
* which makes calls to this extension.
47+
*
48+
* Translators: Feel free to not translate these language strings
49+
*/
50+
$lang = array_merge($lang, array(
51+
'EXCEPTION_FIELD_MISSING' => 'Obligatorisk felt mangler',
52+
'EXCEPTION_INVALID_ARGUMENT' => 'Ugyldigt argument angivet til `%1$s`. Årsag: %2$s',
53+
'EXCEPTION_OUT_OF_BOUNDS' => 'Feltet `%1$s` modtog data ud over sine grænser',
54+
'EXCEPTION_TOO_LONG' => 'Inputtet var længere end den maksimale længde.',
55+
'EXCEPTION_NOT_UNIQUE' => 'Inputtet var ikke unikt.',
56+
'EXCEPTION_UNEXPECTED_VALUE' => 'Feltet `%1$s` modtog uventede data. Årsag: %2$s',
57+
'EXCEPTION_ILLEGAL_CHARACTERS' => 'Inputtet indeholder tegn som ikke er tilladte.',
58+
));

language/da/info_acp_pages.php

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

language/da/pages_acp.php

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?php
2+
/**
3+
*
4+
* Pages extension for the phpBB Forum Software package.
5+
*
6+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
*/
10+
11+
/**
12+
* DO NOT CHANGE
13+
*/
14+
if (!defined('IN_PHPBB'))
15+
{
16+
exit;
17+
}
18+
19+
if (empty($lang) || !is_array($lang))
20+
{
21+
$lang = array();
22+
}
23+
24+
// DEVELOPERS PLEASE NOTE
25+
//
26+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
27+
//
28+
// Placeholders can now contain order information, e.g. instead of
29+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
30+
// translators to re-order the output of data while ensuring it remains correct
31+
//
32+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
33+
// equally where a string contains only two placeholders which are used to wrap text
34+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
35+
//
36+
// Some characters you may want to copy&paste:
37+
// ’ » “ ” …
38+
//
39+
40+
$lang = array_merge($lang, array(
41+
// Manage page
42+
'ACP_PAGES_MANAGE' => 'Håndter sider',
43+
'ACP_PAGES_MANAGE_EXPLAIN' => 'Fra denne side kan du tilføje, redigere og slette tilpassede statiske sider.',
44+
'ACP_PAGES_CREATE_PAGE' => 'Opret side',
45+
'ACP_PAGES_CREATE_PAGE_EXPLAIN' => 'Med formularen nedenfor kan du oprette en ny tilpasset statisk side til dit board.',
46+
'ACP_PAGES_EDIT_PAGE' => 'Rediger side',
47+
'ACP_PAGES_EDIT_PAGE_EXPLAIN' => 'Med formularen nedenfor kan du opdatere en eksisterende tilpasset statisk side til dit board.',
48+
49+
// Display pages list
50+
'ACP_PAGES_TITLE' => 'Titel',
51+
'ACP_PAGES_DESCRIPTION' => 'Beskrivelse',
52+
'ACP_PAGES_ROUTE' => 'Rute',
53+
'ACP_PAGES_TEMPLATE' => 'Skabelon',
54+
'ACP_PAGES_ORDER' => 'Rækkefølge',
55+
'ACP_PAGES_LINK' => 'Link',
56+
'ACP_PAGES_VIEW' => 'Vis side',
57+
'ACP_PAGES_STATUS' => 'Status',
58+
'ACP_PAGES_PUBLISHED' => 'Udgivet',
59+
'ACP_PAGES_PUBLISHED_NO_GUEST' => 'Udgivet (kun medlemmer)',
60+
'ACP_PAGES_PRIVATE' => 'Privat',
61+
'ACP_PAGES_EMPTY' => 'Ingen sider fundet',
62+
63+
// Purge icons
64+
'ACP_PAGES_PURGE_ICONS' => 'Tøm ikoner',
65+
'ACP_PAGES_PURGE_ICONS_LABEL' => 'Tøm sidernes ikonmellemlager',
66+
'ACP_PAGES_PURGE_ICONS_EXPLAIN' => 'Når der tilføjes tilpassede ikoner til sidelink, kan det være nødvendigt at tømme ikonmellemlageret for at se de nye ikoner. Placer tilpassede ikoner med navnet <samp>pages_rute.gif</samp>, hvor <samp>rute</samp> er sidens rutenavn, i phpBB’s <samp>styles/*/theme/images/</samp>-mappe.',
67+
68+
// Messages shown to user
69+
'ACP_PAGES_DELETE_CONFIRM' => 'Er du sikker på, at du vil slette siden?',
70+
'ACP_PAGES_DELETE_SUCCESS' => 'Side slettet.',
71+
'ACP_PAGES_DELETE_ERRORED' => 'Side kunne ikke slettes.',
72+
'ACP_PAGES_ADD_SUCCESS' => 'Side tilføjet.',
73+
'ACP_PAGES_EDIT_SUCCESS' => 'Side opdateret.',
74+
75+
// Add/edit page
76+
'ACP_PAGES_SETTINGS' => 'Indstillinger for side',
77+
'ACP_PAGES_OPTIONS' => 'Valgmuligheder for side',
78+
'ACP_PAGES_FORM_TITLE' => 'Sidens titel',
79+
'ACP_PAGES_FORM_TITLE_EXPLAIN' => 'Feltet er obligatorisk.',
80+
'ACP_PAGES_FORM_DESC' => 'Sidens beskrivelse',
81+
'ACP_PAGES_FORM_DESC_EXPLAIN' => 'Vises kun i ACP-listen med sider.',
82+
'ACP_PAGES_FORM_ROUTE' => 'Sidens URL-rute',
83+
'ACP_PAGES_FORM_ROUTE_EXPLAIN' => 'En renset version af sidens navn, bruges til at bygge sidens URL, f.eks. <samp>http://www.phpbb.com/<strong>din-rute</strong></samp>. Kun bogstaver, tal, bindestreger og underscores er tilladt. Feltet er obligatorisk.',
84+
'ACP_PAGES_FORM_CONTENT' => 'Sidens indhold',
85+
'ACP_PAGES_FORM_CONTENT_EXPLAIN' => 'Indhold kan oprettes med normale phpBB-BBkoder, smileys og magiske url\'er, eller du kan aktivere HTML-tilstand. I HTML-tilstand, virker BBkoder, smileys og magiske url\'er ikke, men du kan frit bruge gyldig HTML-syntaks. Bemærk venligst at indholdet tilføjes til en eksisterende HTML-skabelon, så du skal ikke inkludere DOCTYPE-, HTML-, BODY- eller HEAD-tags. Alle andre HTML-formateringstags, inklusive IFRAME, SCRIPT, STYLE, EMBED, VIDEO, osv. kan dog stadig bruges.',
86+
'ACP_PAGES_FORM_TEMPLATE' => 'Sidens skabelon',
87+
'ACP_PAGES_FORM_TEMPLATE_EXPLAIN' => 'Tilpassede sideskabeloner ved navn <samp>pages_*.html</samp> kan tilføjes til phpBB’s <samp>styles/*/template</samp>-mapper.',
88+
'ACP_PAGES_FORM_TEMPLATE_SELECT' => 'Vælg en skabelon',
89+
'ACP_PAGES_FORM_ORDER' => 'Sidens rækkefølge',
90+
'ACP_PAGES_FORM_ORDER_EXPLAIN' => 'Sider sorteres efter feltet, hvilket kan hjælpe med at organisere rækkefølgen som deres links vises i. Lavere tal tager forrang over højere tal.',
91+
'ACP_PAGES_FORM_LINKS' => 'Placeringer af sidens link',
92+
'ACP_PAGES_FORM_LINKS_EXPLAIN' => 'Vælg en eller flere placeringer hvor linket til siden kan vises. Brug CTRL+KLIK (eller CMD+KLIK på Mac) for at vælge/fravælge flere end ét element.',
93+
'ACP_PAGES_FORM_ICON_FONT' => 'Ikon til sidens link',
94+
'ACP_PAGES_FORM_ICON_FONT_EXPLAIN' => 'Indtast navnet på et <a href="https://fortawesome.github.io/Font-Awesome/icons/" target="_blank">Font Awesome</a>-ikon, som skal bruges med sidelinket. Lad feltet være tomt, for at bruge Pages’ traditionelle CSS-/GIF-billedikoner.',
95+
'ACP_PAGES_FORM_DISPLAY' => 'Vis side',
96+
'ACP_PAGES_FORM_DISPLAY_EXPLAIN' => 'Hvis den er sat til nej, kan siden ikke tilgås. (Bemærk: Administratorer kan stadig tilgå siden, så de kan forhåndsvise siden privat mens den udvikles).',
97+
'ACP_PAGES_FORM_GUESTS' => 'Vis side til gæster',
98+
'ACP_PAGES_FORM_GUESTS_EXPLAIN' => 'Hvis den er sat til nej, er det kun tilmeldte brugere som kan tilgå siden.',
99+
'ACP_PAGES_FORM_VIEW_PAGE' => 'Sidens link',
100+
'ACP_PAGES_TITLE_SWITCH' => 'Display page title first',
101+
'ACP_PAGES_TITLE_SWITCH_EXPLAIN' => 'By default browsers will display this page’s title after the site name <samp style="white-space: nowrap">“Site Name - Page Title”</samp>. Enabling this option will display this page’s title before the site name <samp style="white-space: nowrap">“Page Title - Site Name”</samp>.',
102+
'PARSE_HTML' => 'Analyser HTML',
103+
104+
// Page link location names
105+
'NAV_BAR_LINKS_BEFORE' => 'Navigationslinje inden links',
106+
'NAV_BAR_LINKS_AFTER' => 'Navigationslinje efter links',
107+
'NAV_BAR_CRUMBS_BEFORE' => 'Navigationslinje inden brødkrummer',
108+
'NAV_BAR_CRUMBS_AFTER' => 'Navigationslinje efter brødkrummer',
109+
'FOOTER_TIMEZONE_BEFORE' => 'Sidefod inden tidszone',
110+
'FOOTER_TIMEZONE_AFTER' => 'Sidefod efter tidszone',
111+
'FOOTER_TEAMS_BEFORE' => 'Sidefod inden holdet-link',
112+
'FOOTER_TEAMS_AFTER' => 'Sidefod efter holdet-link',
113+
'QUICK_LINK_MENU_BEFORE' => 'Øverst i menuen hurtige links',
114+
'QUICK_LINK_MENU_AFTER' => 'Nederst i menuen hurtige links',
115+
));

language/da/pages_common.php

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

language/da/pages_controller.php

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

language/da/permissions_pages.php

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

0 commit comments

Comments
 (0)