Update Translation files.
This commit is contained in:
parent
3e208f673a
commit
c906207304
|
@ -3,11 +3,11 @@
|
||||||
--- Created by Michieal.
|
--- Created by Michieal.
|
||||||
--- DateTime: 02/07/2023 6:20 AM
|
--- DateTime: 02/07/2023 6:20 AM
|
||||||
--- Copyright (C) 2023, Michieal. See License.txt
|
--- Copyright (C) 2023, Michieal. See License.txt
|
||||||
--- Last Update Time: 02/07/23 4:40 AM
|
--- Last Update Time: 02/07/23 6:55 PM
|
||||||
--- See License.txt and Additional Terms.txt for licensing.
|
--- See License.txt and Additional Terms.txt for licensing.
|
||||||
--- If you did not receive a copy of the license with this content package, please see:
|
--- If you did not receive a copy of the license with this content package, please see:
|
||||||
--- https://www.gnu.org/licenses/gpl-3.0.en.html and https://creativecommons.org/licenses/by-sa/4.0/
|
--- https://www.gnu.org/licenses/gpl-3.0.en.html and https://creativecommons.org/licenses/by-sa/4.0/
|
||||||
|
---
|
||||||
|
|
||||||
local modname = minetest.get_current_modname()
|
local modname = minetest.get_current_modname()
|
||||||
local modpath = minetest.get_modpath(modname)
|
local modpath = minetest.get_modpath(modname)
|
||||||
|
@ -16,7 +16,7 @@ local S = minetest.get_translator(modname)
|
||||||
-- register normal user access to debug levels 1 and 0.
|
-- register normal user access to debug levels 1 and 0.
|
||||||
minetest.register_chatcommand("modpackver", {
|
minetest.register_chatcommand("modpackver", {
|
||||||
description = S("Display Mineclone 2 Plus Modpack version."),
|
description = S("Display Mineclone 2 Plus Modpack version."),
|
||||||
func = function(name, params)
|
func = function(name, _) -- removed params variable as it was unused.
|
||||||
local conf = Settings(modpath .. "/ver.conf")
|
local conf = Settings(modpath .. "/ver.conf")
|
||||||
local version = conf:get("version")
|
local version = conf:get("version")
|
||||||
local game_info ={}
|
local game_info ={}
|
||||||
|
|
Loading…
Reference in New Issue