[Chore] Remove the code that is no longer in use.
This commit is contained in:
@@ -58,10 +58,6 @@ main_window:
|
||||
deny_adjust_ui_size: "Keep it at this size"
|
||||
accept_adjust_ui_size: "Set it smaller and restart"
|
||||
|
||||
# [Deprecated]
|
||||
# translation_engine_limit_error: "It has automatically disabled the translation feature.\nAccess has been temporarily restricted\ndue to an excessive number of requests to the translation engine.\nPlease wait for a while, restart VRCT, and try again."
|
||||
# accept_translation_engine_limit_error: Accept and close
|
||||
|
||||
|
||||
selectable_language_window:
|
||||
title_your_language: Select Your Language
|
||||
|
||||
@@ -58,10 +58,6 @@ main_window:
|
||||
deny_adjust_ui_size: このサイズのままで良い
|
||||
accept_adjust_ui_size: 小さく設定して再起動
|
||||
|
||||
# [Deprecated]
|
||||
# translation_engine_limit_error: "翻訳機能を自動的に停止しました。\n翻訳エンジンへのリクエストが多すぎるため\n一時的にアクセスが制限されています。\nしばらく待ってから、VRCTの再起動をしてもう一度試してみてください。"
|
||||
# accept_translation_engine_limit_error: 了承して閉じる
|
||||
|
||||
|
||||
selectable_language_window:
|
||||
title_your_language: あなたの言語
|
||||
|
||||
@@ -57,11 +57,6 @@ main_window:
|
||||
accept_adjust_ui_size: "작게 줄이고 재부팅"
|
||||
|
||||
|
||||
# [Deprecated]
|
||||
# translation_engine_limit_error: "번역 기능이 자동으로 중지되었습니다. \n번역 엔진에 대한 요청이 너무 많아 \n일시적으로 사용이 제한되었습니다. \n잠시 기다렸다가 VRCT를 재부팅한 후 다시 시도해 보십시오."
|
||||
# accept_translation_engine_limit_error: 확인하고 닫기
|
||||
|
||||
|
||||
selectable_language_window:
|
||||
title_your_language: 당신의 언어
|
||||
title_target_language: 상대방의 언어
|
||||
|
||||
32
view.py
32
view.py
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user