File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ Translator
3
3
[ ![ Downloads this Month] ( https://img.shields.io/packagist/dm/elcheco/translator.svg )] ( https://packagist.org/packages/elcheco/translator )
4
4
[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/elcheco/translator/blob/master/LICENSE )
5
5
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
7
7
not only for [ Nette] ( https://nette.org ) framework
8
8
9
9
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
11
11
and fallback translation possibility. I also refactored a bit the plurals to be naturally understandable.
12
12
13
13
## Install
@@ -53,7 +53,7 @@ extensions:
53
53
translate: ElCheco\T ranslator\E xtension
54
54
55
55
# configuration
56
- translate :
56
+ translator :
57
57
default: en_US
58
58
fallback: cs_CZ
59
59
` ` `
@@ -78,7 +78,7 @@ $translator->translate('Welcome!');
78
78
79
79
# # Requirements
80
80
81
- - PHP 7.2 +
81
+ - PHP 8.0 +
82
82
- nette/di
83
83
- nette/neon
84
84
- nette/safe-stream
You can’t perform that action at this time.
0 commit comments