Skip to content

Commit

Permalink
Update: Change Preview loading message (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjin authored Jun 6, 2017
1 parent 00dedab commit a8457f0
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/i18n/da-DK.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/de-DE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-AU.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-CA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-GB.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/es-ES.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fi-FI.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fr-CA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fr-FR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/it-IT.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/ja-JP.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/ko-KR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/nb-NO.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/nl-NL.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/pl-PL.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/pt-BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/ru-RU.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/sv-SE.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/tr-TR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/zh-CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/zh-TW.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/__tests__/ui-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit a8457f0

Please sign in to comment.