diff --git a/src/i18n/da-DK.properties b/src/i18n/da-DK.properties index 92eaaf2a0..8f757e90f 100644 --- a/src/i18n/da-DK.properties +++ b/src/i18n/da-DK.properties @@ -29,7 +29,7 @@ previous_file=Forrige fil # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Næste fil # Text shown while preview is loading -generating_preview=Genererer eksempelvisning... +loading_preview=Genererer eksempelvisning... # Text for download button shown while preview is loading download_file=Download fil # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/de-DE.properties b/src/i18n/de-DE.properties index 08bac964a..401ea4c93 100644 --- a/src/i18n/de-DE.properties +++ b/src/i18n/de-DE.properties @@ -29,7 +29,7 @@ previous_file=Vorherige Datei # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Nächste Datei # Text shown while preview is loading -generating_preview=Vorschau wird erzeugt ... +loading_preview=Vorschau wird erzeugt ... # Text for download button shown while preview is loading download_file=Datei herunterladen # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/en-AU.properties b/src/i18n/en-AU.properties index 79dbfe729..4159a8d86 100644 --- a/src/i18n/en-AU.properties +++ b/src/i18n/en-AU.properties @@ -29,7 +29,7 @@ previous_file=Previous file # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Next file # Text shown while preview is loading -generating_preview=Generating Preview... +loading_preview=Generating Preview... # Text for download button shown while preview is loading download_file=Download File # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/en-CA.properties b/src/i18n/en-CA.properties index 79dbfe729..4159a8d86 100644 --- a/src/i18n/en-CA.properties +++ b/src/i18n/en-CA.properties @@ -29,7 +29,7 @@ previous_file=Previous file # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Next file # Text shown while preview is loading -generating_preview=Generating Preview... +loading_preview=Generating Preview... # Text for download button shown while preview is loading download_file=Download File # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/en-GB.properties b/src/i18n/en-GB.properties index 79dbfe729..4159a8d86 100644 --- a/src/i18n/en-GB.properties +++ b/src/i18n/en-GB.properties @@ -29,7 +29,7 @@ previous_file=Previous file # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Next file # Text shown while preview is loading -generating_preview=Generating Preview... +loading_preview=Generating Preview... # Text for download button shown while preview is loading download_file=Download File # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/en-US.properties b/src/i18n/en-US.properties index 79dbfe729..1bfcb5ee6 100644 --- a/src/i18n/en-US.properties +++ b/src/i18n/en-US.properties @@ -29,7 +29,7 @@ previous_file=Previous file # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Next file # Text shown while preview is loading -generating_preview=Generating Preview... +loading_preview=Loading Preview... # Text for download button shown while preview is loading download_file=Download File # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/es-ES.properties b/src/i18n/es-ES.properties index b6284f021..161777994 100644 --- a/src/i18n/es-ES.properties +++ b/src/i18n/es-ES.properties @@ -29,7 +29,7 @@ previous_file=Archivo anterior # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Archivo siguiente # Text shown while preview is loading -generating_preview=Generando vista previa... +loading_preview=Generando vista previa... # Text for download button shown while preview is loading download_file=Descargar archivo # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/fi-FI.properties b/src/i18n/fi-FI.properties index a20027b61..e34e3c4f9 100644 --- a/src/i18n/fi-FI.properties +++ b/src/i18n/fi-FI.properties @@ -29,7 +29,7 @@ previous_file=Edellinen tiedosto # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Seuraava tiedosto # Text shown while preview is loading -generating_preview=Luodaan esikatselu... +loading_preview=Luodaan esikatselu... # Text for download button shown while preview is loading download_file=Lataa tiedosto # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/fr-CA.properties b/src/i18n/fr-CA.properties index 344df52e8..5d49601ac 100644 --- a/src/i18n/fr-CA.properties +++ b/src/i18n/fr-CA.properties @@ -29,7 +29,7 @@ previous_file=Fichier précédent # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Fichier suivant # Text shown while preview is loading -generating_preview=Génération de l'aperçu... +loading_preview=Génération de l'aperçu... # Text for download button shown while preview is loading download_file=Télécharger le fichier # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/fr-FR.properties b/src/i18n/fr-FR.properties index 344df52e8..5d49601ac 100644 --- a/src/i18n/fr-FR.properties +++ b/src/i18n/fr-FR.properties @@ -29,7 +29,7 @@ previous_file=Fichier précédent # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Fichier suivant # Text shown while preview is loading -generating_preview=Génération de l'aperçu... +loading_preview=Génération de l'aperçu... # Text for download button shown while preview is loading download_file=Télécharger le fichier # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/it-IT.properties b/src/i18n/it-IT.properties index 19a418588..e33ceea55 100644 --- a/src/i18n/it-IT.properties +++ b/src/i18n/it-IT.properties @@ -29,7 +29,7 @@ previous_file=File precedente # Accessible text for right navigation arrow that navigates user to next file in collection next_file=File successivo # Text shown while preview is loading -generating_preview=Creazione anteprima in corso... +loading_preview=Creazione anteprima in corso... # Text for download button shown while preview is loading download_file=Scarica file # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/ja-JP.properties b/src/i18n/ja-JP.properties index c3b0fe08b..1b7116327 100644 --- a/src/i18n/ja-JP.properties +++ b/src/i18n/ja-JP.properties @@ -29,7 +29,7 @@ previous_file=前のファイル # Accessible text for right navigation arrow that navigates user to next file in collection next_file=次のファイル # Text shown while preview is loading -generating_preview=プレビューを生成中... +loading_preview=プレビューを生成中... # Text for download button shown while preview is loading download_file=ファイルのダウンロード # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/ko-KR.properties b/src/i18n/ko-KR.properties index 88d4a0a80..05bbb4680 100644 --- a/src/i18n/ko-KR.properties +++ b/src/i18n/ko-KR.properties @@ -29,7 +29,7 @@ previous_file=이전 파일 # Accessible text for right navigation arrow that navigates user to next file in collection next_file=다음 파일 # Text shown while preview is loading -generating_preview=미리 보기 생성 중... +loading_preview=미리 보기 생성 중... # Text for download button shown while preview is loading download_file=파일 다운로드 # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/nb-NO.properties b/src/i18n/nb-NO.properties index 4f2869d23..c9e3ad1d3 100644 --- a/src/i18n/nb-NO.properties +++ b/src/i18n/nb-NO.properties @@ -29,7 +29,7 @@ previous_file=Forrige fil # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Neste fil # Text shown while preview is loading -generating_preview=Genererer forhåndsvisning ... +loading_preview=Genererer forhåndsvisning ... # Text for download button shown while preview is loading download_file=Last ned fil # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/nl-NL.properties b/src/i18n/nl-NL.properties index 63c031c32..5f0c742df 100644 --- a/src/i18n/nl-NL.properties +++ b/src/i18n/nl-NL.properties @@ -29,7 +29,7 @@ previous_file=Vorig bestand # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Volgend bestand # Text shown while preview is loading -generating_preview=Voorbeeld genereren... +loading_preview=Voorbeeld genereren... # Text for download button shown while preview is loading download_file=Bestand downloaden # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/pl-PL.properties b/src/i18n/pl-PL.properties index 21521bcd0..6fb7f7186 100644 --- a/src/i18n/pl-PL.properties +++ b/src/i18n/pl-PL.properties @@ -29,7 +29,7 @@ previous_file=Poprzedni plik # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Następny plik # Text shown while preview is loading -generating_preview=Trwa generowanie podglądu... +loading_preview=Trwa generowanie podglądu... # Text for download button shown while preview is loading download_file=Pobierz plik # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/pt-BR.properties b/src/i18n/pt-BR.properties index 1e2998e0b..4de659d02 100644 --- a/src/i18n/pt-BR.properties +++ b/src/i18n/pt-BR.properties @@ -29,7 +29,7 @@ previous_file=Arquivo anterior # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Próximo arquivo # Text shown while preview is loading -generating_preview=Gerando visualização... +loading_preview=Gerando visualização... # Text for download button shown while preview is loading download_file=Baixar arquivo # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/ru-RU.properties b/src/i18n/ru-RU.properties index 4de792a02..a6f42e191 100644 --- a/src/i18n/ru-RU.properties +++ b/src/i18n/ru-RU.properties @@ -29,7 +29,7 @@ previous_file=Предыдущий файл # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Следующий файл # Text shown while preview is loading -generating_preview=Создание предпросмотра... +loading_preview=Создание предпросмотра... # Text for download button shown while preview is loading download_file=Скачать файл # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/sv-SE.properties b/src/i18n/sv-SE.properties index ca9b78df2..b085e4fe4 100644 --- a/src/i18n/sv-SE.properties +++ b/src/i18n/sv-SE.properties @@ -29,7 +29,7 @@ previous_file=Föregående fil # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Nästa fil # Text shown while preview is loading -generating_preview=Genererar förhandsgranskning... +loading_preview=Genererar förhandsgranskning... # Text for download button shown while preview is loading download_file=Hämta fil # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/tr-TR.properties b/src/i18n/tr-TR.properties index 4c15ec1c7..125a7f324 100644 --- a/src/i18n/tr-TR.properties +++ b/src/i18n/tr-TR.properties @@ -29,7 +29,7 @@ previous_file=Önceki dosya # Accessible text for right navigation arrow that navigates user to next file in collection next_file=Sonraki dosya # Text shown while preview is loading -generating_preview=Ön Görüntüleme Oluşturuluyor... +loading_preview=Ön Görüntüleme Oluşturuluyor... # Text for download button shown while preview is loading download_file=Dosyayı İndir # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/zh-CN.properties b/src/i18n/zh-CN.properties index c4ede4d02..f26e8d5e8 100644 --- a/src/i18n/zh-CN.properties +++ b/src/i18n/zh-CN.properties @@ -29,7 +29,7 @@ previous_file=上一个文件 # Accessible text for right navigation arrow that navigates user to next file in collection next_file=下一个文件 # Text shown while preview is loading -generating_preview=正在生成预览... +loading_preview=正在生成预览... # Text for download button shown while preview is loading download_file=下载文件 # Text shown when a text file has been truncated due to size limits. diff --git a/src/i18n/zh-TW.properties b/src/i18n/zh-TW.properties index fb0083b25..91a60492d 100644 --- a/src/i18n/zh-TW.properties +++ b/src/i18n/zh-TW.properties @@ -29,7 +29,7 @@ previous_file=上一個檔案 # Accessible text for right navigation arrow that navigates user to next file in collection next_file=下一個檔案 # Text shown while preview is loading -generating_preview=正在產生預覽... +loading_preview=正在產生預覽... # Text for download button shown while preview is loading download_file=下載檔案 # Text shown when a text file has been truncated due to size limits. diff --git a/src/lib/__tests__/ui-test.js b/src/lib/__tests__/ui-test.js index 3cbf5a88a..f0878fde5 100644 --- a/src/lib/__tests__/ui-test.js +++ b/src/lib/__tests__/ui-test.js @@ -52,7 +52,7 @@ describe('lib/ui', () => { // Check loading state const loadingWrapperEl = resultEl.querySelector(constants.SELECTOR_BOX_PREVIEW_LOADING_WRAPPER); expect(loadingWrapperEl).to.contain(constants.SELECTOR_BOX_PREVIEW_ICON); - expect(loadingWrapperEl).to.contain.html('Generating Preview...'); + expect(loadingWrapperEl).to.contain.html('Loading Preview...'); expect(loadingWrapperEl).to.contain.html('Download File'); }); diff --git a/src/lib/ui.js b/src/lib/ui.js index be0f4f146..546093e02 100644 --- a/src/lib/ui.js +++ b/src/lib/ui.js @@ -74,7 +74,7 @@ function setupLoading() { iconWrapperEl.innerHTML = ICON_FILE_DEFAULT; const loadingTextEl = loadingWrapperEl.querySelector(SELECTOR_BOX_PREVIEW_LOADING_TEXT); - loadingTextEl.textContent = __('generating_preview'); + loadingTextEl.textContent = __('loading_preview'); const loadingDownloadButtonEl = loadingWrapperEl.querySelector(SELECTOR_BOX_PREVIEW_BTN_LOADING_DOWNLOAD); loadingDownloadButtonEl.textContent = __('download_file');