feat: Ribbon 多语言支持,新增 en-US/zh-CN 本地化 XAML
This commit is contained in:
parent
6666d30413
commit
9012461d59
@ -557,6 +557,14 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>TransportRibbon.xaml</Link>
|
||||
</None>
|
||||
<None Include="resources\en-US\TransportRibbon.xaml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>en-US\TransportRibbon.xaml</Link>
|
||||
</None>
|
||||
<None Include="resources\zh-CN\TransportRibbon.xaml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>zh-CN\TransportRibbon.xaml</Link>
|
||||
</None>
|
||||
<None Include="resources\TransportRibbon_16.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>TransportRibbon_16.png</Link>
|
||||
|
||||
23
resources/en-US/TransportRibbon.xaml
Normal file
23
resources/en-US/TransportRibbon.xaml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RibbonControl
|
||||
xmlns="clr-namespace:Autodesk.Windows;assembly=AdWindows"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Autodesk.Navisworks.Gui.Roamer.AIRLook;assembly=navisworks.gui.roamer">
|
||||
<RibbonTab x:Uid="RibbonTab_Transport" Id="ID_TransportTab" Title="Logistics Planning" KeyTip="WL">
|
||||
<RibbonPanel x:Uid="RibbonPanel_TransportMain">
|
||||
<RibbonPanelSource x:Uid="RibbonPanelSource_TransportMain" Title="Logistics Planning" KeyTip="G">
|
||||
<local:NWRibbonButton
|
||||
x:Uid="RibbonButton_OpenLogisticsPanel"
|
||||
Id="OpenLogisticsPanel"
|
||||
Orientation="Vertical"
|
||||
Size="Large"
|
||||
ShowText="True"
|
||||
Text="Logistics
Planning"
|
||||
ToolTip="Open Logistics Planning Panel"
|
||||
Image="TransportRibbon_16.png"
|
||||
LargeImage="TransportRibbon_32.png"
|
||||
KeyTip="P" />
|
||||
</RibbonPanelSource>
|
||||
</RibbonPanel>
|
||||
</RibbonTab>
|
||||
</RibbonControl>
|
||||
BIN
resources/en-US/TransportRibbon_16.png
Normal file
BIN
resources/en-US/TransportRibbon_16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 614 B |
BIN
resources/en-US/TransportRibbon_32.png
Normal file
BIN
resources/en-US/TransportRibbon_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
23
resources/zh-CN/TransportRibbon.xaml
Normal file
23
resources/zh-CN/TransportRibbon.xaml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RibbonControl
|
||||
xmlns="clr-namespace:Autodesk.Windows;assembly=AdWindows"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Autodesk.Navisworks.Gui.Roamer.AIRLook;assembly=navisworks.gui.roamer">
|
||||
<RibbonTab x:Uid="RibbonTab_Transport" Id="ID_TransportTab" Title="物流路径规划" KeyTip="WL">
|
||||
<RibbonPanel x:Uid="RibbonPanel_TransportMain">
|
||||
<RibbonPanelSource x:Uid="RibbonPanelSource_TransportMain" Title="物流路径规划" KeyTip="G">
|
||||
<local:NWRibbonButton
|
||||
x:Uid="RibbonButton_OpenLogisticsPanel"
|
||||
Id="OpenLogisticsPanel"
|
||||
Orientation="Vertical"
|
||||
Size="Large"
|
||||
ShowText="True"
|
||||
Text="物流路径
规划"
|
||||
ToolTip="打开物流路径规划面板"
|
||||
Image="TransportRibbon_16.png"
|
||||
LargeImage="TransportRibbon_32.png"
|
||||
KeyTip="P" />
|
||||
</RibbonPanelSource>
|
||||
</RibbonPanel>
|
||||
</RibbonTab>
|
||||
</RibbonControl>
|
||||
BIN
resources/zh-CN/TransportRibbon_16.png
Normal file
BIN
resources/zh-CN/TransportRibbon_16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 614 B |
BIN
resources/zh-CN/TransportRibbon_32.png
Normal file
BIN
resources/zh-CN/TransportRibbon_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user