mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Started to integrate localization for main runner
This commit is contained in:
parent
dba42192dd
commit
a04b4b1737
|
@ -0,0 +1,24 @@
|
|||
#Contains all ActionManager/main_runner.py strings
|
||||
import Defs.ThemeManager.theme as theme
|
||||
from Defs.LocalizationManager.localization import _
|
||||
|
||||
|
||||
default_palette = theme.default_palette
|
||||
|
||||
def check_version(): #WILL BE MOVED FROM HERE
|
||||
with open('version.txt') as f: # THIS WILL BE MOVED TOO
|
||||
#ver_current = f.read() # DONT REMOVE THESE COMMENTS
|
||||
#version = ver_current.strip() # TO-DO
|
||||
return f.read().strip()
|
||||
version = check_version()
|
||||
|
||||
lang_start_main_menu = {
|
||||
"version_by_darksec": _(" {2}[{0}v {3}{2}]{0} BY:DARKSEC{1}").format(default_palette[4], default_palette[2], default_palette[0], version),
|
||||
"short_description": _("{1}[{0} Modern Phishing Tool With Advanced Functionality {1}]").format(default_palette[2],default_palette[0]),
|
||||
"features_summary" : _("{1}[{0} PHISHING-KEYLOGGER-INFORMATION COLLECTOR-ALL_IN_ONE_TOOL-SOCIALENGINEERING {1}]").format(default_palette[2], default_palette[0]),
|
||||
"down_line" : _("{0}________________________________________________________________________________").format(default_palette[0])
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
#
|
Loading…
Reference in New Issue
Block a user