Skip to content

Commit

Permalink
Fix cs and small fix to en
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed May 17, 2024
1 parent a35c5f3 commit 92d0d24
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 8 deletions.
68 changes: 61 additions & 7 deletions src/GUI/EFCorePowerTools/EFCorePowerToolsPackage.cs.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@
<Group guid="guidCRUDSPCommandsPackageCmdSet1" id="DatabaseMenuGroup" priority="0x0600">
<Parent guid="guidServerExplorerObjectNode" id="IDMX_DV_SERVER_NODE" />
</Group>

</Groups>

<Menus>

<Menu guid="guidDbContextPackageCmdSet" id="cmdidEdmProjectMenu" priority="0x0100" type="Menu">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmProjectMenuGroup" />
<CommandFlag>DynamicVisibility</CommandFlag>
Expand All @@ -80,7 +81,7 @@
<ButtonText>EF Core Power Tools - Zpětná analýza</ButtonText>
</Strings>
</Menu>

</Menus>

<Buttons>
Expand Down Expand Up @@ -150,7 +151,7 @@
<ButtonText>Přidat DbContext Diagram</ButtonText>
</Strings>
</Button>

<Button guid="guidDbContextPackageCmdSet" id="cmdidSqlBuild" priority="0x0300" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmViewMenuItemsGroup" />
<Icon guid="ImageCatalogGuid" id="SQLQueryChecked" />
Expand Down Expand Up @@ -183,7 +184,7 @@
<ButtonText>Přidat rozšíření AsDgml()</ButtonText>
</Strings>
</Button>

<Button guid="guidDbContextPackageCmdSet" id="cmdidDbCompare" priority="0x0900" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmCompareMenuItemsGroup" />
<Icon guid="ImageCatalogGuid" id="CompareSchemas" />
Expand All @@ -205,11 +206,34 @@
<ButtonText>Vizualizace databázového schématu (preview)</ButtonText>
</Strings>
</Button>

<Button guid="guidDbContextPackageCmdSet" id="cmdidDbErDiagram" priority="0x0900" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmDatabaseMenuItemsGroup" />
<Icon guid="ImageCatalogGuid" id="DatabaseAuditSpecification" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>cmdidDbErDiagram</CommandName>
<ButtonText>ER Diagram</ButtonText>
</Strings>
</Button>

<Button guid="guidDbContextPackageCmdSet" id="cmdidDacpacReport" priority="0x0700" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmDatabaseMenuItemsGroup" />
<Icon guid="ImageCatalogGuid" id="CodeInformationRule" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Analyze (preview)</ButtonText>
</Strings>
</Button>

<Button guid="guidReverseEngineerMenu" id="cmdidReverseEngineerEdit" priority="0x0100" type="Button">
<Parent guid="guidReverseEngineerMenu" id="idReverseEngineerMenuGroup" />
<Icon guid="ImageCatalogGuid" id="DatabaseScript" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Icon guid="ImageCatalogGuid" id="DatabaseScript" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<CommandName>EF Core Power Tools - Edit</CommandName>
Expand Down Expand Up @@ -243,11 +267,35 @@
<Parent guid="guidCRUDSPCommandsPackageCmdSet1" id="DatabaseMenuGroup" />
<Icon guid="ImageCatalogGuid" id="DatabaseScript" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>EF Core Power Tools - Zpětná analýza</ButtonText>
</Strings>
</Button>

<Button guid="guidCRUDSPCommandsPackageCmdSet1" id="cmdidCmdDiagram" priority="0x0101" type="Button">
<Parent guid="guidCRUDSPCommandsPackageCmdSet1" id="DatabaseMenuGroup" />
<Icon guid="ImageCatalogGuid" id="DatabaseAuditSpecification" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>EF Core Power Tools - ER Diagram</ButtonText>
</Strings>
</Button>

<Button guid="guidCRUDSPCommandsPackageCmdSet1" id="cmdidCmdAnalyze" priority="0x0102" type="Button">
<Parent guid="guidCRUDSPCommandsPackageCmdSet1" id="DatabaseMenuGroup" />
<Icon guid="ImageCatalogGuid" id="CodeInformationRule" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>EF Core Power Tools - Analyze (experimental)</ButtonText>
</Strings>
</Button>

</Buttons>

</Commands>
Expand All @@ -270,6 +318,7 @@
<CommandPlacement guid="guidVSPackageCommandProjectContextMenuCmdSet" id="Command1Id" priority="0x100" >
<Parent guid="guidVSPackageCommandProjectContextMenuCmdSet" id="MyGroupForCommands"/>
</CommandPlacement>

</CommandPlacements>

<Symbols>
Expand All @@ -278,7 +327,9 @@

<GuidSymbol value="{946311de-35f2-4379-84e2-91867976faf9}" name="guidCRUDSPCommandsPackageCmdSet1">
<IDSymbol value="257" name="cmdidCmdDatabase" />
<IDSymbol value="258" name="cmdidCmdDiagram" />
<IDSymbol value="259" name="DatabaseMenuGroup" />
<IDSymbol value="260" name="cmdidCmdAnalyze" />
</GuidSymbol>

<GuidSymbol name="guidServerExplorerObjectNode" value="{74D21310-2AEE-11D1-8BFB-00A0C90F26F7}">
Expand Down Expand Up @@ -316,6 +367,8 @@
<IDSymbol name="cmdidMigrationStatus" value="0x0007" />
<IDSymbol name="cmdidDbCompare" value="0x0008" />
<IDSymbol name="cmdidDbDgml" value="0x0009" />
<IDSymbol name="cmdidDbErDiagram" value="0x0011" />
<IDSymbol name="cmdidDacpacReport" value="0x110" />
</GuidSymbol>

<!-- This is the guid used to group the menu ReverseEngineer commands together -->
Expand All @@ -331,6 +384,7 @@
<GuidSymbol name="guidVSPackageCommandProjectContextMenuCmdSet" value="{9a55a2b4-3e29-4359-882b-fa5f51c09301}">
<IDSymbol name="MyGroupForCommands" value="0x1020" />
<!-- Warning!!: Keep the value in sync with the code in Command1.cs -->

<IDSymbol name="Command1Id" value="0x109" />
</GuidSymbol>

Expand Down
2 changes: 1 addition & 1 deletion src/GUI/EFCorePowerTools/EFCorePowerToolsPackage.en.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
<GuidSymbol name="guidVSPackageCommandProjectContextMenuCmdSet" value="{9a55a2b4-3e29-4359-882b-fa5f51c09301}">
<IDSymbol name="MyGroupForCommands" value="0x1020" />
<!-- Warning!!: Keep the value in sync with the code in Command1.cs -->

<IDSymbol name="Command1Id" value="0x109" />
</GuidSymbol>

Expand Down

0 comments on commit 92d0d24

Please sign in to comment.