Skip to content

Commit

Permalink
chore: 优化措辞
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Nov 5, 2024
1 parent 10c0f3f commit dfe441c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Magpie.App/Resources.language-en-US.resw
Original file line number Diff line number Diff line change
Expand Up @@ -851,13 +851,13 @@
<value>Scaling of maximized or fullscreen windows is disabled. You can change this setting on the Home page.</value>
</data>
<data name="Message_LowIntegrityLevel" xml:space="preserve">
<value>LowIntegrityLevel</value>
<value>Magpie needs to be run as an administrator to scale this window.</value>
</data>
<data name="Message_ScalingFailedGeneral" xml:space="preserve">
<value>Please refer to the logs for more details.</value>
</data>
<data name="Message_CaptureFailed" xml:space="preserve">
<value>An error occurred while capturing this window. Please switch the capture method and try again.</value>
<value>An error occurred while capturing this window. Please try using a different capture method.</value>
</data>
<data name="Message_CreateFenceFailed" xml:space="preserve">
<value>The current graphics card does not support ID3D11Device5::CreateFence. Please try switching the graphics card or updating the drivers.</value>
Expand Down
2 changes: 1 addition & 1 deletion src/Magpie.App/Resources.language-zh-Hans.resw
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@
<value>已禁止缩放最大化或全屏的窗口。你可以在主页里更改这个行为。</value>
</data>
<data name="Message_LowIntegrityLevel" xml:space="preserve">
<value>权限不足,请尝试以管理员身份运行 Magpie。</value>
<value>Magpie 需要以管理员身份运行才能缩放这个窗口。</value>
</data>
<data name="Message_ScalingFailedGeneral" xml:space="preserve">
<value>详情请参阅日志。</value>
Expand Down
1 change: 1 addition & 0 deletions src/Magpie.App/ToastService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ using namespace Windows::UI::Xaml::Hosting;
namespace winrt::Magpie::App {

void ToastService::Initialize() noexcept {
// 在独立线程里创建新 XAML Islands 窗口。一个线程托管多个 XAML Islands 窗口有大量 bug
_toastThread = std::thread(std::bind_front(&ToastService::_ToastThreadProc, this));
}

Expand Down

0 comments on commit dfe441c

Please sign in to comment.