more gettextizing and translating
authorStas Sergeev <stsp@aknet.ru>
Tue, 19 Sep 2006 18:44:07 +0000 (18:44 +0000)
committerStas Sergeev <stsp@aknet.ru>
Tue, 19 Sep 2006 18:44:07 +0000 (18:44 +0000)
po/POTFILES.in
po/ru.po
src/io.c
src/moving.c
src/planets.c
src/reports.c
src/setup.c

index f05dba1001314690fe41c20955165f2c4f3729ee..b0b3ce2b2a6ec7af6f10314cb984bac5cffb3dd1 100644 (file)
@@ -3,3 +3,7 @@ src/ai.c
 src/battle.c
 src/events.c
 src/finish.c
 src/battle.c
 src/events.c
 src/finish.c
+src/io.c
+src/moving.c
+src/planets.c
+src/reports.c
index 29e06e0cf3155ebbfed094c373ea95ae7d1aebfa..5aef95d5d79b171412dfa0ff03907099f6db9a6e 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -4,13 +4,14 @@
 # This file is distributed under the same license as the sst package.
 # Stas Sergeev <stsp@aknet.ru>, 2006.
 #
 # This file is distributed under the same license as the sst package.
 # Stas Sergeev <stsp@aknet.ru>, 2006.
 #
-# Извините если что не так. Я ведь программист, а не переводчик. :)
+# Извините, если что не так. Я ведь программист, а не переводчик.
+# Просьба не ругать, а слать исправления. :)
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: sst 2.0\n"
 "Report-Msgid-Bugs-To: stsp\n"
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: sst 2.0\n"
 "Report-Msgid-Bugs-To: stsp\n"
-"POT-Creation-Date: 2006-09-15 18:55+0400\n"
+"POT-Creation-Date: 2006-09-19 17:25+0400\n"
 "PO-Revision-Date: 2006-09-15 11:01+0400\n"
 "Last-Translator: Stas Sergeev <stsp@aknet.ru>\n"
 "Language-Team: Russian <ru@li.org>\n"
 "PO-Revision-Date: 2006-09-15 11:01+0400\n"
 "Last-Translator: Stas Sergeev <stsp@aknet.ru>\n"
 "Language-Team: Russian <ru@li.org>\n"
@@ -20,68 +21,68 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
 "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
 "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
-#: src/ai.c:30
+#: src/ai.c:31
 #, c-format
 msgid " escapes to %s (and regains strength)."
 msgstr " удирает в %s (и восстанавливает энергию)"
 
 #, c-format
 msgid " escapes to %s (and regains strength)."
 msgstr " удирает в %s (и восстанавливает энергию)"
 
-#: src/ai.c:258
+#: src/ai.c:257
 #, c-format
 msgid " from %s"
 msgstr " из %s"
 
 #, c-format
 msgid " from %s"
 msgstr " из %s"
 
-#: src/ai.c:259
+#: src/ai.c:258
 msgid " advances to "
 msgstr " наступает к "
 
 msgid " advances to "
 msgstr " наступает к "
 
-#: src/ai.c:260
+#: src/ai.c:259
 msgid " retreats to "
 msgstr " отступает к "
 
 msgid " retreats to "
 msgstr " отступает к "
 
-#: src/ai.c:358 src/ai.c:545
+#: src/ai.c:352 src/ai.c:537
 msgid "Lt. Uhura-  \"Captain, Starfleet Intelligence reports"
 msgstr "Лт. Ухура- \"Капитан, разведка звёздного флота докладывает"
 
 msgid "Lt. Uhura-  \"Captain, Starfleet Intelligence reports"
 msgstr "Лт. Ухура- \"Капитан, разведка звёздного флота докладывает"
 
-#: src/ai.c:359
+#: src/ai.c:353
 msgid "   a planet in "
 msgstr "   планета в "
 
 msgid "   a planet in "
 msgstr "   планета в "
 
-#: src/ai.c:361
+#: src/ai.c:355
 msgid " has been destroyed"
 msgstr " уничтожена"
 
 msgid " has been destroyed"
 msgstr " уничтожена"
 
-#: src/ai.c:362
+#: src/ai.c:356
 msgid "   by the Super-commander.\""
 msgstr "   Глав-комом."
 
 msgid "   by the Super-commander.\""
 msgstr "   Глав-комом."
 
-#: src/ai.c:520 src/events.c:209
+#: src/ai.c:512 src/events.c:240
 msgid "Lt. Uhura-  \"Captain, the starbase in "
 msgstr "Лт. Ухура- \"Капитан, база в "
 
 msgid "Lt. Uhura-  \"Captain, the starbase in "
 msgstr "Лт. Ухура- \"Капитан, база в "
 
-#: src/ai.c:523
+#: src/ai.c:515
 msgid "   reports that it is under attack from the Klingon Super-commander."
 msgstr "   сообщает, что она атакована Глав-комом Клингонов."
 
 msgid "   reports that it is under attack from the Klingon Super-commander."
 msgstr "   сообщает, что она атакована Глав-комом Клингонов."
 
-#: src/ai.c:524
+#: src/ai.c:516
 #, c-format
 msgid "   It can survive until stardate %d.\""
 msgstr "   Она сможет продержаться до даты %d.\""
 
 #, c-format
 msgid "   It can survive until stardate %d.\""
 msgstr "   Она сможет продержаться до даты %d.\""
 
-#: src/ai.c:527 src/events.c:217
+#: src/ai.c:519 src/events.c:248
 msgid "Mr. Spock-  \"Captain, shall we cancel the rest period?\""
 msgstr "Мистер Спок- \"Капитан, нам прервать отдых?\""
 
 msgid "Mr. Spock-  \"Captain, shall we cancel the rest period?\""
 msgstr "Мистер Спок- \"Капитан, нам прервать отдых?\""
 
-#: src/ai.c:546
+#: src/ai.c:538
 msgid "   the Super-commander is in "
 msgstr "   Глав-ком находится в "
 
 msgid "   the Super-commander is in "
 msgstr "   Глав-ком находится в "
 
-#: src/ai.c:611
+#: src/ai.c:604
 msgid " completes web."
 msgstr " доделал сеть."
 
 #: src/battle.c:19 src/battle.c:35
 msgid "Shields damaged and down."
 msgid " completes web."
 msgstr " доделал сеть."
 
 #: src/battle.c:19 src/battle.c:35
 msgid "Shields damaged and down."
-msgstr "Защита сломана и отключена."
+msgstr "Защита сломана и снята."
 
 #: src/battle.c:29
 msgid "Do you wish to change shield energy? "
 
 #: src/battle.c:29
 msgid "Do you wish to change shield energy? "
@@ -93,17 +94,17 @@ msgstr "Энергия для защитного поля- "
 
 #: src/battle.c:39
 msgid "Shields are up. Do you want them down? "
 
 #: src/battle.c:39
 msgid "Shields are up. Do you want them down? "
-msgstr "Ð\97аÑ\89иÑ\82а Ð²ÐºÐ»Ñ\8eÑ\87ена. Ð\92Ñ\8b Ñ\85оÑ\82иÑ\82е ÐµÑ\91 Ð¾Ñ\82клÑ\8eÑ\87ить? "
+msgstr "Ð\97аÑ\89иÑ\82а Ð¿Ð¾Ð´Ð½Ñ\8fÑ\82а. Ð\92Ñ\8b Ñ\85оÑ\82иÑ\82е ÐµÑ\91 Ñ\81нÑ\8fть? "
 
 #: src/battle.c:47
 msgid "Shields are down. Do you want them up? "
 
 #: src/battle.c:47
 msgid "Shields are down. Do you want them up? "
-msgstr "Защита отключена. Вы хотите её включить? "
+msgstr "Защита снята. Вы хотите её поднять? "
 
 #: src/battle.c:59
 msgid "Shields already up."
 
 #: src/battle.c:59
 msgid "Shields already up."
-msgstr "Ð\97аÑ\89иÑ\82а Ð¸ Ñ\82ак Ñ\83же Ð²ÐºÐ»Ñ\8eÑ\87ена."
+msgstr "Ð\97аÑ\89иÑ\82а Ð¸ Ñ\82ак Ñ\83же Ð¿Ð¾Ð´Ð½Ñ\8fÑ\82а."
 
 
-#: src/battle.c:65 src/battle.c:1170
+#: src/battle.c:65 src/battle.c:1175
 msgid "Shields raised."
 msgstr "Защита поднята."
 
 msgid "Shields raised."
 msgstr "Защита поднята."
 
@@ -113,9 +114,9 @@ msgstr "Поднятие защиты расходует весь остаток
 
 #: src/battle.c:76
 msgid "Shields already down."
 
 #: src/battle.c:76
 msgid "Shields already down."
-msgstr "Защита и так уже отключена."
+msgstr "Защита и так уже снята."
 
 
-#: src/battle.c:81 src/battle.c:851
+#: src/battle.c:81 src/battle.c:856
 msgid "Shields lowered."
 msgstr "Защита опущена."
 
 msgid "Shields lowered."
 msgstr "Защита опущена."
 
@@ -131,7 +132,7 @@ msgstr "Энергия защиты достигла максимума."
 msgid "Excess energy requested returned to ship energy"
 msgstr "Лишняя энергия вернулась кораблю"
 
 msgid "Excess energy requested returned to ship energy"
 msgstr "Лишняя энергия вернулась кораблю"
 
-#: src/battle.c:108
+#: src/battle.c:108 src/moving.c:525 src/moving.c:618
 msgid "Engineering to bridge--"
 msgstr "Инженерный отсек мостику--"
 
 msgid "Engineering to bridge--"
 msgstr "Инженерный отсек мостику--"
 
@@ -159,7 +160,8 @@ msgstr "Перевожу энергию на защиту.\""
 msgid "Draining energy from shields.\""
 msgstr "Перевожу энергию из защиты.\""
 
 msgid "Draining energy from shields.\""
 msgstr "Перевожу энергию из защиты.\""
 
-#: src/battle.c:137 src/battle.c:855 src/events.c:667
+#: src/battle.c:137 src/battle.c:860 src/events.c:817 src/moving.c:141
+#: src/moving.c:724 src/planets.c:465
 msgid "***RED ALERT!  RED ALERT!"
 msgstr "***ТРЕВОГА!  ТРЕВОГА!"
 
 msgid "***RED ALERT!  RED ALERT!"
 msgstr "***ТРЕВОГА!  ТРЕВОГА!"
 
@@ -188,530 +190,530 @@ msgstr " серьёзно повреждён."
 msgid "***Sickbay reports %d casualties"
 msgstr "***Из лазарета докладывают о %d пострадавших"
 
 msgid "***Sickbay reports %d casualties"
 msgstr "***Из лазарета докладывают о %d пострадавших"
 
-#: src/battle.c:213
+#: src/battle.c:215
 msgid "Torpedo hits "
 msgstr "Торпеда попала в цель: "
 
 msgid "Torpedo hits "
 msgstr "Торпеда попала в цель: "
 
-#: src/battle.c:249
+#: src/battle.c:251
 msgid " uses anti-photon device;"
 msgstr " использует противофотонную установку;"
 
 msgid " uses anti-photon device;"
 msgstr " использует противофотонную установку;"
 
-#: src/battle.c:250
+#: src/battle.c:252
 msgid "   torpedo neutralized."
 msgstr "   торпеда нейтрализована."
 
 msgid "   torpedo neutralized."
 msgstr "   торпеда нейтрализована."
 
-#: src/battle.c:279 src/battle.c:289
+#: src/battle.c:281 src/battle.c:291
 msgid " damaged but not destroyed."
 msgstr " повреждён, но не уничтожен."
 
 msgid " damaged but not destroyed."
 msgstr " повреждён, но не уничтожен."
 
-#: src/battle.c:283
+#: src/battle.c:285
 msgid " buffeted into black hole."
 msgstr " отлетел в чёрную дыру."
 
 msgid " buffeted into black hole."
 msgstr " отлетел в чёрную дыру."
 
-#: src/battle.c:292
+#: src/battle.c:294
 msgid " damaged--"
 msgstr " повреждён--"
 
 msgid " damaged--"
 msgstr " повреждён--"
 
-#: src/battle.c:299
+#: src/battle.c:301
 msgid "***STARBASE DESTROYED.."
 msgstr "***БАЗА УНИЧТОЖЕНА.."
 
 msgid "***STARBASE DESTROYED.."
 msgstr "***БАЗА УНИЧТОЖЕНА.."
 
-#: src/battle.c:317 src/battle.c:654 src/events.c:472 src/events.c:493
+#: src/battle.c:319 src/battle.c:660 src/events.c:622 src/events.c:642
 msgid " destroyed."
 msgstr " уничтожен."
 
 msgid " destroyed."
 msgstr " уничтожен."
 
-#: src/battle.c:335
+#: src/battle.c:337
 msgid " unaffected by photon blast."
 msgstr " не повреждён фотонным зарядом."
 
 msgid " unaffected by photon blast."
 msgstr " не повреждён фотонным зарядом."
 
-#: src/battle.c:340
+#: src/battle.c:342
 msgid "AAAAIIIIEEEEEEEEAAAAAAAAUUUUUGGGGGHHHHHHHHHHHH!!!"
 msgstr "ВВВВППППЕЕЕЕРРРЁЁЁЁДДДЗЗЗЗААААРРРРООООДДДДИИИННННУУУУ!!!"
 
 msgid "AAAAIIIIEEEEEEEEAAAAAAAAUUUUUGGGGGHHHHHHHHHHHH!!!"
 msgstr "ВВВВППППЕЕЕЕРРРЁЁЁЁДДДЗЗЗЗААААРРРРООООДДДДИИИННННУУУУ!!!"
 
-#: src/battle.c:342
+#: src/battle.c:344
 msgid "    HACK!     HACK!    HACK!        *CHOKE!*  "
 msgstr ""
 
 msgid "    HACK!     HACK!    HACK!        *CHOKE!*  "
 msgstr ""
 
-#: src/battle.c:344
+#: src/battle.c:346
 msgid "Mr. Spock-"
 msgstr "Мистер Спок-"
 
 msgid "Mr. Spock-"
 msgstr "Мистер Спок-"
 
-#: src/battle.c:345
+#: src/battle.c:347
 msgid "  \"Fascinating!\""
 msgstr "  \"Грандиозно!\""
 
 msgid "  \"Fascinating!\""
 msgstr "  \"Грандиозно!\""
 
-#: src/battle.c:361
+#: src/battle.c:363
 msgid " swallows torpedo."
 msgstr " поглотила торпеду."
 
 msgid " swallows torpedo."
 msgstr " поглотила торпеду."
 
-#: src/battle.c:365
+#: src/battle.c:367
 msgid "***Torpedo absorbed by Tholian web."
 msgstr "***Толианская сеть поглотила торпеду."
 
 msgid "***Torpedo absorbed by Tholian web."
 msgstr "***Толианская сеть поглотила торпеду."
 
-#: src/battle.c:382
+#: src/battle.c:384
 msgid " survives photon blast."
 msgstr " выдержал фотонный взрыв."
 
 msgid " survives photon blast."
 msgstr " выдержал фотонный взрыв."
 
-#: src/battle.c:385
+#: src/battle.c:387
 msgid " disappears."
 msgstr " исчез."
 
 msgid " disappears."
 msgstr " исчез."
 
-#: src/battle.c:410
+#: src/battle.c:414
 #, c-format
 msgid " displaced by blast to %s "
 msgstr " перемещён взрывом на %s "
 
 #, c-format
 msgid " displaced by blast to %s "
 msgstr " перемещён взрывом на %s "
 
-#: src/battle.c:417
+#: src/battle.c:421
 msgid "Torpedo missed."
 msgstr "Торпеда промазала."
 
 msgid "Torpedo missed."
 msgstr "Торпеда промазала."
 
-#: src/battle.c:430
+#: src/battle.c:434
 msgid "***CRITICAL HIT--"
 msgstr "***КРИТИЧЕСКИЙ УДАР--"
 
 msgid "***CRITICAL HIT--"
 msgstr "***КРИТИЧЕСКИЙ УДАР--"
 
-#: src/battle.c:446
+#: src/battle.c:450
 msgid " and "
 msgstr " и "
 
 msgid " and "
 msgstr " и "
 
-#: src/battle.c:450
+#: src/battle.c:454
 msgid " damaged."
 msgstr " поврежден."
 
 msgid " damaged."
 msgstr " поврежден."
 
-#: src/battle.c:452
+#: src/battle.c:456
 msgid "***Shields knocked down."
 msgstr "***Защита сбита."
 
 msgid "***Shields knocked down."
 msgstr "***Защита сбита."
 
-#: src/battle.c:510
+#: src/battle.c:515
 msgid "***TORPEDO INCOMING"
 msgstr "***ТОРПЕДА ПРИБЛИЖАЕТСЯ"
 
 msgid "***TORPEDO INCOMING"
 msgstr "***ТОРПЕДА ПРИБЛИЖАЕТСЯ"
 
-#: src/battle.c:512
+#: src/battle.c:517
 msgid " From "
 msgstr " От "
 
 msgid " From "
 msgstr " От "
 
-#: src/battle.c:544
+#: src/battle.c:549
 #, c-format
 msgid "%d unit hit"
 msgstr "удар на %d единиц"
 
 #, c-format
 msgid "%d unit hit"
 msgstr "удар на %d единиц"
 
-#: src/battle.c:546
+#: src/battle.c:551
 msgid " on the "
 msgstr " по "
 
 msgid " on the "
 msgstr " по "
 
-#: src/battle.c:550
+#: src/battle.c:555
 msgid " from "
 msgstr " от "
 
 msgid " from "
 msgstr " от "
 
-#: src/battle.c:568
+#: src/battle.c:573
 msgid "***Enemies decide against attacking your ship."
 msgstr "***Враги решили не атаковать ваш корабль."
 
 msgid "***Enemies decide against attacking your ship."
 msgstr "***Враги решили не атаковать ваш корабль."
 
-#: src/battle.c:573
+#: src/battle.c:578
 msgid "Enemy attack reduces shield strength to "
 msgstr "Вражеская атака уменьшает силу защиты до "
 
 msgid "Enemy attack reduces shield strength to "
 msgstr "Вражеская атака уменьшает силу защиты до "
 
-#: src/battle.c:578
+#: src/battle.c:583
 #, c-format
 msgid "Energy left %2d    shields "
 msgstr "Остаток энергии: %2d    защита "
 
 #, c-format
 msgid "Energy left %2d    shields "
 msgstr "Остаток энергии: %2d    защита "
 
-#: src/battle.c:579
+#: src/battle.c:584
 msgid "up "
 msgid "up "
-msgstr "вклÑ\8eÑ\87ена "
+msgstr "поднÑ\8fÑ\82а "
 
 
-#: src/battle.c:580
+#: src/battle.c:585
 msgid "down "
 msgid "down "
-msgstr "отключена "
+msgstr "снята "
 
 
-#: src/battle.c:581
+#: src/battle.c:586
 msgid "damaged, "
 msgstr "сломана, "
 
 msgid "damaged, "
 msgstr "сломана, "
 
-#: src/battle.c:583
+#: src/battle.c:588
 #, c-format
 msgid "%d%%,   torpedoes left %d"
 msgstr "%d%%,   осталось %d торпед"
 
 #, c-format
 msgid "%d%%,   torpedoes left %d"
 msgstr "%d%%,   осталось %d торпед"
 
-#: src/battle.c:589
+#: src/battle.c:594
 #, c-format
 msgid "Mc Coy-  \"Sickbay to bridge.  We suffered %d casualties"
 msgstr "МакКой- \"Лазарет мостику.  К нам поступили %d пострадавших"
 
 #, c-format
 msgid "Mc Coy-  \"Sickbay to bridge.  We suffered %d casualties"
 msgstr "МакКой- \"Лазарет мостику.  К нам поступили %d пострадавших"
 
-#: src/battle.c:590
+#: src/battle.c:595
 msgid "   in that last attack.\""
 msgstr "   от последней атаки.\""
 
 msgid "   in that last attack.\""
 msgstr "   от последней атаки.\""
 
-#: src/battle.c:694
+#: src/battle.c:699
 msgid "Spock-  \"Bridge to sickbay.  Dr. McCoy,"
 msgstr "Спок- \"Мостик лазарету.  Доктор МакКой,"
 
 msgid "Spock-  \"Bridge to sickbay.  Dr. McCoy,"
 msgstr "Спок- \"Мостик лазарету.  Доктор МакКой,"
 
-#: src/battle.c:695
+#: src/battle.c:700
 msgid "  I recommend an immediate review of"
 msgstr "  рекомендую немедленно проверить"
 
 msgid "  I recommend an immediate review of"
 msgstr "  рекомендую немедленно проверить"
 
-#: src/battle.c:696
+#: src/battle.c:701
 msgid "  the Captain's psychological profile.\""
 msgstr "  психологическое состояние Капитана.\""
 
 msgid "  the Captain's psychological profile.\""
 msgstr "  психологическое состояние Капитана.\""
 
-#: src/battle.c:713
+#: src/battle.c:718
 msgid "Photon tubes damaged."
 msgstr "Фотонные трубы сломаны."
 
 msgid "Photon tubes damaged."
 msgstr "Фотонные трубы сломаны."
 
-#: src/battle.c:718
+#: src/battle.c:723
 msgid "No torpedoes left."
 msgstr "Торпед совсем не осталось."
 
 msgid "No torpedoes left."
 msgstr "Торпед совсем не осталось."
 
-#: src/battle.c:729
+#: src/battle.c:734
 #, c-format
 msgid "%d torpedoes left."
 msgstr "Осталось %d торпед."
 
 #, c-format
 msgid "%d torpedoes left."
 msgstr "Осталось %d торпед."
 
-#: src/battle.c:730
+#: src/battle.c:735
 msgid "Number of torpedoes to fire- "
 msgstr "Число торпед на отстрел- "
 
 msgid "Number of torpedoes to fire- "
 msgstr "Число торпед на отстрел- "
 
-#: src/battle.c:741
+#: src/battle.c:746
 msgid "Maximum of 3 torpedoes per burst."
 msgstr "Максимум 3 торпеды за залп."
 
 msgid "Maximum of 3 torpedoes per burst."
 msgstr "Максимум 3 торпеды за залп."
 
-#: src/battle.c:782
+#: src/battle.c:787
 #, c-format
 msgid "Target sector for torpedo number %d- "
 msgstr "Сектор назначения для торпеды номер %d- "
 
 #, c-format
 msgid "Target sector for torpedo number %d- "
 msgstr "Сектор назначения для торпеды номер %d- "
 
-#: src/battle.c:809
+#: src/battle.c:814
 #, c-format
 msgid "***TORPEDO NUMBER %d MISFIRES"
 msgstr "***ТОРПЕДА НОМЕР %d НЕ СОШЛА"
 
 #, c-format
 msgid "***TORPEDO NUMBER %d MISFIRES"
 msgstr "***ТОРПЕДА НОМЕР %d НЕ СОШЛА"
 
-#: src/battle.c:811
+#: src/battle.c:816
 msgid "***TORPEDO MISFIRES."
 msgstr "***ТОРПЕДА НЕ СОШЛА."
 
 msgid "***TORPEDO MISFIRES."
 msgstr "***ТОРПЕДА НЕ СОШЛА."
 
-#: src/battle.c:814
+#: src/battle.c:819
 msgid "  Remainder of burst aborted."
 msgstr "  Остаток залпа отменён."
 
 msgid "  Remainder of burst aborted."
 msgstr "  Остаток залпа отменён."
 
-#: src/battle.c:817
+#: src/battle.c:822
 msgid "***Photon tubes damaged by misfire."
 msgstr "***Фотонные трубы сломались при осечке."
 
 msgid "***Photon tubes damaged by misfire."
 msgstr "***Фотонные трубы сломались при осечке."
 
-#: src/battle.c:838
+#: src/battle.c:843
 msgid "Weapons officer Sulu-  \"Phasers overheated, sir.\""
 msgstr "Наводчик Сулу- \"Фазеры перегорели, сэр.\""
 
 msgid "Weapons officer Sulu-  \"Phasers overheated, sir.\""
 msgstr "Наводчик Сулу- \"Фазеры перегорели, сэр.\""
 
-#: src/battle.c:861
+#: src/battle.c:866
 msgid "Sulu-  \"Captain! Shield malf***********************\""
 msgstr "Сулу- \"Капитан! Защита не сраб*********************\""
 
 msgid "Sulu-  \"Captain! Shield malf***********************\""
 msgstr "Сулу- \"Капитан! Защита не сраб*********************\""
 
-#: src/battle.c:867
+#: src/battle.c:872
 msgid "Sulu-  \"Captain! Shield malfunction! Phaser fire contained!\""
 msgstr ""
 "Сулу- \"Капитан! Защита не сработала! Энергия фазеров скопилась внутри!\""
 
 msgid "Sulu-  \"Captain! Shield malfunction! Phaser fire contained!\""
 msgstr ""
 "Сулу- \"Капитан! Защита не сработала! Энергия фазеров скопилась внутри!\""
 
