mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 11:54:13 +08:00
(GUI): added "select files by mask" context menu item.
This commit is contained in:
parent
89b7d2cfd3
commit
7b7f50f3b9
@ -81,6 +81,8 @@
|
|||||||
<MenuItem Header="{x:Static s:guiStrings.CtxMenuExtract}" InputGestureText="F4"
|
<MenuItem Header="{x:Static s:guiStrings.CtxMenuExtract}" InputGestureText="F4"
|
||||||
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
|
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
|
||||||
Command="{x:Static local:Commands.ExtractItem}" />
|
Command="{x:Static local:Commands.ExtractItem}" />
|
||||||
|
<MenuItem Header="{x:Static s:guiStrings.CtxMenuSelectByMask}"
|
||||||
|
Command="{x:Static local:Commands.AddSelection}"/>
|
||||||
<MenuItem Header="{x:Static s:guiStrings.CtxMenuFileType}">
|
<MenuItem Header="{x:Static s:guiStrings.CtxMenuFileType}">
|
||||||
<MenuItem DataContext="image" Header="{Binding Converter={StaticResource entryTypeConverter}}"
|
<MenuItem DataContext="image" Header="{Binding Converter={StaticResource entryTypeConverter}}"
|
||||||
Command="{x:Static local:Commands.SetFileType}" CommandParameter="{Binding}"/>
|
Command="{x:Static local:Commands.SetFileType}" CommandParameter="{Binding}"/>
|
||||||
@ -92,6 +94,7 @@
|
|||||||
Command="{x:Static local:Commands.SetFileType}" CommandParameter=""/>
|
Command="{x:Static local:Commands.SetFileType}" CommandParameter=""/>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem Header="{x:Static s:guiStrings.CtxMenuExplorer}" InputGestureText="Ctrl+E"
|
<MenuItem Header="{x:Static s:guiStrings.CtxMenuExplorer}" InputGestureText="Ctrl+E"
|
||||||
|
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
|
||||||
Command="{x:Static local:Commands.ExploreItem}"/>
|
Command="{x:Static local:Commands.ExploreItem}"/>
|
||||||
<MenuItem Header="{x:Static s:guiStrings.CtxMenuDelete}" InputGestureText="Del"
|
<MenuItem Header="{x:Static s:guiStrings.CtxMenuDelete}" InputGestureText="Del"
|
||||||
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
|
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
|
||||||
|
9
GUI/Strings/guiStrings.Designer.cs
generated
9
GUI/Strings/guiStrings.Designer.cs
generated
@ -213,6 +213,15 @@ namespace GARbro.GUI.Strings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Select files by mask....
|
||||||
|
/// </summary>
|
||||||
|
public static string CtxMenuSelectByMask {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("CtxMenuSelectByMask", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Sort by.
|
/// Looks up a localized string similar to Sort by.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -455,4 +455,8 @@
|
|||||||
<value>{0} 재생중 / {3} / {2}bps / {1}Hz</value>
|
<value>{0} 재생중 / {3} / {2}bps / {1}Hz</value>
|
||||||
<comment>{0}=파일이름, {1}=sampling rate, {2}=bitrate, {3}=총 시간 </comment>
|
<comment>{0}=파일이름, {1}=sampling rate, {2}=bitrate, {3}=총 시간 </comment>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="CtxMenuSelectByMask" xml:space="preserve">
|
||||||
|
<value>Select files by mask...</value>
|
||||||
|
<comment>translation pending</comment>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -459,4 +459,7 @@ Overwrite?</value>
|
|||||||
<data name="LabelDevSite" xml:space="preserve">
|
<data name="LabelDevSite" xml:space="preserve">
|
||||||
<value>Development site</value>
|
<value>Development site</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="CtxMenuSelectByMask" xml:space="preserve">
|
||||||
|
<value>Select files by mask...</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -480,4 +480,7 @@
|
|||||||
<data name="LabelDevSite" xml:space="preserve">
|
<data name="LabelDevSite" xml:space="preserve">
|
||||||
<value>Сайт разработки</value>
|
<value>Сайт разработки</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="CtxMenuSelectByMask" xml:space="preserve">
|
||||||
|
<value>Выбрать файлы по маске...</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -456,4 +456,8 @@
|
|||||||
<value>正在播放 {0} / {3} / {2}bps / {1}Hz</value>
|
<value>正在播放 {0} / {3} / {2}bps / {1}Hz</value>
|
||||||
<comment>{0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
|
<comment>{0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="CtxMenuSelectByMask" xml:space="preserve">
|
||||||
|
<value>Select files by mask...</value>
|
||||||
|
<comment>translation pending</comment>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
x
Reference in New Issue
Block a user