From d903d80410568d3854b8c22bbb761c76284cca36 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 15 Dec 2020 14:49:22 +0000 Subject: [PATCH] Make 'Shutting down...' text translatable. --- EDMarketConnector.py | 2 +- L10n/en.template | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index b1b2a55f..0607afaa 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -1061,7 +1061,7 @@ class AppWindow(object): config.set('geometry', f'+{x}+{y}') # Let the user know we're shutting down. - self.status['text'] = 'Shutting down...' + self.status['text'] = _('Shutting down...') self.w.update_idletasks() logger.info('Starting shutdown procedures...') diff --git a/L10n/en.template b/L10n/en.template index cf14aa37..262b36d9 100644 --- a/L10n/en.template +++ b/L10n/en.template @@ -454,6 +454,9 @@ /* Setting to decide which ship outfitting website to link to - either E:D Shipyard or Coriolis. [prefs.py] */ "Shipyard" = "Shipyard"; +/* Status line text that appears when process exit sequence starts [EDMarketConnector.py] */ +"Shutting down..." = "Shutting down..."; + /* Empire rank. [stats.py] */ "Squire" = "Squire";