Skip to content

Commit

Permalink
Merge pull request phpbb-extensions#357 from phpbb-extensions/release…
Browse files Browse the repository at this point in the history
…-3.0.1

Release 3.0.1
  • Loading branch information
iMattPro committed Feb 13, 2024
2 parents 4240e5e + 0accca3 commit 06e4a56
Show file tree
Hide file tree
Showing 10 changed files with 402 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Version 3.x (for phpBB 3.3)

### 3.0.1 - 2024-01-18

- Rules in the ACP are clickable again, fixes an issue introduced in v3.0.0..
- Updated French and Brazilian translations.
- Added Finnish Translation.

### 3.0.0 - 2023-05-29

- Dropped support for phpBB 3.2 and PHP 5.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "An extension which allows you to create a set of rules for your phpBB forum",
"homepage": "https://www.phpbb.com/customise/db/extension/boardrules/",
"version": "3.0.0",
"version": "3.0.1",
"keywords": ["phpbb", "extension", "rules"],
"license": "GPL-2.0-only",
"authors": [
Expand Down
98 changes: 98 additions & 0 deletions language/fi/boardrules_acp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
// Settings page
'ACP_BOARDRULES' => 'Foorumin säännöt',
'ACP_BOARDRULES_SETTINGS' => 'Sääntöjen asetukset',
'ACP_BOARDRULES_SETTINGS_EXPLAIN' => 'Täällä voit määrittää sääntöjen pääasetukset.',
'ACP_BOARDRULES_ENABLE' => 'Ota säännöt käyttöön',
'ACP_BOARDRULES_HEADER_LINK' => 'Näytä säännöt linkkinä foorumi yläosassa.',
'ACP_BOARDRULES_FONT_ICON' => 'Foorumin säännöt linkin kuvake',
'ACP_BOARDRULES_FONT_ICON_EXPLAIN' => 'Kirjoita <strong><a href="%s" target="_blank">Font Awesome</a></strong> -kuvakkeen nimi, jota käytetään taulun säännöt-linkissä. Jätä tämä kenttä tyhjäksi, jos sinulla ei ole sääntöjä.',
'ACP_BOARDRULES_FONT_ICON_INVALID' => 'Sääntöjen linkkikuvake sisälsi virheellisiä merkkejä.',
'ACP_BOARDRULES_AT_REGISTRATION' => 'Vaadi uusia käyttäjiä hyväksymään säännöt rekisteröinnin yhteydessä',
'ACP_BOARDRULES_AT_REGISTRATION_EXPLAIN'=> 'Tämä vaihtoehto lisää "Käyttöehtoihin" lauseen, joka edellyttää uusien rekisteröityneiden käyttäjien lukevan ja hyväksyvän säännöt rekisteröinnin yhteydessä.',
'ACP_BOARDRULES_NOTIFY' => 'Ilmoita käyttäjille',
'ACP_BOARDRULES_NOTIFY_EXPLAIN' => 'Lähetä ilmoitus kaikille rekisteröityneille käyttäjille, että säännöt on päivitetty. (Tämän suorittaminen voi kestää useita sekunteja laudoilla, joissa on useita tuhansia jäseniä.)',
'ACP_BOARDRULES_NOTIFY_CONFIRM' => 'Haluatko varmasti lähettää ilmoituksia kaikille käyttäjille?',
'ACP_BOARDRULES_SETTINGS_CHANGED' => 'Sääntöjen asetuksia muutettu.',
'ACP_BOARDRULES_LIST_STYLE' => 'Sääntöjen listaustyyli',
'ACP_BOARDRULES_LIST_STYLE_EXPLAIN' => 'Säännöt esitetään luettelomuodossa. Päätä, haluatko sääntö- ja luokkakohtien edeltävän aakkosnumeerisia järjestyslukuja (tämä on oletustoiminto), luettelomerkit vai ei mitään.',
'ACP_BOARDRULES_LIST_STYLE_ORDERED' => 'Aakkosnumeerinen',
'ACP_BOARDRULES_LIST_STYLE_BULLET' => 'Piste',
'ACP_BOARDRULES_LIST_STYLE_NONE' => 'Ei mitään',

// Manage page
'ACP_BOARDRULES_MANAGE' => 'Muokkaa sääntöjä',
'ACP_BOARDRULES_MANAGE_EXPLAIN' => 'Tällä sivulla voit lisätä, muokata, poistaa ja järjestää uudelleen kategorioita ja sääntöjä. Kategoria on joukko toisiinsa liittyviä sääntöjä. Jokaisella kategorialla voi olla rajoittamaton määrä sääntöjä.',
'ACP_BOARDRULES_LANGUAGE_EXPLAIN' => 'Valitse sääntöjen kieli. Käyttäjät näkevät heidän haluamalleen kielelle luomasi säännöt. Jos et luo sääntöjä halutulla kielellä, käyttäjät näkevät säännöt, jotka on luotu laudan oletuskielellä.',
'ACP_BOARDRULES_CATEGORY' => 'Sääntö kategoria',
'ACP_BOARDRULES_RULE' => 'Sääntö',
'ACP_BOARDRULES_SELECT_LANGUAGE' => 'Valitse kieli',
'ACP_BOARDRULES_CREATE_RULE' => 'Luo sääntö',
'ACP_BOARDRULES_CREATE_RULE_EXPLAIN' => 'Alla olevalla lomakkeella voit luoda uuden säännön, joka näytetään käyttäjillesi.',
'ACP_BOARDRULES_EDIT_RULE' => 'Muokkaa sääntöä',
'ACP_BOARDRULES_EDIT_RULE_EXPLAIN' => 'Alla olevalla lomakkeella voit päivittää olemassa olevan säännön, joka näytetään käyttäjillesi.',
'ACP_RULE_SETTINGS' => 'Sääntöasetukset',
'ACP_RULE_PARENT' => 'Säännön ylätaso',
'ACP_RULE_NO_PARENT' => 'Ei ylätasoa',
'ACP_RULE_TITLE' => 'Säännön otsikko',
'ACP_RULE_TITLE_EXPLAIN' => 'Sääntöjen otsikot näkyvät vain sääntöluokkien sääntösivulla. Sääntöotsikoita käytetään myös sääntöjen tunnistamiseen, kun niitä hallinnoidaan ACP:ssä.',
'ACP_RULE_ANCHOR' => 'Sääntöankkuri',
'ACP_RULE_ANCHOR_EXPLAIN' => 'Sääntöankkurit ovat valinnaisia, ja niitä käytetään linkkien ankkuripisteinä sääntösivulla. Niiden tulee olla URL-osoiteystävällisiä (ei sisällä välilyöntejä tai erikoismerkkejä), niiden tulee alkaa kirjaimella ja niiden on oltava yksilöllisiä.',
'ACP_RULE_MESSAGE' => 'Säännön sisältö',
'ACP_RULE_MESSAGE_EXPLAIN' => 'Säännön sisältö näytetään kunkin säännön kohdalla Säännöt-sivulla (kategoriat eivät näytä sääntöviestiä).',
'ACP_RULE_MESSAGE_DISABLED' => 'Tämä on kategoria, joka sisältää sääntöjä, viestieditori on poistettu käytöstä.',
'ACP_ADD_RULE' => 'Luo uusi sääntö',
'ACP_DELETE_RULE_CONFIRM' => array(
0 => 'Haluatko varmasti poistaa tämän säännön?',
1 => 'Haluatko varmasti poistaa tämän sääntökategorian?<br />Varoitus: Sääntökategorian poistaminen poistaa myös kaikki sen sisältämät säännöt.',
),
'ACP_RULE_ADDED' => 'Sääntö lisätty onnistuneesti.',
'ACP_RULE_DELETED' => 'Sääntö poistettu onnistuneesti.',
'ACP_RULE_EDITED' => 'Sääntöä muokattu onnistuneesti.',
'ACP_RULE_TITLE_EMPTY' => 'Sinun on annettava tälle säännölle otsikko.',

// Nested set exception messages (only appears in PHP error logging)
// Translators: Feel free to not translate these language strings
'RULES_NESTEDSET_LOCK_FAILED_ACQUIRE' => 'Säännöt eivät onnistuneet saamaan yhteyttä taulukkoon. Toinen prosessi voi käyttää taulukkoa tällä hetkellä. Taulukon yhteys vapautetaan väkisin 1 tunnin aikakatkaisun jälkeen.',
'RULES_NESTEDSET_INVALID_ITEM' => 'Pyydettyä sääntöä ei ole olemassa.',
'RULES_NESTEDSET_INVALID_PARENT' => 'Pyydetyllä säännöllä ei ole ylätasoa.',
));
46 changes: 46 additions & 0 deletions language/fi/boardrules_common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2013 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
'BOARDRULES' => 'Säännöt',
'BOARDRULES_TITLE' => 'Tarkastele foorumin sääntöjä',
'BOARDRULES_AGREEMENT' => 'Suostut käyttäytymään foorumilla noudattaen sääntöjä jotka on esitelty "Säännöt" osiossa.',
'BOARDRULES_VIEWONLINE' => 'Lukee foorumin sääntöjä',
'BOARDRULES_NOTIFICATION' => 'Foorumin säännöt on päivitetty. Klikkaa tästä lukeaksesi ne.',
));
46 changes: 46 additions & 0 deletions language/fi/boardrules_controller.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
'BOARDRULES_HEADER' => 'Foorumin säännöt',
'BOARDRULES_EXPLAIN' => 'Nämä säännöt on luotu tekemään selväksi kaikille foorumin käyttäjille, miten yhteisössä tulee käyttäytyä. Jokaisen odotetaan noudattavan näitä sääntöjä, jotta voimme tarjota mukavan ja turvallisen kokemuksen kaikille jäsenillemme ja vierialijoillemme.',
'BOARDRULES_CATEGORIES' => 'Sääntöjen sisällysluettelo',
'BOARDRULES_CATEGORY_ANCHOR'=> 'osio-%s',
'BOARDRULES_RULE_ANCHOR' => 'saanto-%s',
));
48 changes: 48 additions & 0 deletions language/fi/boardrules_install.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
'BOARDRULES_SAMPLE_CATEGORY_TITLE' => 'Esimerkki Sääntö kategoria',
'BOARDRULES_SAMPLE_CATEGORY_MESSAGE' => 'Tämä on esimerkkikategoria lisäosan asennuksessa. Kategoriat sisältävät ryhmän siihen liittyviä sääntöjä. Kategoria kuvaukset (kuten tämä) eivät näy Säännöt-sivulla.',
'BOARDRULES_SAMPLE_CATEGORY_ANCHOR' => 'esimerkki-kategoria',

