diff --git a/cartridges/ui/game-details.blp b/cartridges/ui/game-details.blp index c32876b..84cfc6b 100644 --- a/cartridges/ui/game-details.blp +++ b/cartridges/ui/game-details.blp @@ -289,7 +289,11 @@ template $GameDetails: Adw.NavigationPage { popover: Popover { child: Label { - label: bind $_format_more_info(_("To launch the executable \"{}\", use the command:\n\n\"{}\"\n\nTo open the file \"{}\" with the default application, use:\n\n{} \"{}\"\n\nIf the path contains spaces, make sure to wrap it in double quotes!")) as ; + label: bind $_format_more_info( + _( + "To launch the executable \"{}\", use the command:\n\n\"{}\"\n\nTo open the file \"{}\" with the default application, use:\n\n{} \"{}\"\n\nIf the path contains spaces, make sure to wrap it in double quotes!" + ) + ) as ; use-markup: true; wrap: true; wrap-mode: word_char; diff --git a/cartridges/ui/window.blp b/cartridges/ui/window.blp index fe5b89e..7cb3ca6 100644 --- a/cartridges/ui/window.blp +++ b/cartridges/ui/window.blp @@ -128,7 +128,15 @@ template $Window: Adw.ApplicationWindow { content: Adw.ToastOverlay toast_overlay { child: Adw.ViewStack { enable-transitions: true; - visible-child-name: bind $_if_else(grid.model as .n-items, "grid", $_if_else(template.search-text, "empty-search", $_if_else(template.show-hidden, "empty-hidden", "empty") as ) as ) as ; + visible-child-name: bind $_if_else( + grid.model as .n-items, + "grid", + $_if_else( + template.search-text, + "empty-search", + $_if_else(template.show-hidden, "empty-hidden", "empty") as + ) as + ) as ; Adw.ViewStackPage { name: "grid";