From 7e3690f007e9240b9adc27b3e762a07a4d6d4ff5 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Sun, 11 Aug 2024 20:54:10 +1000 Subject: [PATCH] add comment --- Flow.Launcher.Core/Resource/Internationalization.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Core/Resource/Internationalization.cs b/Flow.Launcher.Core/Resource/Internationalization.cs index 0a68805a7..f6f35589d 100644 --- a/Flow.Launcher.Core/Resource/Internationalization.cs +++ b/Flow.Launcher.Core/Resource/Internationalization.cs @@ -58,6 +58,8 @@ namespace Flow.Launcher.Core.Resource private void LoadDefaultLanguage() { + // Removes language files loaded before any plugins were loaded. + // Prevents the language Flow started in from overwriting English if the user switches back to English RemoveOldLanguageFiles(); LoadLanguage(AvailableLanguages.English); _oldResources.Clear();