MCPcopy Create free account
hub / github.com/DIMFLIX/Spectrum-Security / change_lang_eng

Method change_lang_eng

main.py:604–674  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

602 self.ui.settings_description.setText("Настройки программы")
603
604 def change_lang_eng(self):
605
606 ##==> СТРАНИЦА СКАНИРОВАНИЯ
607 ####################################################
608 self.ui.scanning_choose_btn_full.setText("FULL")
609 self.ui.scanning_choose_btn_folder.setText("FOLDER")
610 self.ui.scanning_choose_btn_file.setText("FILE")
611 self.ui.scanning_start_btn.setText("SCAN")
612
613 self.ui.scanning_choose_btn_full.setStyleSheet(self.ui.scanning_choose_btn_full.styleSheet().replace('width: 23px;', 'width: 35px;'))
614 self.ui.scanning_choose_btn_folder.setStyleSheet(self.ui.scanning_choose_btn_folder.styleSheet().replace('width: 28px;', 'width: 22px;'))
615 self.ui.scanning_choose_btn_file.setStyleSheet(self.ui.scanning_choose_btn_file.styleSheet().replace('width: 32px;', 'width: 37px;'))
616
617
618
619
620
621 ##==> СТРАНИЦА FAQ
622 ####################################################
623 self.ui.faq_small_description_title.setText("Small description")
624 self.ui.faq_small_description_text.setText("<html><head/><body><p>Spectrum Security is a start-up project that is rapidly gaining momentum. We have a fairly large database of viruses, in the amount of 30 million, as well as our own artificial intelligence that can detect any malware.</p></body></html>")
625
626 self.ui.faq_home_page_title.setText("Home Page")
627 self.ui.faq_home_page_text.setText("<html><head/><body><p>The Home page, or the Main page, is responsible for displaying information about the load of your PC. It presents the most important parameters, namely the CPU, RAM and GPU load.</p></body></html>")
628
629 self.ui.faq_scan_page_title.setText("Scanning Page")
630 self.ui.faq_scan_page_text.setText("<html><head/><body><p>In the scan tab on top we are greeted by a small menu consisting of 3 buttons: Full, Folder and File. It is responsible for selecting the scanning mode. Full - scan of your entire computer for viruses. Folder - checking the folder you selected. File - checking the file you selected. Just below this menu is a circular indicator of the scanning process. At the very bottom there is a &quot;Scan&quot; button, after clicking on which a scan will be performed in the mode you selected.</p></body></html>")
631
632 self.ui.faq_virus_storage_page_title.setText("Virus Storage Page")
633 self.ui.faq_virus_storage_page_text.setText("<html><head/><body><p>The Storage tab is responsible for storing and interacting with found viruses. The line with the found threat will contain information: the date of the scan, the type of threat and the path to the malicious file. There are also three buttons, the first is responsible for copying the path to the file, the second for deleting the infected file, and the third for removing it from the list of threats found.</p></body></html>")
634
635 self.ui.faq_faq_page_title.setText("FAQ Page")
636 self.ui.faq_faq_page_text.setText("<html><head/><body><p>The FAQ tab, in which you are actually now, provides various instructions and answers to your questions. In the process of updates, the FAQ library will expand rapidly.</p></body></html>")
637
638 self.ui.faq_settings_page_title.setText("Settings Page")
639 self.ui.faq_settings_page_text.setText("<html><head/><body><p>The Settings tab is responsible for flexibly changing various program parameters to improve its performance.</p></body></html>")
640
641 self.ui.faq_authors_title.setText("Authors")
642 self.ui.faq_authors_text.setText("<html><head/><body><p>Developer - DIMFLIX</p><p>UX/UI Designer and Developer - DIMFLIX </p><p>Logo and Company name- PlayStack </p></body></html>")
643
644 self.faq_page_widgets_settings()
645
646
647 ##==> ХРАНИЛИЩЕ ВИРУСОВ
648 ####################################################
649 font = QFont()
650 font.setFamily(u"Segoe UI")
651 font.setPointSize(11)
652 font.setBold(True)
653 font.setWeight(75)
654 self.ui.virus_storage_main_title_label.setText("VIRUS STORAGE")
655 self.ui.virus_storage_warning.setText("<html><head/><body><p>Warning - the antivirus is under development, which may cause inaccurate virus definitions. A huge request to check the file yourself, in order to avoid deleting valuable information or system files</p></body></html>")
656 self.ui.virus_storage_warning.setFont(font)
657
658
659 ##==> НИЖНЯЯ ПАНЕЛЬ
660 ####################################################
661 self.ui.home_title.setText("Home Page")

Callers 1

eventFilterMethod · 0.95

Calls 1

Tested by

no test coverage detected