'BOARDRULES_SAMPLE_RULE_TITLE' => 'Esimerkki Sääntö',
'BOARDRULES_SAMPLE_RULE_MESSAGE' => 'Tämä on esimerkkisääntö lisäosan asennuksessa. Kaikki näyttää toimivan. Voit editoita tai poistaa tämän säännön ja ryhtyä asettamaan foorumisi sääntöjä näkyviin.',
'BOARDRULES_SAMPLE_RULE_ANCHOR' => 'esimerkki-saanto',
));
61 changes: 61 additions & 0 deletions language/fi/exceptions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

/*
* These are errors which can be triggered by sending invalid data to the
* boardrules extension API.
*
* These errors will never show to a user unless they are either modifying
* the core boardrules extension code OR unless they are writing an extension
* which makes calls to this extension.
*
* Translators: Feel free to not translate these language strings
*/
$lang = array_merge($lang, array(
'EXCEPTION_FIELD_MISSING' => 'Vaadittu kenttä puuttuu',
'EXCEPTION_INVALID_ARGUMENT' => 'Virheellinen argumentti arvolle `%1$s`. Syy: %2$s',
'EXCEPTION_OUT_OF_BOUNDS' => 'Kenttää `%1$s` ei mahdu enempää dataa.',
'EXCEPTION_TOO_LONG' => 'Syöttämäsi tieto oli pitempi kuin sallittu enimmäispituus.',
'EXCEPTION_NOT_UNIQUE' => 'Syöte ei ollut ainutlaatuinen.',
'EXCEPTION_UNEXPECTED_VALUE' => 'Kenttä `%1$s` sai odottamattomia tietoja. Syy: %2$s',
'EXCEPTION_ILLEGAL_CHARACTERS' => 'Syöte sisälsi ei-sallittuja merkkejä.',

// Translators: do not change this
'EXCEPTION_WRONG_DATA_LANG' => $lang['WRONG_DATA_LANG'],
));
49 changes: 49 additions & 0 deletions language/fi/info_acp_boardrules.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
// ACP modules
'ACP_BOARDRULES' => 'Foorumin säännöt',
'ACP_BOARDRULES_MANAGE' => 'Muokkaa sääntöjä',
'ACP_BOARDRULES_SETTINGS' => 'Sääntöjen asetukset',

// ACP Logs
'ACP_BOARDRULES_SETTINGS_LOG' => '<strong>Foorumin sääntöjen asetukset on muutettu.</strong>',
'ACP_BOARDRULES_NOTIFY_LOG' => '<strong>Ilmoitus foorumin säännöistä on lähetetty kaikille käyttäjille</strong>',
));
Loading

0 comments on commit 06e4a56

Please sign in to comment.