-#: src/battle.c:869
+#: src/battle.c:874
 msgid "Lt. Uhura-  \"Sir, all decks reporting damage.\""
 msgstr "Лт. Ухура- \"Сэр, все палубы сообщают о повреждении.\""
 
 msgid "Lt. Uhura-  \"Sir, all decks reporting damage.\""
 msgstr "Лт. Ухура- \"Сэр, все палубы сообщают о повреждении.\""
 
-#: src/battle.c:875
+#: src/battle.c:880
 msgid "McCoy to bridge- \"Severe radiation burns, Jim."
 msgstr "МакКой мостику- \"Сильнейшие радиационные ожоги, Джим."
 
 msgid "McCoy to bridge- \"Severe radiation burns, Jim."
 msgstr "МакКой мостику- \"Сильнейшие радиационные ожоги, Джим."
 
-#: src/battle.c:876
+#: src/battle.c:881
 #, c-format
 msgid "  %d casualties so far.\""
 msgstr "  пока-что %d пострадавших.\""
 
 #, c-format
 msgid "  %d casualties so far.\""
 msgstr "  пока-что %d пострадавших.\""
 
-#: src/battle.c:880
+#: src/battle.c:885
 msgid "Phaser energy dispersed by shields."
 msgstr "Энергия фазеров рассеяна защитным полем."
 
 msgid "Phaser energy dispersed by shields."
 msgstr "Энергия фазеров рассеяна защитным полем."
 
-#: src/battle.c:881
+#: src/battle.c:886
 msgid "Enemy unaffected."
 msgstr "Враг не пострадал."
 
 msgid "Enemy unaffected."
 msgstr "Враг не пострадал."
 
-#: src/battle.c:899
+#: src/battle.c:904
 msgid "Phasers can't be fired through base shields."
 msgstr "Фазеры не могут стрелять через защиту базы."
 
 msgid "Phasers can't be fired through base shields."
 msgstr "Фазеры не могут стрелять через защиту базы."
 
-#: src/battle.c:904
+#: src/battle.c:909
 msgid "Phaser control damaged."
 msgstr "Управление фазерами не работает."
 
 msgid "Phaser control damaged."
 msgstr "Управление фазерами не работает."
 
-#: src/battle.c:910
+#: src/battle.c:915
 msgid "High speed shield control damaged."
 msgstr "Высокоскоростное управление защитой не работает."
 
 msgid "High speed shield control damaged."
 msgstr "Высокоскоростное управление защитой не работает."
 
-#: src/battle.c:915
+#: src/battle.c:920
 msgid "Insufficient energy to activate high-speed shield control."
 msgstr "Недостаточно энергии для высокоскоростного управления защитой."
 
 msgid "Insufficient energy to activate high-speed shield control."
 msgstr "Недостаточно энергии для высокоскоростного управления защитой."
 
-#: src/battle.c:919
+#: src/battle.c:924
 msgid "Weapons Officer Sulu-  \"High-speed shield control enabled, sir.\""
 msgstr "Наводчик Сулу- \"Высокоскоростное управление защитой включено, сэр.\""
 
 msgid "Weapons Officer Sulu-  \"High-speed shield control enabled, sir.\""
 msgstr "Наводчик Сулу- \"Высокоскоростное управление защитой включено, сэр.\""
 
-#: src/battle.c:929
+#: src/battle.c:934
 msgid "There is no enemy present to select."
 msgstr "Здесь нет врагов."
 
 msgid "There is no enemy present to select."
 msgstr "Здесь нет врагов."
 
-#: src/battle.c:945 src/battle.c:960 src/battle.c:971
+#: src/battle.c:950 src/battle.c:965 src/battle.c:976
 msgid "Energy will be expended into space."
 msgstr "Энергия уйдёт в пустоту."
 
 msgid "Energy will be expended into space."
 msgstr "Энергия уйдёт в пустоту."
 
-#: src/battle.c:977
+#: src/battle.c:982
 msgid "Manual or automatic? "
 msgstr "Ручной или автоматический?"
 
 msgid "Manual or automatic? "
 msgstr "Ручной или автоматический?"
 
-#: src/battle.c:988
+#: src/battle.c:993
 #, c-format
 msgid "Phasers locked on target. Energy available: %.2f"
 msgstr "Фазеры наведены на цель. Доступная энергия: %.2f"
 
 #, c-format
 msgid "Phasers locked on target. Energy available: %.2f"
 msgstr "Фазеры наведены на цель. Доступная энергия: %.2f"
 
-#: src/battle.c:998
+#: src/battle.c:1003
 #, c-format
 msgid "(%d) units required. "
 msgstr ""
 
 #, c-format
 msgid "(%d) units required. "
 msgstr ""
 
-#: src/battle.c:1000
+#: src/battle.c:1005
 msgid "Units to fire= "
 msgstr "Энергия на выстрел= "
 
 msgid "Units to fire= "
 msgstr "Энергия на выстрел= "
 
-#: src/battle.c:1005 src/battle.c:1076
+#: src/battle.c:1010 src/battle.c:1081
 #, c-format
 msgid "Energy available= %.2f"
 msgstr "Доступная энергия= %.2f"
 
 #, c-format
 msgid "Energy available= %.2f"
 msgstr "Доступная энергия= %.2f"
 
-#: src/battle.c:1046
+#: src/battle.c:1051
 msgid "*** Tholian web absorbs "
 msgstr "*** Толианская сеть поглощает "
 
 msgid "*** Tholian web absorbs "
 msgstr "*** Толианская сеть поглощает "
 
-#: src/battle.c:1047
+#: src/battle.c:1052
 msgid "excess "
 msgstr "избыточную "
 
 msgid "excess "
 msgstr "избыточную "
 
-#: src/battle.c:1048
+#: src/battle.c:1053
 msgid "phaser energy."
 msgstr "энергию фазеров."
 
 msgid "phaser energy."
 msgstr "энергию фазеров."
 
-#: src/battle.c:1051
+#: src/battle.c:1056
 #, c-format
 msgid "%d expended on empty space."
 msgstr "%d ушло в пустоту."
 
 #, c-format
 msgid "%d expended on empty space."
 msgstr "%d ушло в пустоту."
 
-#: src/battle.c:1060
+#: src/battle.c:1065
 msgid "Battle comuter damaged, manual file only."
 msgstr "Бортовой компьютер сломан, используйте ручное управление."
 
 msgid "Battle comuter damaged, manual file only."
 msgstr "Бортовой компьютер сломан, используйте ручное управление."
 
-#: src/battle.c:1063 src/finish.c:13
+#: src/battle.c:1068 src/finish.c:13
 msgid "---WORKING---"
 msgstr "---РАБОТА---"
 
 msgid "---WORKING---"
 msgstr "---РАБОТА---"
 
-#: src/battle.c:1065
+#: src/battle.c:1070
 msgid "Short-range-sensors-damaged"
 msgstr "Сенсоры-ближнего-обзора-сломаны"
 
 msgid "Short-range-sensors-damaged"
 msgstr "Сенсоры-ближнего-обзора-сломаны"
 
-#: src/battle.c:1066
+#: src/battle.c:1071
 msgid "Insufficient-data-for-automatic-phaser-fire"
 msgstr "Недостаточно-данных-для-автоматического-наведения-фазеров"
 
 msgid "Insufficient-data-for-automatic-phaser-fire"
 msgstr "Недостаточно-данных-для-автоматического-наведения-фазеров"
 
-#: src/battle.c:1067
+#: src/battle.c:1072
 msgid "Manual-fire-must-be-used"
 msgstr "Используйте-ручное-наведение"
 
 msgid "Manual-fire-must-be-used"
 msgstr "Используйте-ручное-наведение"
 
-#: src/battle.c:1085
+#: src/battle.c:1090
 msgid " can't be located without short range scan."
 msgstr " не может быть обнаружен без ближнего сканирования."
 
 msgid " can't be located without short range scan."
 msgstr " не может быть обнаружен без ближнего сканирования."
 
-#: src/battle.c:1102
+#: src/battle.c:1107
 msgid "units to fire at "
 msgstr "энергии на выстрел по "
 
 msgid "units to fire at "
 msgstr "энергии на выстрел по "
 
-#: src/battle.c:1132
+#: src/battle.c:1137
 msgid "Available energy exceeded -- try again."
 msgstr "Имеющейся энергии не хватает -- попробуйте снова."
 
 msgid "Available energy exceeded -- try again."
 msgstr "Имеющейся энергии не хватает -- попробуйте снова."
 
-#: src/battle.c:1164
+#: src/battle.c:1169
 msgid "Sulu-  \"Sir, the high-speed shield control has malfunctioned . . ."
 msgstr "Сулу- \"Сэр, высокоскоростное управление защитой не сработало . . ."
 
 msgid "Sulu-  \"Sir, the high-speed shield control has malfunctioned . . ."
 msgstr "Сулу- \"Сэр, высокоскоростное управление защитой не сработало . . ."
 
-#: src/battle.c:1165
+#: src/battle.c:1170
 msgid "         CLICK   CLICK   POP  . . ."
 msgstr "         ЩЁЛК   ЩЁЛК   ЧЁРТ  . . ."
 
 msgid "         CLICK   CLICK   POP  . . ."
 msgstr "         ЩЁЛК   ЩЁЛК   ЧЁРТ  . . ."
 
-#: src/battle.c:1166
+#: src/battle.c:1171
 msgid " No response, sir!"
 msgstr " Нет ответа, сэр!"
 
 msgid " No response, sir!"
 msgstr " Нет ответа, сэр!"
 
-#: src/battle.c:1199
+#: src/battle.c:1204
 #, c-format
 msgid "%d unit hit on "
 msgstr "%d единиц энергии ударили по "
 
 #, c-format
 msgid "%d unit hit on "
 msgstr "%d единиц энергии ударили по "
 
-#: src/battle.c:1202
+#: src/battle.c:1207
 msgid "Very small hit on "
 msgstr "Очень слабый удар по "
 
 msgid "Very small hit on "
 msgstr "Очень слабый удар по "
 
-#: src/battle.c:1216
+#: src/battle.c:1221
 msgid "***Mr. Spock-  \"Captain, the vessel at "
 msgstr "***Мистер Спок- \"Капитан, корабль на "
 
 msgid "***Mr. Spock-  \"Captain, the vessel at "
 msgstr "***Мистер Спок- \"Капитан, корабль на "
 
-#: src/battle.c:1218
+#: src/battle.c:1223
 msgid "   has just lost its firepower.\""
 msgstr "   потерял боеспособность.\""
 
 msgid "   has just lost its firepower.\""
 msgstr "   потерял боеспособность.\""
 
-#: src/events.c:53
+#: src/events.c:83
 msgid "Lt. Uhura- \"Captain, the sub-space radio is working and"
 msgstr "Лт. Ухура- \"Капитан, космическая рация работает и"
 
 msgid "Lt. Uhura- \"Captain, the sub-space radio is working and"
 msgstr "Лт. Ухура- \"Капитан, космическая рация работает и"
 
-#: src/events.c:54
+#: src/events.c:84
 msgid "   surveillance reports are coming in."
 msgstr "   принимает информацию из центра наблюдения."
 
 msgid "   surveillance reports are coming in."
 msgstr "   принимает информацию из центра наблюдения."
 
-#: src/events.c:61
+#: src/events.c:91
 msgid "   The star chart is now up to date.\""
 msgstr "   Звёздная карта обновлена."
 
 msgid "   The star chart is now up to date.\""
 msgstr "   Звёздная карта обновлена."
 
-#: src/events.c:114
+#: src/events.c:144
 msgid " caught in long range tractor beam--"
 msgstr " пойман дальнобойным буксирным лучём--"
 
 msgid " caught in long range tractor beam--"
 msgstr " пойман дальнобойным буксирным лучём--"
 
-#: src/events.c:126
+#: src/events.c:156
 msgid "Galileo, left on the planet surface, is captured"
 msgstr "Галилей, оставшийся на планете, схвачен"
 
 msgid "Galileo, left on the planet surface, is captured"
 msgstr "Галилей, оставшийся на планете, схвачен"
 
-#: src/events.c:127
+#: src/events.c:157
 msgid "by aliens and made into a flying McDonald's."
 msgstr "инопланетянами и превращён в летательный МакДональдс."
 
 msgid "by aliens and made into a flying McDonald's."
 msgstr "инопланетянами и превращён в летательный МакДональдс."
 
-#: src/events.c:132
+#: src/events.c:162
 msgid "Galileo, left on the planet surface, is well hidden."
 msgstr "Галилей, оставшийся на планете, хорошо спрятан."
 
 msgid "Galileo, left on the planet surface, is well hidden."
 msgstr "Галилей, оставшийся на планете, хорошо спрятан."
 
-#: src/events.c:145
+#: src/events.c:175
 msgid " is pulled to "
 msgstr " затянут в "
 
 msgid " is pulled to "
 msgstr " затянут в "
 
-#: src/events.c:150
+#: src/events.c:180
 msgid "(Remainder of rest/repair period cancelled.)"
 msgstr "(Остаток периода отдыха/ремонта отменён.)"
 
 msgid "(Remainder of rest/repair period cancelled.)"
 msgstr "(Остаток периода отдыха/ремонта отменён.)"
 
-#: src/events.c:158
+#: src/events.c:188
 msgid "(Shields not currently useable.)"
 msgstr "(Защита в нерабочем состоянии.)"
 
 msgid "(Shields not currently useable.)"
 msgstr "(Защита в нерабочем состоянии.)"
 
-#: src/events.c:211
+#: src/events.c:242
 msgid "   reports that it is under attack and that it can"
 msgstr "   сообщает, что она атакована и сможет"
 
 msgid "   reports that it is under attack and that it can"
 msgstr "   сообщает, что она атакована и сможет"
 
-#: src/events.c:212
+#: src/events.c:243
 #, c-format
 msgid "   hold out only until stardate %d"
 msgstr "   продержаться до даты %d.\""
 
 #, c-format
 msgid "   hold out only until stardate %d"
 msgstr "   продержаться до даты %d.\""
 
-#: src/events.c:257
+#: src/events.c:288
 msgid "Spock-  \"Captain, I believe the starbase has been destroyed.\""
 msgstr "Спок- \"Капитан, я чувствую, что база уничтожена.\""
 
 msgid "Spock-  \"Captain, I believe the starbase has been destroyed.\""
 msgstr "Спок- \"Капитан, я чувствую, что база уничтожена.\""
 
-#: src/events.c:265
+#: src/events.c:296
 msgid "Lt. Uhura-  \"Captain, Starfleet Command reports that"
 msgstr "Лт. Ухура- \"Капитан, штаб звёздного флота сообщает"
 
 msgid "Lt. Uhura-  \"Captain, Starfleet Command reports that"
 msgstr "Лт. Ухура- \"Капитан, штаб звёздного флота сообщает"
 
-#: src/events.c:266
+#: src/events.c:297
 msgid "   the starbase in "
 msgstr "   база в "
 
 msgid "   the starbase in "
 msgstr "   база в "
 
-#: src/events.c:268
+#: src/events.c:299
 msgid " has been destroyed by"
 msgstr " уничтожена"
 
 msgid " has been destroyed by"
 msgstr " уничтожена"
 
-#: src/events.c:269
+#: src/events.c:300
 msgid "the Klingon Super-Commander"
 msgstr "Глав-комом Клингонов"
 
 msgid "the Klingon Super-Commander"
 msgstr "Глав-комом Клингонов"
 
-#: src/events.c:270
+#: src/events.c:301
 msgid "a Klingon Commander"
 msgstr "Командиром Клингонов"
 
 msgid "a Klingon Commander"
 msgstr "Командиром Клингонов"
 
-#: src/events.c:313
+#: src/events.c:344
 msgid "Lt. Uhura-  \"The deep space probe "
 msgstr "Лт. Ухура- \"Дальнобойная космическая ракета "
 
 msgid "Lt. Uhura-  \"The deep space probe "
 msgstr "Лт. Ухура- \"Дальнобойная космическая ракета "
 
-#: src/events.c:315
+#: src/events.c:346
 msgid "has left the galaxy"
 msgstr "покинула галактику"
 
 msgid "has left the galaxy"
 msgstr "покинула галактику"
 
-#: src/events.c:317
+#: src/events.c:348
 msgid "is no longer transmitting"
 msgstr "больше не передаёт"
 
 msgid "is no longer transmitting"
 msgstr "больше не передаёт"
 
-#: src/events.c:327
+#: src/events.c:358
 msgid "Lt. Uhura-  \"The deep space probe is now in "
 msgstr "Лт. Ухура- \"Дальнобойная космическая ракета сейчас в "
 
 msgid "Lt. Uhura-  \"The deep space probe is now in "
 msgstr "Лт. Ухура- \"Дальнобойная космическая ракета сейчас в "
 
-#: src/events.c:364
+#: src/events.c:511
 msgid "How long? "
 msgstr "Какой срок? "
 
 msgid "How long? "
 msgstr "Какой срок? "
 
-#: src/events.c:374
+#: src/events.c:521
 msgid "Are you sure? "
 msgstr "Вы уверены? "
 
 msgid "Are you sure? "
 msgstr "Вы уверены? "
 
-#: src/events.c:384
+#: src/events.c:531
 #, c-format
 msgid "%d stardates left."
 msgstr "Осталось %d дней."
 
 #, c-format
 msgid "%d stardates left."
 msgstr "Осталось %d дней."
 
-#: src/events.c:426 src/events.c:465
+#: src/events.c:576 src/events.c:615
 msgid " novas."
 msgstr " взорвалась."
 
 msgid " novas."
 msgstr " взорвалась."
 
-#: src/events.c:498
+#: src/events.c:647
 msgid "***Starship buffeted by nova."
 msgstr "***Звездолёт отбросило взрывом звезды."
 
 msgid "***Starship buffeted by nova."
 msgstr "***Звездолёт отбросило взрывом звезды."
 
-#: src/events.c:506
+#: src/events.c:655
 msgid "***Shields knocked out."
 msgstr "***Защита разбита."
 
 msgid "***Shields knocked out."
 msgstr "***Защита разбита."
 
-#: src/events.c:536
+#: src/events.c:685
 msgid " damaged"
 msgstr " повреждён"
 
 msgid " damaged"
 msgstr " повреждён"
 
-#: src/events.c:544
+#: src/events.c:693
 msgid ", blasted into "
 msgstr ", долбанулся в "
 
 msgid ", blasted into "
 msgstr ", долбанулся в "
 
-#: src/events.c:555
+#: src/events.c:704
 msgid ", buffeted to "
 msgstr " отлетел в чёрную дыру."
 
 msgid ", buffeted to "
 msgstr " отлетел в чёрную дыру."
 
-#: src/events.c:584
+#: src/events.c:733
 msgid "Force of nova displaces starship."
 msgstr "Взрыв звезды смещает звездолёт."
 
 msgid "Force of nova displaces starship."
 msgstr "Взрыв звезды смещает звездолёт."
 
-#: src/events.c:641
+#: src/events.c:790
 #, c-format
 msgid "Message from Starfleet Command       Stardate %.2f"
 msgstr "Сообщение от штаба Звёздного Флота       Дата %.2f"
 
 #, c-format
 msgid "Message from Starfleet Command       Stardate %.2f"
 msgstr "Сообщение от штаба Звёздного Флота       Дата %.2f"
 
-#: src/events.c:642
+#: src/events.c:791
 #, c-format
 msgid "     Supernova in %s; caution advised."
 msgstr "     Взрыв сверхновой в %s; соблюдайте осторожность."
 
 #, c-format
 msgid "     Supernova in %s; caution advised."
 msgstr "     Взрыв сверхновой в %s; соблюдайте осторожность."
 
-#: src/events.c:669
+#: src/events.c:820
 msgid "***Incipient supernova detected at "
 msgstr "***Зарегистрировано появление сверхновой в "
 
 msgid "***Incipient supernova detected at "
 msgstr "***Зарегистрировано появление сверхновой в "
 
-#: src/events.c:673
+#: src/events.c:823
 msgid "Emergency override attempts t"
 msgstr "Автопилот пытается в"
 
 msgid "Emergency override attempts t"
 msgstr "Автопилот пытается в"
 
-#: src/events.c:744
+#: src/events.c:893
 msgid "Lucky you!"
 msgstr "Повезло!"
 
 msgid "Lucky you!"
 msgstr "Повезло!"
 
-#: src/events.c:745
+#: src/events.c:894
 #, c-format
 msgid "A supernova in %s has just destroyed the last Klingons."
 msgstr "Сверхновая в %s как раз уничтожила последних Клингонов."
 #, c-format
 msgid "A supernova in %s has just destroyed the last Klingons."
 msgstr "Сверхновая в %s как раз уничтожила последних Клингонов."
@@ -886,7 +888,7 @@ msgstr "Ваш звездолёт стал космическим мусором
 msgid "Your energy supply is exhausted."
 msgstr "Источники энергии иссякли."
 
 msgid "Your energy supply is exhausted."
 msgstr "Источники энергии иссякли."
 
-#: src/finish.c:187 src/finish.c:206 src/finish.c:225
+#: src/finish.c:187 src/finish.c:206 src/finish.c:225 src/moving.c:726
 msgid "The "
 msgstr " "
 
 msgid "The "
 msgstr " "
 
@@ -924,7 +926,7 @@ msgstr " был поджарен взрывом сверхновой."
 
 #: src/finish.c:209
 msgid "...Not even cinders remain..."
 
 #: src/finish.c:209
 msgid "...Not even cinders remain..."
-msgstr "...И мокрого места не осталось..."
+msgstr "...И угольков-то не осталось..."
 
 #: src/finish.c:212
 msgid "You have been captured by the Klingons. If you still"
 
 #: src/finish.c:212
 msgid "You have been captured by the Klingons. If you still"
@@ -1299,3 +1301,1468 @@ msgid ""
 "%.2f\n"
 msgstr ""
 "                                                    Клингонов в день:  %.2f\n"
 "%.2f\n"
 msgstr ""
 "                                                    Клингонов в день:  %.2f\n"
