From: Zefram Date: Fri, 25 Apr 2014 16:44:46 +0000 (+0100) Subject: Improve message about drill control X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=04c6f5bea38d7c3ac2d09760534e6405102a61c2;p=zefram%2Fminetest%2Ftechnic.git Improve message about drill control The message to "hold shift" makes an unwarranted assumption about the user's keybindings. Messages from the server should refer to a key's game function, rather than its extragame identity. --- diff --git a/technic/locale/de.txt b/technic/locale/de.txt index 2e6af05..b2ddd32 100644 --- a/technic/locale/de.txt +++ b/technic/locale/de.txt @@ -170,7 +170,7 @@ Flashlight = Taschenlampe 3 nodes tall. = 3 Bloecke hoch. 3 nodes wide. = 3 Bloecke breit. 3x3 nodes. = 3x3 Bloecke. -Hold shift and use to change Mining Drill Mk%d modes. = Halte die Shift-Taste beim Benutzen gedrueckt, um die Funktion des Bergbaubohrers Modell %d zu aendern. +Use while sneaking to change Mining Drill Mk%d modes. = Halte die Shift-Taste beim Benutzen gedrueckt, um die Funktion des Bergbaubohrers Modell %d zu aendern. Mining Drill Mk%d Mode %d = Bergbaubohrer Modell %d Funktion %d Mining Drill Mk%d = Bergbaubohrer Modell %d Mining Laser Mk%d = Bergbaulaser Modell %d diff --git a/technic/locale/es.txt b/technic/locale/es.txt index 5fb81cc..bc27c5d 100644 --- a/technic/locale/es.txt +++ b/technic/locale/es.txt @@ -160,7 +160,7 @@ Flashlight = Linterna 3 nodes tall. = 3 nodos de alto. 3 nodes wide. = 3 nodos de ancho. 3x3 nodes. = 3x3 nodos. -Hold shift and use to change Mining Drill Mk%d modes. = Manten pulsado Mayus y Usar para cambiar el modo del Taladro de Mineria Mk%d. +Use while sneaking to change Mining Drill Mk%d modes. = Manten pulsado Mayus y Usar para cambiar el modo del Taladro de Mineria Mk%d. Mining Drill Mk%d Mode %d = Taladro de Mineria Mk%d Modo %d Mining Drill Mk%d = Taladro de Mineria Mk%d Mining Laser Mk%d = Laser de Mineria Mk%d diff --git a/technic/locale/it.txt b/technic/locale/it.txt index e8499cf..831b1df 100644 --- a/technic/locale/it.txt +++ b/technic/locale/it.txt @@ -158,7 +158,7 @@ Flashlight = Torcia 3 nodes tall. = 3 nodi in altezza. 3 nodes wide. = 3 nodi in larghezza. 3x3 nodes. = 3x3 nodi. -Hold shift and use to change Mining Drill Mk%d modes. = Premi shift (freccia grossa) e usa per cambiare modalità nella trivella da miniera Mk%d. +Use while sneaking to change Mining Drill Mk%d modes. = Premi shift (freccia grossa) e usa per cambiare modalità nella trivella da miniera Mk%d. Mining Drill Mk%d Mode %d = Trivella mk%d in modalità %d Mining Drill Mk%d = Trivella da miniera mk%d Mining Laser Mk%d = Laser da miniera mk%d diff --git a/technic/locale/template.txt b/technic/locale/template.txt index e4fb2e8..cc7d2dd 100644 --- a/technic/locale/template.txt +++ b/technic/locale/template.txt @@ -170,7 +170,7 @@ Flashlight = 3 nodes tall. = 3 nodes wide. = 3x3 nodes. = -Hold shift and use to change Mining Drill Mk%d modes. = +Use while sneaking to change Mining Drill Mk%d modes. = Mining Drill Mk%d Mode %d = Mining Drill Mk%d = Mining Laser Mk%d = diff --git a/technic/tools/mining_drill.lua b/technic/tools/mining_drill.lua index e4b31b8..e3a01de 100644 --- a/technic/tools/mining_drill.lua +++ b/technic/tools/mining_drill.lua @@ -243,7 +243,7 @@ local function mining_drill_mk2_setmode(user,itemstack) mode=0 end if meta["mode"]==nil then - minetest.chat_send_player(player_name, S("Hold shift and use to change Mining Drill Mk%d modes."):format(2)) + minetest.chat_send_player(player_name, S("Use while sneaking to change Mining Drill Mk%d modes."):format(2)) meta["mode"]=0 mode=0 end @@ -267,7 +267,7 @@ local function mining_drill_mk3_setmode(user,itemstack) mode=0 end if meta["mode"]==nil then - minetest.chat_send_player(player_name, S("Hold shift and use to change Mining Drill Mk%d modes."):format(3)) + minetest.chat_send_player(player_name, S("Use while sneaking to change Mining Drill Mk%d modes."):format(3)) meta["mode"]=0 mode=0 end