Skip to content
Permalink
Browse files

[Localization] Added a few missing important translations (which were…

… omitted for ApplicationCommands)
  • Loading branch information
xen2 committed Feb 25, 2019
1 parent 123f45e commit 0e9c28fe8b2a681a190169e05aff3ecb4f3ba674
Showing with 73 additions and 24 deletions.
  1. +17 −17 sources/editor/Xenko.GameStudio/GameStudioWindow.xaml
  2. +56 −7 sources/localization/Xenko.GameStudio.pot
@@ -87,11 +87,11 @@
</MenuItem.Template>
</MenuItem>
<Separator/>
<MenuItem Command="ApplicationCommands.Cut" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCut}}"/>
<MenuItem Command="ApplicationCommands.Copy" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCopy}}"/>
<MenuItem Header="{xk:Localize Cut, Context=Menu}" Command="ApplicationCommands.Cut" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCut}}"/>
<MenuItem Header="{xk:Localize Copy, Context=Menu}" Command="ApplicationCommands.Copy" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCopy}}"/>
<MenuItem Header="{xk:Localize Copy with dependencies, Context=Menu}" Command="{Binding CopyAssetsRecursivelyCommand}" InputGestureText="{x:Static strings:KeyGestures.CopyAssetRecursively}" Icon="{xk:Image {StaticResource ImageCopyRecursively}}"/>
<MenuItem Command="ApplicationCommands.Paste" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImagePaste}}"/>
<MenuItem Command="ApplicationCommands.Delete" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<MenuItem Header="{xk:Localize Paste, Context=Menu}" Command="ApplicationCommands.Paste" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImagePaste}}"/>
<MenuItem Header="{xk:Localize Delete, Context=Menu}" Command="ApplicationCommands.Delete" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<Separator/>
<MenuItem Header="{xk:Localize Copy asset URL, Context=Menu}" Command="{Binding CopyAssetUrlCommand}" />
<MenuItem Header="{xk:Localize Rename, Context=Menu}" Command="xk:AssetViewUserControl.BeginEditCommand" Icon="{xk:Image {StaticResource ImageRename}}" InputGestureText="F2"/>
@@ -143,8 +143,8 @@
<Menu IsHitTestVisible="True" Grid.Row="0" FontSize="12">
<!-- File Menu -->
<MenuItem Header="{xk:Localize File, Context=Menu}">
<MenuItem Command="ApplicationCommands.New" Icon="{xk:Image {StaticResource ImageNewSolution}}"/>
<MenuItem Command="ApplicationCommands.Open" Icon="{xk:Image {StaticResource ImageOpen}}"/>
<MenuItem Header="{xk:Localize New, Context=Menu}" Command="ApplicationCommands.New" Icon="{xk:Image {StaticResource ImageNewSolution}}"/>
<MenuItem Header="{xk:Localize Open, Context=Menu}" Command="ApplicationCommands.Open" Icon="{xk:Image {StaticResource ImageOpen}}"/>
<MenuItem Header="{xk:Localize Open recent, Context=Menu}" Icon="{xk:Image {StaticResource ImageOpen}}" IsEnabled="{Binding MRU.MostRecentlyUsedFiles.Count, Converter={xk:NumericToBool}}">
<!-- IsCheckable=True is a hack to prevent WPF from clearing the selected sub menu item -->
<MenuItem ItemsSource="{Binding RecentFiles}" IsCheckable="True">
@@ -177,7 +177,7 @@
<Separator/>
<MenuItem Header="{xk:Localize Clear list, Context=Menu}" Command="{Binding ClearMRUCommand}" Icon="{xk:Image {StaticResource ImageDelete}}"/>
</MenuItem>
<MenuItem Command="ApplicationCommands.Save" Icon="{xk:Image {StaticResource ImageSave}}"/>
<MenuItem Header="{xk:Localize Save, Context=Menu}" Command="ApplicationCommands.Save" Icon="{xk:Image {StaticResource ImageSave}}"/>
<Separator/>
<MenuItem Header="{xk:Localize Reload project, Context=Menu}" Command="{Binding ReloadSessionCommand}" Icon="{xk:Image {StaticResource ImageReloadProject}}"/>
<Separator/>
@@ -189,13 +189,13 @@
</MenuItem>
<!-- Edit Menu -->
<MenuItem Header="{xk:Localize Edit, Context=Menu}">
<MenuItem Command="ApplicationCommands.Undo" Icon="{xk:Image {StaticResource ImageUndo}}"/>
<MenuItem Command="ApplicationCommands.Redo" Icon="{xk:Image {StaticResource ImageRedo}}"/>
<MenuItem Header="{xk:Localize Undo, Context=Menu}" Command="ApplicationCommands.Undo" Icon="{xk:Image {StaticResource ImageUndo}}"/>
<MenuItem Header="{xk:Localize Redo, Context=Menu}" Command="ApplicationCommands.Redo" Icon="{xk:Image {StaticResource ImageRedo}}"/>
<Separator/>
<MenuItem Command="ApplicationCommands.Cut" Icon="{xk:Image {StaticResource ImageCut}}" />
<MenuItem Command="ApplicationCommands.Copy" Icon="{xk:Image {StaticResource ImageCopy}}" />
<MenuItem Command="ApplicationCommands.Paste" Icon="{xk:Image {StaticResource ImagePaste}}" />
<MenuItem Command="ApplicationCommands.Delete" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<MenuItem Header="{xk:Localize Cut, Context=Menu}" Command="ApplicationCommands.Cut" Icon="{xk:Image {StaticResource ImageCut}}" />
<MenuItem Header="{xk:Localize Copy, Context=Menu}" Command="ApplicationCommands.Copy" Icon="{xk:Image {StaticResource ImageCopy}}" />
<MenuItem Header="{xk:Localize Paste, Context=Menu}" Command="ApplicationCommands.Paste" Icon="{xk:Image {StaticResource ImagePaste}}" />
<MenuItem Header="{xk:Localize Delete, Context=Menu}" Command="ApplicationCommands.Delete" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<Separator/>
<MenuItem Header="{xk:Localize Settings, Context=Menu}" Command="{Binding OpenSettingsWindowCommand}" Icon="{xk:Image {StaticResource ImageSettings}}"/>
</MenuItem>
@@ -506,10 +506,10 @@
<MenuItem Header="{xk:Localize Open in IDE, Context=Menu}" Command="{Binding Session.OpenInIDECommand}" Icon="{xk:Image {StaticResource ImageVisualStudio}}" Visibility="{Binding Session.OpenInIDECommand.IsEnabled, Converter={xk:VisibleOrCollapsed}}"/>