+
+#: src/io.c:92
+msgid "[ANOUNCEMENT ARRIVING...]"
+msgstr "[ПОСТУПИЛО СООБЩЕНИЕ...]"
+
+#: src/io.c:94
+msgid "[IMPORTANT ANNOUNCEMENT ARRIVING -- PRESS ENTER TO CONTINUE]"
+msgstr "[ПОСТУПИЛО ВАЖНОЕ СООБЩЕНИЕ -- НАЖМИТЕ ВВОД ДЛЯ ПРОДОЛЖЕНИЯ]"
+
+#: src/io.c:98
+msgid "[CONTINUE?]"
+msgstr "[ПРОДОЛЖИТЬ?]"
+
+#: src/io.c:100
+msgid "[PRESS ENTER TO CONTINUE]"
+msgstr "[НАЖМИТЕ ВВОД ДЛЯ ПРОДОЛЖЕНИЯ]"
+
+#: src/io.c:383
+#, c-format
+msgid "Track for torpedo number %d-  "
+msgstr "Трасса торпеды номер %d- "
+
+#: src/io.c:387
+msgid "Torpedo track- "
+msgstr "Трасса торпеды- "
+
+#: src/moving.c:16
+msgid "Helmsman Sulu- \"Leaving standard orbit.\""
+msgstr "Кормчий Сулу- \"Уходим с орбиты.\""
+
+#: src/moving.c:103
+msgid "YOU HAVE ATTEMPTED TO CROSS THE NEGATIVE ENERGY BARRIER"
+msgstr "ВЫ ПЫТАЕТЕСЬ ПЕРЕСЕЧЬ ОТРИЦАТЕЛЬНЫЙ ЭНЕРГЕТИЧЕСКИЙ БАРЬЕР"
+
+#: src/moving.c:104
+msgid "AT THE EDGE OF THE GALAXY.  THE THIRD TIME YOU TRY THIS,"
+msgstr "НА ГРАНИЦЕ ГАЛАКТИКИ.  ЕЩЁ ПАРУ РАЗ ТАК СДЕЛАЕТЕ,"
+
+#: src/moving.c:105
+msgid "YOU WILL BE DESTROYED."
+msgstr "И ПЕНЯЙТЕ НА СЕБЯ."
+
+#: src/moving.c:114
+#, c-format
+msgid "Entering %s."
+msgstr "Входим в %s."
+
+#: src/moving.c:145
+msgid " pulled into black hole at "
+msgstr " затянут в чёрную дыру в "
+
+#: src/moving.c:167
+msgid " encounters Tholian web at "
+msgstr " обнаружил Толианскую сеть в "
+
+#: src/moving.c:169
+msgid " blocked by object at "
+msgstr " остановлен объектом в "
+
+#: src/moving.c:172
+msgid "Emergency stop required "
+msgstr "Экстренная остановка потребовала "
+
+#: src/moving.c:173
+#, c-format
+msgid "%2d units of energy."
+msgstr "%2d единиц энергии."
+
+#: src/moving.c:221
+msgid "Already docked."
+msgstr "И так уже пришвартован."
+
+#: src/moving.c:225
+msgid "You must first leave standard orbit."
+msgstr "Сначала вы должны уйти с орбиты."
+
+#: src/moving.c:230
+msgid " not adjacent to base."
+msgstr " вне досягаемости базы."
+
+#: src/moving.c:234
+msgid "Docked."
+msgstr "Пришвартован."
+
+#: src/moving.c:243
+msgid "Lt. Uhura- \"Captain, an important message from the starbase:\""
+msgstr "Лт. Ухура- \"Капитан, тут важное сообщение с базы:\""
+
+#: src/moving.c:271
+msgid "Dummy! You can't leave standard orbit until you"
+msgstr "Дятел! Ты не можешь уйти с орбиты пока ты не"
+
+#: src/moving.c:272
+msgid "are back aboard the "
+msgstr "вернёшься на борт корабля "
+
+#: src/moving.c:281
+msgid "Computer damaged; manual navigation only"
+msgstr "Компьютер сломан; только ручное управление работает"
+
+#: src/moving.c:283
+msgid "Computer damaged; manual movement only"
+msgstr "Компьютер сломан; задавайте перемещение вручную"
+
+#: src/moving.c:298
+msgid "Manual or automatic- "
+msgstr "Ручной или автоматический- "
+
+#: src/moving.c:321
+msgid "(Manual navigation assumed.)"
+msgstr "(Используется ручное управление.)"
+
+#: src/moving.c:323
+msgid "(Manual movement assumed.)"
+msgstr "(Используется ручная навигация.)"
+
+#: src/moving.c:332
+msgid "Target quadrant or quadrant&sector- "
+msgstr "Квадрант назначения или квадрант&сектор- "
+
+#: src/moving.c:334
+msgid "Destination sector or quadrant&sector- "
+msgstr "Сектор назначения или квадрант&сектор- "
+
+#: src/moving.c:388
+#, c-format
+msgid "Helmsman Sulu- \"Course locked in for %s.\""
+msgstr "Кормчий Сулу- \"Курс взят на %s.\""
+
+#: src/moving.c:392
+msgid "Ensign Chekov- \"Course laid in, Captain.\""
+msgstr "Прапорщик Чехов- \"Курс взят, Капитан.\""
+
+#: src/moving.c:399
+msgid "X and Y displacements- "
+msgstr "Расстояния по X и Y- "
+
+#: src/moving.c:424
+msgid "Helmsman Sulu- \"Aye, Sir.\""
+msgstr "Кормчий Сулу- \"Ага, Сэр.\""
+
+#: src/moving.c:444 src/moving.c:502
+msgid "Engineer Scott- \"The impulse engines are damaged, Sir.\""
+msgstr "Инженер Скот- \"Импульсные двигатели повреждены, Сэр.\""
+
+#: src/moving.c:459
+msgid "First Officer Spock- \"Captain, the impulse engines"
+msgstr "Первый Офицер Спок- \"Капитан, импульсные двигатели"
+
+#: src/moving.c:460
+msgid "require 20.0 units to engage, plus 100.0 units per"
+msgstr "требуют 20.0 единиц энергии для запуска, плюс 100.0 единиц на"
+
+#: src/moving.c:462
+#, c-format
+msgid "quadrant.  We can go, therefore, a maximum of %d"
+msgstr "квадрант.  Следовательно, мы пролетим максимум %d"
+
+#: src/moving.c:464
+msgid " quadrants.\""
+msgstr " квадрантов.\""
+
+#: src/moving.c:467
+msgid "quadrant.  They are, therefore, useless.\""
+msgstr "квадрант.  Таким образом они бесполезны.\""
+
+#: src/moving.c:475
+msgid "First Officer Spock- \"Captain, our speed under impulse"
+msgstr "Первый Офицер Спок- \"Капитан, наша скорость на импульсной"
+
+#: src/moving.c:476
+msgid "power is only 0.95 sectors per stardate. Are you sure"
+msgstr "тяге всего 0.95 секторов в день. Вы уверены,"
+
+#: src/moving.c:477
+msgid "we dare spend the time?\" "
+msgstr "что мы можем тратить столько времени?\" "
+
+#: src/moving.c:508
+msgid "Engineer Scott- \"Sorry, Captain. Until this damage"
+msgstr "Инженер Скот- \"Извините, Капитан. Пока эта неисправность не"
+
+#: src/moving.c:509
+msgid "  is repaired, I can only give you warp 4.\""
+msgstr "  устранена, я могу только предложить вам скорость 4.\""
+
+#: src/moving.c:529
+msgid "We can't do it, Captain. We don't have enough energy."
+msgstr "Не выйдет, Капитан. У нас не хватит энергии."
+
+#: src/moving.c:532
+#, c-format
+msgid "We don't have enough energy, but we could do it at warp %d"
+msgstr "У нас не достаточно энергии, но её могло бы хватить бы при скорости %d"
+
+#: src/moving.c:535
+msgid "if you'll lower the shields."
+msgstr ", если только вы опустите защиту."
+
+#: src/moving.c:542
+msgid "We haven't the energy to go that far with the shields up."
+msgstr ""
+"У нас нет энергии чтобы лететь так далеко, да ещё и с поднятой защитой."
+
+#: src/moving.c:550
+msgid "First Officer Spock- \"Captain, I compute that such"
+msgstr "Первый Офицер Спок- \"Капитан, я считаю что такой"
+
+#: src/moving.c:551
+#, c-format
+msgid "  a trip would require approximately %2.0f"
+msgstr "  полёт потребует примерно %2.0f"
+
+#: src/moving.c:553
+msgid " percent of our"
+msgstr " процентов от нашего"
+
+#: src/moving.c:554
+msgid "  remaining time.  Are you sure this is wise?\" "
+msgstr " остатка времени.  Вы уверены что это разумно?\" "
+
+#: src/moving.c:619
+msgid "  Scott here.  The warp engines are damaged."
+msgstr "  Скот на связи.  Межпространственные двигатели сломаны."
+
+#: src/moving.c:620
+msgid "  We'll have to reduce speed to warp 4."
+msgstr "  Придётся сбавить скорость до 4."
+
+#: src/moving.c:635
+msgid "Warp factor- "
+msgstr "Скорость- "
+
+#: src/moving.c:643
+msgid "Warp engines inoperative."
+msgstr "Межпространственные двигатели не работают."
+
+#: src/moving.c:647
+msgid "Engineer Scott- \"I'm doing my best, Captain,"
+msgstr "Инженер Скот- \"Я делаю всё что могу, Капитан,"
+
+#: src/moving.c:648
+msgid "  but right now we can only go warp 4.\""
+msgstr "  но сейчас мы можем дать только скорость 4."
+
+#: src/moving.c:652
+msgid "Helmsman Sulu- \"Our top speed is warp 10, Captain.\""
+msgstr "Прапорщик Сулу- \"Наша максимальная скорость - 10, Капитан.\""
+
+#: src/moving.c:656
+msgid "Helmsman Sulu- \"We can't go below warp 1, Captain.\""
+msgstr "Прапорщик Сулу- \"Мы не можем установить скорость ниже 1, Капитан.\""
+
+#: src/moving.c:663
+#, c-format
+msgid "Helmsman Sulu- \"Warp factor %d, Captain.\""
+msgstr "Прапорщик Сулу- \"Скорость %d, Капитан.\""
+
+#: src/moving.c:668
+msgid "Engineer Scott- \"Aye, but our maximum safe speed is warp 6.\""
+msgstr "Инженер Скот- \"Ага, хотя наивысшая безопасная скорость - 6.\""
+
+#: src/moving.c:672
+msgid "Engineer Scott- \"Aye, Captain, we'll try it.\""
+msgstr "Инженер Скот- \"Ага Капитан, попробуем.\""
+
+#: src/moving.c:675
+msgid "Engineer Scott- \"Aye, Captain, but our engines may not take it.\""
+msgstr "Инженер Скот- \"Ага Капитан, но наши движки могут не справиться.\""
+
+#: src/moving.c:690
+msgid "Scotty rushes to the transporter controls."
+msgstr "Скоти бросается к управлению транспортёром."
+
+#: src/moving.c:692
+msgid "But with the shields up it's hopeless."
+msgstr "Но с поднятой защитой это безнадёжно."
+
+#: src/moving.c:695
+msgid "His desperate attempt to rescue you . . ."
+msgstr "Его отчаянная попытка спасти вас . . ."
+
+#: src/moving.c:697 src/moving.c:993
+msgid "fails."
+msgstr "провалилась."
+
+#: src/moving.c:701
+msgid "SUCCEEDS!"
+msgstr "УВЕНЧАЛАСЬ УСПЕХОМ!"
+
+#: src/moving.c:704
+msgid "The crystals mined were "
+msgstr "Собранные кристаллы "
+
+#: src/moving.c:706
+msgid "lost."
+msgstr "пропали."
+
+#: src/moving.c:709
+msgid "saved."
+msgstr "сохранились."
+
+#: src/moving.c:728
+msgid " has stopped in a quadrant containing"
+msgstr " остановился в квадранте со"
+
+#: src/moving.c:729
+msgid "   a supernova."
+msgstr "   сверхновой."
+
+#: src/moving.c:732
+msgid "***Emergency automatic override attempts to hurl "
+msgstr "***Автопилот пытается вырвать "
+
+#: src/moving.c:735
+msgid "safely out of quadrant."
+msgstr "из квадранта."
+
+#: src/moving.c:741
+msgid "Warp engines damaged."
+msgstr "Межпространственные двигатели повреждёны."
+
+#: src/moving.c:747
+#, c-format
+msgid "Warp factor set to %d"
+msgstr "Скорость установлена на %d"
+
+#: src/moving.c:761
+msgid "Insufficient energy to leave quadrant."
+msgstr "Недостаточно энергии чтобы покинуть квадрант."
+
+#: src/moving.c:775
+msgid "***TIME WARP ENTERED."
+msgstr "***ИСКРИВЛЕНИЕ ВРЕМЕННОГО КОНТИНУУМА."
+
+#: src/moving.c:778
+#, c-format
+msgid "You are traveling backwards in time %d stardates."
+msgstr "Вы путешествуете назад во времени на %d дней."
+
+#: src/moving.c:803
+msgid "Checkov-  \"Security reports the Galileo has disappeared, Sir!"
+msgstr "Чехов- \"Охрана докладывает о пропаже Галилея, Сэр!"
+
+#: src/moving.c:811
+msgid "Checkov-  \"Security reports the Galileo has reappeared in the dock!\""
+msgstr "Чехов- \"Охрана докладыват о появлении Галилея в доке!\""
+
+#: src/moving.c:818
+msgid "Spock has reconstructed a correct star chart from memory"
+msgstr "Спок восстановил звёздную карту по памяти"
+
+#: src/moving.c:823
+#, c-format
+msgid "You are traveling forward in time %d stardates."
+msgstr "Вы путешествуете вперёд во времени на %d дней."
+
+#: src/moving.c:841
+msgid "Engineer Scott- \"We have no more deep space probes, Sir.\""
+msgstr ""
+"Инженер Скот- \"У нас больше нет дальнобойных космических ракет, Сэр.\""
+
+#: src/moving.c:843
+msgid "Ye Faerie Queene has no deep space probes."
+msgstr "На Волшебной Королеве нет дальнобойных космических ракет."
+
+#: src/moving.c:849
+msgid "Engineer Scott- \"The probe launcher is damaged, Sir.\""
+msgstr "Инженер Скот- \"Пусковой аппарат сломан, Сэр.\""
+
+#: src/moving.c:856
+msgid "Spock-  \"Records show the previous probe has not yet"
+msgstr "Скот- \"Сигналы с предыдущей ракеты говорят о том, что она ещё не"
+
+#: src/moving.c:857
+msgid "   reached its destination.\""
+msgstr "   достигла пункта назначения.\""
+
+#: src/moving.c:860
+msgid "Uhura- \"The previous probe is still reporting data, Sir.\""
+msgstr "Ухура- \"Предыдущая ракета всё ещё передаёт сигналы, Сэр.\""
+
+#: src/moving.c:867
+#, c-format
+msgid "%d probe left."
+msgstr "Осталось %d торпеда."
+
+#: src/moving.c:867
+#, c-format
+msgid "%d probes left."
+msgstr "Осталось %d торпед."
+
+#: src/moving.c:868
+msgid "Are you sure you want to fire a probe? "
+msgstr "Вы уверены, что хотите запустить ракету? "
+
+#: src/moving.c:878
+msgid "Arm NOVAMAX warhead? "
+msgstr "Снарядить атомной боеголовкой? "
+
+#: src/moving.c:899
+msgid "Ensign Chekov-  \"The deep space probe is launched, Captain.\""
+msgstr ""
+"Прапорщик Чехов- \"Дальнобойная космическая ракета выпущена, Капитан.\""
+
+#: src/moving.c:913
+msgid "Lt. Uhura-  \"But Captain, we're already docked.\""
+msgstr "Лт. Ухура- \"Но Капитан, мы ведь уже пришвартовались.\""
+
+#: src/moving.c:917
+msgid "Subspace radio damaged."
+msgstr "Межпространственная рация повреждена."
+
+#: src/moving.c:921
+msgid "Lt. Uhura-  \"Captain, I'm not getting any response from Starbase.\""
+msgstr "Лт. Ухура- \"Капитан, я не получаю никаких сигналов от базы.\""
+
+#: src/moving.c:925
+msgid "You must be aboard the "
+msgstr "Вы должны быть на борту карабля "
+
+#: src/moving.c:952
+#, c-format
+msgid "Starbase in %s responds--"
+msgstr "База из %s отвечает--"
+
+#: src/moving.c:955
+msgid " dematerializes."
+msgstr " дематериализовался."
+
+#: src/moving.c:968
+msgid "You have been lost in space..."
+msgstr "Вы пропали в космической пустоте..."
+
+#: src/moving.c:976
+msgid "1st"
+msgstr "1-ая"
+
+#: src/moving.c:977
+msgid "2nd"
+msgstr "2-ая"
+
+#: src/moving.c:978
+msgid "3rd"
+msgstr "3-я"
+
+#: src/moving.c:980
+msgid " attempt to re-materialize "
+msgstr " попытка материализации "
+
+#: src/moving.c:1007
+msgid "succeeds."
+msgstr "увенчалась успехом."
+
+#: src/moving.c:1011
+msgid "Lt. Uhura-  \"Captain, we made it!\""
+msgstr "Лт. Ухура- \"Капитан, получлось!\""
+
+#: src/planets.c:33
+msgid "Spock-  \"Planet report follows, Captain.\""
+msgstr "Спок- \"Вот информация о планете, Капитан.\""
+
+#: src/planets.c:47
+msgid "   class "
+msgstr "   класс "
+
+#: src/planets.c:50
+msgid "no "
+msgstr "отсутствуют "
+
+#: src/planets.c:51
+msgid "dilithium crystals present."
+msgstr "признаки кристаллов дилития."
+
+#: src/planets.c:53
+msgid "    Shuttle Craft Galileo on surface."
+msgstr "    Челнок Галилей на поверхности."
+
+#: src/planets.c:56
+msgid "No information available."
+msgstr "Нет информации."
+
+#: src/planets.c:64
+msgid "Already in standard orbit."
+msgstr "И так уже на орбите.\""
+
+#: src/planets.c:68
+msgid "Both warp and impulse engines damaged."
+msgstr "Межпространственные двигатели сломаны, равно как и импульсные."
+
+#: src/planets.c:73
+msgid " not adjacent to planet."
+msgstr " слишком далеко от планеты."
+
+#: src/planets.c:78
+msgid "Helmsman Sulu-  \"Entering standard orbit, Sir.\""
+msgstr "Кормчий Сулу- \"Выходим на орбиту, Сэр.\""
+
+#: src/planets.c:82
+#, c-format
+msgid "Sulu-  \"Entered orbit at altitude %.2f kilometers.\""
+msgstr "Сулу- \"Зашли на орбиту на высоте %.2f kilometers.\""
+
+#: src/planets.c:92
+msgid "Short range sensors damaged."
+msgstr "Сенсоры ближнего обзора сломаны."
+
+#: src/planets.c:96
+msgid "Spock- \"No planet in this quadrant, Captain.\""
+msgstr "Спок- \"В этом квадранте нет планет, Капитан.\""
+
+#: src/planets.c:100
+#, c-format
+msgid "Spock-  \"Sensor scan for %s-"
+msgstr "Спок- \"Сканирование %s-"
+
+#: src/planets.c:102
+#, c-format
+msgid "         Planet at %s is of class %s."
+msgstr "         Планета на %s класса %s."
+
+#: src/planets.c:106
+msgid "         Sensors show Galileo still on surface."
+msgstr "         Сенсоры показывают, что Галилей всё ещё на поверхности."
+
+#: src/planets.c:107
+msgid "         Readings indicate"
+msgstr "         Сканирование"
+
+#: src/planets.c:108
+msgid " no"
+msgstr " не"
+
+#: src/planets.c:109
+msgid " dilithium crystals present.\""
+msgstr " показывает признаки кристаллов дилития."
+
+#: src/planets.c:119
+msgid "Transporter damaged."
+msgstr "Транспортёр не работает."
+
+#: src/planets.c:122
+msgid "Spock-  \"May I suggest the shuttle craft, Sir?\" "
+msgstr "Спок- \"Могу я посоветовать челнок, Сэр?\""
+
+#: src/planets.c:129 src/planets.c:306
+msgid " not in standard orbit."
+msgstr " не на орбите."
+
+#: src/planets.c:133
+msgid "Impossible to transport through shields."
+msgstr "Невозможно транспортировать через защитные поля."
+
+#: src/planets.c:137 src/planets.c:322
+msgid "Spock-  \"Captain, we have no information on this planet"
+msgstr "Спок- \"Капитан, у нас нет информации об этой планете"
+
+#: src/planets.c:138 src/planets.c:323
+msgid "  and Starfleet Regulations clearly state that in this situation"
+msgstr " и инструкции Звёздного Флота чётко предписывают в такой ситуации"
+
+#: src/planets.c:139
+msgid "  you may not go down.\""
+msgstr " не спускаться на поверхность.\""
+
+#: src/planets.c:145
+msgid "Spock-  \"Wouldn't you rather take the Galileo?\" "
+msgstr "Спок- \"Может вы всё же используете Галилей?\""
+
+#: src/planets.c:150
+msgid "Your crew hides the Galileo to prevent capture by aliens."
+msgstr "Ваша команда прячет Галилей, чтобы он не достался инопланетянам."
+
+#: src/planets.c:152
+msgid "Landing party assembled, ready to beam up."
+msgstr "Дисантный отряд собран, готовы к телепортации."
+
+#: src/planets.c:154
+msgid "Kirk whips out communicator..."
+msgstr "Кирк выхватил коммуникатор..."
+
+#: src/planets.c:155
+msgid "BEEP  BEEP  BEEP"
+msgstr "БИП  БИП  БИП"
+
+#: src/planets.c:157
+msgid "\"Kirk to enterprise-  Lock on coordinates...energize.\""
+msgstr "\"Кирк энтерпрайзу- Установите координаты...поехали.\""
+
+#: src/planets.c:162
+msgid "Spock-  \"Captain, I fail to see the logic in"
+msgstr "Спок- \"Капитан, я не вижу смысла"
+
+#: src/planets.c:163
+msgid "  exploring a planet with no dilithium crystals."
+msgstr " исследовать планету, на которой нет кристаллов дилития."
+
+#: src/planets.c:164 src/planets.c:254
+msgid "  Are you sure this is wise?\" "
+msgstr "  Вы уверены что это разумно?\" "
+
+#: src/planets.c:170
+msgid "Scotty-  \"Transporter room ready, Sir.\""
+msgstr "Скоти- \"Транспортёр готов, Сэр.\""
+
+#: src/planets.c:172
+msgid "Kirk and landing party prepare to beam down to planet surface."
+msgstr "Кирк и дисантный отряд готовятся к телепортации на планету."
+
+#: src/planets.c:174
+msgid "Kirk-  \"Energize.\""
+msgstr "Кирк- \"Поехали.\""
+
+#: src/planets.c:183
+msgid "Scotty-  \"Oh my God!  I've lost them.\""
+msgstr "Скоти- \"О нет!  Я их потерял.\""
+
+#: src/planets.c:189
+msgid "Transport complete."
+msgstr "Транспортировка завершена."
+
+#: src/planets.c:192
+msgid "The shuttle craft Galileo is here!"
+msgstr "Челнок Галилей здесь!"
+
+#: src/planets.c:207
+msgid "Mining party not on planet."
+msgstr "Добытчиков на планете нет."
+
+#: src/planets.c:211
+msgid "This planet has already been strip-mined for dilithium."
+msgstr "Эта планета уже обобрана до нитки; дилития там больше нет."
+
+#: src/planets.c:215
+msgid "No dilithium crystals on this planet."
+msgstr "На этой планете дилития нет."
+
+#: src/planets.c:219
+msgid "You've already mined enough crystals for this trip."
+msgstr "Вы набрали уже достаточно кристаллов за эту поездку."
+
+#: src/planets.c:223
+msgid "With all those fresh crystals aboard the "
+msgstr "У нас так много кристаллов на борту, что"
+
+#: src/planets.c:226
+msgid "there's no reason to mine more at this time."
+msgstr "нет смысла собирать ещё."
+
+#: src/planets.c:231
+msgid "Mining operation complete."
+msgstr "Сборка кристаллов завершена."
+
+#: src/planets.c:243
+msgid "No dilithium crystals available."
+msgstr "Нет кристаллов дилития."
+
+#: src/planets.c:247
+msgid "Spock-  \"Captain, Starfleet Regulations prohibit such an operation"
+msgstr "Спок- \"Капитан, инструкции Звёздного Флота запрещают эти действия,"
+
+#: src/planets.c:248
+msgid "  except when condition Yellow exists."
+msgstr " кроме случаев Жёлтого состояния."
+
+#: src/planets.c:251
+msgid "Spock- \"Captain, I must warn you that loading"
+msgstr "Спок- \"Капитан, я должен предупредить вас, что пихать"
+
+#: src/planets.c:252
+msgid "  raw dilithium crystals into the ship's power"
+msgstr " необработанные кристаллы дилития в энергетическую"
+
+#: src/planets.c:253
+msgid "  system may risk a severe explosion."
+msgstr " систему корабля опасно, и может привести к большому взрыву."
+
+#: src/planets.c:260
+msgid "Engineering Officer Scott-  \"(GULP) Aye Sir."
+msgstr "Инженер-механик Скот- \"(глотая воздух) Ага Сэр."
+
+#: src/planets.c:261
+msgid "  Mr. Spock and I will try it.\""
+msgstr "  Мы с Мистером Споком попробуем.\""
+
+#: src/planets.c:263
+msgid "Spock-  \"Crystals in place, Sir."
+msgstr "Спок- \"Кристаллы на месте, Сэр."
+
+#: src/planets.c:264
+msgid "  Ready to activate circuit.\""
+msgstr "  Готов замкнуть цепь.\""
+
+#: src/planets.c:266
+msgid "Scotty-  \"Keep your fingers crossed, Sir!\""
+msgstr "Скоти-  \"Скрестите пальцы, Сэр!\""
+
+#: src/planets.c:269
+msgid "  \"Activating now! - - No good!  It's***"
+msgstr "  \"Уже запускаю! - - Плохо!  Оно***"
+
+#: src/planets.c:271 src/planets.c:469
+msgid "***RED ALERT!  RED A*L********************************"
+msgstr "***ТРЕВОГА! ТРЕ*ВО***********************************"
+
+#: src/planets.c:274 src/planets.c:472
+msgid "******************   KA-BOOM!!!!   *******************"
+msgstr "******************   БА-БАХ!!!!    ********************"
+
+#: src/planets.c:280
+msgid "  \"Activating now! - - "
+msgstr "  \"Уже запускаю! - - "
+
+#: src/planets.c:281
+msgid "The instruments"
+msgstr "Аппараты"
+
+#: src/planets.c:282
+msgid "   are going crazy, but I think it's"
+msgstr "   сошли с ума, но я думаю, что это"
+
+#: src/planets.c:283
+msgid "   going to work!!  Congratulations, Sir!\""
+msgstr "   должно работать!!  Поздравляю, Сэр!\""
+
+#: src/planets.c:295
+msgid "Ye Faerie Queene has no shuttle craft bay to dock it at."
+msgstr "На Волшебной Королеве нет платформы для стыковки с челноком."
+
+#: src/planets.c:297
+msgid "Ye Faerie Queene had no shuttle craft."
+msgstr "На Волшебной Королеве нет челнока."
+
+#: src/planets.c:300
+msgid "The Galileo is damaged."
+msgstr "Галилей повреждён."
+
+#: src/planets.c:301
+msgid "Shuttle craft is now serving Big Macs."
+msgstr "Челнок приспособили для хранения Биг Маков."
+
+#: src/planets.c:310
+msgid "Shuttle craft not currently available."
+msgstr "Челнок сейчас недоступен."
+
+#: src/planets.c:314
+msgid "You will have to beam down to retrieve the shuttle craft."
+msgstr "Вам придётся спуститься на поверхность чтобы забрать челнок."
+
+#: src/planets.c:318
+msgid "Shuttle craft cannot pass through shields."
+msgstr "Челнок не может пролететь через защиту."
+
+#: src/planets.c:324
+msgid "  you may not fly down.\""
+msgstr " вам не удастся слетать вниз.\""
+
+#: src/planets.c:329
+msgid "First Officer Spock-  \"Captain, I compute that such"
+msgstr "Первый Офицер Спок- \"Капитан, я считаю что такой"
+
+#: src/planets.c:330
+#, c-format
+msgid "  a maneuver would require approximately %2d%% of our"
+msgstr "  манёвр потребует примерно %2d%%"
+
+#: src/planets.c:332
+msgid "remaining time."
+msgstr "оставшегося времени."
+
+#: src/planets.c:333
+msgid "Are you sure this is wise?\" "
+msgstr "Вы уверены что это разумно?\" "
+
+#: src/planets.c:344
+msgid "Spock-  \"Would you rather use the transporter?\" "
+msgstr "Спок- \"Не лучше ли вам воспользоваться транспортёром?\" "
+
+#: src/planets.c:349
+msgid "Shuttle crew"
+msgstr "Экипаж челнока"
+
+#: src/planets.c:352
+msgid "Rescue party"
+msgstr "Спасательная команда"
+
+#: src/planets.c:353
+msgid " boards Galileo and swoops toward planet surface."
+msgstr " садится в Галилей и устремляется к поверхности планеты."
+
+#: src/planets.c:358 src/planets.c:379
+msgid "Trip complete."
+msgstr "Полёт окончен."
+
+#: src/planets.c:363
+msgid "You and your mining party board the"
+msgstr "Вы и ваш отряд залезли в"
+
+#: src/planets.c:364
+msgid "shuttle craft for the trip back to the Enterprise."
+msgstr "челнок для полёта к Энтерпрайзу."
+
+#: src/planets.c:366
+msgid "The short hop begins . . ."
+msgstr "Начался недолгий перелёт . . ."
+
+#: src/planets.c:386
+msgid "Mining party assembles in the hangar deck,"
+msgstr "Группа добытчиков собралась в ангаре палубы,"
+
+#: src/planets.c:387
+msgid "ready to board the shuttle craft \"Galileo\"."
+msgstr "все готовы залезть в челнок \"Галилей\"."
+
+#: src/planets.c:389
+msgid "The hangar doors open; the trip begins."
+msgstr "Двери ангара открыты; полёт начался."
+
+#: src/planets.c:397
+msgid "Trip complete"
+msgstr "Полёт окончен"
+
+#: src/planets.c:410
+msgid "Ye Faerie Queene has no death ray."
+msgstr "На Волшебной Королеве нет луча смерти."
+
+#: src/planets.c:414
+msgid "Sulu-  \"But Sir, there are no enemies in this quadrant.\""
+msgstr "Сулу- \"Но Сэр, в этом квадранте нет врагов.\""
+
+#: src/planets.c:418
+msgid "Death Ray is damaged."
+msgstr "Луч Смерти повреждён."
+
+#: src/planets.c:421
+msgid "Spock-  \"Captain, the 'Experimental Death Ray'"
+msgstr "Спок- \"Капитан, 'Экспериментальный Луч Смерти'"
+
+#: src/planets.c:422
+msgid "  is highly unpredictible.  Considering the alternatives,"
+msgstr "  довольно непредсказуем.  Обдумав все альтернативы,"
+
+#: src/planets.c:423
+msgid "  are you sure this is wise?\" "
+msgstr " вы уверены что это разумно?\" "
+
+#: src/planets.c:425
+msgid "Spock-  \"Acknowledged.\""
+msgstr "Спок- \"Ясно.\""
+
+#: src/planets.c:428
+msgid "WHOOEE ... WHOOEE ... WHOOEE ... WHOOEE"
+msgstr ""
+
+#: src/planets.c:430
+msgid "Crew scrambles in emergency preparation."
+msgstr "Команда засуетилась, начались срочные приготовления."
+
+#: src/planets.c:431
+msgid "Spock and Scotty ready the death ray and"
+msgstr "Спок и Скоти наладили луч смерти и"
+
+#: src/planets.c:432
+msgid "prepare to channel all ship's power to the device."
+msgstr "и готовы к передаче всей энергии корабля на установку."
+
+#: src/planets.c:434
+msgid "Spock-  \"Preparations complete, sir.\""
+msgstr "Спок- \"Преготовления окончены, сэр.\""
+
+#: src/planets.c:435
+msgid "Kirk-  \"Engage!\""
+msgstr "Кирк- \"Пли!\""
+
+#: src/planets.c:437
+msgid "WHIRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR"
+msgstr ""
+
+#: src/planets.c:443 src/planets.c:463
+msgid "Sulu- \"Captain!  It's working!\""
+msgstr "Сулу- \"Капитан!  Он работает!\""
+
+#: src/planets.c:447
+msgid "Ensign Chekov-  \"Congratulations, Captain!\""
+msgstr "Прапорщик Чехов- \"Поздравляю, Капитан.\""
+
+#: src/planets.c:450
+msgid "Spock-  \"Captain, I believe the `Experimental Death Ray'"
+msgstr "Спок- \"Капитан, я чувствую, что 'Эксперементальный Луч Смерти'"
+
+#: src/planets.c:452
+msgid "   is still operational.\""
+msgstr "   всё ещё исправен.\""
+
+#: src/planets.c:455
+msgid "   has been rendered nonfunctional.\""
+msgstr "   пришёл в негодность.\""
+
+#: src/planets.c:467
+msgid "***MATTER-ANTIMATTER IMPLOSION IMMINENT!"
+msgstr "***НАЧАЛОСЬ СЛИЯНИЕ МАТЕРИИ С АНТИМАТЕРИЕЙ!"
+
+#: src/planets.c:478
+msgid "Sulu- \"Captain!  Yagabandaghangrapl, brachriigringlanbla!\""
+msgstr "Сулу- \"Капитан!  Кабабонга, Абырвалг, Киргуду-Бамбарбия!\""
+
+#: src/planets.c:480
+msgid "Lt. Uhura-  \"Graaeek!  Graaeek!\""
+msgstr "Лт. Ухура- \"Горячё!  Горю!\""
+
+#: src/planets.c:482
+msgid "Spock-  \"Fascinating!  . . . All humans aboard"
+msgstr "Спок- \"Грандиозно!  . . . Все люди на борту"
+
+#: src/planets.c:483
+msgid "  have apparently been transformed into strange mutations."
+msgstr "  явно подверглись какой-то странной мутации."
+
+#: src/planets.c:484
+msgid "  Vulcans do not seem to be affected."
+msgstr "  Вулканиты однако, похоже, не пострадали."
+
+#: src/planets.c:486
+msgid "Kirk-  \"Raauch!  Raauch!\""
+msgstr "Кирк- \"Гав! Гав! Ррр-ав!"
+
+#: src/planets.c:492
+msgid "Sulu- \"Captain!  It's   --WHAT?!?!\""
+msgstr "Сулу- \"Капитан!  Оно   --ЧТО???!\""
+
+#: src/planets.c:494
+msgid "Spock-  \"I believe the word is"
+msgstr "Спок- \"Похоже, слово"
+
+#: src/planets.c:495
+msgid " *ASTONISHING*"
+msgstr " *УДИВИТЕЛЬНО*"
+
+#: src/planets.c:496
+msgid " Mr. Sulu."
+msgstr " Мистер Сулу."
+
+#: src/planets.c:500
+msgid "  Captain, our quadrant is now infested with"
+msgstr "  Капитан, наш квадрант теперь весь набит"
+
+#: src/planets.c:501
+msgid " - - - - - -  *THINGS*."
+msgstr " - - - - - -  *ФИГНЁЙ*."
+
+#: src/planets.c:503
+msgid "  I have no logical explanation.\""
+msgstr "  У меня нет логичного объяснения.\""
+
+#: src/planets.c:506
+msgid "Sulu- \"Captain!  The Death Ray is creating tribbles!\""
+msgstr "Сулу- \"Капитан!   Луч Смерти зачем-то создаёт червяков!\""
+
+#: src/planets.c:508
+msgid "Scotty-  \"There are so many tribbles down here"
+msgstr "Скоти-  \"Тут столько этих червяков бегает"
+
+#: src/planets.c:509
+msgid "  in Engineering, we can't move for 'em, Captain.\""
+msgstr "  в техническом отсеке, что мы не можем к нему подобраться, Капитан.\""
+
+#: src/planets.c:534
+msgid "Deneva"
+msgstr ""
+
+#: src/planets.c:535
+msgid "Eminiar VII"
+msgstr ""
+
+#: src/planets.c:536
+msgid "Hansen's Planet"
+msgstr ""
+
+#: src/planets.c:537
+msgid "Taurus IV"
+msgstr ""
+
+#: src/planets.c:538
+msgid "Aldebaran III"
+msgstr ""
+
+#: src/planets.c:539
+msgid "Vulcan (T'Khasi)"
+msgstr ""
+
+#: src/planets.c:540
+msgid "Tellar Prime (Miracht)"
+msgstr ""
+
+#: src/planets.c:541
+msgid "Andoria (Fesoan)"
+msgstr ""
+
+#: src/planets.c:542
+msgid "Antos IV (Doraphane)"
+msgstr ""
+
+#: src/planets.c:543
+msgid "Catulla (Cendo-Prae)"
+msgstr ""
+
+#: src/planets.c:544
+msgid "Izar"
+msgstr ""
+
+#: src/planets.c:545
+msgid "Tiburon"
+msgstr ""
+
+#: src/planets.c:546
+msgid "Merak II"
+msgstr ""
+
+#: src/planets.c:547
+msgid "Argelius II (Nelphia)"
+msgstr ""
+
+#: src/planets.c:548
+msgid "Daran V"
+msgstr ""
+
+#: src/planets.c:549
+msgid "Medusa"
+msgstr ""
+
+#: src/planets.c:550
+msgid "Coridan (Desotriana)"
+msgstr ""
+
+#: src/planets.c:551
+msgid "Berengaria IV"
+msgstr ""
+
+#: src/planets.c:552
+msgid "Capella IV (Kohath)"
+msgstr ""
+
+#: src/planets.c:553
+msgid "Gideon"
+msgstr ""
+
+#: src/planets.c:554
+msgid "Iotia"
+msgstr ""
+
+#: src/planets.c:557
+msgid "Rigel II"
+msgstr ""
+
+#: src/planets.c:558
+msgid "Deneb II"
+msgstr ""
+
+#: src/planets.c:564
+msgid "Scalos IV"
+msgstr ""
+
+#: src/planets.c:575
+msgid "Beta III"
+msgstr ""
+
+#: src/planets.c:576
+msgid "Gamma Tranguli VI (Vaalel)"
+msgstr ""
+
+#: src/planets.c:577
+msgid "Pyris VII"
+msgstr ""
+
+#: src/planets.c:578
+msgid "Triacus"
+msgstr ""
+
+#: src/planets.c:579
+msgid "Marcos XII"
+msgstr ""
+
+#: src/planets.c:581
+msgid "Ardana"
+msgstr ""
+
+#: src/planets.c:586
+msgid "Exo III"
+msgstr ""
+
+#: src/reports.c:10
+#, c-format
+msgid "Starbase in %s is currently under Commander attack."
+msgstr ""
+
+#: src/reports.c:12 src/reports.c:18
+#, c-format
+msgid "It can hold out until Stardate %d."
+msgstr "Она сможет продержаться до даты %d.\""
+
+#: src/reports.c:16
+#, c-format
+msgid "Starbase in %s is under Super-commander attack."
+msgstr ""
+
+#: src/reports.c:23
+#, c-format
+msgid "Base in %i - %i attacked by C. Alive until %.1f"
+msgstr ""
+
+#: src/reports.c:25
+#, c-format
+msgid "Base in %i - %i attacked by S. Alive until %.1f"
+msgstr ""
+
+#: src/reports.c:52
+#, c-format
+msgid "You %s playing a %s%s %s game."
+msgstr ""
+
+#: src/reports.c:53
+msgid "were"
+msgstr ""
+
+#: src/reports.c:53
+msgid "are now"
+msgstr ""
+
+#: src/reports.c:54
+msgid "No plaque is allowed."
+msgstr ""
+
+#: src/reports.c:55
+#, c-format
+msgid "This is tournament game %d."
+msgstr ""
+
+#: src/reports.c:56
+#, c-format
+msgid "Your secret password is \"%s\""
+msgstr ""
+
+#: src/reports.c:57
+#, c-format
+msgid "%d of %d Klingons have been killed"
+msgstr ""
+
+#: src/reports.c:58
+#, c-format
+msgid ", including %d Commander%s."
+msgstr ", включая %d Командира%s."
+
+#: src/reports.c:58 src/reports.c:81 src/reports.c:87 src/reports.c:110
+msgid "s"
+msgstr "(ов)"
+
+#: src/reports.c:59
+msgid ", but no Commanders."
+msgstr ", но без Командиров."
+
+#: src/reports.c:61
+#, c-format
+msgid "The Super Commander has %sbeen destroyed."
+msgstr "Глав-ком %sбыл уничтожен."
+
+#: src/reports.c:62
+msgid "not "
+msgstr "не "
+
+#: src/reports.c:64
+msgid "There "
+msgstr " "
+
+#: src/reports.c:65
+msgid "has been 1 base"
+msgstr "1 баз"
+
+#: src/reports.c:67
+#, c-format
+msgid "have been %d bases"
+msgstr "%d баз"
+
+#: src/reports.c:69
+#, c-format
+msgid " destroyed, %d remaining."
+msgstr " уничтожено, %d осталось."
+
+#: src/reports.c:71
+#, c-format
+msgid "There are %d bases."
+msgstr "Осталось %d баз."
+
+#: src/reports.c:78
+#, c-format
+msgid "%d casualt%s suffered so far."
+msgstr "%d пострадавших%s уже умерли.\""
+
+#: src/reports.c:80
+#, c-format
+msgid "There were %d call%s for help."
+msgstr ""
+
+#: src/reports.c:83
+msgid "You have "
+msgstr "У вас "
+
+#: src/reports.c:85
+msgid "no"
+msgstr "отсутствуют"
+
+#: src/reports.c:86
+msgid " deep space probe"
+msgstr " дальнобойные космические ракеты"
+
+#: src/reports.c:93
+msgid "An armed deep space probe is in"
+msgstr "Дальнобойная космическая ракета с атомным зарядом сейчас в"
+
+#: src/reports.c:95
+msgid "A deep space probe is in"
+msgstr "Дальнобойная космическая ракета сейчас в"
+
+#: src/reports.c:101
+msgid "Dilithium crystals aboard ship... not yet used."
+msgstr "Кристаллы дилития на борту... пока не использовались."
+
+#: src/reports.c:109
+#, c-format
+msgid "Dilithium crystals have been used %d time%s."
+msgstr "Кристаллы дилития использовались %d раз%s."
+
+#: src/reports.c:123
+msgid "LONG-RANGE SENSORS DAMAGED."
+msgstr "СЕНСОРЫ ДАЛЬНЕГО ОБЗОРА СЛОМАНЫ."
+
+#: src/reports.c:126
+msgid "Starbase's long-range scan"
+msgstr "Дальний обзор с базы"
+
+#: src/reports.c:129
+msgid "Long-range scan"
+msgstr "Дальний обзор"
+
+#: src/reports.c:160
+msgid "DEVICE            -REPAIR TIMES-"
+msgstr "УСТРОЙСТВО        -ВРЕМЯ РЕМОНТА-"
+
+#: src/reports.c:161
+msgid "                IN FLIGHT   DOCKED"
+msgstr "                В ПОЛЁТЕ    ПРИШВАРТОВАН"
+
+#: src/reports.c:170
+msgid "All devices functional."
+msgstr "Все устройства в порядке."
+
+#: src/reports.c:196
+msgid "Spock-  \"I revised the Star Chart from the starbase's records.\""
+msgstr "Спок- \"Я обновил звёздную карту по записям с базы.\""
+
+#: src/reports.c:200
+msgid "       STAR CHART FOR THE KNOWN GALAXY"
+msgstr "       ЗВЁЗДНАЯ КАРТА ИССЛЕДОВАННЫХ УЧАСТКОВ"
+
+#: src/reports.c:202
+#, c-format
+msgid "(Last surveillance update %d stardates ago)."
+msgstr ""
+
+#: src/reports.c:260
+#, c-format
+msgid "Stardate      %.1f, Time Left %.2f"
+msgstr ""
+
+#: src/reports.c:274
+#, c-format
+msgid "Condition     %s, %i DAMAGES"
+msgstr ""
+
+#: src/reports.c:277
+#, c-format
+msgid "Position      %d - %d , %d - %d"
+msgstr ""
+
+#: src/reports.c:281
+msgid "Life Support  "
+msgstr ""
+
+#: src/reports.c:284
+msgid "DAMAGED, Base provides"
+msgstr ""
+
+#: src/reports.c:286
+#, c-format
+msgid "DAMAGED, reserves=%4.2f"
+msgstr ""
+
+#: src/reports.c:289
+msgid "ACTIVE"
+msgstr ""
+
+#: src/reports.c:292
+#, c-format
+msgid "Warp Factor   %.1f"
+msgstr "Скорость    %.1f"
+
+#: src/reports.c:295
+#, c-format
+msgid "Energy        %.2f"
+msgstr ""
+
+#: src/reports.c:297
+msgid " (have crystals)"
+msgstr ""
+
+#: src/reports.c:300
+#, c-format
+msgid "Torpedoes     %d"
+msgstr "Торпеды      %d"
+
+#: src/reports.c:303
+msgid "Shields       "
+msgstr "Защита        "
+
+#: src/reports.c:305
+msgid "DAMAGED,"
+msgstr "СЛОМАНА,"
+
+#: src/reports.c:307
+msgid "UP,"
+msgstr "ПОДНЯТА,"
+
+#: src/reports.c:309
+msgid "DOWN,"
+msgstr "СНЯТА,"
+
+#: src/reports.c:310
+#, c-format
+msgid " %d%% %.1f units"
+msgstr ""
+
+#: src/reports.c:314
+#, c-format
+msgid "Klingons Left %d"
+msgstr ""
+
+#: src/reports.c:320
+#, c-format
+msgid "Major system  %s"
+msgstr ""
+
+#: src/reports.c:322
+msgid "Sector is uninhabited"
+msgstr ""
+
+#: src/reports.c:344
+msgid "   S.R. SENSORS DAMAGED!"
+msgstr ""
+
+#: src/reports.c:348
+msgid "  [Using Base's sensors]"
+msgstr ""
+
+#: src/reports.c:350
+msgid "     Short-range scan"
+msgstr ""
+
+#: src/reports.c:365
+msgid "Information desired? "
+msgstr ""
+
+#: src/reports.c:371
+msgid "UNRECOGNIZED REQUEST. Legal requests are:"
+msgstr ""
+
+#: src/reports.c:372
+msgid "  date, condition, position, lsupport, warpfactor,"
+msgstr ""
+
+#: src/reports.c:373
+msgid "  energy, torpedoes, shields, klingons, time, system, bases."
+msgstr ""
+
+#: src/reports.c:412
+msgid "COMPUTER DAMAGED, USE A POCKET CALCULATOR."
+msgstr ""
+
+#: src/reports.c:419
+msgid "Destination quadrant and/or sector? "
+msgstr "Квадрант назначения и/или сектор? "
+
+#: src/reports.c:454
+msgid "Answer \"no\" if you don't know the value:"
+msgstr ""
+
+#: src/reports.c:457
+msgid "Time or arrival date? "
+msgstr ""
+
+#: src/reports.c:463
+msgid "We'll never make it, sir."
+msgstr ""
+
+#: src/reports.c:471
+msgid "Warp factor? "
+msgstr "Скорость? "
+
+#: src/reports.c:481
+msgid "Captain, certainly you can give me one of these."
+msgstr ""
+
+#: src/reports.c:488
+msgid "Insufficient energy, sir."
+msgstr "Не хватает энергии, сэр."
+
+#: src/reports.c:491 src/reports.c:533
+msgid "New warp factor to try? "
+msgstr "Попробовать другую скорость? "
+
+#: src/reports.c:507
+msgid "But if you lower your shields,"
+msgstr "Но если вы снимите защиту,"
+
+#: src/reports.c:508
+msgid "remaining"
+msgstr "остаток"
+
+#: src/reports.c:512
+msgid "Remaining"
+msgstr "Остаток"
+
+#: src/reports.c:513
+#, c-format
+msgid " energy will be %.2f."
+msgstr " энергии будет %.2f."
+
+#: src/reports.c:515
+#, c-format
+msgid "And we will arrive at stardate %.2f."
+msgstr "А мы прибудем %.2f числа."
+
+#: src/reports.c:519
+msgid "Any warp speed is adequate."
+msgstr ""
+
+#: src/reports.c:521
+#, c-format
+msgid "Minimum warp needed is %.2f,"
+msgstr ""
+
+#: src/reports.c:522
+#, c-format
+msgid "and we will arrive at stardate %.2f."
+msgstr "а мы прибудем %.2f числа."
+
+#: src/reports.c:526
+msgid "Unfortunately, the Federation will be destroyed by then."
+msgstr "К сожалению, Федерация к тому времени уже будет уничтожена."
+
+#: src/reports.c:528
+msgid "You'll be taking risks at that speed, Captain"
+msgstr ""
+
+#: src/reports.c:532
+msgid "The starbase there will be destroyed by then."
+msgstr "База к тому моменту уже будет уничтожена."
index ecbe87aff9ddb1d373d471a0925f867d41e4dd4a..559a93dbceb127f6cff2a4cd0e39c39d016fd884 100644 (file)
--- a/src/io.c
+++ b/src/io.c
@@ -36,7 +36,6 @@ void iostart(void)
     setlocale(LC_ALL, "");
     bindtextdomain(PACKAGE, LOCALEDIR);
     textdomain(PACKAGE);
     setlocale(LC_ALL, "");
     bindtextdomain(PACKAGE, LOCALEDIR);
     textdomain(PACKAGE);
