Skip to content

Commit

Permalink
Use new function to get translated string of Warning Severity (#3090)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhinja authored Aug 30, 2024
1 parent 63b40b7 commit 0b5d089
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.25
0.6.26
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.26
* Use new function to get translated string of Warning Severity

## 0.6.25
* update Dynamo Core to 3.2.2

Expand Down
3 changes: 2 additions & 1 deletion src/Libraries/RevitNodes/Application/Warning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public string Description
/// </summary>
public string Severity
{
get{ return this.InternalWarning.GetSeverity().ToString(); }
get{ return Autodesk.Revit.DB.LabelUtils.GetFailureSeverityName(InternalWarning.GetSeverity());
}
}

/// <summary>
Expand Down

0 comments on commit 0b5d089

Please sign in to comment.