Switch to symfony/translation for translations (#250)
This commit is contained in:
parent
0b1ce90f47
commit
a5bd827d21
16 changed files with 399 additions and 212 deletions
|
@ -12,12 +12,12 @@
|
|||
"guzzlehttp/guzzle": "~6.3.0",
|
||||
"aura/session": "~2.1.0",
|
||||
"barracudanetworks/archivestream-php": "~1.0.5",
|
||||
"smarty-gettext/smarty-gettext": "~1.6.0",
|
||||
"zonuexe/http-accept-language": "~0.4.1",
|
||||
"rinvex/countries": "~3.1.0",
|
||||
"php-mock/php-mock-mockery": "~1.3.0",
|
||||
"ext-xsl": "*",
|
||||
"jawira/case-converter": "^1.2"
|
||||
"jawira/case-converter": "^1.2",
|
||||
"symfony/translation": "^3.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/var-dumper": "~3.4.1",
|
||||
|
@ -28,7 +28,8 @@
|
|||
"heroku/heroku-buildpack-php": "^162.0",
|
||||
"anam/phantomjs-linux-x86-binary": "~2.1.1",
|
||||
"phpstan/phpstan": "~0.9.2",
|
||||
"roave/security-advisories": "dev-master"
|
||||
"roave/security-advisories": "dev-master",
|
||||
"smarty-gettext/smarty-gettext": "^1.6"
|
||||
},
|
||||
"extra": {
|
||||
"paas": {
|
||||
|
@ -91,7 +92,7 @@
|
|||
"compile": "composer install --ignore-platform-reqs",
|
||||
"update-locales": [
|
||||
"tsmarty2c.php templates > i18n/template.pot",
|
||||
"xgettext --omit-header -j -o i18n/template.pot classes/*.php classes/*/*.php controllers/*"
|
||||
"xgettext --omit-header -kt -j -o i18n/template.pot classes/*.php classes/*/*.php controllers/*"
|
||||
],
|
||||
"youtube-dl": "vendor/rg3/youtube-dl/youtube_dl/__main__.py"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue