Compare commits
10 Commits
18112f028a
...
0d871f245b
Author | SHA1 | Date | |
---|---|---|---|
|
0d871f245b | ||
|
7fcc61a8ba | ||
|
6a6e0ee944 | ||
|
dd80171408 | ||
|
cf981bda8a | ||
|
21607437ca | ||
|
d88c1f7a26 | ||
|
54eda2b9bc | ||
|
4af33badce | ||
|
cdcddf10ba |
94
README.md
Normal file
94
README.md
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
# Minetest mod "Jukebox"
|
||||||
|
Version: 2.0
|
||||||
|
|
||||||
|
## License of source code
|
||||||
|
- Copyright (C) 2013 BlockMen <blockmen2015@gmail.com>
|
||||||
|
- Copyright (C) 2015-2016 LNJ <lnj.git@gmail.com>
|
||||||
|
- Copyright (C) 2016 Rui
|
||||||
|
|
||||||
|
```
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## License of textures
|
||||||
|
(by Authors)
|
||||||
|
|
||||||
|
- BlockMen (WTFPL):
|
||||||
|
- `jukebox_disc_*.png` (added coulors by lightonflux)
|
||||||
|
|
||||||
|
|
||||||
|
## License of music: CC0
|
||||||
|
The authors are (freesound.org):
|
||||||
|
- cheesepuff (song1)
|
||||||
|
- geerterig (song2)
|
||||||
|
- rap2h (song3)
|
||||||
|
- keffstay (song4)
|
||||||
|
- usedtobe (song5)
|
||||||
|
- zagi2 (song6)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Notice
|
||||||
|
This mod is only useable with Minetest 5.0 or above!
|
||||||
|
|
||||||
|
|
||||||
|
## Description
|
||||||
|
In the Jukebox plus mod you've got 9 different music discs.
|
||||||
|
|
||||||
|
You can add music by copy your ogg file to the sounds folder and renaming them to e.g. this:
|
||||||
|
`jukebox_disc_2.0.ogg`
|
||||||
|
But pay attention that the sounds have to be mono, else you can hear the music all over the world.
|
||||||
|
|
||||||
|
There are 9 discs so there are the sound files `jukebox_disc_1.*.ogg` to `jukebox_disc_9.*.ogg`.
|
||||||
|
The small star can be replaced by the numbers 0 to 9.
|
||||||
|
|
||||||
|
So you can have up to 9x10 (90) songs!
|
||||||
|
|
||||||
|
|
||||||
|
## Using the mod
|
||||||
|
To use the jukebox, you have to craft one. You need 8 wood and 1 mese crystal to craft it following way:
|
||||||
|
|
||||||
|
```
|
||||||
|
wood wood wood
|
||||||
|
wood mese crystal wood
|
||||||
|
wood wood wood
|
||||||
|
```
|
||||||
|
|
||||||
|
Just rightclick with a music disc in your hand on the jukebox and it will play a random song from this disc.
|
||||||
|
To stop the music rightclick the box again and it will drop the music disc.
|
||||||
|
|
||||||
|
|
||||||
|
## API Documentation
|
||||||
|
The jukebox mod offers a simple API to register new discs. See here how to use it:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
jukebox.register_disc("mymod:new_disc", {
|
||||||
|
description = "New Disc",
|
||||||
|
-- ^ The item description
|
||||||
|
inventory_image = "mymod_new_disc.png",
|
||||||
|
-- ^ The disc image / texture
|
||||||
|
music_name = "mymod_new_disc",
|
||||||
|
-- ^ This is the sound that'll be played if you insert the disc
|
||||||
|
|
||||||
|
-- if you want to you can add here more options as in minetest.register_craftitem (except stack_max)
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Links
|
||||||
|
- [Forum Topic](https://forum.minetest.net/viewtopic.php?id=13505)
|
||||||
|
- [GitHub](https://github.com/minetest-mods/jukebox)
|
101
README.txt
101
README.txt
@ -1,101 +0,0 @@
|
|||||||
Minetest mod "Jukebox"
|
|
||||||
======================
|
|
||||||
Version: 2.0
|
|
||||||
|
|
||||||
License of source code:
|
|
||||||
-----------------------
|
|
||||||
Copyright (C) 2013 BlockMen <blockmen2015@gmail.com>
|
|
||||||
Copyright (C) 2015-2016 LNJ <lnj.git@gmail.com>
|
|
||||||
Copyright (C) 2016 Rui
|
|
||||||
|
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
Version 2, December 2004
|
|
||||||
|
|
||||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim or modified
|
|
||||||
copies of this license document, and changing it is allowed as long
|
|
||||||
as the name is changed.
|
|
||||||
|
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
License of textures:
|
|
||||||
--------------------
|
|
||||||
(by Authors)
|
|
||||||
|
|
||||||
BlockMen (WTFPL):
|
|
||||||
jukebox_disc_*.png (added coulors by lightonflux)
|
|
||||||
|
|
||||||
|
|
||||||
License of music: CC0
|
|
||||||
---------------------
|
|
||||||
The authors are (freesound.org):
|
|
||||||
- cheesepuff (song1)
|
|
||||||
- geerterig (song2)
|
|
||||||
- rap2h (song3)
|
|
||||||
- keffstay (song4)
|
|
||||||
- usedtobe (song5)
|
|
||||||
- zagi2 (song6)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Notice:
|
|
||||||
-------
|
|
||||||
This mod is only useable with Minetest 0.4.14 or above!
|
|
||||||
|
|
||||||
|
|
||||||
Description:
|
|
||||||
------------
|
|
||||||
In the Jukebox plus mod you've got 9 different music discs.
|
|
||||||
|
|
||||||
You can add music by copy your ogg file to the sounds folder and renaming them to e.g. this:
|
|
||||||
jukebox_disc_2.0.ogg
|
|
||||||
But pay attention that the sounds have to be mono, else you can hear the music all over the world.
|
|
||||||
|
|
||||||
There are 9 discs so there are the sound files jukebox_disc_1.*.ogg to jukebox_disc_9.*.ogg.
|
|
||||||
The small star can be replaced by the numbers 0 to 9.
|
|
||||||
|
|
||||||
So you can have up to 9x10 (90) songs!
|
|
||||||
|
|
||||||
|
|
||||||
Using the mod:
|
|
||||||
--------------
|
|
||||||
To use the jukebox, you have to craft one. You need 8 wood and 1 mese crystal to craft it following way:
|
|
||||||
|
|
||||||
wood wood wood
|
|
||||||
wood mese crystal wood
|
|
||||||
wood wood wood
|
|
||||||
|
|
||||||
Just rightclick with a music disc in your hand on the jukebox and it will play a random song from this disc.
|
|
||||||
To stop the music rightclick the box again and it will drop the music disc.
|
|
||||||
|
|
||||||
|
|
||||||
API Documentation:
|
|
||||||
------------------
|
|
||||||
The jukebox mod offers a simple API to register new discs. See here how to use it:
|
|
||||||
|
|
||||||
jukebox.register_disc("mymod:new_disc", {
|
|
||||||
description = "New Disc",
|
|
||||||
^ The item description
|
|
||||||
inventory_image = "mymod_new_disc.png",
|
|
||||||
^ The disc image / texture
|
|
||||||
music_name = "mymod_new_disc",
|
|
||||||
^ This is the sound that'll be played if you insert the disc
|
|
||||||
|
|
||||||
-- if you want to you can add here more options as in minetest.register_craftitem (except stack_max)
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Links:
|
|
||||||
------
|
|
||||||
Forum Topic:
|
|
||||||
https://forum.minetest.net/viewtopic.php?id=13505
|
|
||||||
|
|
||||||
GitHub:
|
|
||||||
https://github.com/minetest-mods/jukebox
|
|
@ -1,2 +0,0 @@
|
|||||||
default
|
|
||||||
intllib?
|
|
@ -1,2 +0,0 @@
|
|||||||
A mod that adds a jukebox with nine different discs. There is also an API to register new discs.
|
|
||||||
|
|
4
init.lua
4
init.lua
@ -1,6 +1,4 @@
|
|||||||
-- Load support for intllib.
|
local S = minetest.get_translator("jukebox")
|
||||||
local MP = minetest.get_modpath(minetest.get_current_modname())
|
|
||||||
local S, NS = dofile(MP.."/intllib.lua")
|
|
||||||
|
|
||||||
jukebox = {}
|
jukebox = {}
|
||||||
jukebox.registered_discs = {}
|
jukebox.registered_discs = {}
|
||||||
|
45
intllib.lua
45
intllib.lua
@ -1,45 +0,0 @@
|
|||||||
|
|
||||||
-- 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
locale/be.po
29
locale/be.po
@ -1,29 +0,0 @@
|
|||||||
# 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
locale/cs.po
28
locale/cs.po
@ -1,28 +0,0 @@
|
|||||||
# 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
locale/de.po
28
locale/de.po
@ -1,28 +0,0 @@
|
|||||||
# 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-10-22 22:52+0000\n"
|
|
||||||
"Last-Translator: Wuzzy <almikes@aol.com>\n"
|
|
||||||
"Language-Team: German <https://hosted.weblate.org/projects/minetest/mod-"
|
|
||||||
"jukebox/de/>\n"
|
|
||||||
"Language: de\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.17\n"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Jukebox"
|
|
||||||
msgstr "Musikbox"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Music Disc @1"
|
|
||||||
msgstr "Schallplatte @1"
|
|
28
locale/fr.po
28
locale/fr.po
@ -1,28 +0,0 @@
|
|||||||
# 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"
|
|
29
locale/id.po
29
locale/id.po
@ -1,29 +0,0 @@
|
|||||||
# 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: 2018-03-15 17:38+0000\n"
|
|
||||||
"Last-Translator: Muhammad Rifqi Priyo Susanto "
|
|
||||||
"<muhammadrifqipriyosusanto@gmail.com>\n"
|
|
||||||
"Language-Team: Indonesian <https://hosted.weblate.org/projects/minetest/"
|
|
||||||
"mod-jukebox/id/>\n"
|
|
||||||
"Language: id\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.20-dev\n"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Jukebox"
|
|
||||||
msgstr "Kotak Musik"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Music Disc @1"
|
|
||||||
msgstr "Diska Musik @1"
|
|
28
locale/it.po
28
locale/it.po
@ -1,28 +0,0 @@
|
|||||||
# 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
locale/ja.po
29
locale/ja.po
@ -1,29 +0,0 @@
|
|||||||
# 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"
|
|
7
locale/jukebox.be.tr
Normal file
7
locale/jukebox.be.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Музычны аўтамат
|
||||||
|
Music Disc @1=Музычны дыск @1
|
7
locale/jukebox.cs.tr
Normal file
7
locale/jukebox.cs.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Jukebox
|
||||||
|
Music Disc @1=Hudební disk @1
|
7
locale/jukebox.de.tr
Normal file
7
locale/jukebox.de.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Musikbox
|
||||||
|
Music Disc @1=Schallplatte @1
|
7
locale/jukebox.fr.tr
Normal file
7
locale/jukebox.fr.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Juke-box
|
||||||
|
Music Disc @1=Disque de musique @1
|
7
locale/jukebox.id.tr
Normal file
7
locale/jukebox.id.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Kotak Musik
|
||||||
|
Music Disc @1=Cakram Musik @1
|
7
locale/jukebox.it.tr
Normal file
7
locale/jukebox.it.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Jukebox
|
||||||
|
Music Disc @1=Disco musicale @1
|
7
locale/jukebox.ja.tr
Normal file
7
locale/jukebox.ja.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=ジュークボックス
|
||||||
|
Music Disc @1=音楽ディスク @1
|
7
locale/jukebox.ms.tr
Normal file
7
locale/jukebox.ms.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Peti Lagu
|
||||||
|
Music Disc @1=Disk Lagu @1
|
7
locale/jukebox.nb.tr
Normal file
7
locale/jukebox.nb.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Musikkboks
|
||||||
|
Music Disc @1=Musikkplate @1
|
7
locale/jukebox.nl.tr
Normal file
7
locale/jukebox.nl.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Jukebox
|
||||||
|
Music Disc @1=Muziek Disk @1
|
7
locale/jukebox.pl.tr
Normal file
7
locale/jukebox.pl.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Szafa grająca
|
||||||
|
Music Disc @1=Płyta
|
7
locale/jukebox.pt.tr
Normal file
7
locale/jukebox.pt.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Vitrola
|
||||||
|
Music Disc @1=Disco de Música @1
|
7
locale/jukebox.ru.tr
Normal file
7
locale/jukebox.ru.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Музыкальный автомат
|
||||||
|
Music Disc @1=Музыкальный диск @1
|
7
locale/jukebox.tr.tr
Normal file
7
locale/jukebox.tr.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=Müzik Kutusu
|
||||||
|
Music Disc @1=Müzik Diski @1
|
7
locale/jukebox.zh_Hans.tr
Normal file
7
locale/jukebox.zh_Hans.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=点唱机
|
||||||
|
Music Disc @1=音乐光盘 @1
|
7
locale/jukebox.zh_Hant.tr
Normal file
7
locale/jukebox.zh_Hant.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=
|
||||||
|
Music Disc @1=
|
29
locale/ms.po
29
locale/ms.po
@ -1,29 +0,0 @@
|
|||||||
# 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
locale/nb.po
28
locale/nb.po
@ -1,28 +0,0 @@
|
|||||||
# 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-10-13 09:55+0000\n"
|
|
||||||
"Last-Translator: Petter Reinholdtsen <pere-weblate@hungry.com>\n"
|
|
||||||
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/minetest"
|
|
||||||
"/mod-jukebox/nb/>\n"
|
|
||||||
"Language: nb\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.17-dev\n"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Jukebox"
|
|
||||||
msgstr "Musikkboks"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Music Disc @1"
|
|
||||||
msgstr "Musikkplate @1"
|
|
28
locale/nl.po
28
locale/nl.po
@ -1,28 +0,0 @@
|
|||||||
# 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-08-31 19:45+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.17-dev\n"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Jukebox"
|
|
||||||
msgstr "Jukebox"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Music Disc @1"
|
|
||||||
msgstr "Muziek Disk @1"
|
|
29
locale/ru.po
29
locale/ru.po
@ -1,29 +0,0 @@
|
|||||||
# 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-09-04 21:43+0000\n"
|
|
||||||
"Last-Translator: pitchblack <pitchblack@mail.ru>\n"
|
|
||||||
"Language-Team: Russian <https://hosted.weblate.org/projects/minetest/mod-"
|
|
||||||
"jukebox/ru/>\n"
|
|
||||||
"Language: ru\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.17-dev\n"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Jukebox"
|
|
||||||
msgstr "Музыкальный автомат"
|
|
||||||
|
|
||||||
#: init.lua
|
|
||||||
msgid "Music Disc @1"
|
|
||||||
msgstr "Музыкальный диск @1"
|
|
@ -1,26 +0,0 @@
|
|||||||
# 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 ""
|
|
7
locale/template.txt
Normal file
7
locale/template.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: jukebox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
Jukebox=
|
||||||
|
Music Disc @1=
|
28
locale/tr.po
28
locale/tr.po
@ -1,28 +0,0 @@
|
|||||||
# 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"
|
|
@ -1,29 +0,0 @@
|
|||||||
# 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"
|
|
2
mod.conf
2
mod.conf
@ -1,2 +1,4 @@
|
|||||||
name = jukebox
|
name = jukebox
|
||||||
|
description = A mod that adds a jukebox with nine different discs. There is also an API to register new discs.
|
||||||
|
depends = default
|
||||||
|
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
Loading…
x
Reference in New Issue
Block a user