[phpmyadmin/motranslator] ebea95: Calculate len once

Branch: refs/heads/master Home: https://github.com/phpmyadmin/motranslator Commit: ebea952d9622255c6330c1457ea3a8355d2ab5d1 https://github.com/phpmyadmin/motranslator/commit/ebea952d9622255c6330c1457e... Author: Michal Čihař <michal@cihar.com> Date: 2016-08-29 (Mon, 29 Aug 2016) Changed paths: M src/Translator.php Log Message: ----------- Calculate len once Signed-off-by: Michal Čihař <michal@cihar.com> Commit: 9b3205a594b3a6270ffe8f6dcc145dd765af135f https://github.com/phpmyadmin/motranslator/commit/9b3205a594b3a6270ffe8f6dcc... Author: Michal Čihař <michal@cihar.com> Date: 2016-08-29 (Mon, 29 Aug 2016) Changed paths: M src/Translator.php Log Message: ----------- Use single quotes, remove not needed quotes Signed-off-by: Michal Čihař <michal@cihar.com> Commit: 7a5e60e72e2a0a29aaa8e3aab649856573600199 https://github.com/phpmyadmin/motranslator/commit/7a5e60e72e2a0a29aaa8e3aab6... Author: Michal Čihař <michal@cihar.com> Date: 2016-08-29 (Mon, 29 Aug 2016) Changed paths: M src/Translator.php M tests/PluralFormulaTest.php Log Message: ----------- Stricter validation of plural formula We really can limit what we accept. Signed-off-by: Michal Čihař <michal@cihar.com> Commit: 8a0e230ba36d7480e5e0cf8ef73b50a442f37fdd https://github.com/phpmyadmin/motranslator/commit/8a0e230ba36d7480e5e0cf8ef7... Author: Michal Čihař <michal@cihar.com> Date: 2016-08-29 (Mon, 29 Aug 2016) Changed paths: A src/ReaderException.php M src/StringReader.php M src/Translator.php M tests/MoFilesTest.php A tests/data/error/big.mo A tests/data/error/dos.mo A tests/data/error/empty.mo A tests/data/error/fpd.mo R tests/data/mo.empty Log Message: ----------- Correctly deal with corrupted files Signed-off-by: Michal Čihař <michal@cihar.com> Compare: https://github.com/phpmyadmin/motranslator/compare/9a98399c31b5...8a0e230ba3...
participants (1)
-
Michal Čihař