Skip to content

Commit 36228cb

Browse files
committed
refactor: clean warnings
1 parent 2de21a2 commit 36228cb

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

3rd/shad-ui

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<WarningsAsErrors>nullable</WarningsAsErrors>
88
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
9-
<NoWarn>$(NoWarn);SKEXP0001,SKEXP0010,SKEXP0050,KMEXP00,OPENAI001,CA1826</NoWarn>
9+
<NoWarn>$(NoWarn);SKEXP0001,SKEXP0010,SKEXP0050,KMEXP00,OPENAI001,CA1826,AVLN3001</NoWarn>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
</PropertyGroup>
1212

src/Everywhere/App.axaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ private void HandleExitMenuItemClicked(object? sender, EventArgs e)
179179
}
180180

181181
#if DEBUG
182+
#pragma warning disable CS0067 // The event is for design-time only.
182183
file class DesignTimeRuntimeConstantProvider : IRuntimeConstantProvider
183184
{
184185
public object? this[RuntimeConstantType type] => null;
@@ -216,4 +217,5 @@ public void HideWindowWithoutAnimation(Window window) { }
216217
public void ShowDesktopNotification(string message, string? title) { }
217218
}
218219

220+
#pragma warning restore CS0067 // The event is for design-time only.
219221
#endif

src/Everywhere/I18N/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
<value>About</value>
443443
</data>
444444
<data name="AboutPage_Description" xml:space="preserve">
445-
<value>Everywhere is a context-aware, interactive AI assistant built with .NET and Avalonia. Unlike traditional chat interfaces, Everywhere integrates directly with your desktop environment, perceiving your screen, understanding application context, and taking actions on your behalf.</value>
445+
<value>Perceives your screen content in real-time, breaking down application barriers to provide intelligent assistance that truly fits the current context, transforming your desktop into a seamless, intelligent workspace.</value>
446446
</data>
447447
<data name="AboutPage_Version" xml:space="preserve">
448448
<value>Version: </value>

src/Everywhere/I18N/Strings.zh-hans.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
<value>关于</value>
424424
</data>
425425
<data name="AboutPage_Description" xml:space="preserve">
426-
<value>Everywhere 是一款基于 .NET 和 Avalonia 构建的具有上下文感知能力的交互式 AI 助手。与传统的聊天界面不同,Everywhere 直接集成到您的桌面环境中,感知您的屏幕内容,理解应用程序上下文,并代表您采取行动。</value>
426+
<value>实时感知您的屏幕内容,打破应用边界,提供真正符合当下情境的智能协助,将您的桌面变为一个无缝的智能工作空间。</value>
427427
</data>
428428
<data name="AboutPage_Version" xml:space="preserve">
429429
<value>版本:</value>

0 commit comments

Comments
 (0)