aboutsummaryrefslogtreecommitdiff
path: root/ontime_clocks
diff options
context:
space:
mode:
authorPierre-Yves Rollo <dev@pyrollo.com>2017-08-26 14:12:38 +0200
committerPierre-Yves Rollo <dev@pyrollo.com>2017-08-26 14:12:38 +0200
commitc179f44ba481c73158fa72d658cbd9fed046dcdd (patch)
tree48513ec25683841fad77f51a48ce91f0f47deaf9 /ontime_clocks
parentd59c475162da02695a85ebd92a44e53129aa8be3 (diff)
downloaddisplay_modpack-c179f44ba481c73158fa72d658cbd9fed046dcdd.tar.gz
display_modpack-c179f44ba481c73158fa72d658cbd9fed046dcdd.tar.bz2
display_modpack-c179f44ba481c73158fa72d658cbd9fed046dcdd.zip
Release 2017-08-26
Diffstat (limited to 'ontime_clocks')
-rw-r--r--ontime_clocks/README.md2
-rw-r--r--ontime_clocks/copyright.txt4
-rw-r--r--ontime_clocks/init.lua6
-rw-r--r--ontime_clocks/locale/template.pot2
4 files changed, 10 insertions, 4 deletions
diff --git a/ontime_clocks/README.md b/ontime_clocks/README.md
index 082e59b..72c94db 100644
--- a/ontime_clocks/README.md
+++ b/ontime_clocks/README.md
@@ -2,6 +2,8 @@
This mod provides clocks that display real ingame time.
+For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?f=11&t=13563) at the Minetest forums.
+
**Dependancies**: display_lib, default
**License**: Code under LGPL, textures under CC-BY-SA
diff --git a/ontime_clocks/copyright.txt b/ontime_clocks/copyright.txt
new file mode 100644
index 0000000..b752dff
--- /dev/null
+++ b/ontime_clocks/copyright.txt
@@ -0,0 +1,4 @@
+Code, Textures and Models by Pierre-Yves Rollo (pyrollo)
+intllib support (i18n) by fat115
+intllib fallback code and tools by Diego Martínez (kaeza)
+
diff --git a/ontime_clocks/init.lua b/ontime_clocks/init.lua
index d6d2da4..d0ac334 100644
--- a/ontime_clocks/init.lua
+++ b/ontime_clocks/init.lua
@@ -19,11 +19,11 @@
--]]
ontime_clocks = {}
-ontime_clocks.path = minetest.get_modpath("ontime_clocks")
+ontime_clocks.name = minetest.get_current_modname()
+ontime_clocks.path = minetest.get_modpath(ontime_clocks.name)
-- Load support for intllib.
-local MP = minetest.get_modpath(minetest.get_current_modname())
-local S, NS = dofile(MP.."/intllib.lua")
+local S, NS = dofile(ontime_clocks.path.."/intllib.lua")
ontime_clocks.intllib = S
dofile(ontime_clocks.path.."/common.lua")
diff --git a/ontime_clocks/locale/template.pot b/ontime_clocks/locale/template.pot
index 0367f5c..dca736f 100644
--- a/ontime_clocks/locale/template.pot
+++ b/ontime_clocks/locale/template.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-08-05 09:50+0200\n"
+"POT-Creation-Date: 2017-08-26 11:21+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"