mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
minetest: Rename Minetest to Luanti
This is to follow up with the upstream change: https://blog.luanti.org/2024/10/13/Introducing-Our-New-Name/. Rename Minetest to Luanti in: - App name - App description - Clients' name - Docstrings - Also update the donation and client download links to point to the new domain. - Make the app button point to /apps/luanti while continuing to serve /apps/minetest in case somebody has it bookmarked. Closes: #2521 Signed-off-by: Benedek Nagy <contact@nbenedek.me> [sunil: Rename the old URL to index-old to avoid duplicates] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
959d1e2554
commit
044d99e367
@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
"""FreedomBox app for Minetest server."""
|
||||
"""FreedomBox app for Luanti (formally Minetest) server."""
|
||||
|
||||
import augeas
|
||||
from django.urls import reverse_lazy
|
||||
@ -30,10 +30,11 @@ _mods = [
|
||||
|
||||
_description = [
|
||||
format_lazy(
|
||||
_('Minetest is a multiplayer infinite-world block sandbox. This '
|
||||
'module enables the Minetest server to be run on this '
|
||||
'{box_name}, on the default port (30000). To connect to the server, '
|
||||
'a <a href="http://www.minetest.net/downloads/">Minetest client</a> '
|
||||
_('Luanti, formally known as Minetest, is a multiplayer '
|
||||
'infinite-world block sandbox. This module enables the Luanti '
|
||||
'server to be run on this {box_name}, on the default port (30000). '
|
||||
'To connect to the server, a '
|
||||
'<a href="https://www.luanti.org/downloads/">Luanti client</a> '
|
||||
'is needed.'), box_name=_(cfg.box_name)),
|
||||
]
|
||||
|
||||
@ -42,7 +43,7 @@ AUG_PATH = '/files' + CONFIG_FILE + '/.anon'
|
||||
|
||||
|
||||
class MinetestApp(app_module.App):
|
||||
"""FreedomBox app for Minetest."""
|
||||
"""FreedomBox app for Luanti (formally Minetest)."""
|
||||
|
||||
app_id = 'minetest'
|
||||
|
||||
@ -53,11 +54,11 @@ class MinetestApp(app_module.App):
|
||||
super().__init__()
|
||||
|
||||
info = app_module.Info(
|
||||
app_id=self.app_id, version=self._version, name=_('Minetest'),
|
||||
app_id=self.app_id, version=self._version, name=_('Luanti'),
|
||||
icon_filename='minetest', description=_description,
|
||||
manual_page='Minetest', clients=manifest.clients,
|
||||
tags=manifest.tags,
|
||||
donation_url='https://www.minetest.net/get-involved/#donate')
|
||||
donation_url='https://www.luanti.org/donate/')
|
||||
self.add(info)
|
||||
|
||||
menu_item = menu.Menu('menu-minetest', info.name, info.icon_filename,
|
||||
|
||||
@ -6,19 +6,19 @@ from plinth.clients import store_url
|
||||
|
||||
clients = [{
|
||||
'name':
|
||||
_('Minetest'),
|
||||
_('Luanti'),
|
||||
'platforms': [{
|
||||
'type': 'download',
|
||||
'os': 'gnu-linux',
|
||||
'url': 'https://www.minetest.net/downloads/'
|
||||
'url': 'https://www.luanti.org/downloads/'
|
||||
}, {
|
||||
'type': 'download',
|
||||
'os': 'macos',
|
||||
'url': 'https://www.minetest.net/downloads/'
|
||||
'url': 'https://www.luanti.org/downloads/'
|
||||
}, {
|
||||
'type': 'download',
|
||||
'os': 'windows',
|
||||
'url': 'https://www.minetest.net/downloads/'
|
||||
'url': 'https://www.luanti.org/downloads/'
|
||||
}, {
|
||||
'type': 'store',
|
||||
'os': 'android',
|
||||
@ -32,7 +32,7 @@ clients = [{
|
||||
}, {
|
||||
'type': 'package',
|
||||
'format': 'deb',
|
||||
'name': 'minetest'
|
||||
'name': 'luanti'
|
||||
}]
|
||||
}]
|
||||
|
||||
|
||||
@ -8,5 +8,6 @@ from django.urls import re_path
|
||||
from plinth.modules.minetest.views import MinetestAppView
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^apps/minetest/$', MinetestAppView.as_view(), name='index'),
|
||||
re_path(r'^apps/minetest/$', MinetestAppView.as_view(), name='index-old'),
|
||||
re_path(r'^apps/luanti/$', MinetestAppView.as_view(), name='index'),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user