File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1312,8 +1312,8 @@ abstract class UI5Element extends HTMLElement {
13121312 ] ) ;
13131313 const [ i18nBundles ] = result ;
13141314 Object . entries ( this . getMetadata ( ) . getI18n ( ) ) . forEach ( ( pair , index ) => {
1315- const propertyName = pair [ 0 ] ;
1316- this . i18nBundleStorage [ propertyName ] = i18nBundles [ index ] ;
1315+ const bundleName = pair [ 1 ] . bundleName ;
1316+ this . i18nBundleStorage [ bundleName ] = i18nBundles [ index ] ;
13171317 } ) ;
13181318 this . asyncFinished = true ;
13191319 } ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const i18n = (bundleName: string): i18nDecorator => {
2323
2424 Object . defineProperty ( target , propertyName , {
2525 get ( ) {
26- return target . i18nBundles [ propertyName ] ;
26+ return target . i18nBundles [ bundleName ] ;
2727 } ,
2828 set ( ) { } ,
2929 } ) ;
You can’t perform that action at this time.
0 commit comments