-    gettext("");
 
     if (atexit(outro)){
        fprintf(stderr,"Unable to register outro(), exiting...\n");
 
     if (atexit(outro)){
        fprintf(stderr,"Unable to register outro(), exiting...\n");
@@ -92,15 +91,15 @@ void pause_game(int i)
     char buf[BUFSIZ];
     if (i==1) {
        if (game.skill > SKILL_FAIR)
     char buf[BUFSIZ];
     if (i==1) {
        if (game.skill > SKILL_FAIR)
-           prompt = "[ANOUNCEMENT ARRIVING...]";
+           prompt = _("[ANOUNCEMENT ARRIVING...]");
        else
        else
-           prompt = "[IMPORTANT ANNOUNCEMENT ARRIVING -- PRESS ENTER TO CONTINUE]";
+           prompt = _("[IMPORTANT ANNOUNCEMENT ARRIVING -- PRESS ENTER TO CONTINUE]");
     }
     else {
        if (game.skill > SKILL_FAIR)
     }
     else {
        if (game.skill > SKILL_FAIR)
-           prompt = "[CONTINUE?]";
+           prompt = _("[CONTINUE?]");
        else
        else
-           prompt = "[PRESS ENTER TO CONTINUE]";
+           prompt = _("[PRESS ENTER TO CONTINUE]");
 
     }
     if (game.options & OPTION_CURSES) {
 
     }
     if (game.options & OPTION_CURSES) {
@@ -388,11 +387,11 @@ void tracktorpedo(int ix, int iy, int l, int i, int n, int iquad)
        if (l == 1) {
            if (n != 1) {
                skip(1);
        if (l == 1) {
            if (n != 1) {
                skip(1);
-               proutn("Track for torpedo number %d-  ", i);
+               proutn(_("Track for torpedo number %d-  "), i);
            }
            else {
                skip(1);
            }
            else {
                skip(1);
-               proutn("Torpedo track- ");
+               proutn(_("Torpedo track- "));
            }
        } else if (l==4 || l==9) 
            skip(1);
            }
        } else if (l==4 || l==9) 
            skip(1);
@@ -433,21 +432,3 @@ void makechart(void)
        chart(0);
     }
 }
        chart(0);
     }
 }
-
-void setpassword(void) 
-{
-    if (!(game.options & OPTION_CURSES)) {
-       for (;;) {
-           scan();
-           strcpy(game.passwd, citem);
-           chew();
-           if (*game.passwd != 0) break;
-           proutn("Please type in a secret password-");
-       }
-    } else {
-       int i;
-        for(i=0;i<3;i++) game.passwd[i]=(char)(97+(int)(Rand()*25));
-        game.passwd[3]=0;
-    }
-}
-
index b273c60051e0ad32c38e6afe7715a18e99fbfd53..f9986c47d6eb3cf9ac560e52fbd093aa6a8ecbbe 100644 (file)
@@ -13,7 +13,7 @@ void imove(void)
 
     w.x = w.y = 0;
     if (game.inorbit) {
 
     w.x = w.y = 0;
     if (game.inorbit) {
-       prout("Helmsman Sulu- \"Leaving standard orbit.\"");
+       prout(_("Helmsman Sulu- \"Leaving standard orbit.\""));
        game.inorbit = false;
     }
 
        game.inorbit = false;
     }
 
