Use the Luanti name in places where forgotten (#600)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# ContentDB
|
# 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+.
|
Developed by rubenwardy, license AGPLv3.0+.
|
||||||
|
|
||||||
See [Getting Started](docs/getting_started.md) for setting up a development/prodiction environment.
|
See [Getting Started](docs/getting_started.md) for setting up a development/prodiction environment.
|
||||||
|
|||||||
@@ -68,8 +68,9 @@ window.addEventListener("load", () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setupHints("short_desc", {
|
setupHints("short_desc", {
|
||||||
"short_desc_mods": (val) => val.indexOf("minetest") >= 0 || val.indexOf("mod") >= 0 ||
|
"short_desc_mods": (val) => val.indexOf("luanti") >= 0 || val.indexOf("minetest") >= 0 ||
|
||||||
val.indexOf("modpack") >= 0 || val.indexOf("mod pack") >= 0,
|
val.indexOf("mod") >= 0 || val.indexOf("modpack") >= 0 ||
|
||||||
|
val.indexOf("mod pack") >= 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
setupHints("desc", {
|
setupHints("desc", {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<script src="/static/js/polltask.js?v=3"></script>
|
<script src="/static/js/polltask.js?v=3"></script>
|
||||||
<script src="/static/js/package_create.js"></script>
|
<script src="/static/js/package_create.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script src="/static/js/package_edit.js?v=3"></script>
|
<script src="/static/js/package_edit.js?v=4"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ render_field(form.short_desc, class_="pkg_meta") }}
|
{{ render_field(form.short_desc, class_="pkg_meta") }}
|
||||||
<p class="form-text text-warning d-none" id="short_desc_mods">
|
<p class="form-text text-warning d-none" id="short_desc_mods">
|
||||||
{{ _("Tip: Don't include <i>Minetest</i>, <i>mod</i>, or <i>modpack</i> anywhere in the short description. It is unnecessary and wastes characters.") }}
|
{{ _("Tip: Don't include <i>Luanti</i>, <i>Minetest</i>, <i>mod</i>, or <i>modpack</i> anywhere in the short description. It is unnecessary and wastes characters.") }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{{ 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")) }}
|
{{ 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")) }}
|
||||||
|
|||||||
@@ -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,
|
This is useful both for implementing your own client for ContentDB to install mods,
|
||||||
or for implementing ContentDB compatible servers.
|
or for implementing ContentDB compatible servers.
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ Example response:
|
|||||||
`type` is one of `mod`, `game`, or `txp`.
|
`type` is one of `mod`, `game`, or `txp`.
|
||||||
|
|
||||||
`release` is the release ID. Newer releases have higher IDs.
|
`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
|
Because the client specifies the engine version information, the response must contain a release
|
||||||
number and the package must be downloadable.
|
number and the package must be downloadable.
|
||||||
@@ -62,7 +62,7 @@ track the installed release to detect updates in the future.
|
|||||||
|
|
||||||
### Short version
|
### Short version
|
||||||
|
|
||||||
Minetest uses `/api/packages/<author>/<name>/dependencies/?only_hard=1` to find out the hard
|
Luanti uses `/api/packages/<author>/<name>/dependencies/?only_hard=1` to find out the hard
|
||||||
dependencies for a package.
|
dependencies for a package.
|
||||||
|
|
||||||
Then, it resolves each dependency recursively.
|
Then, it resolves each dependency recursively.
|
||||||
Reference in New Issue
Block a user