switch to built-in translator

master
FaceDeer 2020-02-16 20:11:23 -07:00
parent 0eaa3388b0
commit 09402846df
4 changed files with 21 additions and 95 deletions

View File

@ -335,4 +335,8 @@ minetest.register_on_respawnplayer(function(player)
end)
-- * Called when player is to be respawned
-- * Called _before_ repositioning of player occurs
-- * return true in func to disable regular player placement
-- * return true in func to disable regular player placement
minetest.register_on_leaveplayer(function(player, timed_out)
hide_hud(player, player:get_player_name())
end)

View File

@ -1,88 +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: 2020-02-02 19:34-0700\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"
#: death_compass\init.lua:24
msgid "1 day"
msgstr ""
#: death_compass\init.lua:26
msgid "@1 days"
msgstr ""
#: death_compass\init.lua:29
msgid "1 hour"
msgstr ""
#: death_compass\init.lua:31
msgid "@1 hours"
msgstr ""
#: death_compass\init.lua:34
msgid "1 minute"
msgstr ""
#: death_compass\init.lua:36
msgid "@1 minutes"
msgstr ""
#: death_compass\init.lua:39
msgid "1 second"
msgstr ""
#: death_compass\init.lua:41
#: death_compass\init.lua:45
msgid "@1 seconds"
msgstr ""
#: death_compass\init.lua:51
msgid "@1 and @2"
msgstr ""
#: death_compass\init.lua:54
msgid ", "
msgstr ""
#: death_compass\init.lua:57
msgid ""
"This does nothing in its current inert state. If you have this in your "
"inventory when you die, however, it will follow you into your next life's "
"inventory and point toward the location of your previous life's end."
msgstr ""
#: death_compass\init.lua:60
msgid "The Death Compass' guidance will only last for @1 after death."
msgstr ""
#: death_compass\init.lua:62
msgid ""
"The Death Compass will point toward your previous corpse until you find it."
msgstr ""
#: death_compass\init.lua:141
msgid "@1m to @2's corpse, @3 remaining"
msgstr ""
#: death_compass\init.lua:144
msgid "@1m to @2's corpse, died @3 ago"
msgstr ""
#: death_compass\init.lua:181
#: death_compass\init.lua:196
msgid "Death Compass"
msgstr ""

16
locale/template.txt Normal file
View File

@ -0,0 +1,16 @@
, =
1 day=
1 hour=
1 minute=
1 second=
@1 and @2=
@1 days=
@1 hours=
@1 minutes=
@1 seconds=
@1m to @2's corpse, @3 remaining=
@1m to @2's corpse, died @3 ago=
Death Compass=
The Death Compass will point toward your corpse until you find it.=
The Death Compass' guidance will only last for @1 after death.=
This does nothing in its current inert state. If you have this in your inventory when you die, however, it will follow you into your next life's inventory and point toward the location of your previous life's end.=

View File

@ -1,6 +0,0 @@
@echo off
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
cd ..
set LIST=
for /r %%X in (*.lua) do set LIST=!LIST! %%X
..\intllib\tools\xgettext.bat %LIST%