@@ -100,9 +100,9 @@ void imove(void)
                        return;
                    }
                    skip(1);
                        return;
                    }
                    skip(1);
-                   prout("YOU HAVE ATTEMPTED TO CROSS THE NEGATIVE ENERGY BARRIER");
-                   prout("AT THE EDGE OF THE GALAXY.  THE THIRD TIME YOU TRY THIS,");
-                   prout("YOU WILL BE DESTROYED.");
+                   prout(_("YOU HAVE ATTEMPTED TO CROSS THE NEGATIVE ENERGY BARRIER"));
+                   prout(_("AT THE EDGE OF THE GALAXY.  THE THIRD TIME YOU TRY THIS,"));
+                   prout(_("YOU WILL BE DESTROYED."));
                }
                /* Compute final position in new quadrant */
                if (trbeam) return; /* Don't bother if we are to be beamed */
                }
                /* Compute final position in new quadrant */
                if (trbeam) return; /* Don't bother if we are to be beamed */
@@ -111,7 +111,7 @@ void imove(void)
                game.sector.x = w.x - QUADSIZE*(game.quadrant.x-1);
                game.sector.y = w.y - QUADSIZE*(game.quadrant.y-1);
                skip(1);
                game.sector.x = w.x - QUADSIZE*(game.quadrant.x-1);
                game.sector.y = w.y - QUADSIZE*(game.quadrant.y-1);
                skip(1);
-               prout("Entering %s.", cramlc(quadrant, game.quadrant));
+               prout(_("Entering %s."), cramlc(quadrant, game.quadrant));
                game.quad[game.sector.x][game.sector.y] = game.ship;
                newqad(0);
                if (game.skill>SKILL_NOVICE) attack(0);
                game.quad[game.sector.x][game.sector.y] = game.ship;
                newqad(0);
                if (game.skill>SKILL_NOVICE) attack(0);
@@ -138,11 +138,11 @@ void imove(void)
                    break;
                case IHBLANK:
                    skip(1);
                    break;
                case IHBLANK:
                    skip(1);
-                   prouts("***RED ALERT!  RED ALERT!");
+                   prouts(_("***RED ALERT!  RED ALERT!"));
                    skip(1);
                    proutn("***");
                    crmshp();
                    skip(1);
                    proutn("***");
                    crmshp();
-                   proutn(" pulled into black hole at ");
+                   proutn(_(" pulled into black hole at "));
                    prout(cramlc(sector, w));
                    /*
                     * Getting pulled into a black hole was certain
                    prout(cramlc(sector, w));
                    /*
                     * Getting pulled into a black hole was certain
@@ -164,13 +164,13 @@ void imove(void)
                    skip(1);
                    crmshp();
                    if (iquad == IHWEB)
                    skip(1);
                    crmshp();
                    if (iquad == IHWEB)
-                       proutn(" encounters Tholian web at ");
+                       proutn(_(" encounters Tholian web at "));
                    else
                    else
-                       proutn(" blocked by object at ");
+                       proutn(_(" blocked by object at "));
                    proutn(cramlc(sector, w));
                    prout(";");
                    proutn(cramlc(sector, w));
                    prout(";");
-                   proutn("Emergency stop required ");
-                   prout("%2d units of energy.", (int)stopegy);
+                   proutn(_("Emergency stop required "));
+                   prout(_("%2d units of energy."), (int)stopegy);
                    game.energy -= stopegy;
                    finalx = x-deltax+0.5;
                    game.sector.x = finalx;
                    game.energy -= stopegy;
                    finalx = x-deltax+0.5;
                    game.sector.x = finalx;
@@ -218,20 +218,20 @@ void dock(int l)
 {
     chew();
     if (game.condit == IHDOCKED && l) {
 {
     chew();
     if (game.condit == IHDOCKED && l) {
-       prout("Already docked.");
+       prout(_("Already docked."));
        return;
     }
     if (game.inorbit) {
        return;
     }
     if (game.inorbit) {
-       prout("You must first leave standard orbit.");
+       prout(_("You must first leave standard orbit."));
        return;
     }
     if (game.base.x==0 || abs(game.sector.x-game.base.x) > 1 || abs(game.sector.y-game.base.y) > 1) {
        crmshp();
        return;
     }
     if (game.base.x==0 || abs(game.sector.x-game.base.x) > 1 || abs(game.sector.y-game.base.y) > 1) {
        crmshp();
-       prout(" not adjacent to base.");
+       prout(_(" not adjacent to base."));
        return;
     }
     game.condit = IHDOCKED;
        return;
     }
     game.condit = IHDOCKED;
-    if (l) prout("Docked.");
+    if (l) prout(_("Docked."));
     game.ididit=1;
     if (game.energy < game.inenrg) game.energy = game.inenrg;
     game.shield = game.inshld;
     game.ididit=1;
     if (game.energy < game.inenrg) game.energy = game.inenrg;
     game.shield = game.inshld;
@@ -240,7 +240,7 @@ void dock(int l)
     if (!damaged(DRADIO) &&
        (is_scheduled(FCDBAS) || game.isatb == 1) && game.iseenit == 0) {
        /* get attack report from base */
     if (!damaged(DRADIO) &&
        (is_scheduled(FCDBAS) || game.isatb == 1) && game.iseenit == 0) {
        /* get attack report from base */
-       prout("Lt. Uhura- \"Captain, an important message from the starbase:\"");
+       prout(_("Lt. Uhura- \"Captain, an important message from the starbase:\""));
        attakreport(0);
        game.iseenit = 1;
     }
        attakreport(0);
        game.iseenit = 1;
     }
@@ -268,8 +268,8 @@ static void getcd(bool isprobe, int akey) {
        game.direc = -1.0;
        
        if (game.landed == 1 && !isprobe) {
        game.direc = -1.0;
        
        if (game.landed == 1 && !isprobe) {
-               prout("Dummy! You can't leave standard orbit until you");
-               proutn("are back aboard the ");
+               prout(_("Dummy! You can't leave standard orbit until you"));
+               proutn(_("are back aboard the "));
                crmshp();
                prout(".");
                chew();
                crmshp();
                prout(".");
                chew();
@@ -278,9 +278,9 @@ static void getcd(bool isprobe, int akey) {
        while (automatic == -1) {
                if (damaged(DCOMPTR)) {
                        if (isprobe)
        while (automatic == -1) {
                if (damaged(DCOMPTR)) {
                        if (isprobe)
-                               prout("Computer damaged; manual navigation only");
+                               prout(_("Computer damaged; manual navigation only"));
                        else
                        else
-                               prout("Computer damaged; manual movement only");
+                               prout(_("Computer damaged; manual movement only"));
                        chew();
                        automatic = 0;
                        key = IHEOL;
                        chew();
                        automatic = 0;
                        key = IHEOL;
@@ -295,7 +295,7 @@ static void getcd(bool isprobe, int akey) {
                        key = scan();
 
                if (key == IHEOL) {
                        key = scan();
 
                if (key == IHEOL) {
-                       proutn("Manual or automatic- ");
+                       proutn(_("Manual or automatic- "));
                        iprompt = 1;
                        chew();
                }
                        iprompt = 1;
                        chew();
                }
@@ -318,9 +318,9 @@ static void getcd(bool isprobe, int akey) {
                }
                else { /* numeric */
                        if (isprobe)
                }
                else { /* numeric */
                        if (isprobe)
-                               prout("(Manual navigation assumed.)");
+                               prout(_("(Manual navigation assumed.)"));
                        else
                        else
-                               prout("(Manual movement assumed.)");
+                               prout(_("(Manual movement assumed.)"));
                        automatic = 0;
                        break;
                }
                        automatic = 0;
                        break;
                }
@@ -329,9 +329,9 @@ static void getcd(bool isprobe, int akey) {
        if (automatic) {
                while (key == IHEOL) {
                        if (isprobe)
        if (automatic) {
                while (key == IHEOL) {
                        if (isprobe)
-                               proutn("Target quadrant or quadrant&sector- ");
+                               proutn(_("Target quadrant or quadrant&sector- "));
                        else
                        else
-                               proutn("Destination sector or quadrant&sector- ");
+                               proutn(_("Destination sector or quadrant&sector- "));
                        chew();
                        iprompt = 1;
                        key = scan();
                        chew();
                        iprompt = 1;
                        key = scan();
@@ -385,18 +385,18 @@ static void getcd(bool isprobe, int akey) {
                if (!isprobe) {
                        if (itemp) {
                                if (iprompt) {
                if (!isprobe) {
                        if (itemp) {
                                if (iprompt) {
-                                       prout("Helmsman Sulu- \"Course locked in for %s.\"",
+                                       prout(_("Helmsman Sulu- \"Course locked in for %s.\""),
                                                cramlc(sector, incr));
                                }
                        }
                                                cramlc(sector, incr));
                                }
                        }
-                       else prout("Ensign Chekov- \"Course laid in, Captain.\"");
+                       else prout(_("Ensign Chekov- \"Course laid in, Captain.\""));
                }
                deltax = icolq - game.quadrant.y + 0.1*(incr.x-game.sector.y);
                deltay = game.quadrant.x - irowq + 0.1*(game.sector.x-incr.y);
        }
        else { /* manual */
                while (key == IHEOL) {
                }
                deltax = icolq - game.quadrant.y + 0.1*(incr.x-game.sector.y);
                deltay = game.quadrant.x - irowq + 0.1*(game.sector.x-incr.y);
        }
        else { /* manual */
                while (key == IHEOL) {
-                       proutn("X and Y displacements- ");
+                       proutn(_("X and Y displacements- "));
                        chew();
                        iprompt = 1;
                        key = scan();
                        chew();
                        iprompt = 1;
                        key = scan();
@@ -421,7 +421,7 @@ static void getcd(bool isprobe, int akey) {
        }
        if (itemp == 2 && !isprobe) {
                skip(1);
        }
        if (itemp == 2 && !isprobe) {
                skip(1);
-               prout("Helmsman Sulu- \"Aye, Sir.\"");
+               prout(_("Helmsman Sulu- \"Aye, Sir.\""));
        }
        game.dist = sqrt(deltax*deltax + deltay*deltay);
        game.direc = atan2(deltax, deltay)*1.90985932;
        }
        game.dist = sqrt(deltax*deltax + deltay*deltay);
        game.direc = atan2(deltax, deltay)*1.90985932;
@@ -441,7 +441,7 @@ void impuls(void)
     if (damaged(DIMPULS)) {
        chew();
        skip(1);
     if (damaged(DIMPULS)) {
        chew();
        skip(1);
-       prout("Engineer Scott- \"The impulse engines are damaged, Sir.\"");
+       prout(_("Engineer Scott- \"The impulse engines are damaged, Sir.\""));
        return;
     }
 
        return;
     }
 
@@ -456,15 +456,15 @@ void impuls(void)
     if (power >= game.energy) {
        /* Insufficient power for trip */
        skip(1);
     if (power >= game.energy) {
        /* Insufficient power for trip */
        skip(1);
-       prout("First Officer Spock- \"Captain, the impulse engines");
-       prout("require 20.0 units to engage, plus 100.0 units per");
+       prout(_("First Officer Spock- \"Captain, the impulse engines"));
+       prout(_("require 20.0 units to engage, plus 100.0 units per"));
        if (game.energy > 30) {
        if (game.energy > 30) {
-           proutn("quadrant.  We can go, therefore, a maximum of %d", 
+           proutn(_("quadrant.  We can go, therefore, a maximum of %d"),
                   (int)(0.01 * (game.energy-20.0)-0.05));
                   (int)(0.01 * (game.energy-20.0)-0.05));
-           prout(" quadrants.\"");
+           prout(_(" quadrants.\""));
        }
        else {
        }
        else {
-           prout("quadrant.  They are, therefore, useless.\"");
+           prout(_("quadrant.  They are, therefore, useless.\""));
        }
        chew();
        return;
        }
        chew();
        return;
@@ -472,9 +472,9 @@ void impuls(void)
     /* Make sure enough time is left for the trip */
     game.optime = game.dist/0.095;
     if (game.optime >= game.state.remtime) {
     /* Make sure enough time is left for the trip */
     game.optime = game.dist/0.095;
     if (game.optime >= game.state.remtime) {
-       prout("First Officer Spock- \"Captain, our speed under impulse");
-       prout("power is only 0.95 sectors per stardate. Are you sure");
-       proutn("we dare spend the time?\" ");
+       prout(_("First Officer Spock- \"Captain, our speed under impulse"));
+       prout(_("power is only 0.95 sectors per stardate. Are you sure"));
+       proutn(_("we dare spend the time?\" "));
        if (ja() == 0) return;
     }
     /* Activate impulse engines and pay the cost */
        if (ja() == 0) return;
     }
     /* Activate impulse engines and pay the cost */
@@ -499,14 +499,14 @@ void warp(bool timewarp)
        if (game.damage[DWARPEN] > 10.0) {
            chew();
            skip(1);
        if (game.damage[DWARPEN] > 10.0) {
            chew();
            skip(1);
-           prout("Engineer Scott- \"The impulse engines are damaged, Sir.\"");
+           prout(_("Engineer Scott- \"The impulse engines are damaged, Sir.\""));
            return;
        }
        if (damaged(DWARPEN) && game.warpfac > 4.0) {
            chew();
            skip(1);
            return;
        }
        if (damaged(DWARPEN) && game.warpfac > 4.0) {
            chew();
            skip(1);
-           prout("Engineer Scott- \"Sorry, Captain. Until this damage");
-           prout("  is repaired, I can only give you warp 4.\"");
+           prout(_("Engineer Scott- \"Sorry, Captain. Until this damage"));
+           prout(_("  is repaired, I can only give you warp 4.\""));
            return;
        }
                        
            return;
        }
                        
@@ -522,24 +522,24 @@ void warp(bool timewarp)
            /* Insufficient power for trip */
            game.ididit = 0;
            skip(1);
            /* Insufficient power for trip */
            game.ididit = 0;
            skip(1);
-           prout("Engineering to bridge--");
+           prout(_("Engineering to bridge--"));
            if (!game.shldup || 0.5*power > game.energy) {
                iwarp = pow((game.energy/(game.dist+0.05)), 0.333333333);
                if (iwarp <= 0) {
            if (!game.shldup || 0.5*power > game.energy) {
                iwarp = pow((game.energy/(game.dist+0.05)), 0.333333333);
                if (iwarp <= 0) {
-                   prout("We can't do it, Captain. We haven't the energy.");
+                   prout(_("We can't do it, Captain. We don't have enough energy."));
                }
                else {
                }
                else {
-                   proutn("We haven't the energy, but we could do it at warp %d", iwarp);
+                   proutn(_("We don't have enough energy, but we could do it at warp %d"), iwarp);
                    if (game.shldup) {
                        prout(",");
                    if (game.shldup) {
                        prout(",");
-                       prout("if you'll lower the shields.");
+                       prout(_("if you'll lower the shields."));
                    }
                    else
                        prout(".");
                }
            }
            else
                    }
                    else
                        prout(".");
                }
            }
            else
-               prout("We haven't the energy to go that far with the shields up.");
+               prout(_("We haven't the energy to go that far with the shields up."));
            return;
        }
                                                
            return;
        }
                                                
@@ -547,11 +547,11 @@ void warp(bool timewarp)
        game.optime = 10.0*game.dist/game.wfacsq;
        if (game.optime >= 0.8*game.state.remtime) {
            skip(1);
        game.optime = 10.0*game.dist/game.wfacsq;
        if (game.optime >= 0.8*game.state.remtime) {
            skip(1);
-           prout("First Officer Spock- \"Captain, I compute that such");
-           proutn("  a trip would require approximately %2.0f",
+           prout(_("First Officer Spock- \"Captain, I compute that such"));
+           proutn(_("  a trip would require approximately %2.0f"),
                   100.0*game.optime/game.state.remtime);
                   100.0*game.optime/game.state.remtime);
-           prout(" percent of our");
-           proutn("  remaining time.  Are you sure this is wise?\" ");
+           prout(_(" percent of our"));
+           proutn(_("  remaining time.  Are you sure this is wise?\" "));
            if (ja() == 0) { game.ididit = 0; game.optime=0; return;}
        }
     }
            if (ja() == 0) { game.ididit = 0; game.optime=0; return;}
        }
     }
@@ -613,9 +613,9 @@ void warp(bool timewarp)
     if (blooey) {
        game.damage[DWARPEN] = game.damfac*(3.0*Rand()+1.0);
        skip(1);
     if (blooey) {
        game.damage[DWARPEN] = game.damfac*(3.0*Rand()+1.0);
        skip(1);
-       prout("Engineering to bridge--");
-       prout("  Scott here.  The warp engines are damaged.");
-       prout("  We'll have to reduce speed to warp 4.");
+       prout(_("Engineering to bridge--"));
+       prout(_("  Scott here.  The warp engines are damaged."));
+       prout(_("  We'll have to reduce speed to warp 4."));
     }
     game.ididit = 1;
     return;
     }
     game.ididit = 1;
     return;
@@ -630,7 +630,7 @@ void setwrp(void)
        
     while ((key=scan()) == IHEOL) {
        chew();
        
     while ((key=scan()) == IHEOL) {
        chew();
-       proutn("Warp factor- ");
+       proutn(_("Warp factor- "));
     }
     chew();
     if (key != IHREAL) {
     }
     chew();
     if (key != IHREAL) {
@@ -638,39 +638,39 @@ void setwrp(void)
        return;
     }
     if (game.damage[DWARPEN] > 10.0) {
        return;
     }
     if (game.damage[DWARPEN] > 10.0) {
-       prout("Warp engines inoperative.");
+       prout(_("Warp engines inoperative."));
        return;
     }
     if (damaged(DWARPEN) && aaitem > 4.0) {
        return;
     }
     if (damaged(DWARPEN) && aaitem > 4.0) {
-       prout("Engineer Scott- \"I'm doing my best, Captain,");
-       prout("  but right now we can only go warp 4.\"");
+       prout(_("Engineer Scott- \"I'm doing my best, Captain,"));
+       prout(_("  but right now we can only go warp 4.\""));
        return;
     }
     if (aaitem > 10.0) {
        return;
     }
     if (aaitem > 10.0) {
-       prout("Helmsman Sulu- \"Our top speed is warp 10, Captain.\"");
+       prout(_("Helmsman Sulu- \"Our top speed is warp 10, Captain.\""));
        return;
     }
     if (aaitem < 1.0) {
        return;
     }
     if (aaitem < 1.0) {
-       prout("Helmsman Sulu- \"We can't go below warp 1, Captain.\"");
+       prout(_("Helmsman Sulu- \"We can't go below warp 1, Captain.\""));
        return;
     }
     oldfac = game.warpfac;
     game.warpfac = aaitem;
     game.wfacsq=game.warpfac*game.warpfac;
     if (game.warpfac <= oldfac || game.warpfac <= 6.0) {
        return;
     }
     oldfac = game.warpfac;
     game.warpfac = aaitem;
     game.wfacsq=game.warpfac*game.warpfac;
     if (game.warpfac <= oldfac || game.warpfac <= 6.0) {
-       proutn("Helmsman Sulu- \"Warp factor %d, Captain.\"", 
+       proutn(_("Helmsman Sulu- \"Warp factor %d, Captain.\""),
               (int)game.warpfac);
        return;
     }
     if (game.warpfac < 8.00) {
               (int)game.warpfac);
        return;
     }
     if (game.warpfac < 8.00) {
-       prout("Engineer Scott- \"Aye, but our maximum safe speed is warp 6.\"");
+       prout(_("Engineer Scott- \"Aye, but our maximum safe speed is warp 6.\""));
        return;
     }
     if (game.warpfac == 10.0) {
        return;
     }
     if (game.warpfac == 10.0) {
-       prout("Engineer Scott- \"Aye, Captain, we'll try it.\"");
+       prout(_("Engineer Scott- \"Aye, Captain, we'll try it.\""));
        return;
     }
        return;
     }
-    prout("Engineer Scott- \"Aye, Captain, but our engines may not take it.\"");
+    prout(_("Engineer Scott- \"Aye, Captain, but our engines may not take it.\""));
     return;
 }
 
     return;
 }
 
@@ -685,26 +685,26 @@ void atover(int igrab)
            finish(FPNOVA);
            return;
        }
            finish(FPNOVA);
            return;
        }
-       prout("Scotty rushes to the transporter controls.");
+       prout(_("Scotty rushes to the transporter controls."));
        if (game.shldup) {
        if (game.shldup) {
-           prout("But with the shields up it's hopeless.");
+           prout(_("But with the shields up it's hopeless."));
            finish(FPNOVA);
        }
            finish(FPNOVA);
        }
-       prouts("His desperate attempt to rescue you . . .");
+       prouts(_("His desperate attempt to rescue you . . ."));
        if (Rand() <= 0.5) {
        if (Rand() <= 0.5) {
-           prout("fails.");
+           prout(_("fails."));
            finish(FPNOVA);
            return;
        }
            finish(FPNOVA);
            return;
        }
-       prout("SUCCEEDS!");
+       prout(_("SUCCEEDS!"));
        if (game.imine) {
            game.imine = 0;
        if (game.imine) {
            game.imine = 0;
-           proutn("The crystals mined were ");
+           proutn(_("The crystals mined were "));
            if (Rand() <= 0.25) {
            if (Rand() <= 0.25) {
-               prout("lost.");
+               prout(_("lost."));
            }
            else {
            }
            else {
-               prout("saved.");
+               prout(_("saved."));
                game.icrystl = 1;
            }
        }
                game.icrystl = 1;
            }
        }
@@ -719,30 +719,30 @@ void atover(int igrab)
     skip(1);
     do {
        if (game.justin) {
     skip(1);
     do {
        if (game.justin) {
-           prouts("***RED ALERT!  READ ALERT!");
+           prouts(_("***RED ALERT!  RED ALERT!"));
            skip(1);
            skip(1);
-           proutn("The ");
+           proutn(_("The "));
            crmshp();
            crmshp();
-           prout(" has stopped in a quadrant containing");
-           prouts("   a supernova.");
+           prout(_(" has stopped in a quadrant containing"));
+           prouts(_("   a supernova."));
            skip(2);
        }
            skip(2);
        }
-       proutn("***Emergency automatic override attempts to hurl ");
+       proutn(_("***Emergency automatic override attempts to hurl "));
        crmshp();
        skip(1);
        crmshp();
        skip(1);
-       prout("safely out of quadrant.");
+       prout(_("safely out of quadrant."));
        if (!damaged(DRADIO))
            game.state.galaxy[game.quadrant.x][game.quadrant.y].charted = true;
        /* Try to use warp engines */
        if (damaged(DWARPEN)) {
            skip(1);
        if (!damaged(DRADIO))
            game.state.galaxy[game.quadrant.x][game.quadrant.y].charted = true;
        /* Try to use warp engines */
        if (damaged(DWARPEN)) {
            skip(1);
-           prout("Warp engines damaged.");
+           prout(_("Warp engines damaged."));
            finish(FSNOVAED);
            return;
        }
        game.warpfac = 6.0+2.0*Rand();
        game.wfacsq = game.warpfac * game.warpfac;
            finish(FSNOVAED);
            return;
        }
        game.warpfac = 6.0+2.0*Rand();
        game.wfacsq = game.warpfac * game.warpfac;
-       prout("Warp factor set to %d", (int)game.warpfac);
+       prout(_("Warp factor set to %d"), (int)game.warpfac);
        power = 0.75*game.energy;
        game.dist = power/(game.warpfac*game.warpfac*game.warpfac*(game.shldup+1));
        distreq = 1.4142+Rand();
        power = 0.75*game.energy;
        game.dist = power/(game.warpfac*game.warpfac*game.warpfac*(game.shldup+1));
        distreq = 1.4142+Rand();
@@ -756,7 +756,7 @@ void atover(int igrab)
            /* This is bad news, we didn't leave quadrant. */
            if (game.alldone) return;
            skip(1);
            /* This is bad news, we didn't leave quadrant. */
            if (game.alldone) return;
            skip(1);
-           prout("Insufficient energy to leave quadrant.");
+           prout(_("Insufficient energy to leave quadrant."));
            finish(FSNOVAED);
            return;
        }
            finish(FSNOVAED);
            return;
        }
@@ -770,10 +770,10 @@ void atover(int igrab)
 void timwrp() 
 {
     int l, gotit;
 void timwrp() 
 {
     int l, gotit;
-    prout("***TIME WARP ENTERED.");
+    prout(_("***TIME WARP ENTERED."));
     if (game.state.snap && Rand() < 0.5) {
        /* Go back in time */
     if (game.state.snap && Rand() < 0.5) {
        /* Go back in time */
-       prout("You are traveling backwards in time %d stardates.",
+       prout(_("You are traveling backwards in time %d stardates."),
              (int)(game.state.date-game.snapsht.date));
        game.state = game.snapsht;
        game.state.snap = 0;
              (int)(game.state.date-game.snapsht.date));
        game.state = game.snapsht;
        game.state.snap = 0;
@@ -798,7 +798,7 @@ void timwrp()
            if (game.state.plnets[l].known == shuttle_down) {
                gotit = 1;
                if (game.iscraft==1 && game.ship==IHE) {
            if (game.state.plnets[l].known == shuttle_down) {
                gotit = 1;
                if (game.iscraft==1 && game.ship==IHE) {
-                   prout("Checkov-  \"Security reports the Galileo has disappeared, Sir!");
+                   prout(_("Checkov-  \"Security reports the Galileo has disappeared, Sir!"));
                    game.iscraft = 0;
                }
            }
                    game.iscraft = 0;
                }
            }
@@ -806,19 +806,19 @@ void timwrp()
        /* Likewise, if in the original time the Galileo was abandoned, but
           was on ship earlier, it would have vanished -- lets restore it */
        if (game.iscraft==0 && gotit==0 && game.damage[DSHUTTL] >= 0.0) {
        /* Likewise, if in the original time the Galileo was abandoned, but
           was on ship earlier, it would have vanished -- lets restore it */
        if (game.iscraft==0 && gotit==0 && game.damage[DSHUTTL] >= 0.0) {
-           prout("Checkov-  \"Security reports the Galileo has reappeared in the dock!\"");
+           prout(_("Checkov-  \"Security reports the Galileo has reappeared in the dock!\""));
            game.iscraft = 1;
        }
        /* 
         * There used to be code to do the actual reconstrction here,
         * but the starchart is now part of the snapshotted galaxy state.
         */
            game.iscraft = 1;
        }
        /* 
         * There used to be code to do the actual reconstrction here,
         * but the starchart is now part of the snapshotted galaxy state.
         */
-       prout("Spock has reconstructed a correct star chart from memory");
+       prout(_("Spock has reconstructed a correct star chart from memory"));
     }
     else {
        /* Go forward in time */
        game.optime = -0.5*game.intime*log(Rand());
     }
     else {
        /* Go forward in time */
        game.optime = -0.5*game.intime*log(Rand());
-       prout("You are traveling forward in time %d stardates.", (int)game.optime);
+       prout(_("You are traveling forward in time %d stardates."), (int)game.optime);
        /* cheat to make sure no tractor beams occur during time warp */
        postpone(FTBEAM, game.optime);
        game.damage[DRADIO] += game.optime;
        /* cheat to make sure no tractor beams occur during time warp */
        postpone(FTBEAM, game.optime);
        game.damage[DRADIO] += game.optime;
@@ -836,34 +836,34 @@ void probe(void)
        chew();
        skip(1);
        if (game.ship == IHE) 
        chew();
        skip(1);
        if (game.ship == IHE) 
-           prout("Engineer Scott- \"We have no more deep space probes, Sir.\"");
+           prout(_("Engineer Scott- \"We have no more deep space probes, Sir.\""));
        else
        else
-           prout("Ye Faerie Queene has no deep space probes.");
+           prout(_("Ye Faerie Queene has no deep space probes."));
        return;
     }
     if (damaged(DDSP)) {
        chew();
        skip(1);
        return;
     }
     if (damaged(DDSP)) {
        chew();
        skip(1);
-       prout("Engineer Scott- \"The probe launcher is damaged, Sir.\"");
+       prout(_("Engineer Scott- \"The probe launcher is damaged, Sir.\""));
        return;
     }
     if (is_scheduled(FDSPROB)) {
        chew();
        skip(1);
        if (damaged(DRADIO) && game.condit != IHDOCKED) {
        return;
     }
     if (is_scheduled(FDSPROB)) {
        chew();
        skip(1);
        if (damaged(DRADIO) && game.condit != IHDOCKED) {
-           prout("Spock-  \"Records show the previous probe has not yet");
-           prout("   reached its destination.\"");
+           prout(_("Spock-  \"Records show the previous probe has not yet"));
+           prout(_("   reached its destination.\""));
        }
        else
        }
        else
-           prout("Uhura- \"The previous probe is still reporting data, Sir.\"");
+           prout(_("Uhura- \"The previous probe is still reporting data, Sir.\""));
        return;
     }
     key = scan();
 
     if (key == IHEOL) {
        /* slow mode, so let Kirk know how many probes there are left */
        return;
     }
     key = scan();
 
     if (key == IHEOL) {
        /* slow mode, so let Kirk know how many probes there are left */
-       prout(game.nprobes==1 ? "%d probe left." : "%d probes left.", game.nprobes);
-       proutn("Are you sure you want to fire a probe? ");
+       prout(game.nprobes==1 ? _("%d probe left.") : _("%d probes left."), game.nprobes);
+       proutn(_("Are you sure you want to fire a probe? "));
        if (ja()==0) return;
     }
 
        if (ja()==0) return;
     }
 
@@ -873,7 +873,7 @@ void probe(void)
        key = scan();
     }
     else if (key == IHEOL) {
        key = scan();
     }
     else if (key == IHEOL) {
-       proutn("Arm NOVAMAX warhead? ");
+       proutn(_("Arm NOVAMAX warhead? "));
        game.isarmed = ja();
     }
     getcd(true, key);
        game.isarmed = ja();
     }
     getcd(true, key);
@@ -894,7 +894,7 @@ void probe(void)
     game.probey = game.quadrant.y*QUADSIZE + game.sector.y - 1;
     game.probec = game.quadrant;
     schedule(FDSPROB, 0.01); // Time to move one sector
     game.probey = game.quadrant.y*QUADSIZE + game.sector.y - 1;
     game.probec = game.quadrant;
     schedule(FDSPROB, 0.01); // Time to move one sector
-    prout("Ensign Chekov-  \"The deep space probe is launched, Captain.\"");
+    prout(_("Ensign Chekov-  \"The deep space probe is launched, Captain.\""));
     game.ididit = 1;
     return;
 }
     game.ididit = 1;
     return;
 }
@@ -908,19 +908,19 @@ void mayday(void)
     chew();
     /* Test for game.conditions which prevent calling for help */
     if (game.condit == IHDOCKED) {
     chew();
     /* Test for game.conditions which prevent calling for help */
     if (game.condit == IHDOCKED) {
-       prout("Lt. Uhura-  \"But Captain, we're already docked.\"");
+       prout(_("Lt. Uhura-  \"But Captain, we're already docked.\""));
        return;
     }
     if (damaged(DRADIO)) {
        return;
     }
     if (damaged(DRADIO)) {
-       prout("Subspace radio damaged.");
+       prout(_("Subspace radio damaged."));
        return;
     }
     if (game.state.rembase==0) {
        return;
     }
     if (game.state.rembase==0) {
-       prout("Lt. Uhura-  \"Captain, I'm not getting any response from Starbase.\"");
+       prout(_("Lt. Uhura-  \"Captain, I'm not getting any response from Starbase.\""));
        return;
     }
     if (game.landed == 1) {
        return;
     }
     if (game.landed == 1) {
-       proutn("You must be aboard the ");
+       proutn(_("You must be aboard the "));
        crmshp();
        prout(".");
        return;
        crmshp();
        prout(".");
        return;
@@ -946,10 +946,10 @@ void mayday(void)
     }
     /* dematerialize starship */
     game.quad[game.sector.x][game.sector.y]=IHDOT;
     }
     /* dematerialize starship */
     game.quad[game.sector.x][game.sector.y]=IHDOT;
-    proutn("Starbase in %s responds--", cramlc(quadrant, game.quadrant));
+    proutn(_("Starbase in %s responds--"), cramlc(quadrant, game.quadrant));
     proutn("");
     crmshp();
     proutn("");
     crmshp();
-    prout(" dematerializes.");
+    prout(_(" dematerializes."));
     game.sector.x=0;
     for (l = 1; l <= 5; l++) {
        ix = game.base.x+3.0*Rand()-1;
     game.sector.x=0;
     for (l = 1; l <= 5; l++) {
        ix = game.base.x+3.0*Rand()-1;
@@ -962,7 +962,7 @@ void mayday(void)
        }
     }
     if (game.sector.x==0){
        }
     }
     if (game.sector.x==0){
-       prout("You have been lost in space...");
+       prout(_("You have been lost in space..."));
        finish(FMATERIALIZE);
        return;
     }
        finish(FMATERIALIZE);
        return;
     }
@@ -970,11 +970,11 @@ void mayday(void)
     probf = pow((1.0 - pow(0.98,ddist)), 0.33333333);
     for (l = 1; l <= 3; l++) {
        switch (l) {
     probf = pow((1.0 - pow(0.98,ddist)), 0.33333333);
     for (l = 1; l <= 3; l++) {
        switch (l) {
-       case 1: proutn("1st"); break;
-       case 2: proutn("2nd"); break;
-       case 3: proutn("3rd"); break;
+       case 1: proutn(_("1st")); break;
+       case 2: proutn(_("2nd")); break;
+       case 3: proutn(_("3rd")); break;
        }
        }
-       proutn(" attempt to re-materialize ");
+       proutn(_(" attempt to re-materialize "));
        crmshp();
        switch (l){
        case 1: game.quad[ix][iy]=IHMATER0;
        crmshp();
        switch (l){
        case 1: game.quad[ix][iy]=IHMATER0;
@@ -987,7 +987,7 @@ void mayday(void)
        textcolor(RED);
        warble();
        if (Rand() > probf) break;
        textcolor(RED);
        warble();
        if (Rand() > probf) break;
-       prout("fails.");
+       prout(_("fails."));
        delay(500);
        textcolor(DEFAULT);
     }
        delay(500);
        textcolor(DEFAULT);
     }
@@ -1001,9 +1001,9 @@ void mayday(void)
     }
     game.quad[ix][iy]=game.ship;
     textcolor(GREEN);
     }
     game.quad[ix][iy]=game.ship;
     textcolor(GREEN);
-    prout("succeeds.");
+    prout(_("succeeds."));
     textcolor(DEFAULT);
     dock(0);
     skip(1);
     textcolor(DEFAULT);
     dock(0);
     skip(1);
-    prout("Lt. Uhura-  \"Captain, we made it!\"");
+    prout(_("Lt. Uhura-  \"Captain, we made it!\""));
 }
 }
index 8471848718b1cc544ef51b2e48b3c2d3f2d319e9..dd04b621b9ee330409cdcc676358e48336b15493 100644 (file)
@@ -31,7 +31,7 @@ void preport(void)
     int i;
     skip(1);
     chew();
     int i;
     skip(1);
     chew();
-    prout("Spock-  \"Planet report follows, Captain.\"");
+    prout(_("Spock-  \"Planet report follows, Captain.\""));
     skip(1);
     for (i = 0; i < game.inplan; i++) {
        if ((game.state.plnets[i].known != unknown
     skip(1);
     for (i = 0; i < game.inplan; i++) {
        if ((game.state.plnets[i].known != unknown
@@ -42,16 +42,16 @@ void preport(void)
            if (idebug && game.state.plnets[i].known==unknown)
                proutn("(Unknown) ");
            proutn(cramlc(quadrant, game.state.plnets[i].w));
            if (idebug && game.state.plnets[i].known==unknown)
                proutn("(Unknown) ");
            proutn(cramlc(quadrant, game.state.plnets[i].w));
-           proutn("   class ");
+           proutn(_("   class "));
            proutn(classes[game.state.plnets[i].pclass]);
            proutn("   ");
            proutn(classes[game.state.plnets[i].pclass]);
            proutn("   ");
-           if (game.state.plnets[i].crystals <= 0) proutn("no ");
-           prout("dilithium crystals present.");
+           if (game.state.plnets[i].crystals <= 0) proutn(_("no "));
+           prout(_("dilithium crystals present."));
            if (game.state.plnets[i].known==shuttle_down) 
            if (game.state.plnets[i].known==shuttle_down) 
-               prout("    Shuttle Craft Galileo on surface.");
+               prout(_("    Shuttle Craft Galileo on surface."));
        }
     }
        }
     }
-    if (iknow==0) prout("No information available.");
+    if (iknow==0) prout(_("No information available."));
 }
 
 void orbit(void) 
 }
 
 void orbit(void) 
@@ -59,25 +59,25 @@ void orbit(void)
     skip(1);
     chew();
     if (game.inorbit) {
     skip(1);
     chew();
     if (game.inorbit) {
-       prout("Already in standard orbit.");
+       prout(_("Already in standard orbit."));
        return;
     }
     if (damaged(DWARPEN) && damaged(DIMPULS)) {
        return;
     }
     if (damaged(DWARPEN) && damaged(DIMPULS)) {
-       prout("Both warp and impulse engines damaged.");
+       prout(_("Both warp and impulse engines damaged."));
        return;
     }
     if (game.plnet.x == 0 || abs(game.sector.x-game.plnet.x) > 1 || abs(game.sector.y-game.plnet.y) > 1) {
        crmshp();
        return;
     }
     if (game.plnet.x == 0 || abs(game.sector.x-game.plnet.x) > 1 || abs(game.sector.y-game.plnet.y) > 1) {
        crmshp();
-       prout(" not adjacent to planet.");
+       prout(_(" not adjacent to planet."));
        skip(1);
        return;
     }
     game.optime = 0.02+0.03*Rand();
        skip(1);
        return;
     }
     game.optime = 0.02+0.03*Rand();
-    prout("Helmsman Sulu-  \"Entering standard orbit, Sir.\"");
+    prout(_("Helmsman Sulu-  \"Entering standard orbit, Sir.\""));
     newcnd();
     if (consumeTime()) return;
     game.height = (1400.0+7200.0*Rand());
     newcnd();
     if (consumeTime()) return;
     game.height = (1400.0+7200.0*Rand());
-    prout("Sulu-  \"Entered orbit at altitude %.2f kilometers.\"", game.height);
+    prout(_("Sulu-  \"Entered orbit at altitude %.2f kilometers.\""), game.height);
     game.inorbit = true;
     game.ididit = true;
 }
     game.inorbit = true;
     game.ididit = true;
 }
@@ -87,24 +87,24 @@ void sensor(void)
     skip(1);
     chew();
     if (damaged(DSRSENS)) {
     skip(1);
     chew();
     if (damaged(DSRSENS)) {
-       prout("Short range sensors damaged.");
+       prout(_("Short range sensors damaged."));
        return;
     }
     if (!game.plnet.x && (game.options & OPTION_TTY)) {
        return;
     }
     if (!game.plnet.x && (game.options & OPTION_TTY)) {
-       prout("Spock- \"No planet in this quadrant, Captain.\"");
+       prout(_("Spock- \"No planet in this quadrant, Captain.\""));
        return;
     }
     if ((game.plnet.x != 0)&& (game.state.plnets[game.iplnet].known == unknown)) {
        return;
     }
     if ((game.plnet.x != 0)&& (game.state.plnets[game.iplnet].known == unknown)) {
-       prout("Spock-  \"Sensor scan for %s-", cramlc(quadrant, game.quadrant));
+       prout(_("Spock-  \"Sensor scan for %s-"), cramlc(quadrant, game.quadrant));
        skip(1);
        skip(1);
-       prout("         Planet at %s is of class %s.",
+       prout(_("         Planet at %s is of class %s."),
              cramlc(sector,game.plnet),
              classes[game.state.plnets[game.iplnet].pclass]);
        if (game.state.plnets[game.iplnet].known==shuttle_down) 
              cramlc(sector,game.plnet),
              classes[game.state.plnets[game.iplnet].pclass]);
        if (game.state.plnets[game.iplnet].known==shuttle_down) 
-           prout("         Sensors show Galileo still on surface.");
-       proutn("         Readings indicate");
-       if (game.state.plnets[game.iplnet].crystals == 0) proutn(" no");
-       prout(" dilithium crystals present.\"");
+           prout(_("         Sensors show Galileo still on surface."));
+       proutn(_("         Readings indicate"));
+       if (game.state.plnets[game.iplnet].crystals == 0) proutn(_(" no"));
+       prout(_(" dilithium crystals present.\""));
        if (game.state.plnets[game.iplnet].known == unknown) game.state.plnets[game.iplnet].known = known;
     }
 }
        if (game.state.plnets[game.iplnet].known == unknown) game.state.plnets[game.iplnet].known = known;
     }
 }
