Skip to content

Commit

Permalink
Merge branch 'master' into joeh/popoutSmallerOrLarger
Browse files Browse the repository at this point in the history
  • Loading branch information
joehenry9498 authored Dec 12, 2023
2 parents 160d61d + 6319c32 commit 71a0573
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/appui-react",
"comment": "Localize popout error text",
"type": "none"
}
],
"packageName": "@itwin/appui-react"
}
5 changes: 5 additions & 0 deletions docs/changehistory/NextVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Table of contents:

- [@itwin/appui-react](#itwinappui-react)
- [Fixes](#fixes)
- [Changes](#changes)
- [Fixes](#fixes)
- [@itwin/components-react](#itwincomponents-react)
Expand All @@ -12,6 +13,10 @@ Table of contents:

## @itwin/appui-react

### Fixes

- Localize popout error message text.

### Changes

- Promoted `FrameworkToolAdmin` to _beta_. #618
Expand Down
3 changes: 2 additions & 1 deletion ui/appui-react/public/locales/en/UiFramework.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
"popoutActiveTab": "Pop out active widget tab"
},
"errorMessage": {
"unknownError": "Something went wrong..."
"unknownError": "Something went wrong...",
"widgetPopoutFail": "Widget failed to popout, ensure you allow popout for this site."
}
},
"statusBar": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class FrontstageDef {
IModelApp.notifications.outputMessage(
new NotifyMessageDetails(
OutputMessagePriority.Error,
"Widget Failed To Popout",
UiFramework.translate("widget.errorMessage.widgetPopoutFail"),
undefined,
OutputMessageType.Toast
)
Expand Down

0 comments on commit 71a0573

Please sign in to comment.