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<
28
28
var name = Resources . ResourceManager . GetString ( settings . Name ) ;
29
29
var type = Resources . ResourceManager . GetString ( settings . Type ) ;
30
30
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
-
47
31
48
32
if ( ! string . IsNullOrEmpty ( settings . Note ) )
49
33
{
50
34
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
- }
55
35
56
36
settings . Note = note ?? settings . Note ?? string . Empty ;
57
37
}
@@ -67,11 +47,6 @@ internal static IEnumerable<WindowsSetting> TranslateAllSettings(in IEnumerable<
67
47
}
68
48
69
49
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
-
75
50
translatedAltNames . Add ( translatedAltName ?? altName ) ;
76
51
}
77
52
You can’t perform that action at this time.
0 commit comments