Localise words "Fuel" and "Remaining" - add shot counter to deagle.
authornemo
Sun, 21 Jun 2009 22:43:38 +0000
changeset 2185 cf8f98e75bf9
parent 2184 f59f80e034b1
child 2186 5ec3e4a03d51
Localise words "Fuel" and "Remaining" - add shot counter to deagle.
hedgewars/GSHandlers.inc
hedgewars/uLocale.pas
share/hedgewars/Data/Locale/bg.txt
share/hedgewars/Data/Locale/cs.txt
share/hedgewars/Data/Locale/de.txt
share/hedgewars/Data/Locale/en.txt
share/hedgewars/Data/Locale/es.txt
share/hedgewars/Data/Locale/fi.txt
share/hedgewars/Data/Locale/fr.txt
share/hedgewars/Data/Locale/it.txt
share/hedgewars/Data/Locale/ja.txt
share/hedgewars/Data/Locale/pl.txt
share/hedgewars/Data/Locale/pt-br.txt
share/hedgewars/Data/Locale/pt-pt.txt
share/hedgewars/Data/Locale/ru.txt
share/hedgewars/Data/Locale/sk.txt
share/hedgewars/Data/Locale/sv.txt
share/hedgewars/Data/Locale/tr.txt
share/hedgewars/Data/Locale/uk.txt
share/hedgewars/Data/Locale/zh_CN.txt
share/hedgewars/Data/Locale/zh_TW.txt
--- a/hedgewars/GSHandlers.inc	Sun Jun 21 18:00:43 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Jun 21 22:43:38 2009 +0000
@@ -459,6 +459,8 @@
 
 procedure doStepDEagleShot(Gear: PGear);
 begin
+if Ammoz[amDEagle].Ammo.NumPerTurn>CurrentHedgehog^.AttacksNum then
+    AddCaption(inttostr(Ammoz[amDEagle].Ammo.NumPerTurn-CurrentHedgehog^.AttacksNum)+' '+trmsg[sidRemaining], $FFFFFF, capgrpAmmostate);
 PlaySound(sndGun, false, nil);
 Gear^.doStep:= @doStepBulletWork
 end;
@@ -2249,7 +2251,7 @@
 		end;
 	DeleteGear(Gear);
 	isCursorVisible:= false;
-    AddCaption('Fuel: '+inttostr(round(Gear^.Health/20))+'%', $FFFFFF, capgrpAmmostate);
+    AddCaption(trmsg[sidFuel]+': '+inttostr(round(Gear^.Health/20))+'%', $FFFFFF, capgrpAmmostate);
 	end
 end;
 
--- a/hedgewars/uLocale.pas	Sun Jun 21 18:00:43 2009 +0000
+++ b/hedgewars/uLocale.pas	Sun Jun 21 22:43:38 2009 +0000
@@ -29,7 +29,7 @@
             sidLaserSight, sidVampiric, sidSniperRifle, sidJetpack);
 
 	TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused,
-			sidConfirm, sidSuddenDeath);
+			sidConfirm, sidSuddenDeath, sidRemaining, sidFuel);
 			
 	TEventId = (eidDied, eidDrowned, eidRoundStart, eidRoundWin, eidRoundDraw,
 			eidNewHealthPack, eidNewAmmoPack, eidNewUtilityPack, eidTurnSkipped, eidHurtSelf);
--- a/share/hedgewars/Data/Locale/bg.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/bg.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -45,6 +45,8 @@
 01:04=На Пауза
 01:05=Наистина ли напускате (Y/Esc)?
 01:06=Внезапна смърт!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/cs.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/cs.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pauza
 01:05=Opravdu ukončit (Y/Esc)?
 01:06=Náhlá smrt!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/de.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/de.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pausiert
 01:05=Wirklich beenden (Z/Esc)?
 01:06=Sudden Death!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/en.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/en.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Paused
 01:05=Really quit (Y/Esc)?
 01:06=Sudden Death!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/es.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/es.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pausa
 01:05=Desea salir (Y/Esc)?
 01:06=Muerte súbita!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/fi.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/fi.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Tauko
 01:05=Poistutaanko (Y/Esc)?
 01:06=Äkkikuolema!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/fr.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/fr.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pause
 01:05=Quitter (Y/Esc) ?
 01:06=Mort subite !
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/it.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/it.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=In pausa
 01:05=Vuoi davvero uscire (Y/Esc)?
 01:06=Sudden death!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/ja.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/ja.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=休憩
 01:05=本当にやめるの (Y/Esc)?
 01:06=急に死ぬ!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/pl.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/pl.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Gra wstrzymana
 01:05=Na pewno wyjść (Y/Esc)?
 01:06=Nagła śmierć!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/pt-br.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/pt-br.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pausado
 01:05=Realmente sair (Y/Esc)?
 01:06=Morte Súbita!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/pt-pt.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/pt-pt.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pausado
 01:05=Deseja realmente sair (Y/Esc)?
 01:06=Morte súbita!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/ru.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/ru.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Пауза
 01:05=Точно выйти (Y/Esc)?
 01:06=Скоро погибель!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/sk.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/sk.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pauza
 01:05=Naozaj skončiť (Y/Esc)?
 01:06=Rýchla smrť!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/sv.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/sv.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Pausat
 01:05=Vill du verkligen avsluta (Y/Esc)?
 01:06=Sudden death!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/tr.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/tr.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Duraklatıldı
 01:05=Çıkılsın mı (Y/Esc)?
 01:06=Ani ölüm!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/uk.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/uk.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=Пауза
 01:05=Точно вийти (Y/Esc)?
 01:06=Незабаром погибель!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/zh_CN.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/zh_CN.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=暂停
 01:05=退出 (Y/Esc)?
 01:06=出现紧急情况!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died
--- a/share/hedgewars/Data/Locale/zh_TW.txt	Sun Jun 21 18:00:43 2009 +0000
+++ b/share/hedgewars/Data/Locale/zh_TW.txt	Sun Jun 21 22:43:38 2009 +0000
@@ -48,6 +48,8 @@
 01:04=暫停
 01:05=真的要離開嗎 (Y/Esc)?
 01:06=出現緊急狀況!
+01:07=Remaining
+01:08=Fuel
 
 ; Event messages
 ; Hog (%1) died