(GUI): added "select files by mask" context menu item.

This commit is contained in:
morkt 2017-01-12 11:31:51 +04:00
parent 89b7d2cfd3
commit 7b7f50f3b9
6 changed files with 26 additions and 0 deletions

View File

@ -81,6 +81,8 @@
<MenuItem Header="{x:Static s:guiStrings.CtxMenuExtract}" InputGestureText="F4"
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"
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 DataContext="image" Header="{Binding Converter={StaticResource entryTypeConverter}}"
Command="{x:Static local:Commands.SetFileType}" CommandParameter="{Binding}"/>
@ -92,6 +94,7 @@
Command="{x:Static local:Commands.SetFileType}" CommandParameter=""/>
</MenuItem>
<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}"/>
<MenuItem Header="{x:Static s:guiStrings.CtxMenuDelete}" InputGestureText="Del"
Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={StaticResource booleanToCollapsedVisibilityConverter}}"

View File

@ -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>
/// Looks up a localized string similar to Sort by.
/// </summary>

View File

@ -455,4 +455,8 @@
<value>{0} 재생중 / {3} / {2}bps / {1}Hz</value>
<comment>{0}=파일이름, {1}=sampling rate, {2}=bitrate, {3}=총 시간 </comment>
</data>
<data name="CtxMenuSelectByMask" xml:space="preserve">
<value>Select files by mask...</value>
<comment>translation pending</comment>
</data>
</root>

View File

@ -459,4 +459,7 @@ Overwrite?</value>
<data name="LabelDevSite" xml:space="preserve">
<value>Development site</value>
</data>
<data name="CtxMenuSelectByMask" xml:space="preserve">
<value>Select files by mask...</value>
</data>
</root>

View File

@ -480,4 +480,7 @@
<data name="LabelDevSite" xml:space="preserve">
<value>Сайт разработки</value>
</data>
<data name="CtxMenuSelectByMask" xml:space="preserve">
<value>Выбрать файлы по маске...</value>
</data>
</root>

View File

@ -456,4 +456,8 @@
<value>正在播放 {0} / {3} / {2}bps / {1}Hz</value>
<comment>{0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
</data>
<data name="CtxMenuSelectByMask" xml:space="preserve">
<value>Select files by mask...</value>
<comment>translation pending</comment>
</data>
</root>