Compare commits

..

7 Commits
4.0.0 ... 3

Author SHA1 Message Date
github-actions
26936f33e4 Merge branch '3.4' into 3 2024-02-07 11:15:05 +00:00
Guy Sartorelli
5badc345de
TLN Update translations (#111) 2024-02-07 16:12:33 +13:00
github-actions
eb858ca76e Merge branch '3.4' into 3 2023-08-23 11:14:45 +00:00
Guy Sartorelli
19603c31bc
ENH Update translations (#101) 2023-08-21 13:16:40 +12:00
Steve Boyd
17411fbb95 Merge branch '3.4' into 3 2023-06-16 12:09:40 +12:00
Guy Sartorelli
404ae173d0
Merge pull request #98 from creative-commoners/pulls/3.4/tx-1686724855
ENH Update translations
2023-06-15 10:06:13 +12:00
Steve Boyd
afbcf59ec4 ENH Update translations 2023-06-14 18:40:55 +12:00
8 changed files with 41 additions and 12 deletions

11
.upgrade.yml Normal file
View File

@ -0,0 +1,11 @@
mappings:
SpamProtector: SilverStripe\SpamProtection\SpamProtector
CommentSpamProtection: SilverStripe\SpamProtection\Extension\CommentSpamProtection
EditableSpamProtectionField: SilverStripe\SpamProtection\EditableSpamProtectionField
FormSpamProtectionExtension: SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension
EditableSpamProtectionFieldTest: SilverStripe\SpamProtection\Tests\EditableSpamProtectionFieldTest
EditableSpamProtectionFieldTest_Protector: SilverStripe\SpamProtection\Tests\Stub\Protector
FormSpamProtectionExtensionTest: SilverStripe\SpamProtection\Tests\FormSpamProtectionExtensionTest
FormSpamProtectionExtensionTest_BarProtector: SilverStripe\SpamProtection\Tests\Stub\BarProtector
FormSpamProtectionExtensionTest_BazProtector: SilverStripe\SpamProtection\Tests\Stub\BazProtector
FormSpamProtectionExtensionTest_FooProtector: SilverStripe\SpamProtection\Tests\Stub\FooProtector

View File

@ -3,12 +3,6 @@
[![CI](https://github.com/silverstripe/silverstripe-spamprotection/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-spamprotection/actions/workflows/ci.yml)
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
## Installation
```sh
composer require silverstripe/spamprotection
```
## Maintainer Contact
* Saophalkun Ponlu
@ -17,6 +11,16 @@ composer require silverstripe/spamprotection
* Will Rossiter
<will (at) fullscreen (dot) io>
## Requirements
Silverstripe 4.0+
**Note:** For Silverstripe 3.x, please use the [2.x release line](https://github.com/silverstripe/silverstripe-spamprotection/tree/2.0).
## Install
To install run `composer require silverstripe/spamprotection`.
## Documentation
This module provides a generic, consistent API for adding spam protection to

View File

@ -17,14 +17,14 @@
}
],
"require": {
"php": "^8.1",
"silverstripe/framework": "^5"
"php": "^7.4 || ^8.0",
"silverstripe/framework": "^4.10"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"silverstripe/versioned": "^2",
"squizlabs/php_codesniffer": "^3",
"silverstripe/userforms": "^6"
"silverstripe/versioned": "^1.0",
"squizlabs/php_codesniffer": "^3.0",
"silverstripe/userforms": "^5"
},
"extra": {
"expose": [

View File

@ -7,3 +7,4 @@ en:
SINGULARNAME: 'Spam Protection Field'
SPAMFIELDMAPPING: 'Spam Field Mapping'
SPAMFIELDMAPPINGDESCRIPTION: 'Select the form fields that correspond to any relevant spam protection identifiers'
db_SpamFieldSettings: 'Spam field settings'

View File

@ -7,3 +7,4 @@ eo:
SINGULARNAME: 'Spamprotekta kampo'
SPAMFIELDMAPPING: 'Spamkampa mapigo'
SPAMFIELDMAPPINGDESCRIPTION: 'Elektu la kampojn kiuj rilatas al eventualaj rilataj spamprotektaj identigiloj'
db_SpamFieldSettings: 'Spamkampaj agordoj'

View File

@ -2,9 +2,9 @@ it:
SilverStripe\SpamProtection\EditableSpamProtectionField:
PLURALNAME: 'Campi di Prevenzione Spam'
PLURALS:
many: '{count} Campi di Prevenzione Spam'
one: 'Un Campo di Prevenzione Spam'
other: '{count} Campi di Prevenzione Spam'
many: '{count} Campi di Prevenzione Spam'
SINGULARNAME: 'Campo di Prevenzione Spam'
SPAMFIELDMAPPING: 'Mappatura Campo Spam'
SPAMFIELDMAPPINGDESCRIPTION: 'Selezionare i campi della form che forniscono una qualche protezione dallo spam'

View File

@ -1,6 +1,12 @@
sk:
SilverStripe\SpamProtection\EditableSpamProtectionField:
PLURALNAME: 'Polia ochrany proti spamu'
PLURALS:
few: '{count} polia ochrany proti spamu'
many: '{count} polí ochrany proti spamu'
one: 'Pole ochrany proti spamu'
other: '{count} polí ochrany proti spamu'
SINGULARNAME: 'Pole ochrany proti spamu'
SPAMFIELDMAPPING: 'Mapovanie spamového poľa'
SPAMFIELDMAPPINGDESCRIPTION: 'Vyberte polia formulára, ktoré zodpovedajú všetkým príslušným identifikátorom ochrany proti spamu'
db_SpamFieldSettings: 'Nastavenia poľa spamu'

6
legacy.yml Normal file
View File

@ -0,0 +1,6 @@
---
Name: spamprotectionlegacy
---
SilverStripe\ORM\DatabaseAdmin:
classname_value_remapping:
EditableSpamProtectionField: 'SilverStripe\SpamProtection\EditableSpamProtectionField'