Skip to content

Commit 8d9501b

Browse files
authored
Merge branch 'dev' into net7.0
2 parents ae7c413 + e215c3f commit 8d9501b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+503
-275
lines changed

.github/actions/spelling/excludes.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
^\.github/actions/spelling/
5858
^\Q.github/workflows/spelling.yml\E$
5959
# Custom
60-
(?:^|/)Languages/(?!en.xaml)
60+
(?:^|/)Languages/(?!en\.xaml)
6161
Scripts/
62-
Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/
63-
Plugins/Flow.Launcher.Plugin.WindowsSettings/WindowsSettings.json
64-
Plugins/Flow.Launcher.Plugin.WebSearch/setting.json
65-
(?:^|/)FodyWeavers.xml
62+
\.resx$
63+
^\QPlugins/Flow.Launcher.Plugin.WindowsSettings/WindowsSettings.json\E$
64+
^\QPlugins/Flow.Launcher.Plugin.WebSearch/setting.json\E$
65+
(?:^|/)FodyWeavers\.xml
6666
.editorconfig
6767
ignore$
6868
\.ps1$

.github/actions/spelling/expect.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,30 @@ mscorlib
3535
pythonw
3636
dotnet
3737
winget
38+
jjw24
39+
wolframalpha
40+
gmail
41+
duckduckgo
42+
facebook
43+
findicon
44+
baidu
45+
pls
46+
websearch
47+
qianlifeng
48+
userdata
49+
srchadmin
50+
EWX
51+
dlgtext
52+
CMD
53+
appref-ms
54+
appref
55+
TSource
56+
runas
57+
dpi
58+
popup
59+
ptr
60+
pluginindicator
61+
TobiasSekan
62+
Img
63+
img
64+
resx

.github/actions/spelling/patterns.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
#x:Key="[^"]+"
110110
#{DynamicResource [^"]+}
111111

112+
# html tag
113+
<\w+[^>]*>
114+
</\w+[^>]*>
115+
112116
#http/https
113117
(?:\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]
114-

.github/workflows/spelling.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ name: Check Spelling
3434
# For background, see: https://github.com/check-spelling/check-spelling/wiki/Feature:-Update-with-deploy-key
3535

3636
on:
37-
push:
38-
branches:
39-
- '**'
40-
- '!l10n_dev'
41-
tags-ignore:
42-
- "**"
37+
# push:
38+
# branches:
39+
# - '**'
40+
# - '!l10n_dev'
41+
# tags-ignore:
42+
# - "**"
4343
pull_request_target:
4444
branches:
4545
- '**'
@@ -65,11 +65,11 @@ jobs:
6565
outputs:
6666
followup: ${{ steps.spelling.outputs.followup }}
6767
runs-on: ubuntu-latest
68-
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
68+
if: (contains(github.event_name, 'pull_request') && github.head_ref != 'l10n_dev')
6969
concurrency:
7070
group: spelling-${{ github.event.pull_request.number || github.ref }}
7171
# note: If you use only_check_changed_files, you do not want cancel-in-progress
72-
cancel-in-progress: true
72+
cancel-in-progress: false
7373
steps:
7474
- name: check-spelling
7575
id: spelling
@@ -103,21 +103,21 @@ jobs:
103103

104104

105105

106-
comment-push:
107-
name: Report (Push)
108-
# If your workflow isn't running on push, you can remove this job
109-
runs-on: ubuntu-latest
110-
needs: spelling
111-
permissions:
112-
contents: write
113-
if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
114-
steps:
115-
- name: comment
116-
uses: check-spelling/check-spelling@main
117-
with:
118-
checkout: true
119-
spell_check_this: check-spelling/spell-check-this@main
120-
task: ${{ needs.spelling.outputs.followup }}
106+
# comment-push:
107+
# name: Report (Push)
108+
# # If your workflow isn't running on push, you can remove this job
109+
# runs-on: ubuntu-latest
110+
# needs: spelling
111+
# permissions:
112+
# contents: write
113+
# if: (success() || failure()) && needs.spelling.outputs.followup && github.event_name == 'push'
114+
# steps:
115+
# - name: comment
116+
# uses: check-spelling/check-spelling@main
117+
# with:
118+
# checkout: true
119+
# spell_check_this: check-spelling/spell-check-this@main
120+
# task: ${{ needs.spelling.outputs.followup }}
121121

