Fix custom no results again
Since we added .i18n() call to upstream, it started overwriting our text from the default data-i18n. Change data-i18n instead. Bug: T188860 Change-Id: Ib7e9fb9590ace9c2a4ce2e2afb5a740ae4346be6
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
// Customize the message
|
||||
$defaultTemplate
|
||||
.find( '.uls-no-results-found-title' )
|
||||
.text( mw.msg( 'ext-uls-compact-no-results' ) );
|
||||
.data( 'i18n', 'ext-uls-compact-no-results' );
|
||||
return $defaultTemplate;
|
||||
}
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user