Commit Graph
61 Commits
Author SHA1 Message Date
Karyna Tsymbal f7ff25bbb9 AC-3108: Fix possible deprecation issues with 8.1 2022-05-30 18:11:41 +02:00
Andrey Legayev d0687d1d68 Static Content Deploy - Sort JS Translations to have them in the same order on every build
We've faced an issue on BitBucket Pipelines: every build had own unique order of JS translations.
We couldn't see the real diff between builds because of it.
Simple alphabetical sorting of translations resolves this issue.
2019-10-02 17:10:51 +03:00
Ihor Sviziev 32f8454120 magento/magento2#17122 Added missing exception cause for better error handling
Replace tabs with spaces
2018-08-01 18:03:16 +00:00
Wouter Samaey 19fa3adba8 Added missing exception cause for better error handling
Added missing exception cause for better error handling
2018-08-01 18:03:16 +00:00
Sergey Shvets ef1d3ca1ed MAGETWO-88191: Type mismatch in translation js dataprovider 2018-02-22 13:07:11 +02:00
Danny Verkade db0c775b36 - Fix #2156 changed dataprovider constructor to the RendererInterface
- Changed InlineTest, which has an Inline class object and not a Translate class object
2017-11-03 22:38:58 +01:00
Danny Verkade b5ee41544b - Expanded to ReadInterface to include the readAll function, since a class implementing the ReadInterface should have this function in order to substitute the Read class.
- Removed comment variable declarations from other file where the type is declared. This was necessary due to the missing function in the interface. Autocompleting this function now works properly, so these comments can be removed.
2017-08-26 13:24:04 +02:00
Anton Evers c79b583422 Concatenate JS translations before translating them
This enables support for $.mage.__("concatenating" + "strings");
2017-08-06 14:36:46 +06:00
Anton Evers a150d2485e Don't only replace \' but also \" with ' and " 2017-08-06 14:35:53 +06:00
James Halsall a31f4a35c0 Remove the copyright year from file headers 2017-02-22 09:09:36 +00:00
Eugene Tulika c664d65fce MAGETWO-64519: [GitHub] [PR] Update DataProvider.php magento/magento2#8217
- fix static test coupling between objects
2017-02-10 10:25:06 -06:00
Ronald Edelschaap cd11b63341 Update DataProvider.php 2017-02-08 09:47:35 +01:00
Ronald Edelschaap f0f093473d Update DataProvider.php 2017-02-08 09:46:05 +01:00
Ronald Edelschaap 01bb21db09 Update DataProvider.php 2017-02-07 09:43:57 +01:00
Ronald Edelschaap f06a9e7632 Update DataProvider.php 2017-02-07 09:43:19 +01:00
Ronald Edelschaap 7b6b03a9d1 Update DataProvider.php 2017-02-06 12:31:35 +01:00
Ronald Edelschaap 679b05d2a9 Update DataProvider.php 2017-02-06 12:30:44 +01:00
Ronald Edelschaap 8c89c726ea Update DataProvider.php
Some template files from extensions cause the js-translation.json file to contain an empty array. The try-catch block prevents this and will just exclude that specific file from the loaded language strings, since it's almost impossible to debug which file is causing this.
2017-01-20 15:35:12 +01:00
Sergii Kovalenko eb30343a09 MAGETWO-62855: Copyright Year Update 2017 2017-01-05 13:01:45 +02:00
Joan He 2d368d0134 MAGETWO-48081: Copyright Year Update 2016-03-17 15:49:11 -05:00
Hayder Sharhan 3fa8b51784 MAGETWO-44053: [GITHUB] Bug: i18n phrases with apostrophes (') in Knockout templates are untranslatable (and my fix) #1951
- Added fix to account for phrases with apostrophes in ko templates.
2015-10-22 17:43:38 -05:00
Olga Kopylova 248dbfba00 MAGETWO-43224: Fix old builds
- removed SuppressWarnings
2015-10-01 21:51:34 -05:00
Igor Melnikov d52a7828de MAGETWO-43224: Fix old builds
Tests
2015-09-25 13:38:16 -05:00
Eddie Lau 2de1a8078f MAGETWO-42268: Fix new builds
- fixed code mess
2015-09-25 11:43:21 -05:00
Maddy Chellathurai 82cb7f83fc MAGETWO-42268: Fix new builds
- static test fixes
2015-09-25 06:11:59 -05:00
Maddy Chellathurai 122d870726 MAGETWO-42264: Check and fix implementation for themes
- fixing constructor call of files
2015-09-24 14:17:22 -05:00
Maddy Chellathurai 166d793de3 MAGETWO-42268: Fix new builds
- fixing phpmd error
2015-09-24 10:25:33 -05:00
Ivan Gavryshko 07fa800cf7 MAGETWO-43019: Remove Support of Custom Base Path from \Magento\Framework\App\Utility\Files
- removed path from constructor in Magento\Framework\App\Utility\Files
- removed getPhpFiles mwdhod from Magento\Framework\App\Utility\Files
- code and test changes according to it
2015-09-21 19:19:51 -05:00
Olga Kopylova aa2b86e739 MAGETWO-42264: Check and fix implementation for themes
- code style fixes
- updated Utility\Files to work with themes registrar
2015-09-21 15:24:23 -05:00
Eddie Lau 7be579377d MAGETWO-42265: Fix code that depends on module location
- addressing CR feedback
2015-09-16 12:02:01 -05:00
Eddie Lau d9b2a7d39b Merge branch 'develop_mainline' into MAGETWO-40848-components-from-vendor
Conflicts:
	app/code/Magento/DesignEditor/Model/Editor/Tools/Controls/Factory.php
	app/code/Magento/DownloadableImportExport/composer.json
	app/code/Magento/Theme/Console/Command/ThemeUninstallCommand.php
	app/code/Magento/Theme/Test/Unit/Console/Command/ThemeUninstallCommandTest.php
	app/code/Magento/Translation/Model/Js/DataProvider.php
	composer.lock
	dev/tests/integration/testsuite/Magento/DesignEditor/Model/_files/design/themes.php
	dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_classes.php
	dev/tools/Magento/Tools/Migration/Acl/Db/Logger/File.php
	dev/tools/Magento/Tools/Migration/Acl/FileManager.php
	dev/tools/Magento/Tools/Migration/System/Writer/FileSystem.php
2015-09-15 16:12:34 -05:00
Sergey Ivashchenko 61c32a6d24 MAGETWO-41712: Cannot install Magento on Mysql cluster 2015-09-09 18:40:28 +03:00
Sergey Ivashchenko 75b790f51b MAGETWO-41133: js-translation.json contains redundant information when Translate Inline is enabledjs-translation.json contains redundant information when Translate Inline is enabled 2015-09-07 20:03:21 +03:00
Maddy Chellathurai d284575eeb MAGETWO-42260: Implement registrar
- Replacing usage of ModuleRegistrar
2015-09-04 14:24:21 -05:00
Sergey Ivashchenko 8de6652c14 MAGETWO-41133: js-translation.json contains redundant information when Translate Inline is enabled 2015-09-04 12:15:18 +03:00
Eddie Lau 44868a7cfa MAGETWO-42265: Fix code that depends on module location
- fixed occurences of hard coded app/code in Utility\Files class
2015-09-03 17:48:37 -05:00
Olga Nakonechna 22e5c30130 MAGETWO-40669: Create plug-in in InlineTranslate module 2015-08-04 16:59:07 +03:00
Bart Delvaux 606d28d8e1 Fix unit test 2015-07-16 14:02:43 +02:00
Bart Delvaux b63aa5f7a3 Fix unit test 2015-07-16 12:23:20 +02:00
Bart Delvaux aad62df2f1 The strings of static html files (like minicart in checkout) are not loaded in the js-translate.json
With this fix, these files will be in the list and could be translated trough the jstranslator function
2015-07-06 17:24:55 +02:00
Bryant Luk 2657c259f5 MAGETWO-36763: Add @api annotations to Translation module
- Add @api annotation to DataProviderInterface in Translation module
2015-05-06 10:11:31 -05:00
Yurii Torbyk 6d59375c52 MAGETWO-34991: Eliminate exceptions from the list Part2 2015-03-26 17:33:05 +02:00
Sergey Ivashchenko 585b8d9642 MAGETWO-34363: Pull request processing 2015-03-14 16:18:53 +02:00
Sergey Ivashchenko 3e9c44cf1f MAGETWO-34363: Pull request processing 2015-03-11 19:17:58 +02:00
Sergey Ivashchenko 470cc6af6b MAGETWO-30170: Cover changes with unit tests 2015-03-06 11:36:01 +02:00
Sergey Ivashchenko 27fe25f26c MAGETWO-30170: Cover changes with unit tests 2015-03-05 18:55:34 +02:00
Sergey Ivashchenko c45c1e171d MAGETWO-30169: Gather all phrases and compile a file 2015-03-04 19:28:00 +02:00
Sergey Ivashchenko 7522b39e92 MAGETWO-30169: Gather all phrases and compile a file 2015-03-04 18:03:09 +02:00
Sergey Ivashchenko d96b3b9ab0 MAGETWO-30169: Gather all phrases and compile a file 2015-03-04 16:39:45 +02:00
Sergey Ivashchenko 7590a0fd6c MAGETWO-30169: Gather all phrases and compile a file 2015-03-04 15:39:40 +02:00