Skip to content

Commit

Permalink
Перевод анонсов станции (#6979)
Browse files Browse the repository at this point in the history
* traslate announcemnts to russian lang

* review fixes

* translate requests console

* update map

* Обновлено по ревью

* Добавлено русское название станции и системы

* Имя на англ. Фикс тега

* remove failed mc

* Update translation to cult merge

* minor changes

* revert asteroid map

* create custom RC

* update gamma too

* little fixses misspell

* Review fixes tranlsate

* forget one dot

* Rename RD, CE

* janitorial rename

* Update code/game/machinery/requests_console.dm

Co-authored-by: KIBORG04 <bossmira4@gmail.com>

* fix by review

* Update code/datums/announcements/events.dm

Co-authored-by: Alexander V. <volas@ya.ru>

* Update code/datums/announcements/events.dm

Co-authored-by: Alexander V. <volas@ya.ru>

* Update code/datums/announcements/events.dm

Co-authored-by: Chebureck <67091522+BesumniiChebureck@users.noreply.github.com>

* fix by review

* Update code/datums/announcements/events.dm

Co-authored-by: Chebureck <67091522+BesumniiChebureck@users.noreply.github.com>

* remove double messages

* little more fixes by review

* more review fixes

* sanitaze

* renaming proc

* add Communication Blackout

* Apply suggestions from code review

Co-authored-by: KIBORG04 <bossmira4@gmail.com>
Co-authored-by: Alexander V. <volas@ya.ru>
Co-authored-by: Chebureck <67091522+BesumniiChebureck@users.noreply.github.com>
  • Loading branch information
4 people committed Jun 25, 2021
1 parent 4ea7051 commit 6b1786c
Show file tree
Hide file tree
Showing 19 changed files with 623 additions and 570 deletions.
10 changes: 10 additions & 0 deletions code/__HELPERS/names.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ var/religion_name = null

return "Tau Ceti" //Screw Nyx

/proc/system_name_ru()
if(system_name_ru)
return system_name_ru
return system_name()

/proc/station_name()
if (station_name)
return station_name
Expand All @@ -62,6 +67,11 @@ var/religion_name = null

return station_name

/proc/station_name_ru()
if (station_name_ru)
return station_name_ru
return station_name()

/proc/new_station_name()
var/random = rand(1,5)
var/name = ""
Expand Down
3 changes: 2 additions & 1 deletion code/__HELPERS/time.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
return "[(timeleft / 60) % 60]:[add_zero(num2text(timeleft % 60), 2)]"

/proc/shuttleminutes2text()
return "[round(SSshuttle.timeleft()/60)]"
var/m = round(SSshuttle.timeleft()/60)
return pluralize_russian(m, "[m] минута", "[m] минуты", "[m] минут")

var/next_duration_update = 0
var/last_round_duration = 0
Expand Down
2 changes: 2 additions & 0 deletions code/_globalvars/configuration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ var/host_announcements
var/join_test_merge = null
var/test_merges
var/station_name = "NSS Exodus"
var/station_name_ru = "КСН Исход"
var/system_name = "Tau Ceti"
var/system_name_ru = "Tay Кита"
var/game_version = "TauCetiStation"
var/game_year = (text2num(time2text(world.realtime, "YYYY")) + 200)
var/gamestory_start_year = 2213
Expand Down
2 changes: 2 additions & 0 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ SUBSYSTEM_DEF(mapping)
LoadMapConfig()
station_image = config.station_image
station_name = config.station_name
station_name_ru = config.station_name_ru
system_name = config.system_name
system_name = config.system_name_ru

loadWorld()
renameAreas()
Expand Down
3 changes: 3 additions & 0 deletions code/datums/announcements.dm
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,6 @@ var/list/announcement_sounds = list(
..()

/var/datum/announcement/announcement_ping = new /datum/announcement/ping // For sound-only

/datum/announcement/proc/randomize_message()
return
16 changes: 7 additions & 9 deletions code/datums/announcements/centcomm.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* CENTRAL COMMAND */
/datum/announcement/centcomm
title = "Central Command Update"
subtitle = "NanoTrasen Update"
title = "Оповещение Центрального Командования"
subtitle = "Оповещение НаноТрейзен"
sound = "commandreport"
flags = ANNOUNCE_TEXT | ANNOUNCE_SOUND

Expand All @@ -12,23 +12,21 @@

/datum/announcement/centcomm/admin
name = "Centcomm: Admin Stub"
message = "\[Enter your message for the station here.]"
message = "\[Введите свое сообщение здесь.\]"
flags = ANNOUNCE_ALL

/datum/announcement/centcomm/yesert
name = "Centcomm: ERT Approved"
subtitle = "Central Command"
message = "It would appear that an emergency response team was requested for Space Station 13. We will prepare and send one as soon as possible."
subtitle = "Центральное Командование"
sound = "yesert"
/datum/announcement/centcomm/yesert/play()
message = "It would appear that an emergency response team was requested for [station_name()]. We will prepare and send one as soon as possible."
message = "Похоже, отряд быстрого реагирования был запрошен на [station_name_ru()]. Мы подготовим и отправим его в кратчайшие сроки."
..()

/datum/announcement/centcomm/noert
name = "Centcomm: ERT Denied"
subtitle = "Central Command"
message = "It would appear that an emergency response team was requested for Space Station 13. Unfortunately, we were unable to send one at this time."
subtitle = "Центральное Командование"
sound = "yesert"
/datum/announcement/centcomm/noert/play()
message = "It would appear that an emergency response team was requested for [station_name()]. Unfortunately, we were unable to send one at this time."
message = "Похоже, отряд быстрого реагирования был запрошен на [station_name_ru()]. К сожалению, мы не сможем его отправить сейчас."
..()
187 changes: 94 additions & 93 deletions code/datums/announcements/events.dm

Large diffs are not rendered by default.

54 changes: 23 additions & 31 deletions code/datums/announcements/gamemode.dm
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
/* GAME MODES */
/datum/announcement/centcomm/malf
subtitle = "Network Monitoring"

subtitle = "Сетевой Мониторинг"

/* Blob */
/datum/announcement/centcomm/blob/outbreak5
name = "Blob: Level 5 Outbreak"
subtitle = "Biohazard Alert"
message = "Confirmed outbreak of level 5 biohazard aboard Space Station 13. " + \
"All personnel must contain the outbreak. The station crew isolation protocols are now active."
subtitle = "Тревога. Биоугроза"
sound = "outbreak5"
/datum/announcement/centcomm/blob/outbreak5/play()
message = "Confirmed outbreak of level 5 biohazard aboard [station_name()]. " + \
"All personnel must contain the outbreak. The station crew isolation protocols are now active."
message = "Подтвержден 5 уровень биологической угрозы на борту [station_name_ru()]. " + \
"Персонал должен предотвратить распространение заражения. " + \
"Активирован протокол изоляции экипажа станции."
..()

/datum/announcement/centcomm/blob/critical
name = "Blob: Blob Critical Mass"
subtitle = "Biohazard Alert"
message = "Biohazard has reached critical mass. Station loss is imminent."
subtitle = "Тревога. Биоугроза"
message = "Биологическая опасность достигла критической массы. Потеря станции неминуема."

/datum/announcement/centcomm/blob/biohazard_station_unlock
name = "Biohazard Level Updated - Lock Down Lifted"
Expand All @@ -28,8 +26,8 @@
/* Nuclear */
/datum/announcement/centcomm/nuclear/war
name = "Nuclear: Declaration of War"
subtitle = "Declaration of War"
message = "The Syndicate has declared they intent to utterly destroy Space Station 13 with a nuclear device, and dares the crew to try and stop them."
subtitle = "Объявление Войны"
message = "Синдикат объявил о намерении полностью уничтожить станцию с помощью ядерного устройства. И всех, кто попытается их остановить."
/datum/announcement/centcomm/nuclear/war/play(message)
if(message)
src.message = message
Expand All @@ -38,20 +36,16 @@
/* Vox */
/datum/announcement/centcomm/vox/arrival
name = "Vox: Shuttle Arrives"
message = "Внимание, Космическая Станция 13, неподалёку от вашей станции проходит корабль не отвечающий на наши запросы. " + \
"По последним данным этот корабль принадлежит Торговой Конфедерации."
/datum/announcement/centcomm/vox/arrival/play()
message = "Внимание, [station_name()], неподалёку от вашей станции проходит корабль не отвечающий на наши запросы. " + \
"По последним данным этот корабль принадлежит Торговой Конфедерации."
message = "Внимание, [station_name_ru()], неподалёку от вашей станции проходит корабль не отвечающий на наши запросы. " + \
"По последним данным, этот корабль принадлежит Торговой Конфедерации."

/datum/announcement/centcomm/vox/returns
name = "Vox: Shuttle Returns"
subtitle = "NSV Icarus"
message = "Your guests are pulling away, Exodus - moving too fast for us to draw a bead on them. " + \
"Looks like they're heading out of Space Station 13 at a rapid clip."
subtitle = "ВКН Икар"
/datum/announcement/centcomm/vox/returns/play()
message = "Your guests are pulling away, Exodus - moving too fast for us to draw a bead on them. " + \
"Looks like they're heading out of [system_name()] at a rapid clip."
message = "Ваши гости улетают, [station_name_ru()]. Движутся слишком быстро, что бы мы могли навестись на них. " + \
"Похоже, они покидают систему [system_name_ru()] без оглядки."

/* Malfunction */
/datum/announcement/centcomm/malf/declared
Expand All @@ -64,37 +58,35 @@

/datum/announcement/centcomm/malf/first
name = "Malf: Announce №1"
message = "Caution, Space Station 13. We have detected abnormal behaviour in your network. " + \
"It seems someone is trying to hack your electronic systems. We will update you when we have more information."
sound = "malf1"
/datum/announcement/centcomm/malf/first/play()
message = "Caution, [station_name]. We have detected abnormal behaviour in your network. " + \
"It seems someone is trying to hack your electronic systems. We will update you when we have more information."
message = "Осторожно, [station_name_ru()]. Мы фиксируем необычные показатели в вашей сети. " + \
"Похоже, кто-то пытается взломать ваши системы. Сообщим вам позже, когда получим больше информации."
..()

/datum/announcement/centcomm/malf/second
name = "Malf: Announce №2"
message = "We started tracing the intruder. Whoever is doing this, they seem to be on the station itself. " + \
"We suggest checking all network control terminals. We will keep you updated on the situation."
message = "Мы начали отслеживать взломщика. Кто-бы это не делал, они находятся на самой станции. " + \
"Предлагаем проверить все терминалы, управляющие сетью. Будем держать вас в курсе."
sound = "malf2"

/datum/announcement/centcomm/malf/third
name = "Malf: Announce №3"
message = "This is highly abnormal and somewhat concerning. " + \
"The intruder is too fast, he is evading our traces. No man could be this fast..."
message = "Это крайне не нормально и достаточно тревожно. " + \
"Взломщик слишком быстр, он обходит все попытки его выследить. Это нечеловеческая скорость..."
sound = "malf3"

/datum/announcement/centcomm/malf/fourth
name = "Malf: Announce №4"
message = "We have traced the intrude#, it seem& t( e yo3r AI s7stem, it &# *#ck@ng th$ sel$ destru$t mechani&m, stop i# bef*@!)$#&&@@ <CONNECTION LOST>"
message = "Мы отследили взломшик#, это каже@&# ва3) сист7ма ИИ, он# *#@амыает меха#7зм самоун@чт$#енiя. Оста*##ивте )то по*@!)$#&&@@ <СВЯЗЬ ПОТЕРЯНА>"
sound = "malf4"

/* Cult */
/datum/announcement/station/cult/capture_area
name = "Anomaly: Bluespace"
message = "Unstable bluespace anomaly detected on long range scanners. Expected location: unknown."
message = "На сканерах дальнего действия обнаружена нестабильная блюспейс аномалия. Ожидаемое место: неизвестно."
sound = "bluspaceanom"
/datum/announcement/station/cult/capture_area/play(area/A)
if(A)
message = "Unstable bluespace anomaly detected on long range scanners. Expected location: [A.name]."
message = "На сканерах дальнего действия обнаружена нестабильная блюспейс аномалия. Ожидаемое место: [A.name]."
..()
Loading

0 comments on commit 6b1786c

Please sign in to comment.