File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Plugins/Flow.Launcher.Plugin.WindowsSettings/Helper Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -28,30 +28,10 @@ internal static IEnumerable<WindowsSetting> TranslateAllSettings(in IEnumerable<
2828 var name = Resources . ResourceManager . GetString ( settings . Name ) ;
2929 var type = Resources . ResourceManager . GetString ( settings . Type ) ;
3030
31- if ( string . IsNullOrEmpty ( area ) )
32- {
33- Log . Warn ( $ "Resource string for [Area{ settings . Area } ] not found", typeof ( Main ) ) ;
34- }
35-
36- if ( string . IsNullOrEmpty ( name ) )
37- {
38- Log . Warn ( $ "Resource string for [{ settings . Name } ] not found", typeof ( Main ) ) ;
39- }
40-
41- if ( string . IsNullOrEmpty ( type ) )
42- {
43- Log . Warn ( $ "Resource string for [{ settings . Name } ] not found", typeof ( Main ) ) ;
44- }
45-
46-
4731
4832 if ( ! string . IsNullOrEmpty ( settings . Note ) )
4933 {
5034 var note = Resources . ResourceManager . GetString ( settings . Note ) ;
51- if ( string . IsNullOrEmpty ( note ) )
52- {
53- Log . Warn ( $ "Resource string for [{ settings . Note } ] not found", typeof ( Main ) ) ;
54- }
5535
5636 settings . Note = note ?? settings . Note ?? string . Empty ;
5737 }
@@ -67,11 +47,6 @@ internal static IEnumerable<WindowsSetting> TranslateAllSettings(in IEnumerable<
6747 }
6848
6949 var translatedAltName = Resources . ResourceManager . GetString ( altName ) ;
70- if ( string . IsNullOrEmpty ( translatedAltName ) )
71- {
72- Log . Warn ( $ "Resource string for [{ altName } ] not found", typeof ( Main ) ) ;
73- }
74-
7550 translatedAltNames . Add ( translatedAltName ?? altName ) ;
7651 }
7752
You can’t perform that action at this time.
0 commit comments