File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Translation/view/base/templates Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
var dependencies,
20
20
timeout;
21
+
21
22
$.initNamespaceStorage('mage-translation-storage');
22
23
$.initNamespaceStorage('mage-translation-file-version');
23
24
timeout = $.localStorage.get('mage-translation-file-version');
25
+
24
26
if (timeout.version !== '<?php /* @escapeNotVerified */
25
27
echo sha1 ($ block ->getTranslationFileTimestamp () . $ block ->getTranslationFilePath ()) ?> ') {
26
28
dependencies = [
27
29
'text!<?php /* @escapeNotVerified */ echo Magento \Translation \Model \Js \Config::DICTIONARY_FILE_NAME ?> ',
28
- 'mage/translate',
29
- 'jquery/jquery-storageapi'
30
+ 'mage/translate'
30
31
];
31
32
32
33
} else {
33
34
dependencies = [
34
- 'mage/translate',
35
- 'jquery/jquery-storageapi'
35
+ 'mage/translate'
36
36
];
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments