[Chore] Remove the code that is no longer in use.

This commit is contained in:
Sakamoto Shiina
2024-01-22 22:56:14 +09:00
parent 79733f62d5
commit 96c8d071f1
4 changed files with 0 additions and 45 deletions

32
view.py
View File

@@ -1342,21 +1342,6 @@ class View():
# ※Below 40% of the UI size is not supported, and we cannot handle it at this time.
# [Deprecated]
# def translationEngineLimitErrorProcess(self):
# # turn off translation switch.
# vrct_gui.translation_switch_box.deselect()
# vrct_gui.translation_frame.markToggleManually(False)
# # disable translation feature.
# vrct_gui._changeMainWindowWidgetsStatus("disabled", ["translation_switch"], to_lock_state=True)
# # print system message that mention to stopped translation feature.
# view.printToTextbox_TranslationEngineLimitError()
# view.showTheLimitOfTranslationEngineConfirmationModal()
# Show Modal
def _showDisplayOverUiSizeConfirmationModal(self):
@@ -1395,23 +1380,6 @@ class View():
# [Deprecated]
# def showTheLimitOfTranslationEngineConfirmationModal(self):
# self.foregroundOffIfForegroundEnabled()
# self.view_variable.VAR_LABEL_MAIN_WINDOW_COVER_MESSAGE.set("")
# vrct_gui.main_window_cover.show()
# self.view_variable.CALLBACK_HIDE_CONFIRMATION_MODAL=self._hideInformationModal
# self.view_variable.CALLBACK_ACCEPTED_CONFIRMATION_MODAL=self._hideInformationModal
# self.view_variable.VAR_MESSAGE_CONFIRMATION_MODAL.set(i18n.t("main_window.confirmation_message.translation_engine_limit_error"))
# self.view_variable.VAR_LABEL_CONFIRMATION_MODAL_ACCEPT_BUTTON.set(i18n.t("main_window.confirmation_message.accept_translation_engine_limit_error"))
# vrct_gui.information_modal.show(hide_title_bar=False, close_when_focusout=False)
# Hide Modal
def _hideInformationModal(self):
vrct_gui.information_modal.hide()