shithub: puzzles

Download patch

ref: 2a4abce8a8ae957df4e3cbe2d6fc78d6ff10d69b
parent: fb13ce8d716cb2b24208e5a48aa704ef50f98697
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sun Dec 11 10:01:34 EST 2022

kaios: Provide a populated "locales" field in the manifest

The documentation says it's only needed to override values in the main
manifest, but it's apparently required even if you only support one
locale.

--- a/kaios/manifest.pl
+++ b/kaios/manifest.pl
@@ -46,7 +46,13 @@
         url => "https://bjh21.me.uk",
     },
     default_locale => "en-GB",
-    locales => [ ],
+    locales => [
+        "en-GB" => {
+            name => $displayname,
+            subtitle => $description,
+            description => $objective,
+        },
+    ],
     categories => ["games"],
     type => "web",
     cursor => JSON::PP::false,