mirror of https://gitee.com/antdui/AntdUI.git
🦄 Beautiful AntdUI
parent
144fc5bb98
commit
1373c3d706
@ -0,0 +1,64 @@
|
||||
// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED.
|
||||
// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License.
|
||||
// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License")
|
||||
// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License.
|
||||
// YOU MAY OBTAIN A COPY OF THE LICENSE AT
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
|
||||
// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
|
||||
// LIMITATIONS UNDER THE License.
|
||||
// GITEE: https://gitee.com/antdui/AntdUI
|
||||
// GITHUB: https://github.com/AntdUI/AntdUI
|
||||
// CSDN: https://blog.csdn.net/v_132
|
||||
// QQ: 17379620
|
||||
|
||||
namespace SVGView
|
||||
{
|
||||
public class Localizer : AntdUI.ILocalization
|
||||
{
|
||||
public string? GetLocalizedString(string key)
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
case "ID":
|
||||
return "en-US";
|
||||
|
||||
case "Cancel":
|
||||
return "Cancel";
|
||||
case "OK":
|
||||
return "OK";
|
||||
case "Now":
|
||||
return "Now";
|
||||
case "ToDay":
|
||||
return "Today";
|
||||
case "NoData":
|
||||
return "No data";
|
||||
|
||||
case "ItemsPerPage":
|
||||
return "Per/Page";
|
||||
|
||||
#region SVGView
|
||||
|
||||
case "Title":
|
||||
return "SVG View";
|
||||
case "Auto":
|
||||
return "Auto";
|
||||
case "Zip":
|
||||
return "Zip";
|
||||
case "CopyOK":
|
||||
return "copied";
|
||||
case "CopyFailed":
|
||||
return "copy failed";
|
||||
|
||||
#endregion
|
||||
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>bin\SVGView\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net9.0-windows</TargetFramework>
|
||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||
<SelfContained>true</SelfContained>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue