fix translator domain
This commit is contained in:
parent
08275c321c
commit
1acbc39a97
5
init.lua
5
init.lua
@ -1,6 +1,7 @@
|
||||
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
local modname = minetest.get_current_modname()
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
local tnt_modpath = minetest.get_modpath("tnt")
|
||||
local S = minetest.get_translator("tnt")
|
||||
local S = minetest.get_translator(modname)
|
||||
|
||||
local FakePlayer = dofile(modpath .. "/" .. "class_fakeplayer.lua")
|
||||
local fakeplayer = FakePlayer.create({x=0,y=0,z=0}, "torch_bomb")
|
||||
|
@ -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: 2020-02-09 22:05-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"
|
||||
|
||||
#: torch_bomb\init.lua:374
|
||||
msgid "Torch Bomb"
|
||||
msgstr ""
|
||||
|
||||
#: torch_bomb\init.lua:375
|
||||
msgid "Mega Torch Bomb"
|
||||
msgstr ""
|
6
locale/template.txt
Normal file
6
locale/template.txt
Normal file
@ -0,0 +1,6 @@
|
||||
@1 Rocket=
|
||||
Mega Torch Bomb=
|
||||
Rocket accelerates at 1 m/s^2.@nFuse duration from 1 to @1 seconds:=
|
||||
Set=
|
||||
Torch Bomb=
|
||||
Torch Grenade=
|
@ -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%
|
Loading…
x
Reference in New Issue
Block a user