@@ -9,10 +9,10 @@ protected override SortOption SortOption
9
9
=> SortOption . Name ;
10
10
11
11
public override string Label
12
- => " Name" . GetLocalizedResource ( ) ;
12
+ => Strings . Name . GetLocalizedResource ( ) ;
13
13
14
14
public override string Description
15
- => " SortByNameDescription" . GetLocalizedResource ( ) ;
15
+ => Strings . SortByNameDescription . GetLocalizedResource ( ) ;
16
16
}
17
17
18
18
internal sealed partial class SortByDateModifiedAction : SortByAction
@@ -21,10 +21,10 @@ protected override SortOption SortOption
21
21
=> SortOption . DateModified ;
22
22
23
23
public override string Label
24
- => " DateModifiedLowerCase" . GetLocalizedResource ( ) ;
24
+ => Strings . DateModifiedLowerCase . GetLocalizedResource ( ) ;
25
25
26
26
public override string Description
27
- => " SortByDateModifiedDescription" . GetLocalizedResource ( ) ;
27
+ => Strings . SortByDateModifiedDescription . GetLocalizedResource ( ) ;
28
28
}
29
29
30
30
internal sealed partial class SortByDateCreatedAction : SortByAction
@@ -33,10 +33,10 @@ protected override SortOption SortOption
33
33
=> SortOption . DateCreated ;
34
34
35
35
public override string Label
36
- => " DateCreated" . GetLocalizedResource ( ) ;
36
+ => Strings . DateCreated . GetLocalizedResource ( ) ;
37
37
38
38
public override string Description
39
- => " SortByDateCreatedDescription" . GetLocalizedResource ( ) ;
39
+ => Strings . SortByDateCreatedDescription . GetLocalizedResource ( ) ;
40
40
}
41
41
42
42
internal sealed partial class SortBySizeAction : SortByAction
@@ -45,10 +45,10 @@ protected override SortOption SortOption
45
45
=> SortOption . Size ;
46
46
47
47
public override string Label
48
- => " Size" . GetLocalizedResource ( ) ;
48
+ => Strings . Size . GetLocalizedResource ( ) ;
49
49
50
50
public override string Description
51
- => " SortBySizeDescription" . GetLocalizedResource ( ) ;
51
+ => Strings . SortBySizeDescription . GetLocalizedResource ( ) ;
52
52
}
53
53
54
54
internal sealed partial class SortByTypeAction : SortByAction
@@ -57,10 +57,10 @@ protected override SortOption SortOption
57
57
=> SortOption . FileType ;
58
58
59
59
public override string Label
60
- => " Type" . GetLocalizedResource ( ) ;
60
+ => Strings . Type . GetLocalizedResource ( ) ;
61
61
62
62
public override string Description
63
- => " SortByTypeDescription" . GetLocalizedResource ( ) ;
63
+ => Strings . SortByTypeDescription . GetLocalizedResource ( ) ;
64
64
}
65
65
66
66
internal sealed partial class SortBySyncStatusAction : SortByAction
@@ -69,10 +69,10 @@ protected override SortOption SortOption
69
69
=> SortOption . SyncStatus ;
70
70
71
71
public override string Label
72
- => " SyncStatus" . GetLocalizedResource ( ) ;
72
+ => Strings . SyncStatus . GetLocalizedResource ( ) ;
73
73
74
74
public override string Description
75
- => " SortBySyncStatusDescription" . GetLocalizedResource ( ) ;
75
+ => Strings . SortBySyncStatusDescription . GetLocalizedResource ( ) ;
76
76
77
77
protected override bool GetIsExecutable ( ContentPageTypes pageType )
78
78
=> pageType is ContentPageTypes . CloudDrive ;
@@ -84,10 +84,10 @@ protected override SortOption SortOption
84
84
=> SortOption . FileTag ;
85
85
86
86
public override string Label
87
- => " FileTags" . GetLocalizedResource ( ) ;
87
+ => Strings . FileTags . GetLocalizedResource ( ) ;
88
88
89
89
public override string Description
90
- => " SortByTagDescription" . GetLocalizedResource ( ) ;
90
+ => Strings . SortByTagDescription . GetLocalizedResource ( ) ;
91
91
}
92
92
93
93
internal sealed partial class SortByPathAction : SortByAction
@@ -96,10 +96,10 @@ protected override SortOption SortOption
96
96
=> SortOption . Path ;
97
97
98
98
public override string Label
99
- => " Path" . GetLocalizedResource ( ) ;
99
+ => Strings . Path . GetLocalizedResource ( ) ;
100
100
101
101
public override string Description
102
- => " SortByPathDescription" . GetLocalizedResource ( ) ;
102
+ => Strings . SortByPathDescription . GetLocalizedResource ( ) ;
103
103
104
104
protected override bool GetIsExecutable ( ContentPageTypes pageType )
105
105
=> pageType is ContentPageTypes . SearchResults ;
@@ -111,10 +111,10 @@ protected override SortOption SortOption
111
111
=> SortOption . OriginalFolder ;
112
112
113
113
public override string Label
114
- => " OriginalFolder" . GetLocalizedResource ( ) ;
114
+ => Strings . OriginalFolder . GetLocalizedResource ( ) ;
115
115
116
116
public override string Description
117
- => " SortByOriginalFolderDescription" . GetLocalizedResource ( ) ;
117
+ => Strings . SortByOriginalFolderDescription . GetLocalizedResource ( ) ;
118
118
119
119
protected override bool GetIsExecutable ( ContentPageTypes pageType )
120
120
=> pageType is ContentPageTypes . RecycleBin ;
@@ -126,10 +126,10 @@ protected override SortOption SortOption
126
126
=> SortOption . DateDeleted ;
127
127
128
128
public override string Label
129
- => " DateDeleted" . GetLocalizedResource ( ) ;
129
+ => Strings . DateDeleted . GetLocalizedResource ( ) ;
130
130
131
131
public override string Description
132
- => " SortByDateDeletedDescription" . GetLocalizedResource ( ) ;
132
+ => Strings . SortByDateDeletedDescription . GetLocalizedResource ( ) ;
133
133
134
134
protected override bool GetIsExecutable ( ContentPageTypes pageType )
135
135
=> pageType is ContentPageTypes . RecycleBin ;
@@ -190,10 +190,10 @@ internal sealed partial class SortAscendingAction : ObservableObject, IToggleAct
190
190
private readonly IDisplayPageContext context ;
191
191
192
192
public string Label
193
- => " Ascending" . GetLocalizedResource ( ) ;
193
+ => Strings . Ascending . GetLocalizedResource ( ) ;
194
194
195
195
public string Description
196
- => " SortAscendingDescription" . GetLocalizedResource ( ) ;
196
+ => Strings . SortAscendingDescription . GetLocalizedResource ( ) ;
197
197
198
198
public bool IsOn
199
199
=> context . SortDirection is SortDirection . Ascending ;
@@ -225,10 +225,10 @@ internal sealed partial class SortDescendingAction : ObservableObject, IToggleAc
225
225
private readonly IDisplayPageContext context ;
226
226
227
227
public string Label
228
- => " Descending" . GetLocalizedResource ( ) ;
228
+ => Strings . Descending . GetLocalizedResource ( ) ;
229
229
230
230
public string Description
231
- => " SortDescendingDescription" . GetLocalizedResource ( ) ;
231
+ => Strings . SortDescendingDescription . GetLocalizedResource ( ) ;
232
232
233
233
public bool IsOn
234
234
=> context . SortDirection is SortDirection . Descending ;
@@ -260,10 +260,10 @@ internal sealed class ToggleSortDirectionAction : IAction
260
260
private readonly IDisplayPageContext context ;
261
261
262
262
public string Label
263
- => " ToggleSortDirection" . GetLocalizedResource ( ) ;
263
+ => Strings . ToggleSortDirection . GetLocalizedResource ( ) ;
264
264
265
265
public string Description
266
- => " ToggleSortDirectionDescription" . GetLocalizedResource ( ) ;
266
+ => Strings . ToggleSortDirectionDescription . GetLocalizedResource ( ) ;
267
267
268
268
public ToggleSortDirectionAction ( )
269
269
{
0 commit comments