diff --git a/README.md b/README.md index 1601632f..28eae4b6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ContentDB  -A content database for Minetest mods, games, and more.\ +A content database for Luanti mods, games, and more.\ Developed by rubenwardy, license AGPLv3.0+. See [Getting Started](docs/getting_started.md) for setting up a development/prodiction environment. diff --git a/app/public/static/js/package_edit.js b/app/public/static/js/package_edit.js index 793748ac..7c75ede5 100644 --- a/app/public/static/js/package_edit.js +++ b/app/public/static/js/package_edit.js @@ -68,8 +68,9 @@ window.addEventListener("load", () => { } setupHints("short_desc", { - "short_desc_mods": (val) => val.indexOf("minetest") >= 0 || val.indexOf("mod") >= 0 || - val.indexOf("modpack") >= 0 || val.indexOf("mod pack") >= 0, + "short_desc_mods": (val) => val.indexOf("luanti") >= 0 || val.indexOf("minetest") >= 0 || + val.indexOf("mod") >= 0 || val.indexOf("modpack") >= 0 || + val.indexOf("mod pack") >= 0, }); setupHints("desc", { diff --git a/app/templates/packages/create_edit.html b/app/templates/packages/create_edit.html index 715fd8f0..c98d7f73 100644 --- a/app/templates/packages/create_edit.html +++ b/app/templates/packages/create_edit.html @@ -21,7 +21,7 @@ {% endif %} - + {% endblock %} {% block content %} @@ -82,7 +82,7 @@ {{ render_field(form.short_desc, class_="pkg_meta") }}
- {{ _("Tip: Don't include Minetest, mod, or modpack anywhere in the short description. It is unnecessary and wastes characters.") }} + {{ _("Tip: Don't include Luanti, Minetest, mod, or modpack anywhere in the short description. It is unnecessary and wastes characters.") }}
{{ render_field(form.dev_state, class_="pkg_meta", hint=_("Please choose 'Work in Progress' if your package is unstable, and shouldn't be recommended to all players")) }} diff --git a/docs/minetest_client.md b/docs/luanti_client.md similarity index 92% rename from docs/minetest_client.md rename to docs/luanti_client.md index 0f3aa683..c0180bd1 100644 --- a/docs/minetest_client.md +++ b/docs/luanti_client.md @@ -1,6 +1,6 @@ -# Minetest's use of the API +# Luanti's use of the API -This document explains how Minetest's ContentDB client interacts with ContentDB. +This document explains how Luanti's ContentDB client interacts with ContentDB. This is useful both for implementing your own client for ContentDB to install mods, or for implementing ContentDB compatible servers. @@ -36,7 +36,7 @@ Example response: `type` is one of `mod`, `game`, or `txp`. `release` is the release ID. Newer releases have higher IDs. -Minetest compares this ID to a locally stored version to detect whether a package has updates. +Luanti compares this ID to a locally stored version to detect whether a package has updates. Because the client specifies the engine version information, the response must contain a release number and the package must be downloadable. @@ -62,7 +62,7 @@ track the installed release to detect updates in the future. ### Short version -Minetest uses `/api/packages/