File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Flow.Launcher.Core/Resource Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,8 @@ private void AddPluginLanguageDirectories()
118
118
var pluginLanguageDir = Path . Combine ( dir , Folder ) ;
119
119
if ( ! Directory . Exists ( pluginLanguageDir ) ) continue ;
120
120
121
- // Check if the language directory contains default language file
122
- if ( File . Exists ( Path . Combine ( pluginLanguageDir , DefaultFile ) ) )
123
- {
124
- // Add the plugin language directory to the list
125
- _languageDirectories . Add ( pluginLanguageDir ) ;
126
- }
127
- else
128
- {
129
- API . LogError ( ClassName , $ "Can't find default language file in path <{ pluginLanguageDir } >") ;
130
- }
121
+ // Check if the language directory contains default language file since it will be checked later
122
+ _languageDirectories . Add ( pluginLanguageDir ) ;
131
123
}
132
124
}
133
125
}
You can’t perform that action at this time.
0 commit comments