From f6426c1e8afe40f3fcad9faa36425f66c6f6d085 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 15 Nov 2018 23:40:07 -0500 Subject: [PATCH] [Composer] Add gettext/gettext and boronczyk/localization-middleware dependencies --- composer.json | 4 +- composer.lock | 172 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 174 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 10181df..6f671b0 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,9 @@ "zendframework/zend-escaper": "^2.6", "bower-asset/bootstrap.native": "^2.0", "bower-asset/fontawesome": "^5.5", - "gofabian/negotiation-middleware": "^0.1.3" + "gofabian/negotiation-middleware": "^0.1.3", + "gettext/gettext": "^4.6", + "boronczyk/localization-middleware": "^1.4" }, "require-dev": { "bower-asset/bootstrap": "^4.1", diff --git a/composer.lock b/composer.lock index 08f9f4e..a45c5b7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1feeca712cc5dc0f039b6f1768d46cb7", + "content-hash": "e3ef085734bde78d7ca14e43582929b0", "packages": [ { "name": "asika/simple-console", @@ -169,6 +169,53 @@ ], "time": "2018-11-09T21:57:53+00:00" }, + { + "name": "boronczyk/localization-middleware", + "version": "1.4", + "source": { + "type": "git", + "url": "https://github.com/tboronczyk/localization-middleware.git", + "reference": "4b249fe17f0700764bb3299813a38c97e1fac6c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tboronczyk/localization-middleware/zipball/4b249fe17f0700764bb3299813a38c97e1fac6c0", + "reference": "4b249fe17f0700764bb3299813a38c97e1fac6c0", + "shasum": "" + }, + "require": { + "php": "^7.0", + "psr/http-message": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0", + "slim/slim": "^3.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Boronczyk\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Timothy Boronczyk", + "email": "tboronczyk@gmail.com" + } + ], + "description": "PSR-7 middleware to assist primarily with language-based content negotiation and various other localization tasks.", + "homepage": "https://github.com/tboronczyk/localization-middleware", + "keywords": [ + "localization", + "psr-7", + "slim" + ], + "time": "2018-07-18T04:18:28+00:00" + }, { "name": "bower-asset/bootstrap.native", "version": "2.0.24", @@ -617,6 +664,129 @@ ], "time": "2018-07-02T11:37:17+00:00" }, + { + "name": "gettext/gettext", + "version": "v4.6.1", + "source": { + "type": "git", + "url": "https://github.com/oscarotero/Gettext.git", + "reference": "854ff5f5aaf92d2af7080ba8fc15718b27b5c89a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/oscarotero/Gettext/zipball/854ff5f5aaf92d2af7080ba8fc15718b27b5c89a", + "reference": "854ff5f5aaf92d2af7080ba8fc15718b27b5c89a", + "shasum": "" + }, + "require": { + "gettext/languages": "^2.3", + "php": ">=5.4.0" + }, + "require-dev": { + "illuminate/view": "*", + "phpunit/phpunit": "^4.8|^5.7|^6.5", + "squizlabs/php_codesniffer": "^3.0", + "symfony/yaml": "~2", + "twig/extensions": "*", + "twig/twig": "^1.31|^2.0" + }, + "suggest": { + "illuminate/view": "Is necessary if you want to use the Blade extractor", + "symfony/yaml": "Is necessary if you want to use the Yaml extractor/generator", + "twig/extensions": "Is necessary if you want to use the Twig extractor", + "twig/twig": "Is necessary if you want to use the Twig extractor" + }, + "type": "library", + "autoload": { + "psr-4": { + "Gettext\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oscar Otero", + "email": "oom@oscarotero.com", + "homepage": "http://oscarotero.com", + "role": "Developer" + } + ], + "description": "PHP gettext manager", + "homepage": "https://github.com/oscarotero/Gettext", + "keywords": [ + "JS", + "gettext", + "i18n", + "mo", + "po", + "translation" + ], + "time": "2018-08-27T15:40:19+00:00" + }, + { + "name": "gettext/languages", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://github.com/mlocati/cldr-to-gettext-plural-rules.git", + "reference": "78db2d17933f0765a102f368a6663f057162ddbd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mlocati/cldr-to-gettext-plural-rules/zipball/78db2d17933f0765a102f368a6663f057162ddbd", + "reference": "78db2d17933f0765a102f368a6663f057162ddbd", + "shasum": "" + }, + "require": { + "php": ">=5.3" + }, + "require-dev": { + "phpunit/phpunit": "^4" + }, + "bin": [ + "bin/export-plural-rules", + "bin/export-plural-rules.php" + ], + "type": "library", + "autoload": { + "psr-4": { + "Gettext\\Languages\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michele Locati", + "email": "mlocati@gmail.com", + "role": "Developer" + } + ], + "description": "gettext languages with plural rules", + "homepage": "https://github.com/mlocati/cldr-to-gettext-plural-rules", + "keywords": [ + "cldr", + "i18n", + "internationalization", + "l10n", + "language", + "languages", + "localization", + "php", + "plural", + "plural rules", + "plurals", + "translate", + "translations", + "unicode" + ], + "time": "2018-11-13T22:06:07+00:00" + }, { "name": "gofabian/negotiation-middleware", "version": "v0.1.3",