[jukebox] Update to Git commit 9f31f08 & patch 5cbba7f:
Commit: https://github.com/minetest-mods/jukebox/tree/9f31f08 Patch: https://github.com/AntumMT/mod-jukebox/tree/5cbba7f
This commit is contained in:
parent
5a9025904d
commit
c2a5465855
@ -42,7 +42,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
* [crops][] ([LGPL / CC BY-SA / CC BY / CC0][lic.crops]) -- version: [2b1bb37 Git][ver.crops] *2017-03-31* ([patched][patch.crops])
|
||||
* [farming_plus][] ([WTFPL][lic.farming_plus]) -- version: [7e0d976 Git][ver.farming_plus] *2014-07-31* ([patched][patch.farming_plus])
|
||||
* furniture/
|
||||
* [jukebox][] ([WTFPL / CC0][lic.jukebox]) -- version: [e6a507f Git][ver.jukebox] *2016-05-23* ***UPDATE***
|
||||
* [jukebox][] ([WTFPL / CC0][lic.jukebox]) -- version: [9f31f08 Git][ver.jukebox] *2017-07-12* ([patched][patch.jukebox])
|
||||
* [trampoline][] ([GPL][lic.gpl3.0]) -- version: [ab1c289 Git][ver.trampoline] *2017-05-26*
|
||||
* [trash_can][] ([MIT][lic.trash_can]) -- version: [5fd3df7 Git][ver.trash_can] *2016-01-14* ([patched][patch.trash_can])
|
||||
* [intllib][] ([Unlicense][lic.unlicense]) -- version: [7b818cb Git][ver.intllib] *2017-07-10*
|
||||
@ -463,7 +463,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[ver.ilights]: https://github.com/minetest-mods/ilights/tree/fa085fd
|
||||
[ver.intllib]: https://github.com/minetest-mods/intllib/tree/7b818cb
|
||||
[ver.invisibility]: https://github.com/tenplus1/invisibility/tree/bf4156b
|
||||
[ver.jukebox]: https://github.com/minetest-mods/jukebox/tree/e6a507f
|
||||
[ver.jukebox]: https://github.com/minetest-mods/jukebox/tree/9f31f08
|
||||
[ver.lightning]: https://github.com/minetest-mods/lightning/tree/39bd36c
|
||||
[ver.mesecons]: https://github.com/minetest-mods/mesecons/tree/564bdc2
|
||||
[ver.minetest_game]: https://github.com/minetest/minetest_game/tree/f855bee
|
||||
@ -553,6 +553,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[patch.hud]: https://github.com/AntumMT/mod-hud/tree/6846e20
|
||||
[patch.hudbars]: https://github.com/AntumMT/mod-hudbars/tree/9ca4f6b
|
||||
[patch.invisibility]: https://github.com/AntumMT/mod-invisibility/tree/f045c7c
|
||||
[patch.jukebox]: https://github.com/AntumMT/mod-jukebox/tree/5cbba7f
|
||||
[patch.mesecons]: https://github.com/AntumMT/mp-mesecons/tree/830823a
|
||||
[patch.minetest_game]: https://github.com/AntumMT/mtgame-minetest/tree/4275126
|
||||
[patch.mob-engine]: https://github.com/AntumMT/mp-mob-engine/tree/93575e0
|
||||
|
@ -1,2 +1,2 @@
|
||||
default
|
||||
craft_guide?
|
||||
intllib?
|
||||
|
@ -1,3 +1,7 @@
|
||||
-- Load support for intllib.
|
||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
||||
local S, NS = dofile(MP.."/intllib.lua")
|
||||
|
||||
jukebox = {}
|
||||
jukebox.registered_discs = {}
|
||||
|
||||
@ -20,7 +24,7 @@ end
|
||||
local handlers = {}
|
||||
|
||||
minetest.register_node("jukebox:box", {
|
||||
description = "Jukebox",
|
||||
description = S("Jukebox"),
|
||||
paramtype2 = "facedir",
|
||||
stack_max = 1,
|
||||
tiles = {
|
||||
@ -132,7 +136,7 @@ minetest.register_craft({
|
||||
|
||||
for i = 1, 9 do
|
||||
local item_name = "jukebox:disc_" .. i
|
||||
local description = "Music Disc " .. i
|
||||
local description = S("Music Disc @1", i)
|
||||
local inventory_image = "jukebox_disc_" .. i .. ".png"
|
||||
local music_name = "jukebox_disc_" .. i
|
||||
|
||||
@ -151,3 +155,4 @@ minetest.register_craft({
|
||||
{"", "default:coal_lump", ""}
|
||||
}
|
||||
})
|
||||
|
||||
|
45
mods/furniture/jukebox/intllib.lua
Normal file
45
mods/furniture/jukebox/intllib.lua
Normal file
@ -0,0 +1,45 @@
|
||||
|
||||
-- Fallback functions for when `intllib` is not installed.
|
||||
-- Code released under Unlicense <http://unlicense.org>.
|
||||
|
||||
-- Get the latest version of this file at:
|
||||
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
|
||||
|
||||
local function format(str, ...)
|
||||
local args = { ... }
|
||||
local function repl(escape, open, num, close)
|
||||
if escape == "" then
|
||||
local replacement = tostring(args[tonumber(num)])
|
||||
if open == "" then
|
||||
replacement = replacement..close
|
||||
end
|
||||
return replacement
|
||||
else
|
||||
return "@"..open..num..close
|
||||
end
|
||||
end
|
||||
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
|
||||
end
|
||||
|
||||
local gettext, ngettext
|
||||
if minetest.get_modpath("intllib") then
|
||||
if intllib.make_gettext_pair then
|
||||
-- New method using gettext.
|
||||
gettext, ngettext = intllib.make_gettext_pair()
|
||||
else
|
||||
-- Old method using text files.
|
||||
gettext = intllib.Getter()
|
||||
end
|
||||
end
|
||||
|
||||
-- Fill in missing functions.
|
||||
|
||||
gettext = gettext or function(msgid, ...)
|
||||
return format(msgid, ...)
|
||||
end
|
||||
|
||||
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
|
||||
return format(n==1 and msgid or msgid_plural, ...)
|
||||
end
|
||||
|
||||
return gettext, ngettext
|
29
mods/furniture/jukebox/locale/be.po
Normal file
29
mods/furniture/jukebox/locale/be.po
Normal file
@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-07 15:16+0000\n"
|
||||
"Last-Translator: Viktar Vauchkevich <victorenator@gmail.com>\n"
|
||||
"Language-Team: Belarusian <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/be/>\n"
|
||||
"Language: be\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
|
||||
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Музычны аўтамат"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Музычны дыск @1"
|
28
mods/furniture/jukebox/locale/cs.po
Normal file
28
mods/furniture/jukebox/locale/cs.po
Normal file
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-06-21 19:58+0000\n"
|
||||
"Last-Translator: Jakub Vaněk <vanek.jakub4@seznam.cz>\n"
|
||||
"Language-Team: Czech <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/cs/>\n"
|
||||
"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 2.15-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Jukebox"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Hudební disk @1"
|
28
mods/furniture/jukebox/locale/fr.po
Normal file
28
mods/furniture/jukebox/locale/fr.po
Normal file
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-12 17:07+0000\n"
|
||||
"Last-Translator: Roberto Albano De Rosa <robertoalbano@protonmail.com>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/fr/>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Juke-box"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Disque de musique @1"
|
28
mods/furniture/jukebox/locale/it.po
Normal file
28
mods/furniture/jukebox/locale/it.po
Normal file
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-12 16:28+0000\n"
|
||||
"Last-Translator: Roberto Albano De Rosa <robertoalbano@protonmail.com>\n"
|
||||
"Language-Team: Italian <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/it/>\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Jukebox"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Disco musicale @1"
|
29
mods/furniture/jukebox/locale/ja.po
Normal file
29
mods/furniture/jukebox/locale/ja.po
Normal file
@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-03 03:22+0000\n"
|
||||
"Last-Translator: Muhammad Nur Hidayat Yasuyoshi <muhdnurhidayat96@yahoo.com>"
|
||||
"\n"
|
||||
"Language-Team: Japanese <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/ja/>\n"
|
||||
"Language: ja\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "ジュークボックス"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "音楽ディスク @1"
|
29
mods/furniture/jukebox/locale/ms.po
Normal file
29
mods/furniture/jukebox/locale/ms.po
Normal file
@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-06-30 18:45+0000\n"
|
||||
"Last-Translator: Muhammad Nur Hidayat Yasuyoshi <muhdnurhidayat96@yahoo.com>"
|
||||
"\n"
|
||||
"Language-Team: Malay <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/ms/>\n"
|
||||
"Language: ms\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Peti Lagu"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Disk Lagu @1"
|
28
mods/furniture/jukebox/locale/nl.po
Normal file
28
mods/furniture/jukebox/locale/nl.po
Normal file
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-06 09:53+0000\n"
|
||||
"Last-Translator: Oscar <kingoscargames@gmail.com>\n"
|
||||
"Language-Team: Dutch <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/nl/>\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Jukebox"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Muziek disk @1"
|
26
mods/furniture/jukebox/locale/template.pot
Normal file
26
mods/furniture/jukebox/locale/template.pot
Normal file
@ -0,0 +1,26 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr ""
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr ""
|
28
mods/furniture/jukebox/locale/tr.po
Normal file
28
mods/furniture/jukebox/locale/tr.po
Normal file
@ -0,0 +1,28 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-06-22 12:56+0000\n"
|
||||
"Last-Translator: monolifed <monolifed@gmail.com>\n"
|
||||
"Language-Team: Turkish <https://hosted.weblate.org/projects/minetest/mod-"
|
||||
"jukebox/tr/>\n"
|
||||
"Language: tr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 2.15-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "Müzik Kutusu"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "Müzik Diski @1"
|
29
mods/furniture/jukebox/locale/zh_Hans.po
Normal file
29
mods/furniture/jukebox/locale/zh_Hans.po
Normal file
@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-04 22:01+0200\n"
|
||||
"PO-Revision-Date: 2017-07-03 03:24+0000\n"
|
||||
"Last-Translator: Muhammad Nur Hidayat Yasuyoshi <muhdnurhidayat96@yahoo.com>"
|
||||
"\n"
|
||||
"Language-Team: Chinese (Simplified) "
|
||||
"<https://hosted.weblate.org/projects/minetest/mod-jukebox/zh_Hans/>\n"
|
||||
"Language: zh_Hans\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 2.16-dev\n"
|
||||
|
||||
#: init.lua
|
||||
msgid "Jukebox"
|
||||
msgstr "点唱机"
|
||||
|
||||
#: init.lua
|
||||
msgid "Music Disc @1"
|
||||
msgstr "音乐光盘 @1"
|
Loading…
x
Reference in New Issue
Block a user