MOBILE-2376 siteplugins: Fix lang params subproperties
parent
a340c28cbf
commit
22de3d930a
|
@ -67,6 +67,8 @@ export class CoreLangProvider {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Replace the way to access subproperties.
|
||||||
|
value = value.replace(/\$a->/gm, '$a.');
|
||||||
// Add another curly bracket to string params ({$a} -> {{$a}}).
|
// Add another curly bracket to string params ({$a} -> {{$a}}).
|
||||||
value = value.replace(/{([^ ]+)}/gm, '{{$1}}');
|
value = value.replace(/{([^ ]+)}/gm, '{{$1}}');
|
||||||
// Make sure we didn't add to many brackets in some case.
|
// Make sure we didn't add to many brackets in some case.
|
||||||
|
|
Loading…
Reference in New Issue