Skip to content

Commit

Permalink
Fix for #129 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigHawker authored May 28, 2024
1 parent c418376 commit 253b192
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ public virtual DashboardPanelEx GetLicensingDetailsDashboardContent(TLicenseCont
content.Add(this.GetTernaryStatementDashboardContent
(
userGroup.Members.Count > group.Len,
string.Format(Resources.Licensing.LicensingStatusPanel_GroupMembership_Valid, group.Group, group.Len, userGroup.Members.Count),
string.Format(Resources.Licensing.LicensingStatusPanel_GroupMembership_Exceeded, group.Group, group.Len, userGroup.Members.Count)
string.Format(Resources.Licensing.LicensingStatusPanel_GroupMembership_Exceeded, group.Group, group.Len, userGroup.Members.Count),
string.Format(Resources.Licensing.LicensingStatusPanel_GroupMembership_Valid, group.Group, group.Len, userGroup.Members.Count)
));
}
}
Expand Down
4 changes: 2 additions & 2 deletions MFiles.VAF.Extensions/Resources/Licensing.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions MFiles.VAF.Extensions/Resources/Licensing.resx
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@
<comment>{0} will be replaced with the number of licensed users, {1} will be replaced with the number of licenses in use.</comment>
</data>
<data name="LicensingStatusPanel_GroupMembership_Exceeded" xml:space="preserve">
<value>User group {0} has {1} members, which is more than the licensed value of {1}.</value>
<value>User group {0} has {1} members, which is more than the licensed value of {2}.</value>
</data>
<data name="LicensingStatusPanel_GroupMembership_Valid" xml:space="preserve">
<value>User group {0} has {1} members, which is less than the licensed value of {1}.</value>
<value>User group {0} has {1} members, which is less than the licensed value of {2}.</value>
</data>
<data name="LicensingStatusPanel_LicensedTo" xml:space="preserve">
<value>This application is licensed to {0}.</value>
Expand Down

0 comments on commit 253b192

Please sign in to comment.