@@ -114,62 +114,62 @@ void beam(void)
     chew();
     skip(1);
     if (damaged(DTRANSP)) {
     chew();
     skip(1);
     if (damaged(DTRANSP)) {
-       prout("Transporter damaged.");
+       prout(_("Transporter damaged."));
        if (!damaged(DSHUTTL) && (game.state.plnets[game.iplnet].known==shuttle_down || game.iscraft == 1)) {
            skip(1);
        if (!damaged(DSHUTTL) && (game.state.plnets[game.iplnet].known==shuttle_down || game.iscraft == 1)) {
            skip(1);
-           proutn("Spock-  \"May I suggest the shuttle craft, Sir?\" ");
+           proutn(_("Spock-  \"May I suggest the shuttle craft, Sir?\" "));
            if (ja() != 0) shuttle();
        }
        return;
     }
     if (!game.inorbit) {
        crmshp();
            if (ja() != 0) shuttle();
        }
        return;
     }
     if (!game.inorbit) {
        crmshp();
-       prout(" not in standard orbit.");
+       prout(_(" not in standard orbit."));
        return;
     }
     if (game.shldup) {
        return;
     }
     if (game.shldup) {
-       prout("Impossible to transport through shields.");
+       prout(_("Impossible to transport through shields."));
        return;
     }
     if (game.state.plnets[game.iplnet].known==unknown) {
        return;
     }
     if (game.state.plnets[game.iplnet].known==unknown) {
-       prout("Spock-  \"Captain, we have no information on this planet");
-       prout("  and Starfleet Regulations clearly state that in this situation");
-       prout("  you may not go down.\"");
+       prout(_("Spock-  \"Captain, we have no information on this planet"));
+       prout(_("  and Starfleet Regulations clearly state that in this situation"));
+       prout(_("  you may not go down.\""));
        return;
     }
     if (game.landed==1) {
        /* Coming from planet */
        if (game.state.plnets[game.iplnet].known==shuttle_down) {
        return;
     }
     if (game.landed==1) {
        /* Coming from planet */
        if (game.state.plnets[game.iplnet].known==shuttle_down) {
-           proutn("Spock-  \"Wouldn't you rather take the Galileo?\" ");
+           proutn(_("Spock-  \"Wouldn't you rather take the Galileo?\" "));
            if (ja() != 0) {
                chew();
                return;
            }
            if (ja() != 0) {
                chew();
                return;
            }
-           prout("Your crew hides the Galileo to prevent capture by aliens.");
+           prout(_("Your crew hides the Galileo to prevent capture by aliens."));
        }
        }
-       prout("Landing party assembled, ready to beam up.");
+       prout(_("Landing party assembled, ready to beam up."));
        skip(1);
        skip(1);
-       prout("Kirk whips out communicator...");
-       prouts("BEEP  BEEP  BEEP");
+       prout(_("Kirk whips out communicator..."));
+       prouts(_("BEEP  BEEP  BEEP"));
        skip(2);
        skip(2);
-       prout("\"Kirk to enterprise-  Lock on coordinates...energize.\"");
+       prout(_("\"Kirk to enterprise-  Lock on coordinates...energize.\""));
     }
     else {
        /* Going to planet */
        if (game.state.plnets[game.iplnet].crystals==0) {
     }
     else {
        /* Going to planet */
        if (game.state.plnets[game.iplnet].crystals==0) {
-           prout("Spock-  \"Captain, I fail to see the logic in");
-           prout("  exploring a planet with no dilithium crystals.");
-           proutn("  Are you sure this is wise?\" ");
+           prout(_("Spock-  \"Captain, I fail to see the logic in"));
+           prout(_("  exploring a planet with no dilithium crystals."));
+           proutn(_("  Are you sure this is wise?\" "));
            if (ja()==0) {
                chew();
                return;
            }
        }
            if (ja()==0) {
                chew();
                return;
            }
        }
-       prout("Scotty-  \"Transporter room ready, Sir.\"");
+       prout(_("Scotty-  \"Transporter room ready, Sir.\""));
        skip(1);
        skip(1);
-       prout("Kirk, and landing party prepare to beam down to planet surface.");
+       prout(_("Kirk and landing party prepare to beam down to planet surface."));
        skip(1);
        skip(1);
-       prout("Kirk-  \"Energize.\"");
+       prout(_("Kirk-  \"Energize.\""));
     }
     game.ididit=1;
     skip(1);
     }
     game.ididit=1;
     skip(1);
@@ -178,16 +178,16 @@ void beam(void)
     if (Rand() > 0.98) {
        prouts("BOOOIIIOOOIIOOOOIIIOIING . . .");
        skip(2);
     if (Rand() > 0.98) {
        prouts("BOOOIIIOOOIIOOOOIIIOIING . . .");
        skip(2);
-       prout("Scotty-  \"Oh my God!  I've lost them.\"");
+       prout(_("Scotty-  \"Oh my God!  I've lost them.\""));
        finish(FLOST);
        return;
     }
     prouts(".    .   .  .  .  .  .E.E.EEEERRRRRIIIIIOOOHWW");
     skip(2);
        finish(FLOST);
        return;
     }
     prouts(".    .   .  .  .  .  .E.E.EEEERRRRRIIIIIOOOHWW");
     skip(2);
-    prout("Transport complete.");
+    prout(_("Transport complete."));
     game.landed = -game.landed;
     if (game.landed==1 && game.state.plnets[game.iplnet].known==shuttle_down) {
     game.landed = -game.landed;
     if (game.landed==1 && game.state.plnets[game.iplnet].known==shuttle_down) {
-       prout("The shuttle craft Galileo is here!");
+       prout(_("The shuttle craft Galileo is here!"));
     }
     if (game.landed!=1 && game.imine==1) {
        game.icrystl = 1;
     }
     if (game.landed!=1 && game.imine==1) {
        game.icrystl = 1;
@@ -202,31 +202,31 @@ void mine(void)
     skip(1);
     chew();
     if (game.landed!= 1) {
     skip(1);
     chew();
     if (game.landed!= 1) {
-       prout("Mining party not on planet.");
+       prout(_("Mining party not on planet."));
        return;
     }
     if (game.state.plnets[game.iplnet].crystals == MINED) {
        return;
     }
     if (game.state.plnets[game.iplnet].crystals == MINED) {
-       prout("This planet has already been strip-mined for dilithium.");
+       prout(_("This planet has already been strip-mined for dilithium."));
        return;
     }
     else if (game.state.plnets[game.iplnet].crystals == 0) {
        return;
     }
     else if (game.state.plnets[game.iplnet].crystals == 0) {
-       prout("No dilithium crystals on this planet.");
+       prout(_("No dilithium crystals on this planet."));
        return;
     }
     if (game.imine == 1) {
        return;
     }
     if (game.imine == 1) {
-       prout("You've already mined enough crystals for this trip.");
+       prout(_("You've already mined enough crystals for this trip."));
        return;
     }
     if (game.icrystl == 1 && game.cryprob == 0.05) {
        return;
     }
     if (game.icrystl == 1 && game.cryprob == 0.05) {
-       proutn("With all those fresh crystals aboard the ");
+       proutn(_("With all those fresh crystals aboard the "));
        crmshp();
        skip(1);
        crmshp();
        skip(1);
-       prout("there's no reason to mine more at this time.");
+       prout(_("there's no reason to mine more at this time."));
        return;
     }
     game.optime = (0.1+0.2*Rand())*game.state.plnets[game.iplnet].pclass;
     if (consumeTime()) return;
        return;
     }
     game.optime = (0.1+0.2*Rand())*game.state.plnets[game.iplnet].pclass;
     if (consumeTime()) return;
-    prout("Mining operation complete.");
+    prout(_("Mining operation complete."));
     game.state.plnets[game.iplnet].crystals = MINED;
     game.imine = 1;
     game.ididit=1;
     game.state.plnets[game.iplnet].crystals = MINED;
     game.imine = 1;
     game.ididit=1;
@@ -238,47 +238,47 @@ void usecrystals(void)
     skip(1);
     chew();
     if (game.icrystl!=1) {
     skip(1);
     chew();
     if (game.icrystl!=1) {
-       prout("No dilithium crystals available.");
+       prout(_("No dilithium crystals available."));
        return;
     }
     if (game.energy >= 1000) {
        return;
     }
     if (game.energy >= 1000) {
-       prout("Spock-  \"Captain, Starfleet Regulations prohibit such an operation");
-       prout("  except when game.condition Yellow exists.");
+       prout(_("Spock-  \"Captain, Starfleet Regulations prohibit such an operation"));
+       prout(_("  except when condition Yellow exists."));
        return;
     }
        return;
     }
-    prout("Spock- \"Captain, I must warn you that loading");
-    prout("  raw dilithium crystals into the ship's power");
-    prout("  system may risk a severe explosion.");
-    proutn("  Are you sure this is wise?\" ");
+    prout(_("Spock- \"Captain, I must warn you that loading"));
+    prout(_("  raw dilithium crystals into the ship's power"));
+    prout(_("  system may risk a severe explosion."));
+    proutn(_("  Are you sure this is wise?\" "));
     if (ja()==0) {
        chew();
        return;
     }
     skip(1);
     if (ja()==0) {
        chew();
        return;
     }
     skip(1);
-    prout("Engineering Officer Scott-  \"(GULP) Aye Sir.");
-    prout("  Mr. Spock and I will try it.\"");
+    prout(_("Engineering Officer Scott-  \"(GULP) Aye Sir."));
+    prout(_("  Mr. Spock and I will try it.\""));
     skip(1);
     skip(1);
-    prout("Spock-  \"Crystals in place, Sir.");
-    prout("  Ready to activate circuit.\"");
+    prout(_("Spock-  \"Crystals in place, Sir."));
+    prout(_("  Ready to activate circuit.\""));
     skip(1);
     skip(1);
-    prouts("Scotty-  \"Keep your fingers crossed, Sir!\"");
+    prouts(_("Scotty-  \"Keep your fingers crossed, Sir!\""));
     skip(1);
     if (Rand() <= game.cryprob) {
     skip(1);
     if (Rand() <= game.cryprob) {
-       prouts("  \"Activating now! - - No good!  It's***");
+       prouts(_("  \"Activating now! - - No good!  It's***"));
        skip(2);
        skip(2);
-       prouts("***RED ALERT!  RED A*L********************************");
+       prouts(_("***RED ALERT!  RED A*L********************************"));
        skip(1);
        stars();
        skip(1);
        stars();
-       prouts("******************   KA-BOOM!!!!   *******************");
+       prouts(_("******************   KA-BOOM!!!!   *******************"));
        skip(1);
        kaboom();
        return;
     }
     game.energy += 5000.0*(1.0 + 0.9*Rand());
        skip(1);
        kaboom();
        return;
     }
     game.energy += 5000.0*(1.0 + 0.9*Rand());
-    prouts("  \"Activating now! - - ");
-    prout("The instruments");
-    prout("   are going crazy, but I think it's");
-    prout("   going to work!!  Congratulations, Sir!\"");
+    prouts(_("  \"Activating now! - - "));
+    prout(_("The instruments"));
+    prout(_("   are going crazy, but I think it's"));
+    prout(_("   going to work!!  Congratulations, Sir!\""));
     game.cryprob *= 2.0;
     game.ididit=1;
 }
     game.cryprob *= 2.0;
     game.ididit=1;
 }
@@ -290,46 +290,46 @@ void shuttle(void)
     if(damaged(DSHUTTL)) {
        if (game.damage[DSHUTTL] == -1.0) {
            if (game.inorbit && game.state.plnets[game.iplnet].known == shuttle_down)
     if(damaged(DSHUTTL)) {
        if (game.damage[DSHUTTL] == -1.0) {
            if (game.inorbit && game.state.plnets[game.iplnet].known == shuttle_down)
-               prout("Ye Faerie Queene has no shuttle craft bay to dock it at.");
+               prout(_("Ye Faerie Queene has no shuttle craft bay to dock it at."));
            else
            else
-               prout("Ye Faerie Queene had no shuttle craft.");
+               prout(_("Ye Faerie Queene had no shuttle craft."));
        }
        else if (game.damage[DSHUTTL] > 0)
        }
        else if (game.damage[DSHUTTL] > 0)
-           prout("The Galileo is damaged.");
+           prout(_("The Galileo is damaged."));
        else /* game.damage[DSHUTTL] < 0 */ 
        else /* game.damage[DSHUTTL] < 0 */ 
-           prout("Shuttle craft is now serving Big Macs.");
+           prout(_("Shuttle craft is now serving Big Macs."));
        return;
     }
     if (!game.inorbit) {
        crmshp();
        return;
     }
     if (!game.inorbit) {
        crmshp();
-       prout(" not in standard orbit.");
+       prout(_(" not in standard orbit."));
        return;
     }
     if ((game.state.plnets[game.iplnet].known != shuttle_down) && game.iscraft != 1) {
        return;
     }
     if ((game.state.plnets[game.iplnet].known != shuttle_down) && game.iscraft != 1) {
-       prout("Shuttle craft not currently available.");
+       prout(_("Shuttle craft not currently available."));
        return;
     }
     if (game.landed==-1 && game.state.plnets[game.iplnet].known==shuttle_down) {
        return;
     }
     if (game.landed==-1 && game.state.plnets[game.iplnet].known==shuttle_down) {
-       prout("You will have to beam down to retrieve the shuttle craft.");
+       prout(_("You will have to beam down to retrieve the shuttle craft."));
        return;
     }
     if (game.shldup || game.condit == IHDOCKED) {
        return;
     }
     if (game.shldup || game.condit == IHDOCKED) {
-       prout("Shuttle craft cannot pass through shields.");
+       prout(_("Shuttle craft cannot pass through shields."));
        return;
     }
     if (game.state.plnets[game.iplnet].known==unknown) {
        return;
     }
     if (game.state.plnets[game.iplnet].known==unknown) {
-       prout("Spock-  \"Captain, we have no information on this planet");
-       prout("  and Starfleet Regulations clearly state that in this situation");
-       prout("  you may not fly down.\"");
+       prout(_("Spock-  \"Captain, we have no information on this planet"));
+       prout(_("  and Starfleet Regulations clearly state that in this situation"));
+       prout(_("  you may not fly down.\""));
        return;
     }
     game.optime = 3.0e-5*game.height;
     if (game.optime >= 0.8*game.state.remtime) {
        return;
     }
     game.optime = 3.0e-5*game.height;
     if (game.optime >= 0.8*game.state.remtime) {
-       prout("First Officer Spock-  \"Captain, I compute that such");
-       proutn("  a maneuver would require approximately 2d%% of our",
+       prout(_("First Officer Spock-  \"Captain, I compute that such"));
+       proutn(_("  a maneuver would require approximately %2d%% of our"),
               (int)(100*game.optime/game.state.remtime));
               (int)(100*game.optime/game.state.remtime));
-       prout("remaining time.");
-       proutn("Are you sure this is wise?\" ");
+       prout(_("remaining time."));
+       proutn(_("Are you sure this is wise?\" "));
        if (ja()==0) {
            game.optime = 0.0;
            return;
        if (ja()==0) {
            game.optime = 0.0;
            return;
@@ -340,29 +340,29 @@ void shuttle(void)
        if (game.iscraft==1) {
            /* Galileo on ship! */
            if (!damaged(DTRANSP)) {
        if (game.iscraft==1) {
            /* Galileo on ship! */
            if (!damaged(DTRANSP)) {
-               proutn("Spock-  \"Would you rather use the transporter?\" ");
+               proutn(_("Spock-  \"Would you rather use the transporter?\" "));
                if (ja() != 0) {
                    beam();
                    return;
                }
                if (ja() != 0) {
                    beam();
                    return;
                }
-               proutn("Shuttle crew");
+               proutn(_("Shuttle crew"));
            }
            else
            }
            else
-               proutn("Rescue party");
-           prout(" boards Galileo and swoops toward planet surface.");
+               proutn(_("Rescue party"));
+           prout(_(" boards Galileo and swoops toward planet surface."));
            game.iscraft = 0;
            skip(1);
            if (consumeTime()) return;
            game.state.plnets[game.iplnet].known=shuttle_down;
            game.iscraft = 0;
            skip(1);
            if (consumeTime()) return;
            game.state.plnets[game.iplnet].known=shuttle_down;
-           prout("Trip complete.");
+           prout(_("Trip complete."));
            return;
        }
        else {
            /* Ready to go back to ship */
            return;
        }
        else {
            /* Ready to go back to ship */
-           prout("You and your mining party board the");
-           prout("shuttle craft for the trip back to the Enterprise.");
+           prout(_("You and your mining party board the"));
+           prout(_("shuttle craft for the trip back to the Enterprise."));
            skip(1);
            skip(1);
-           prout("The short hop begins . . .");
+           prout(_("The short hop begins . . ."));
            game.state.plnets[game.iplnet].known=known;
            game.icraft = 1;
            skip(1);
            game.state.plnets[game.iplnet].known=known;
            game.icraft = 1;
            skip(1);
@@ -375,17 +375,17 @@ void shuttle(void)
                game.cryprob = 0.05;
            }
            game.imine = 0;
                game.cryprob = 0.05;
            }
            game.imine = 0;
-           prout("Trip complete.");
+           prout(_("Trip complete."));
            return;
        }
     }
     else {
        /* Kirk on ship */
        /* and so is Galileo */
            return;
        }
     }
     else {
        /* Kirk on ship */
        /* and so is Galileo */
-       prout("Mining party assembles in the hangar deck,");
-       prout("ready to board the shuttle craft \"Galileo\".");
+       prout(_("Mining party assembles in the hangar deck,"));
+       prout(_("ready to board the shuttle craft \"Galileo\"."));
        skip(1);
        skip(1);
-       prouts("The hangar doors open; the trip begins.");
+       prouts(_("The hangar doors open; the trip begins."));
        skip(1);
        game.icraft = 1;
        game.iscraft = 0;
        skip(1);
        game.icraft = 1;
        game.iscraft = 0;
@@ -393,7 +393,7 @@ void shuttle(void)
        game.state.plnets[game.iplnet].known = shuttle_down;
        game.landed = 1;
        game.icraft = 0;
        game.state.plnets[game.iplnet].known = shuttle_down;
        game.landed = 1;
        game.icraft = 0;
-       prout("Trip complete");
+       prout(_("Trip complete"));
        return;
     }
 }
        return;
     }
 }
@@ -406,52 +406,52 @@ void deathray(void)
     skip(1);
     chew();
     if (game.ship != IHE) {
     skip(1);
     chew();
     if (game.ship != IHE) {
-       prout("Ye Faerie Queene has no death ray.");
+       prout(_("Ye Faerie Queene has no death ray."));
        return;
     }
     if (game.nenhere==0) {
        return;
     }
     if (game.nenhere==0) {
-       prout("Sulu-  \"But Sir, there are no enemies in this quadrant.\"");
+       prout(_("Sulu-  \"But Sir, there are no enemies in this quadrant.\""));
        return;
     }
     if (damaged(DDRAY)) {
        return;
     }
     if (damaged(DDRAY)) {
-       prout("Death Ray is damaged.");
+       prout(_("Death Ray is damaged."));
        return;
     }
        return;
     }
-    prout("Spock-  \"Captain, the 'Experimental Death Ray'");
-    prout("  is highly unpredictible.  Considering the alternatives,");
-    proutn("  are you sure this is wise?\" ");
+    prout(_("Spock-  \"Captain, the 'Experimental Death Ray'"));
+    prout(_("  is highly unpredictible.  Considering the alternatives,"));
+    proutn(_("  are you sure this is wise?\" "));
     if (ja()==0) return;
     if (ja()==0) return;
-    prout("Spock-  \"Acknowledged.\"");
+    prout(_("Spock-  \"Acknowledged.\""));
     skip(1);
     game.ididit=1;
     skip(1);
     game.ididit=1;
-    prouts("WHOOEE ... WHOOEE ... WHOOEE ... WHOOEE");
+    prouts(_("WHOOEE ... WHOOEE ... WHOOEE ... WHOOEE"));
     skip(1);
     skip(1);
-    prout("Crew scrambles in emergency preparation.");
-    prout("Spock and Scotty ready the death ray and");
-    prout("prepare to channel all ship's power to the device.");
+    prout(_("Crew scrambles in emergency preparation."));
+    prout(_("Spock and Scotty ready the death ray and"));
+    prout(_("prepare to channel all ship's power to the device."));
     skip(1);
     skip(1);
-    prout("Spock-  \"Preparations complete, sir.\"");
-    prout("Kirk-  \"Engage!\"");
+    prout(_("Spock-  \"Preparations complete, sir.\""));
+    prout(_("Kirk-  \"Engage!\""));
     skip(1);
     skip(1);
-    prouts("WHIRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR");
+    prouts(_("WHIRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR"));
     skip(1);
     dprob = .30;
     if (game.options & OPTION_PLAIN)
        dprob = .5;
     if (r > dprob) {
     skip(1);
     dprob = .30;
     if (game.options & OPTION_PLAIN)
        dprob = .5;
     if (r > dprob) {
-       prouts("Sulu- \"Captain!  It's working!\"");
+       prouts(_("Sulu- \"Captain!  It's working!\""));
        skip(2);
        while (game.nenhere > 0)
            deadkl(game.ks[1], game.quad[game.ks[1].x][game.ks[1].y],game.ks[1].x,game.ks[1].y);
        skip(2);
        while (game.nenhere > 0)
            deadkl(game.ks[1], game.quad[game.ks[1].x][game.ks[1].y],game.ks[1].x,game.ks[1].y);
-       prout("Ensign Chekov-  \"Congratulations, Captain!\"");
+       prout(_("Ensign Chekov-  \"Congratulations, Captain!\""));
        if (KLINGREM == 0) finish(FWON);
        if ((game.options & OPTION_PLAIN) == 0) {
        if (KLINGREM == 0) finish(FWON);
        if ((game.options & OPTION_PLAIN) == 0) {
-           prout("Spock-  \"Captain, I believe the `Experimental Death Ray'");
+           prout(_("Spock-  \"Captain, I believe the `Experimental Death Ray'"));
            if (Rand() <= 0.05) {
            if (Rand() <= 0.05) {
-               prout("   is still operational.\"");
+               prout(_("   is still operational.\""));
            }
            else {
            }
            else {
-               prout("   has been rendered nonfunctional.\"");
+               prout(_("   has been rendered nonfunctional.\""));
                game.damage[DDRAY] = 39.95;
            }
        }
                game.damage[DDRAY] = 39.95;
            }
        }
@@ -459,60 +459,62 @@ void deathray(void)
     }
     r = Rand();        // Pick failure method 
     if (r <= .30) {
     }
     r = Rand();        // Pick failure method 
     if (r <= .30) {
-       prouts("Sulu- \"Captain!  It's working!\"");
+       prouts(_("Sulu- \"Captain!  It's working!\""));
        skip(1);
        skip(1);
-       prouts("***RED ALERT!  RED ALERT!");
+       prouts(_("***RED ALERT!  RED ALERT!"));
        skip(1);
        skip(1);
-       prout("***MATTER-ANTIMATTER IMPLOSION IMMINENT!");
+       prout(_("***MATTER-ANTIMATTER IMPLOSION IMMINENT!"));
        skip(1);
        skip(1);
-       prouts("***RED ALERT!  RED A*L********************************");
+       prouts(_("***RED ALERT!  RED A*L********************************"));
        skip(1);
        stars();
        skip(1);
        stars();
-       prouts("******************   KA-BOOM!!!!   *******************");
+       prouts(_("******************   KA-BOOM!!!!   *******************"));
        skip(1);
        kaboom();
        return;
     }
     if (r <= .55) {
        skip(1);
        kaboom();
        return;
     }
     if (r <= .55) {
-       prouts("Sulu- \"Captain!  Yagabandaghangrapl, brachriigringlanbla!\"");
+       prouts(_("Sulu- \"Captain!  Yagabandaghangrapl, brachriigringlanbla!\""));
        skip(1);
        skip(1);
-       prout("Lt. Uhura-  \"Graaeek!  Graaeek!\"");
+       prout(_("Lt. Uhura-  \"Graaeek!  Graaeek!\""));
        skip(1);
        skip(1);
-       prout("Spock-  \"Fascinating!  . . . All humans aboard");
-       prout("  have apparently been transformed into strange mutations.");
-       prout("  Vulcans do not seem to be affected.");
+       prout(_("Spock-  \"Fascinating!  . . . All humans aboard"));
+       prout(_("  have apparently been transformed into strange mutations."));
+       prout(_("  Vulcans do not seem to be affected."));
        skip(1);
        skip(1);
-       prout("Kirk-  \"Raauch!  Raauch!\"");
+       prout(_("Kirk-  \"Raauch!  Raauch!\""));
        finish(FDRAY);
        return;
     }
     if (r <= 0.75) {
        int i,j;
        finish(FDRAY);
        return;
     }
     if (r <= 0.75) {
        int i,j;
-       prouts("Sulu- \"Captain!  It's   --WHAT?!?!\"");
+       prouts(_("Sulu- \"Captain!  It's   --WHAT?!?!\""));
        skip(2);
        skip(2);
-       proutn("Spock-  \"I believe the word is");
-       prouts(" *ASTONISHING*");
-       prout(" Mr. Sulu.");
+       proutn(_("Spock-  \"I believe the word is"));
+       prouts(_(" *ASTONISHING*"));
+       prout(_(" Mr. Sulu."));
        for_sectors(i)
            for_sectors(j)
                if (game.quad[i][j] == IHDOT) game.quad[i][j] = IHQUEST;
        for_sectors(i)
            for_sectors(j)
                if (game.quad[i][j] == IHDOT) game.quad[i][j] = IHQUEST;
-       prout("  Captain, our quadrant is now infested with");
-       prouts(" - - - - - -  *THINGS*.");
+       prout(_("  Captain, our quadrant is now infested with"));
+       prouts(_(" - - - - - -  *THINGS*."));
        skip(1);
        skip(1);
-       prout("  I have no logical explanation.\"");
+       prout(_("  I have no logical explanation.\""));
        return;
     }
        return;
     }
-    prouts("Sulu- \"Captain!  The Death Ray is creating tribbles!\"");
+    prouts(_("Sulu- \"Captain!  The Death Ray is creating tribbles!\""));
     skip(1);
     skip(1);
-    prout("Scotty-  \"There are so many tribbles down here");
-    prout("  in Engineering, we can't move for 'em, Captain.\"");
+    prout(_("Scotty-  \"There are so many tribbles down here"));
+    prout(_("  in Engineering, we can't move for 'em, Captain.\""));
     finish(FTRIBBLE);
     return;
 }
 
 char *systemname(int pindx)
 {
     finish(FTRIBBLE);
     return;
 }
 
 char *systemname(int pindx)
 {
-    static char        *names[NINHAB] =
+    /* the below array shoud not be static, or it won't gettextize
+     * because of the early initialization. */
+    char *names[NINHAB] =
     {
        /*
         * I used <http://www.memory-alpha.org> to find planets
     {
        /*
         * I used <http://www.memory-alpha.org> to find planets
@@ -524,49 +526,49 @@ char *systemname(int pindx)
         */
        "ERROR",
        // Federation Worlds
         */
        "ERROR",
        // Federation Worlds
-       "Andoria (Fesoan)",     /* several episodes */
-       "Tellar Prime (Miracht)",       /* TOS: "Journey to Babel" */
-       "Vulcan (T'Khasi)",     /* many episodes */
-       "Medusa",               /* TOS: "Is There in Truth No Beauty?" */
-       "Argelius II (Nelphia)",/* TOS: "Wolf in the Fold" ("IV" in BSD) */
-       "Ardana",               /* TOS: "The Cloud Minders" */
-       "Catulla (Cendo-Prae)", /* TOS: "The Way to Eden" */
-       "Gideon",               /* TOS: "The Mark of Gideon" */
-       "Aldebaran III",        /* TOS: "The Deadly Years" */
-       "Alpha Majoris I",      /* TOS: "Wolf in the Fold" */
-       "Altair IV",            /* TOS: "Amok Time */
-       "Ariannus",             /* TOS: "Let That Be Your Last Battlefield" */
-       "Benecia"               /* TOS: "The Conscience of the King" */
-       "Beta Niobe I (Sarpeidon)",     /* TOS: "All Our Yesterdays" */
-       "Alpha Carinae II",     /* TOS: "The Ultimate Computer" */
-       "Capella IV (Kohath)",  /* TOS: "Friday's Child" (Class G) */
-       "Daran V",              /* TOS: "For the World is Hollow and I Have Touched the Sky" */
-       "Deneb II",             /* TOS: "Wolf in the Fold" ("IV" in BSD) */
-       "Eminiar VII",          /* TOS: "A Taste of Armageddon" */
-       "Gamma Canaris IV",     /* TOS: "Metamorphosis" */
-       "Gamma Tranguli VI (Vaalel)",   /* TOS: "The Apple" */
-       "Ingraham B",           /* TOS: "Operation: Annihilate" */
-       "Janus IV",             /* TOS: "The Devil in the Dark" */
-       "Makus III",            /* TOS: "The Galileo Seven" */
-       "Marcos XII",           /* TOS: "And the Children Shall Lead", */
-       "Omega IV",             /* TOS: "The Omega Glory" */
-       "Regulus V",            /* TOS: "Amok Time */
-       "Deeva",                /* TOS: "Operation -- Annihilate!" */
+       _("Andoria (Fesoan)"),  /* several episodes */
+       _("Tellar Prime (Miracht)"),    /* TOS: "Journey to Babel" */
+       _("Vulcan (T'Khasi)"),  /* many episodes */
+       _("Medusa"),            /* TOS: "Is There in Truth No Beauty?" */
+       _("Argelius II (Nelphia)"),/* TOS: "Wolf in the Fold" ("IV" in BSD) */
+       _("Ardana"),            /* TOS: "The Cloud Minders" */
+       _("Catulla (Cendo-Prae)"),      /* TOS: "The Way to Eden" */
+       _("Gideon"),            /* TOS: "The Mark of Gideon" */
+       _("Aldebaran III"),     /* TOS: "The Deadly Years" */
+       _("Alpha Majoris I"),   /* TOS: "Wolf in the Fold" */
+       _("Altair IV"),         /* TOS: "Amok Time */
+       _("Ariannus"),          /* TOS: "Let That Be Your Last Battlefield" */
+       _("Benecia"),           /* TOS: "The Conscience of the King" */
+       _("Beta Niobe I (Sarpeidon)"),  /* TOS: "All Our Yesterdays" */
+       _("Alpha Carinae II"),  /* TOS: "The Ultimate Computer" */
+       _("Capella IV (Kohath)"),       /* TOS: "Friday's Child" (Class G) */
+       _("Daran V"),           /* TOS: "For the World is Hollow and I Have Touched the Sky" */
+       _("Deneb II"),          /* TOS: "Wolf in the Fold" ("IV" in BSD) */
+       _("Eminiar VII"),               /* TOS: "A Taste of Armageddon" */
+       _("Gamma Canaris IV"),  /* TOS: "Metamorphosis" */
+       _("Gamma Tranguli VI (Vaalel)"),        /* TOS: "The Apple" */
+       _("Ingraham B"),                /* TOS: "Operation: Annihilate" */
+       _("Janus IV"),          /* TOS: "The Devil in the Dark" */
+       _("Makus III"),         /* TOS: "The Galileo Seven" */
+       _("Marcos XII"),                /* TOS: "And the Children Shall Lead", */
+       _("Omega IV"),          /* TOS: "The Omega Glory" */
+       _("Regulus V"),         /* TOS: "Amok Time */
+       _("Deeva"),             /* TOS: "Operation -- Annihilate!" */
        /* Worlds from BSD Trek */
        /* Worlds from BSD Trek */
-       "Rigel II",             /* TOS: "Shore Leave" ("III" in BSD) */
-       "Beta III",             /* TOS: "The Return of the Archons" */
-       "Triacus",              /* TOS: "And the Children Shall Lead", */
-       "Exo III",              /* TOS: "What Are Little Girls Made Of?" (Class P) */
+       _("Rigel II"),          /* TOS: "Shore Leave" ("III" in BSD) */
+       _("Beta III"),          /* TOS: "The Return of the Archons" */
+       _("Triacus"),           /* TOS: "And the Children Shall Lead", */
+       _("Exo III"),           /* TOS: "What Are Little Girls Made Of?" (Class P) */
 #if 0
        // Others
 #if 0
        // Others
-       "Hansen's Planet",      /* TOS: "The Galileo Seven" */
-       "Taurus IV",            /* TOS: "The Galileo Seven" (class G) */
-       "Antos IV (Doraphane)", /* TOS: "Whom Gods Destroy", "Who Mourns for Adonais?" */
-       "Izar",                 /* TOS: "Whom Gods Destroy" */
-       "Tiburon",              /* TOS: "The Way to Eden" */
-       "Merak II",             /* TOS: "The Cloud Minders" */ 
-       "Coridan (Desotriana)", /* TOS: "Journey to Babel" */
-       "Iotia",                /* TOS: "A Piece of the Action" */
+       _("Hansen's Planet"),   /* TOS: "The Galileo Seven" */
+       _("Taurus IV"),         /* TOS: "The Galileo Seven" (class G) */
+       _("Antos IV (Doraphane)"),      /* TOS: "Whom Gods Destroy", "Who Mourns for Adonais?" */
+       _("Izar"),                      /* TOS: "Whom Gods Destroy" */
+       _("Tiburon"),           /* TOS: "The Way to Eden" */
+       _("Merak II"),          /* TOS: "The Cloud Minders" */ 
+       _("Coridan (Desotriana)"),      /* TOS: "Journey to Babel" */
+       _("Iotia"),             /* TOS: "A Piece of the Action" */
 #endif
    };
 
 #endif
    };
 
