From 2758f7657a8f9ef5ec4f9d15cdf1e2830e6ea870 Mon Sep 17 00:00:00 2001 From: Aleksana Date: Fri, 7 Jun 2024 00:00:43 +0800 Subject: [PATCH] fix: wording when a package has no platforms list (#774) --- frontend/src/Page/Packages.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Page/Packages.elm b/frontend/src/Page/Packages.elm index 0c7f1a1..b951294 100644 --- a/frontend/src/Page/Packages.elm +++ b/frontend/src/Page/Packages.elm @@ -490,7 +490,7 @@ viewResultItem nixosChannels channel showInstallDetails show item = , div [] (List.append [ h4 [] [ text "Platforms" ] ] (if List.isEmpty item.source.platforms then - [ p [] [ text "This package is not available on any platform." ] ] + [ p [] [ text "This package does not list its available platforms." ] ] else [ ul [] (List.map showPlatform (List.sort item.source.platforms)) ]