├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── PERFORMANCE.md ├── README.md ├── benchmark-apcu.php ├── composer.json ├── phpunit.xml.dist ├── psalm-baseline.xml ├── psalm.xml ├── src ├── Cache │ ├── ApcuCache.php │ ├── ApcuCacheFactory.php │ ├── CacheFactoryInterface.php │ ├── CacheInterface.php │ ├── GetAllInterface.php │ └── InMemoryCache.php ├── CacheException.php ├── Loader.php ├── MoParser.php ├── ReaderException.php ├── StringReader.php ├── Translator.php └── functions.php └── tests ├── Cache ├── ApcuCacheFactoryTest.php ├── ApcuCacheTest.php ├── ApcuDisabledTest.php └── InMemoryCacheTest.php ├── FunctionsTest.php ├── LoaderTest.php ├── MoFilesTest.php ├── PluralFormulaTest.php ├── PluralTest.php ├── StringReaderTest.php ├── TranslatorTest.php └── data ├── big.mo ├── error ├── big.mo ├── dos.mo ├── empty.mo ├── fpd.mo ├── fpdle.mo └── magic.mo ├── invalid-formula.mo ├── lessplurals.mo ├── little.mo ├── locale ├── be │ └── LC_MESSAGES │ │ └── phpmyadmin.mo ├── be@latin │ └── LC_MESSAGES │ │ └── phpmyadmin.mo └── cs │ └── LC_MESSAGES │ └── phpmyadmin.mo ├── noheader.mo ├── not-translated ├── fpd1.mo └── invalid-equation.mo └── plurals.mo /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/LICENSE -------------------------------------------------------------------------------- /PERFORMANCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/PERFORMANCE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/README.md -------------------------------------------------------------------------------- /benchmark-apcu.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/benchmark-apcu.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /psalm-baseline.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/psalm-baseline.xml -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Cache/ApcuCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/ApcuCache.php -------------------------------------------------------------------------------- /src/Cache/ApcuCacheFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/ApcuCacheFactory.php -------------------------------------------------------------------------------- /src/Cache/CacheFactoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/CacheFactoryInterface.php -------------------------------------------------------------------------------- /src/Cache/CacheInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/CacheInterface.php -------------------------------------------------------------------------------- /src/Cache/GetAllInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/GetAllInterface.php -------------------------------------------------------------------------------- /src/Cache/InMemoryCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Cache/InMemoryCache.php -------------------------------------------------------------------------------- /src/CacheException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/CacheException.php -------------------------------------------------------------------------------- /src/Loader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Loader.php -------------------------------------------------------------------------------- /src/MoParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/MoParser.php -------------------------------------------------------------------------------- /src/ReaderException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/ReaderException.php -------------------------------------------------------------------------------- /src/StringReader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/StringReader.php -------------------------------------------------------------------------------- /src/Translator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/Translator.php -------------------------------------------------------------------------------- /src/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/src/functions.php -------------------------------------------------------------------------------- /tests/Cache/ApcuCacheFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/Cache/ApcuCacheFactoryTest.php -------------------------------------------------------------------------------- /tests/Cache/ApcuCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/Cache/ApcuCacheTest.php -------------------------------------------------------------------------------- /tests/Cache/ApcuDisabledTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/Cache/ApcuDisabledTest.php -------------------------------------------------------------------------------- /tests/Cache/InMemoryCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/Cache/InMemoryCacheTest.php -------------------------------------------------------------------------------- /tests/FunctionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/FunctionsTest.php -------------------------------------------------------------------------------- /tests/LoaderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/LoaderTest.php -------------------------------------------------------------------------------- /tests/MoFilesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/MoFilesTest.php -------------------------------------------------------------------------------- /tests/PluralFormulaTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/PluralFormulaTest.php -------------------------------------------------------------------------------- /tests/PluralTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/PluralTest.php -------------------------------------------------------------------------------- /tests/StringReaderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/StringReaderTest.php -------------------------------------------------------------------------------- /tests/TranslatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/TranslatorTest.php -------------------------------------------------------------------------------- /tests/data/big.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/big.mo -------------------------------------------------------------------------------- /tests/data/error/big.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/error/big.mo -------------------------------------------------------------------------------- /tests/data/error/dos.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/error/dos.mo -------------------------------------------------------------------------------- /tests/data/error/empty.mo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/error/fpd.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/error/fpd.mo -------------------------------------------------------------------------------- /tests/data/error/fpdle.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/error/fpdle.mo -------------------------------------------------------------------------------- /tests/data/error/magic.mo: -------------------------------------------------------------------------------- 1 | 1234 2 | -------------------------------------------------------------------------------- /tests/data/invalid-formula.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/invalid-formula.mo -------------------------------------------------------------------------------- /tests/data/lessplurals.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/lessplurals.mo -------------------------------------------------------------------------------- /tests/data/little.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/little.mo -------------------------------------------------------------------------------- /tests/data/locale/be/LC_MESSAGES/phpmyadmin.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/locale/be/LC_MESSAGES/phpmyadmin.mo -------------------------------------------------------------------------------- /tests/data/locale/be@latin/LC_MESSAGES/phpmyadmin.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/locale/be@latin/LC_MESSAGES/phpmyadmin.mo -------------------------------------------------------------------------------- /tests/data/locale/cs/LC_MESSAGES/phpmyadmin.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/locale/cs/LC_MESSAGES/phpmyadmin.mo -------------------------------------------------------------------------------- /tests/data/noheader.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/noheader.mo -------------------------------------------------------------------------------- /tests/data/not-translated/fpd1.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/not-translated/fpd1.mo -------------------------------------------------------------------------------- /tests/data/not-translated/invalid-equation.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/not-translated/invalid-equation.mo -------------------------------------------------------------------------------- /tests/data/plurals.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpmyadmin/motranslator/HEAD/tests/data/plurals.mo --------------------------------------------------------------------------------