File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,21 @@ switch -Regex ($this.Check()) {
2121 }
2222
2323 try {
24- # ReleaseNotesUrl
24+ # ReleaseNotesUrl (zh-CN)
2525 $this.CurrentState.Locale += [ordered ]@ {
26- Key = ' ReleaseNotesUrl'
27- Value = ' https://host.terminal.icu/category/1'
26+ Locale = ' zh-CN'
27+ Key = ' ReleaseNotesUrl'
28+ Value = ' https://host.terminal.icu/category/1'
2829 }
2930
3031 $Object2 = (Invoke-RestMethod - Uri ' https://host.terminal.icu/api/category/1' ).topics.Where({ $_.title.Contains ($this.CurrentState.Version ) }, ' First' )
3132
3233 if ($Object2 ) {
33- # ReleaseNotesUrl
34+ # ReleaseNotesUrl (zh-CN)
3435 $this.CurrentState.Locale += [ordered ]@ {
35- Key = ' ReleaseNotesUrl'
36- Value = " https://host.terminal.icu/topic/$ ( $Object2 [0 ].tid) "
36+ Locale = ' zh-CN'
37+ Key = ' ReleaseNotesUrl'
38+ Value = " https://host.terminal.icu/topic/$ ( $Object2 [0 ].tid) "
3739 }
3840
3941 $Object3 = Invoke-RestMethod - Uri " https://host.terminal.icu/api/topic/$ ( $Object2 [0 ].tid) "
You can’t perform that action at this time.
0 commit comments