@@ -2288,7 +2288,7 @@ function RemoteFunctions(config = {}) {
22882288 <div class="phoenix-ribbon-header-left">
22892289 <div class="phoenix-ribbon-search">
22902290 <input type="text" placeholder="${ config . strings . imageGallerySearchPlaceholder } " />
2291- <button class="phoenix-ribbon-search-btn">Search </button>
2291+ <button class="phoenix-ribbon-search-btn">${ config . strings . imageGallerySearchButton } </button>
22922292 </div>
22932293 <div class="phoenix-ribbon-select">
22942294 <button class="phoenix-select-image-btn" title="${ config . strings . imageGallerySelectFromComputer } ">
@@ -2381,7 +2381,7 @@ function RemoteFunctions(config = {}) {
23812381 this . _updateSearchInput ( searchQuery ) ;
23822382 this . _updateCache ( searchQuery , data , append ) ;
23832383 } else if ( ! append ) {
2384- this . _showError ( 'No images found' ) ;
2384+ this . _showError ( config . strings . imageGalleryNoImages ) ;
23852385 }
23862386
23872387 if ( append ) {
@@ -2392,7 +2392,7 @@ function RemoteFunctions(config = {}) {
23922392 . catch ( error => {
23932393 console . error ( 'Failed to fetch images:' , error ) ;
23942394 if ( ! append ) {
2395- this . _showError ( 'Failed to load images' ) ;
2395+ this . _showError ( config . strings . imageGalleryLoadError ) ;
23962396 } else {
23972397 this . _isLoadingMore = false ;
23982398 this . _hideLoadingMore ( ) ;
@@ -2540,7 +2540,7 @@ function RemoteFunctions(config = {}) {
25402540 const rowElement = this . _shadow . querySelector ( '.phoenix-ribbon-row' ) ;
25412541 if ( ! rowElement ) { return ; }
25422542
2543- rowElement . innerHTML = 'Loading images...' ;
2543+ rowElement . innerHTML = config . strings . imageGalleryLoadingInitial ;
25442544 rowElement . className = 'phoenix-ribbon-row phoenix-ribbon-loading' ;
25452545 } ,
25462546
@@ -2551,7 +2551,7 @@ function RemoteFunctions(config = {}) {
25512551 // when loading more images we need to show the message at the end of the image ribbon
25522552 const loadingIndicator = window . document . createElement ( 'div' ) ;
25532553 loadingIndicator . className = 'phoenix-loading-more' ;
2554- loadingIndicator . textContent = 'Loading...' ;
2554+ loadingIndicator . textContent = config . strings . imageGalleryLoadingMore ;
25552555 rowElement . appendChild ( loadingIndicator ) ;
25562556 } ,
25572557
0 commit comments