Skip to content

Commit b561e02

Browse files
author
Miroslav Koula
committed
Update of readme.md
1 parent 4b5e6cd commit b561e02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Translator
33
[![Downloads this Month](https://img.shields.io/packagist/dm/elcheco/translator.svg)](https://packagist.org/packages/elcheco/translator)
44
[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/elcheco/translator/blob/master/LICENSE)
55

6-
Lightweight and powerful translation system for PHP 7.2+, build as component
6+
Lightweight and powerful translation system for PHP 8.0+, build as component
77
not only for [Nette](https://nette.org) framework
88

99
Note:
10-
Inspired by [rostenkowski/translate](https://github.com/rostenkowski/translate), but I needed support for Nette Framework ^2.4
10+
Inspired by [rostenkowski/translate](https://github.com/rostenkowski/translate), but I needed support for Nette Framework ^3.2|^4.0
1111
and fallback translation possibility. I also refactored a bit the plurals to be naturally understandable.
1212

1313
## Install
@@ -53,7 +53,7 @@ extensions:
5353
translate: ElCheco\Translator\Extension
5454
5555
# configuration
56-
translate:
56+
translator:
5757
default: en_US
5858
fallback: cs_CZ
5959
```
@@ -78,7 +78,7 @@ $translator->translate('Welcome!');
7878

7979
## Requirements
8080

81-
- PHP 7.2+
81+
- PHP 8.0+
8282
- nette/di
8383
- nette/neon
8484
- nette/safe-stream

0 commit comments

Comments
 (0)