122122
comment-pr:
123123
name: Report (PR)

Flow.Launcher.Test/Flow.Launcher.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<ItemGroup>
5151
<PackageReference Include="Moq" Version="4.16.1" />
5252
<PackageReference Include="nunit" Version="3.13.3" />
53-
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1">
53+
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1">
5454
<PrivateAssets>all</PrivateAssets>
5555
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5656
</PackageReference>

Flow.Launcher/Languages/it.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
<system:String x:Key="HotkeyUpDownDesc">Indietro / Menu contestuale</system:String>
337337
<system:String x:Key="HotkeyLeftRightDesc">Navigazione tra le voci</system:String>
338338
<system:String x:Key="HotkeyShiftEnterDesc">Apri il menu di scelta rapida</system:String>
339-
<system:String x:Key="HotkeyCtrlEnterDesc">Apri la cartella Contaning</system:String>
339+
<system:String x:Key="HotkeyCtrlEnterDesc">Apri cartella superiore</system:String>
340340
<system:String x:Key="HotkeyCtrlShiftEnterDesc">Esegui come amministratore</system:String>
341341
<system:String x:Key="HotkeyCtrlHDesc">Cronologia Query</system:String>
342342
<system:String x:Key="HotkeyESCDesc">Torna al risultato nel menu contestuale</system:String>

Flow.Launcher/Languages/pt-pt.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Queira por favor mover a pasta do seu perfil de {0} para {1}
335335
<system:String x:Key="HotkeyUpDownDesc">Recuar/Menu de contexto</system:String>
336336
<system:String x:Key="HotkeyLeftRightDesc">Navegação nos itens</system:String>
337337
<system:String x:Key="HotkeyShiftEnterDesc">Abrir menu de contexto</system:String>
338-
<system:String x:Key="HotkeyCtrlEnterDesc">Abrir pasta</system:String>
338+
<system:String x:Key="HotkeyCtrlEnterDesc">Abrir pasta do resultado</system:String>
339339
<system:String x:Key="HotkeyCtrlShiftEnterDesc">Executar como administrador</system:String>
340340
<system:String x:Key="HotkeyCtrlHDesc">Histórico de consultas</system:String>
341341
<system:String x:Key="HotkeyESCDesc">Voltar aos resultados no menu de contexto</system:String>

Flow.Launcher/Languages/tr.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
<system:String x:Key="fileManager_file_arg">Arg For File</system:String>
235235

236236
<!-- DefaultBrowser Setting Dialog -->
237-
<system:String x:Key="defaultBrowserTitle">Default Web Browser</system:String>
237+
<system:String x:Key="defaultBrowserTitle">Varsayılan İnternet Tarayıcısı</system:String>
238238
<system:String x:Key="defaultBrowser_tips">The default setting follows the OS default browser setting. If specified separately, flow uses that browser.</system:String>
239239
<system:String x:Key="defaultBrowser_name">Browser</system:String>
240240
<system:String x:Key="defaultBrowser_profile_name">Browser Name</system:String>

Flow.Launcher/SettingWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3041,7 +3041,7 @@
30413041
Name="ClearLogFolderBtn"
30423042
Margin="0,0,12,0"
30433043
Click="ClearLogFolder"
3044-
Content="{Binding CheckLogFolder, UpdateSourceTrigger=PropertyChanged}" />
3044+
Content="{Binding CheckLogFolder, Mode=OneWay}" />
30453045
<Button
30463046
Margin="0,0,8,0"
30473047
Content="&#xec7a;"

Flow.Launcher/SettingWindow.xaml.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private void OpenWelcomeWindow(object sender, RoutedEventArgs e)
250250
}
251251
private void OpenLogFolder(object sender, RoutedEventArgs e)
252252
{
253-
PluginManager.API.OpenDirectory(Path.Combine(DataLocation.DataDirectory(), Constant.Logs, Constant.Version));
253+
viewModel.OpenLogFolder();
254254
}
255255
private void ClearLogFolder(object sender, RoutedEventArgs e)
256256
{
@@ -262,8 +262,6 @@ private void ClearLogFolder(object sender, RoutedEventArgs e)
262262
if (confirmResult == MessageBoxResult.Yes)
263263
{
264264
viewModel.ClearLogFolder();
265-
266-
ClearLogFolderBtn.Content = viewModel.CheckLogFolder;
267265
}
268266
}
269267

0 commit comments

Comments
 (0)