From 83da4ad9b4186f89ad201826cd47c660f668c875 Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Fri, 5 Aug 2022 16:00:16 +0100 Subject: [PATCH] Merge pull request #9114 from overleaf/ds-history-page-word-change Changing wording on history page for binaries GitOrigin-RevId: e6ba5f586c195e166b215d35fd3b78c605035b0b --- .../web/app/views/project/editor/history/previewPanelV2.pug | 4 ++-- services/web/locales/en.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/editor/history/previewPanelV2.pug b/services/web/app/views/project/editor/history/previewPanelV2.pug index e8bc1213fa..957c1932e9 100644 --- a/services/web/app/views/project/editor/history/previewPanelV2.pug +++ b/services/web/app/views/project/editor/history/previewPanelV2.pug @@ -17,7 +17,7 @@ navigate-highlights="true" ) .alert.alert-info(ng-if="history.selection.diff.binary") - | We're still working on showing image and binary changes, sorry. Stay tuned! + | #{translate("binary_history_error")} .loading-panel(ng-show="isHistoryLoading()") i.fa.fa-spin.fa-refresh @@ -41,7 +41,7 @@ resize-on="layout:main:resize,history:toggle", ) .alert.alert-info(ng-if="history.selection.file.binary") - | We're still working on showing image and binary changes, sorry. Stay tuned! + | #{translate("binary_history_error")} .loading-panel(ng-show="isHistoryLoading()") i.fa.fa-spin.fa-refresh |   #{translate("loading")}… diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 3a762c6fc3..10cc801c1f 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1781,6 +1781,7 @@ "try_to_compile_despite_errors": "Try to compile despite errors", "stop_on_first_error_enabled_title": "No PDF: Stop on first error enabled", "stop_on_first_error_enabled_description": "<0>“Stop on first error” is enabled. Disabling it may allow the compiler to produce a PDF (but your project will still have errors).", + "binary_history_error":"Preview not available for this file type", "disable_stop_on_first_error": "Disable “Stop on first error”", "free_plan_label": "You’re on the free plan", "free_plan_tooltip": "Click to find out how you could benefit from Overleaf premium features!",