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!",