Closed kristho91 closed 4 years ago
There is currently an issue with translation strings in this theme. When running "npm run scan-translations" I get this:
Broken Smarty translation strings in theme templates: [ [ 'modules/beesblogrecentposts/views/templates/hooks/home.tpl', '{l s=\'Read latest posts from our blog.\' mod=\'beesblog\'}' ], [ 'modules/blocknewproducts/views/templates/hook/blocknewproducts_home.tpl', '{l s=\'Our\' mod=\'blockbestsellers\'}', '{l s=\'new\' mod=\'blockbestsellers\'}', '{l s=\'Products\'}', '{l s=\'Browse our new arrivals.\' mod=\'blockbestsellers\'}' ], [ 'modules/blocklayered/blocklayered.tpl', '{l s=\'%1$s: %2$s - %3$s\'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}' ] ] [13:58:34] Finished 'scan-translations' after 1.92 s
{l s=\'%1$s: %2$s - %3$s\'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}
is a false possitive. Obviously the scan-translation tool needs some improvements, as it can't handle nested curly brackets
There is currently an issue with translation strings in this theme. When running "npm run scan-translations" I get this: