mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
[Lang] Update Lang Comment
This commit is contained in:
parent
41b879716f
commit
881c94a619
2
EDMC.py
2
EDMC.py
@ -163,7 +163,7 @@ def main(): # noqa: C901, CCR001
|
|||||||
updater = Updater()
|
updater = Updater()
|
||||||
newversion: EDMCVersion | None = updater.check_appcast()
|
newversion: EDMCVersion | None = updater.check_appcast()
|
||||||
if newversion:
|
if newversion:
|
||||||
# LANG: Updater Available Text
|
# LANG: Update Available Text
|
||||||
newverstr = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
newverstr = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
||||||
print(f'{appversion()} ({newverstr})')
|
print(f'{appversion()} ({newverstr})')
|
||||||
else:
|
else:
|
||||||
|
@ -789,5 +789,5 @@
|
|||||||
/* stats.py: Status dialog title; In files: stats.py:418; */
|
/* stats.py: Status dialog title; In files: stats.py:418; */
|
||||||
"Ships" = "Ships";
|
"Ships" = "Ships";
|
||||||
|
|
||||||
/* update.py: Updater Available Text; In files: update.py:229; */
|
/* update.py: Update Available Text; In files: update.py:229; */
|
||||||
"{NEWVER} is available" = "{NEWVER} is available";
|
"{NEWVER} is available" = "{NEWVER} is available";
|
@ -226,7 +226,7 @@ class Updater:
|
|||||||
|
|
||||||
if newversion and self.root:
|
if newversion and self.root:
|
||||||
status = self.root.nametowidget(f'.{appname.lower()}.status')
|
status = self.root.nametowidget(f'.{appname.lower()}.status')
|
||||||
# LANG: Updater Available Text
|
# LANG: Update Available Text
|
||||||
status['text'] = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
status['text'] = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
||||||
self.root.update_idletasks()
|
self.root.update_idletasks()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user