index b2ee2b7d2bd04e0d1429812aa68eca380e8f82a3..7f4a13e72bad3bf955f2d031722e9abbab3d3457 100644 (file)
@@ -7,22 +7,22 @@ void attakreport(int curt)
 {
     if (!curt) {
        if (is_scheduled(FCDBAS)) {
 {
     if (!curt) {
        if (is_scheduled(FCDBAS)) {
-           prout("Starbase in %s is currently under Commander attack.",
+           prout(_("Starbase in %s is currently under Commander attack."),
                  cramlc(quadrant, game.battle));
                  cramlc(quadrant, game.battle));
-           prout("It can hold out until Stardate %d.", 
+           prout(_("It can hold out until Stardate %d."),
                  (int)scheduled(FCDBAS));
        }
        if (game.isatb == 1) {
                  (int)scheduled(FCDBAS));
        }
        if (game.isatb == 1) {
-           prout("Starbase in %s is under Super-commander attack.",
+           prout(_("Starbase in %s is under Super-commander attack."),
                  cramlc(quadrant, game.state.kscmdr));
                  cramlc(quadrant, game.state.kscmdr));
-           prout("It can hold out until Stardate %d.", 
+           prout(_("It can hold out until Stardate %d."),
                  (int)scheduled(FSCDBAS));
        }
     } else {
         if (is_scheduled(FCDBAS))
                  (int)scheduled(FSCDBAS));
        }
     } else {
         if (is_scheduled(FCDBAS))
-           proutn("Base in %i - %i attacked by C. Alive until %.1f", game.battle.x, game.battle.y, scheduled(FCDBAS));
+           proutn(_("Base in %i - %i attacked by C. Alive until %.1f"), game.battle.x, game.battle.y, scheduled(FCDBAS));
         if (game.isatb)
         if (game.isatb)
-           proutn("Base in %i - %i attacked by S. Alive until %.1f", game.state.kscmdr.x, game.state.kscmdr.y, scheduled(FSCDBAS));
+           proutn(_("Base in %i - %i attacked by S. Alive until %.1f"), game.state.kscmdr.x, game.state.kscmdr.y, scheduled(FSCDBAS));
     }
     clreol();
 }
     }
     clreol();
 }
@@ -33,7 +33,7 @@ void report(void)
     char *s1,*s2,*s3;
 
     chew();
     char *s1,*s2,*s3;
 
     chew();
-    s1 = (game.thawed?"game.thawed ":"");
+    s1 = (game.thawed?"thawed ":"");
     switch (game.length) {
     case 1: s2="short"; break;
     case 2: s2="medium"; break;
     switch (game.length) {
     case 1: s2="short"; break;
     case 2: s2="medium"; break;
@@ -49,56 +49,56 @@ void report(void)
     default: s3="skilled"; break;
     }
     prout("");
     default: s3="skilled"; break;
     }
     prout("");
-    prout("You %s playing a %s%s %s game.",
-         game.alldone? "were": "are now", s1, s2, s3);
-    if (game.skill>SKILL_GOOD && game.thawed && !game.alldone) prout("No plaque is allowed.");
-    if (game.tourn) prout("This is tournament game %d.", game.tourn);
-    prout("Your secret password is \"%s\"",game.passwd);
-    proutn("%d of %d Klingons have been killed", KLINGKILLED, INKLINGTOT);
-    if (NKILLC) prout(", including %d Commander%s.", NKILLC, NKILLC==1?"":"s");
-    else if (NKILLK + NKILLSC > 0) prout(", but no Commanders.");
+    prout(_("You %s playing a %s%s %s game."),
+         game.alldone? _("were") : _("are now"), s1, s2, s3);
+    if (game.skill>SKILL_GOOD && game.thawed && !game.alldone) prout(_("No plaque is allowed."));
+    if (game.tourn) prout(_("This is tournament game %d."), game.tourn);
+    prout(_("Your secret password is \"%s\""),game.passwd);
+    proutn(_("%d of %d Klingons have been killed"), KLINGKILLED, INKLINGTOT);
+    if (NKILLC) prout(_(", including %d Commander%s."), NKILLC, NKILLC==1?"":_("s"));
+    else if (NKILLK + NKILLSC > 0) prout(_(", but no Commanders."));
     else prout(".");
     else prout(".");
-    if (game.skill > SKILL_FAIR) prout("The Super Commander has %sbeen destroyed.",
-                                 game.state.nscrem?"not ":"");
+    if (game.skill > SKILL_FAIR) prout(_("The Super Commander has %sbeen destroyed."),
+                                 game.state.nscrem?_("not "):"");
     if (game.state.rembase != game.inbase) {
     if (game.state.rembase != game.inbase) {
-       proutn("There ");
-       if (game.inbase-game.state.rembase==1) proutn("has been 1 base");
+       proutn(_("There "));
+       if (game.inbase-game.state.rembase==1) proutn(_("has been 1 base"));
        else {
        else {
-           proutn("have been %d bases", game.inbase-game.state.rembase);
+           proutn(_("have been %d bases"), game.inbase-game.state.rembase);
        }
        }
-       prout(" destroyed, %d remaining.", game.state.rembase);
+       prout(_(" destroyed, %d remaining."), game.state.rembase);
     }
     }
-    else prout("There are %d bases.", game.inbase);
+    else prout(_("There are %d bases."), game.inbase);
     if (!damaged(DRADIO) || game.condit == IHDOCKED || game.iseenit) {
        /* Don't report this if not seen and
           either the radio is dead or not at base! */
        attakreport(0);
        game.iseenit = 1;
     }
     if (!damaged(DRADIO) || game.condit == IHDOCKED || game.iseenit) {
        /* Don't report this if not seen and
           either the radio is dead or not at base! */
        attakreport(0);
        game.iseenit = 1;
     }
-    if (game.casual) prout("%d casualt%s suffered so far.",
+    if (game.casual) prout(_("%d casualt%s suffered so far."),
                      game.casual, game.casual==1? "y" : "ies");
                      game.casual, game.casual==1? "y" : "ies");
-    if (game.nhelp) prout("There were %d call%s for help.",
-                    game.nhelp, game.nhelp==1 ? "" : "s");
+    if (game.nhelp) prout(_("There were %d call%s for help."),
+                    game.nhelp, game.nhelp==1 ? "" : _("s"));
     if (game.ship == IHE) {
     if (game.ship == IHE) {
-       proutn("You have ");
+       proutn(_("You have "));
        if (game.nprobes) proutn("%d", game.nprobes);
        if (game.nprobes) proutn("%d", game.nprobes);
-       else proutn("no");
-       proutn(" deep space probe");
-       if (game.nprobes!=1) proutn("s");
+       else proutn(_("no"));
+       proutn(_(" deep space probe"));
+       if (game.nprobes!=1) proutn(_("s"));
        prout(".");
     }
     if ((!damaged(DRADIO) || game.condit == IHDOCKED)
                && is_scheduled(FDSPROB)) {
        if (game.isarmed) 
        prout(".");
     }
     if ((!damaged(DRADIO) || game.condit == IHDOCKED)
                && is_scheduled(FDSPROB)) {
        if (game.isarmed) 
-           proutn("An armed deep space probe is in");
+           proutn(_("An armed deep space probe is in"));
        else
        else
-           proutn("A deep space probe is in");
+           proutn(_("A deep space probe is in"));
        proutn(cramlc(quadrant, game.probec));
        prout(".");
     }
     if (game.icrystl) {
        if (game.cryprob <= .05)
        proutn(cramlc(quadrant, game.probec));
        prout(".");
     }
     if (game.icrystl) {
        if (game.cryprob <= .05)
-           prout("Dilithium crystals aboard ship... not yet used.");
+           prout(_("Dilithium crystals aboard ship... not yet used."));
        else {
            int i=0;
            double ai = 0.05;
        else {
            int i=0;
            double ai = 0.05;
@@ -106,8 +106,8 @@ void report(void)
                ai *= 2.0;
                i++;
            }
                ai *= 2.0;
                i++;
            }
-           prout("Dilithium crystals have been used %d time%s.",
-                 i, i==1? "" : "s");
+           prout(_("Dilithium crystals have been used %d time%s."),
+                 i, i==1? "" : _("s"));
        }
     }
     skip(1);
        }
     }
     skip(1);
@@ -120,13 +120,13 @@ void lrscan(void)
     if (damaged(DLRSENS)) {
        /* Now allow base's sensors if docked */
        if (game.condit != IHDOCKED) {
     if (damaged(DLRSENS)) {
        /* Now allow base's sensors if docked */
        if (game.condit != IHDOCKED) {
-           prout("LONG-RANGE SENSORS DAMAGED.");
+           prout(_("LONG-RANGE SENSORS DAMAGED."));
            return;
        }
            return;
        }
-       prout("Starbase's long-range scan");
+       prout(_("Starbase's long-range scan"));
     }
     else {
     }
     else {
-       prout("Long-range scan");
+       prout(_("Long-range scan"));
     }
     for (x = game.quadrant.x-1; x <= game.quadrant.x+1; x++) {
        proutn(" ");
     }
     for (x = game.quadrant.x-1; x <= game.quadrant.x+1; x++) {
        proutn(" ");
@@ -158,8 +158,8 @@ void dreprt(void)
     for (i = 0; i < NDEVICES; i++) {
        if (damaged(i)) {
            if (!jdam) {
     for (i = 0; i < NDEVICES; i++) {
        if (damaged(i)) {
            if (!jdam) {
-               prout("DEVICE            -REPAIR TIMES-");
-               prout("                IN FLIGHT   DOCKED");
+               prout(_("DEVICE            -REPAIR TIMES-"));
+               prout(_("                IN FLIGHT   DOCKED"));
                jdam = true;
            }
            prout("  %16s %8.2f  %8.2f", 
                jdam = true;
            }
            prout("  %16s %8.2f  %8.2f", 
@@ -168,7 +168,7 @@ void dreprt(void)
                  game.docfac*game.damage[i]+0.005);
        }
     }
                  game.docfac*game.damage[i]+0.005);
        }
     }
-    if (!jdam) prout("All devices functional.");
+    if (!jdam) prout(_("All devices functional."));
 }
 
 void rechart(void)
 }
 
 void rechart(void)
@@ -194,13 +194,13 @@ void chart(int nn)
        rechart();
 
     if (game.lastchart < game.state.date && game.condit == IHDOCKED) {
        rechart();
 
     if (game.lastchart < game.state.date && game.condit == IHDOCKED) {
-       prout("Spock-  \"I revised the Star Chart from the starbase's records.\"");
+       prout(_("Spock-  \"I revised the Star Chart from the starbase's records.\""));
        rechart();
     }
 
        rechart();
     }
 
-    if (nn == 0) prout("       STAR CHART FOR THE KNOWN GALAXY");
+    if (nn == 0) prout(_("       STAR CHART FOR THE KNOWN GALAXY"));
     if (game.state.date > game.lastchart)
     if (game.state.date > game.lastchart)
-       prout("(Last surveillance update %d stardates ago).",
+       prout(_("(Last surveillance update %d stardates ago)."),
              (int)(game.state.date-game.lastchart));
     prout("      1    2    3    4    5    6    7    8");
     for_quadrants(i) {
              (int)(game.state.date-game.lastchart));
     prout("      1    2    3    4    5    6    7    8");
     for_quadrants(i) {
@@ -258,7 +258,7 @@ static void status(int req)
     int t, dam = 0;
     switch (req) {
     case 1:
     int t, dam = 0;
     switch (req) {
     case 1:
-       proutn("Stardate      %.1f, Time Left %.2f", game.state.date, game.state.remtime);
+       proutn(_("Stardate      %.1f, Time Left %.2f"), game.state.date, game.state.remtime);
        break;
     case 2:
        if (game.condit != IHDOCKED) newcnd();
        break;
     case 2:
        if (game.condit != IHDOCKED) newcnd();
@@ -272,55 +272,55 @@ static void status(int req)
        for (t=0;t<NDEVICES;t++)
            if (game.damage[t]>0) 
                dam++;
        for (t=0;t<NDEVICES;t++)
            if (game.damage[t]>0) 
                dam++;
-       proutn("Condition     %s, %i DAMAGES", cp, dam);
+       proutn(_("Condition     %s, %i DAMAGES"), cp, dam);
        break;
     case 3:
        break;
     case 3:
-       proutn("Position      %d - %d , %d - %d",
+       proutn(_("Position      %d - %d , %d - %d"),
               game.quadrant.x, game.quadrant.y, game.sector.x, game.sector.y);
        break;
     case 4:
               game.quadrant.x, game.quadrant.y, game.sector.x, game.sector.y);
        break;
     case 4:
-       proutn("Life Support  ");
+       proutn(_("Life Support  "));
        if (damaged(DLIFSUP)) {
            if (game.condit == IHDOCKED)
        if (damaged(DLIFSUP)) {
            if (game.condit == IHDOCKED)
-               proutn("DAMAGED, Base provides");
+               proutn(_("DAMAGED, Base provides"));
            else
            else
-               proutn("DAMAGED, reserves=%4.2f", game.lsupres);
+               proutn(_("DAMAGED, reserves=%4.2f"), game.lsupres);
        }
        else
        }
        else
-           proutn("ACTIVE");
+           proutn(_("ACTIVE"));
        break;
     case 5:
        break;
     case 5:
-       proutn("Warp Factor   %.1f", game.warpfac);
+       proutn(_("Warp Factor   %.1f"), game.warpfac);
        break;
     case 6:
        break;
     case 6:
-       proutn("Energy        %.2f", game.energy);
+       proutn(_("Energy        %.2f"), game.energy);
        if (game.icrystl && (game.options & OPTION_SHOWME))     /* ESR */
        if (game.icrystl && (game.options & OPTION_SHOWME))     /* ESR */
-           proutn(" (have crystals)");
+           proutn(_(" (have crystals)"));
        break;
     case 7:
        break;
     case 7:
-       proutn("Torpedoes     %d", game.torps);
+       proutn(_("Torpedoes     %d"), game.torps);
        break;
     case 8:
        break;
     case 8:
-       proutn("Shields       ");
+       proutn(_("Shields       "));
        if (damaged(DSHIELD))
        if (damaged(DSHIELD))
-           proutn("DAMAGED,");
+           proutn(_("DAMAGED,"));
        else if (game.shldup)
        else if (game.shldup)
-           proutn("UP,");
+           proutn(_("UP,"));
        else
        else
-           proutn("DOWN,");
-       proutn(" %d%% %.1f units",
+           proutn(_("DOWN,"));
+       proutn(_(" %d%% %.1f units"),
               (int)((100.0*game.shield)/game.inshld + 0.5), game.shield);
        break;
     case 9:
               (int)((100.0*game.shield)/game.inshld + 0.5), game.shield);
        break;
     case 9:
-       proutn("Klingons Left %d", KLINGREM);
+       proutn(_("Klingons Left %d"), KLINGREM);
        break;
     case 10:
        if (game.options & OPTION_WORLDS) {
            int here = game.state.galaxy[game.quadrant.x][game.quadrant.y].planet;
            if (here != NOPLANET && game.state.plnets[here].inhabited != UNINHABITED)
        break;
     case 10:
        if (game.options & OPTION_WORLDS) {
            int here = game.state.galaxy[game.quadrant.x][game.quadrant.y].planet;
            if (here != NOPLANET && game.state.plnets[here].inhabited != UNINHABITED)
-               proutn("Major system  %s", systemname(here));
+               proutn(_("Major system  %s"), systemname(here));
            else
            else
-               proutn("Sector is uninhabited");
+               proutn(_("Sector is uninhabited"));
        }
 
        break;
        }
 
        break;
@@ -343,13 +343,13 @@ int srscan(int l)
        if (damaged(DSRSENS)) {
            /* Allow base's sensors if docked */
            if (game.condit != IHDOCKED) {
        if (damaged(DSRSENS)) {
            /* Allow base's sensors if docked */
            if (game.condit != IHDOCKED) {
-               prout("   S.R. SENSORS DAMAGED!");
+               prout(_("   S.R. SENSORS DAMAGED!"));
                goodScan=false;
            }
            else
                goodScan=false;
            }
            else
-               prout("  [Using Base's sensors]");
+               prout(_("  [Using Base's sensors]"));
        }
        }
-       else prout("     Short-range scan");
+       else prout(_("     Short-range scan"));
        if (goodScan && !damaged(DRADIO)) { 
            game.state.chart[game.quadrant.x][game.quadrant.y].klingons = game.state.galaxy[game.quadrant.x][game.quadrant.y].klingons;
            game.state.chart[game.quadrant.x][game.quadrant.y].starbase = game.state.galaxy[game.quadrant.x][game.quadrant.y].starbase;
        if (goodScan && !damaged(DRADIO)) { 
            game.state.chart[game.quadrant.x][game.quadrant.y].klingons = game.state.galaxy[game.quadrant.x][game.quadrant.y].klingons;
            game.state.chart[game.quadrant.x][game.quadrant.y].starbase = game.state.galaxy[game.quadrant.x][game.quadrant.y].starbase;
@@ -364,15 +364,15 @@ int srscan(int l)
        break;
     case SCAN_REQUEST:
        while (scan() == IHEOL)
        break;
     case SCAN_REQUEST:
        while (scan() == IHEOL)
-           proutn("Information desired? ");
+           proutn(_("Information desired? "));
        chew();
        for (req = 1; req <= sizeof(requests)/sizeof(requests[0]); req++)
            if (strncmp(citem,requests[req],min(2,strlen(citem)))==0)
                break;
        if (req > sizeof(requests)/sizeof(requests[0])) {
        chew();
        for (req = 1; req <= sizeof(requests)/sizeof(requests[0]); req++)
            if (strncmp(citem,requests[req],min(2,strlen(citem)))==0)
                break;
        if (req > sizeof(requests)/sizeof(requests[0])) {
-           prout("UNRECOGNIZED REQUEST. Legal requests are:");
-           prout("  date, condition, position, lsupport, warpfactor,");
-           prout("  energy, torpedoes, shields, klingons, time, system, bases.");
+           prout(_("UNRECOGNIZED REQUEST. Legal requests are:"));
+           prout(_("  date, condition, position, lsupport, warpfactor,"));
+           prout(_("  energy, torpedoes, shields, klingons, time, system, bases."));
            return false;
        }
        // no break
            return false;
        }
        // no break
@@ -411,14 +411,14 @@ void eta(void)
     bool wfl, prompt = false;
     double ttime, twarp, tpower;
     if (damaged(DCOMPTR)) {
     bool wfl, prompt = false;
     double ttime, twarp, tpower;
     if (damaged(DCOMPTR)) {
-       prout("COMPUTER DAMAGED, USE A POCKET CALCULATOR.");
+       prout(_("COMPUTER DAMAGED, USE A POCKET CALCULATOR."));
        skip(1);
        return;
     }
     if (scan() != IHREAL) {
        prompt = true;
        chew();
        skip(1);
        return;
     }
     if (scan() != IHREAL) {
        prompt = true;
        chew();
-       proutn("Destination quadrant and/or sector? ");
+       proutn(_("Destination quadrant and/or sector? "));
        if (scan()!=IHREAL) {
            huh();
            return;
        if (scan()!=IHREAL) {
            huh();
            return;
@@ -453,16 +453,16 @@ void eta(void)
                square(ix1-game.quadrant.y+0.1*(ix2-game.sector.y)));
     wfl = false;
 
                square(ix1-game.quadrant.y+0.1*(ix2-game.sector.y)));
     wfl = false;
 
-    if (prompt) prout("Answer \"no\" if you don't know the value:");
+    if (prompt) prout(_("Answer \"no\" if you don't know the value:"));
     for (;;) {
        chew();
     for (;;) {
        chew();
-       proutn("Time or arrival date? ");
+       proutn(_("Time or arrival date? "));
        if (scan()==IHREAL) {
            ttime = aaitem;
            if (ttime > game.state.date) ttime -= game.state.date; // Actually a star date
            if (ttime <= 1e-10 ||
                (twarp=(floor(sqrt((10.0*game.dist)/ttime)*10.0)+1.0)/10.0) > 10) {
        if (scan()==IHREAL) {
            ttime = aaitem;
            if (ttime > game.state.date) ttime -= game.state.date; // Actually a star date
            if (ttime <= 1e-10 ||
                (twarp=(floor(sqrt((10.0*game.dist)/ttime)*10.0)+1.0)/10.0) > 10) {
-               prout("We'll never make it, sir.");
+               prout(_("We'll never make it, sir."));
                chew();
                return;
            }
                chew();
                return;
            }
@@ -470,7 +470,7 @@ void eta(void)
            break;
        }
        chew();
            break;
        }
        chew();
-       proutn("Warp factor? ");
+       proutn(_("Warp factor? "));
        if (scan()== IHREAL) {
            wfl = true;
            twarp = aaitem;
        if (scan()== IHREAL) {
            wfl = true;
            twarp = aaitem;
@@ -480,17 +480,17 @@ void eta(void)
            }
            break;
        }
            }
            break;
        }
-       prout("Captain, certainly you can give me one of these.");
+       prout(_("Captain, certainly you can give me one of these."));
     }
     for (;;) {
        chew();
        ttime = (10.0*game.dist)/square(twarp);
        tpower = game.dist*twarp*twarp*twarp*(game.shldup+1);
        if (tpower >= game.energy) {
     }
     for (;;) {
        chew();
        ttime = (10.0*game.dist)/square(twarp);
        tpower = game.dist*twarp*twarp*twarp*(game.shldup+1);
        if (tpower >= game.energy) {
-           prout("Insufficient energy, sir.");
+           prout(_("Insufficient energy, sir."));
            if (!game.shldup || tpower > game.energy*2.0) {
                if (!wfl) return;
            if (!game.shldup || tpower > game.energy*2.0) {
                if (!wfl) return;
-               proutn("New warp factor to try? ");
+               proutn(_("New warp factor to try? "));
                if (scan() == IHREAL) {
                    wfl = true;
                    twarp = aaitem;
                if (scan() == IHREAL) {
                    wfl = true;
                    twarp = aaitem;
@@ -506,33 +506,33 @@ void eta(void)
                    return;
                }
            }
                    return;
                }
            }
-           prout("But if you lower your shields,");
-           proutn("remaining");
+           prout(_("But if you lower your shields,"));
+           proutn(_("remaining"));
            tpower /= 2;
        }
        else
            tpower /= 2;
        }
        else
-           proutn("Remaining");
-       prout(" game.energy will be %.2f.", game.energy-tpower);
+           proutn(_("Remaining"));
+       prout(_(" energy will be %.2f."), game.energy-tpower);
        if (wfl) {
        if (wfl) {
-           prout("And we will arrive at stardate %.2f.",
+           prout(_("And we will arrive at stardate %.2f."),
                  game.state.date+ttime);
        }
        else if (twarp==1.0)
                  game.state.date+ttime);
        }
        else if (twarp==1.0)
-           prout("Any warp speed is adequate.");
+           prout(_("Any warp speed is adequate."));
        else {
        else {
-           prout("Minimum warp needed is %.2f,", twarp);
-           prout("and we will arrive at stardate %.2f.",
+           prout(_("Minimum warp needed is %.2f,"), twarp);
+           prout(_("and we will arrive at stardate %.2f."),
                  game.state.date+ttime);
        }
        if (game.state.remtime < ttime)
                  game.state.date+ttime);
        }
        if (game.state.remtime < ttime)
-           prout("Unfortunately, the Federation will be destroyed by then.");
+           prout(_("Unfortunately, the Federation will be destroyed by then."));
        if (twarp > 6.0)
        if (twarp > 6.0)
-           prout("You'll be taking risks at that speed, Captain");
+           prout(_("You'll be taking risks at that speed, Captain"));
        if ((game.isatb==1 && game.state.kscmdr.y == iy1 && game.state.kscmdr.x == ix1 &&
             scheduled(FSCDBAS)< ttime+game.state.date)||
            (scheduled(FCDBAS)<ttime+game.state.date && game.battle.y==iy1 && game.battle.x == ix1))
        if ((game.isatb==1 && game.state.kscmdr.y == iy1 && game.state.kscmdr.x == ix1 &&
             scheduled(FSCDBAS)< ttime+game.state.date)||
            (scheduled(FCDBAS)<ttime+game.state.date && game.battle.y==iy1 && game.battle.x == ix1))
-           prout("The starbase there will be destroyed by then.");
-       proutn("New warp factor to try? ");
+           prout(_("The starbase there will be destroyed by then."));
+       proutn(_("New warp factor to try? "));
        if (scan() == IHREAL) {
            wfl = true;
            twarp = aaitem;
        if (scan() == IHREAL) {
            wfl = true;
            twarp = aaitem;
index 03d9e794f36a50d7f250dd18c0bd244464e01395..94c74163e478582bf54518ed63cc89a89a35c9ad 100644 (file)
@@ -786,3 +786,20 @@ void sortkl(void)
            }
     } while (sw);
 }
            }
     } while (sw);
 }
+
+void setpassword(void) 
+{
+    if (!(game.options & OPTION_CURSES)) {
+       while (TRUE) {
+           scan();
+           strcpy(game.passwd, citem);
+           chew();
+           if (*game.passwd != 0) break;
+           proutn(_("Please type in a secret password-"));
+       }
+    } else {
+       int i;
+        for(i=0;i<3;i++) game.passwd[i]=(char)(97+(int)(Rand()*25));
+        game.passwd[3]=0;
+    }
+}