aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_japan
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-07-19 23:04:13 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-07-19 23:04:13 +0200
commit9d52770f211f6290fc172e82bad00daed0853848 (patch)
treeaebaacaa33f48eef2a01c396ad042cab05badb56 /advtrains_train_japan
parent8c66f1caf495442e1435bf3a49176932eee986b3 (diff)
parentcc78b63e342c131e2a08b3697681d9d5fbf86d4f (diff)
downloadadvtrains-9d52770f211f6290fc172e82bad00daed0853848.tar.gz
advtrains-9d52770f211f6290fc172e82bad00daed0853848.tar.bz2
advtrains-9d52770f211f6290fc172e82bad00daed0853848.zip
Add client side translations by ywang
Diffstat (limited to 'advtrains_train_japan')
-rw-r--r--advtrains_train_japan/init.lua7
-rw-r--r--advtrains_train_japan/locale/de.txt4
2 files changed, 1 insertions, 10 deletions
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua
index c76ce8f..1aa2771 100644
--- a/advtrains_train_japan/init.lua
+++ b/advtrains_train_japan/init.lua
@@ -1,9 +1,4 @@
-local S
-if minetest.get_modpath("intllib") then
- S = intllib.Getter()
-else
- S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
-end
+local S = attrans
advtrains.register_wagon("engine_japan", {
mesh="advtrains_engine_japan.b3d",
diff --git a/advtrains_train_japan/locale/de.txt b/advtrains_train_japan/locale/de.txt
deleted file mode 100644
index 63d7a97..0000000
--- a/advtrains_train_japan/locale/de.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Driver Stand = Führerstand
-Japanese Train Engine = Japanische Personenzug-Lokomotive
-Default Seat = Standardsitzplatz
-Japanese Train Wagon = Japanischer Personenzug-Passagierwaggon \ No newline at end of file