From ffdb651998a4bdce2eaa8bae51045537f8311810 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Tue, 15 Aug 2023 15:22:19 +0100 Subject: [PATCH] Update unavailable Visual Editor tooltip (#14285) GitOrigin-RevId: 3f19c2a3c55199c8b25aa5ebe0c4f1222aa84363 --- services/web/frontend/extracted-translations.json | 2 +- .../features/source-editor/components/editor-switch-legacy.tsx | 2 +- .../js/features/source-editor/components/editor-switch.tsx | 2 +- services/web/locales/en.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index d64745dd76..91d7b359ad 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1039,7 +1039,6 @@ "thanks_for_subscribing_you_help_sl": "", "thanks_settings_updated": "", "the_following_files_already_exist_in_this_project": "", - "the_visual_editor_is_only_available_for_tex_files": "", "the_width_you_choose_here_is_based_on_the_width_of_the_text_in_your_document": "", "their_projects_will_be_transferred_to_another_user": "", "then_x_price_per_month": "", @@ -1195,6 +1194,7 @@ "view_your_invoices": "", "viewing_x": "", "visual_editor": "", + "visual_editor_is_only_available_for_tex_files": "", "want_change_to_apply_before_plan_end": "", "we_cant_find_any_sections_or_subsections_in_this_file": "", "we_logged_you_in": "", diff --git a/services/web/frontend/js/features/source-editor/components/editor-switch-legacy.tsx b/services/web/frontend/js/features/source-editor/components/editor-switch-legacy.tsx index a53417deef..18e068855a 100644 --- a/services/web/frontend/js/features/source-editor/components/editor-switch-legacy.tsx +++ b/services/web/frontend/js/features/source-editor/components/editor-switch-legacy.tsx @@ -161,7 +161,7 @@ const RichTextToggle: FC<{ if (disabled) { return ( __endTime__", "visual_editor": "Visual Editor", + "visual_editor_is_only_available_for_tex_files": "Visual Editor is only available for TeX files", "want_change_to_apply_before_plan_end": "If you wish this change to apply before the end of your current billing period, please contact us.", "we_cant_find_any_sections_or_subsections_in_this_file": "We can’t find any sections or subsections in this file", "we_logged_you_in": "We have logged you in.",