<MenuItem Header="{xk:Localize Actions, Context=Menu}" Style="{StaticResource MenuGroupSeparatorStyle}"/>
<MenuItem Command="ApplicationCommands.Cut" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCut}}"/>
<MenuItem Command="ApplicationCommands.Copy" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCopy}}"/>
<MenuItem Command="ApplicationCommands.Paste" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImagePaste}}"/>
<MenuItem Command="ApplicationCommands.Delete" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<MenuItem Header="{xk:Localize Cut, Context=Menu}" Command="ApplicationCommands.Cut" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCut}}"/>
<MenuItem Header="{xk:Localize Copy, Context=Menu}" Command="ApplicationCommands.Copy" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageCopy}}"/>
<MenuItem Header="{xk:Localize Paste, Context=Menu}" Command="ApplicationCommands.Paste" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImagePaste}}"/>
<MenuItem Header="{xk:Localize Delete, Context=Menu}" Command="ApplicationCommands.Delete" CommandTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type ContextMenu}}}" Icon="{xk:Image {StaticResource ImageDelete}}"/>
<MenuItem Header="{xk:Localize Rename, Context=Menu}" Command="{Binding Session.RenameDirectoryOrPackageCommand, FallbackValue={x:Static xk:DisabledCommand.Instance}}" CommandParameter="{Binding Session.ActiveAssetView.SelectedLocations}" Icon="{xk:Image {StaticResource ImageRename}}" Visibility="{Binding Session.RenameDirectoryOrPackageCommand.IsEnabled, Converter={xk:VisibleOrCollapsed}}" InputGestureText="F2"/>

<MenuItem Header="{xk:Localize Asset, Context=Menu}" Style="{StaticResource MenuGroupSeparatorStyle}" Visibility="{Binding Session.NewDirectoryCommand.IsEnabled, Converter={xk:VisibleOrCollapsed}}"/>
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2019-01-11 23:17:20+0900\n"
"PO-Revision-Date: 2019-01-11 23:17:20+0900\n"
"POT-Creation-Date: 2019-02-25 11:53:42+0900\n"
"PO-Revision-Date: 2019-02-25 11:53:42+0900\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -250,11 +250,40 @@ msgctxt "Menu"
msgid "Include in build as root asset"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:90
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:195
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:509
msgctxt "Menu"
msgid "Cut"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:91
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:196
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:510
msgctxt "Menu"
msgid "Copy"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:92
msgctxt "Menu"
msgid "Copy with dependencies"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:93
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:197
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:511
msgctxt "Menu"
msgid "Paste"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:94
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:198
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:242
#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:512
msgctxt "Menu"
msgid "Delete"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:96
msgctxt "Menu"
msgid "Copy asset URL"
@@ -327,6 +356,16 @@ msgctxt "Menu"
msgid "File"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:146
msgctxt "Menu"
msgid "New"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:147
msgctxt "Menu"
msgid "Open"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:148
msgctxt "Menu"
msgid "Open recent"
@@ -337,6 +376,11 @@ msgctxt "Menu"
msgid "Clear list"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:180
msgctxt "Menu"
msgid "Save"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:182
msgctxt "Menu"
msgid "Reload project"
@@ -352,6 +396,16 @@ msgctxt "Menu"
msgid "Edit"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:192
msgctxt "Menu"
msgid "Undo"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:193
msgctxt "Menu"
msgid "Redo"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:200
msgctxt "Menu"
msgid "Settings"
@@ -453,11 +507,6 @@ msgctxt "Menu"
msgid "Actions"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:242
msgctxt "Menu"
msgid "Delete"
msgstr ""

#: ../editor/Xenko.GameStudio/GameStudioWindow.xaml:253
msgctxt "Menu"
msgid "View"

0 comments on commit 0e9c28f

Please sign in to comment.
You can’t perform that action at this time.