diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2020-07-19 23:04:13 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2020-07-19 23:04:13 +0200 |
commit | 9d52770f211f6290fc172e82bad00daed0853848 (patch) | |
tree | aebaacaa33f48eef2a01c396ad042cab05badb56 /advtrains_train_industrial | |
parent | 8c66f1caf495442e1435bf3a49176932eee986b3 (diff) | |
parent | cc78b63e342c131e2a08b3697681d9d5fbf86d4f (diff) | |
download | advtrains-9d52770f211f6290fc172e82bad00daed0853848.tar.gz advtrains-9d52770f211f6290fc172e82bad00daed0853848.tar.bz2 advtrains-9d52770f211f6290fc172e82bad00daed0853848.zip |
Add client side translations by ywang
Diffstat (limited to 'advtrains_train_industrial')
-rw-r--r-- | advtrains_train_industrial/init.lua | 8 | ||||
-rw-r--r-- | advtrains_train_industrial/locale/de.txt | 5 |
2 files changed, 1 insertions, 12 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua index 4d64615..beec5b3 100644 --- a/advtrains_train_industrial/init.lua +++ b/advtrains_train_industrial/init.lua @@ -1,10 +1,4 @@ --- Boilerplate to support localized strings if intllib mod is installed. -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_industrial", { mesh="advtrains_engine_industrial.b3d", diff --git a/advtrains_train_industrial/locale/de.txt b/advtrains_train_industrial/locale/de.txt deleted file mode 100644 index a45ca27..0000000 --- a/advtrains_train_industrial/locale/de.txt +++ /dev/null @@ -1,5 +0,0 @@ -Driver Stand (left) = Führerstand Links -Driver Stand (right) = Führerstand Rechts -Industrial Train Engine = Industrielle Lokomotive -Industrial tank wagon = Tankwaggon -Industrial wood wagon = Holztransportwaggon
\ No newline at end of file |