Skip to content

Commit

Permalink
Translate: Bots and fixes of my previous translations (#921)
Browse files Browse the repository at this point in the history
<!-- Пишите **НИЖЕ** заголовков и **ВЫШЕ** комментариев, иначе что то
может пойти не так. -->
<!-- Вы можете прочитать Contributing.MD, если хотите узнать больше. -->

## Что этот PR делает
- Перевод сообщений от ботов
- Фиксы того что просрал в своем прошлом ПРе

## Почему это хорошо для игры
Приятно слушать ТТС, меньше ошибок, больше переводов

## Изображения изменений


![image](https://github.com/ss220club/Paradise-SS220/assets/20109643/4272c021-dc9b-4d6a-bb9c-676c00bf3b54)


![image](https://github.com/ss220club/Paradise-SS220/assets/20109643/326a0618-397f-46c8-b101-19a4f717beff)

## Тестирование
Глянул в игре

## Changelog

:cl:
add: Перевод сообщений от ботов (секботы, медботы, хонкбот, флурбот)
tweak: Доперевел слот-машину и заголовки станционных оповещений
(надеюсь)
spellcheck: Грамматические исправления перевода у оповещений
/:cl:

<!-- Оба :cl:'а должны быть на месте, что-бы чейнджлог работал! Вы
можете написать свой ник справа от первого :cl:, если хотите. Иначе
будет использован ваш ник на ГитХабе. -->
<!-- Вы можете использовать несколько записей с одинаковым префиксом
(Они используются только для иконки в игре) и удалить ненужные. Помните,
что чейнджлог должен быть понятен обычным игроком. -->
<!-- Если чейнджлог не влияет на игроков(например, это рефактор), вы
можете исключить всю секцию. -->

---------

Co-authored-by: Gaxeer <[email protected]>
Co-authored-by: PhantornRU <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2024
1 parent c77d9a9 commit 2130d77
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions code/defines/procs/announcer_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GLOBAL_DATUM_INIT(minor_announcement, /datum/announcer, new(config_type = /datum
GLOBAL_DATUM_INIT(major_announcement, /datum/announcer, new(config_type = /datum/announcement_configuration/major))

/datum/announcement_configuration
var/default_title = "Внимание"
var/default_title = "ВНИМАНИЕ."
/// The name used when describing the announcement type in logs.
var/log_name = ANNOUNCE_KIND_DEFAULT
/// Whether or not to log the announcement when made.
Expand Down Expand Up @@ -163,7 +163,7 @@ GLOBAL_DATUM_INIT(major_announcement, /datum/announcer, new(config_type = /datum
sound = sound('sound/misc/notice2.ogg')

/datum/announcement_configuration/comms_console
default_title = "Priority Announcement"
default_title = "Приоритетное оповещение."
add_log = TRUE
log_name = ANNOUNCE_KIND_PRIORITY
sound = sound('sound/misc/announce.ogg')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
if(Adjacent(A))
UnarmedAttack(A)
else if(iscarbon(A))
speak("Level 10 infraction alert!")
speak("Внимание, обнаружена угроза уровня 10!")
playsound(loc, pick('sound/voice/bcriminal.ogg', 'sound/voice/bjustice.ogg', 'sound/voice/bfreeze.ogg'), 50)
visible_message("<b>[src]</b> points at [A.name]!")

Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/nuclear/nuclear_challenge.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
if(!check_allowed(user) || !war_declaration)
return

GLOB.major_announcement.Announce(war_declaration, "Объявление Войны", 'sound/effects/siren.ogg', msg_sanitized = TRUE)
GLOB.major_announcement.Announce(war_declaration, "Объявление Войны.", 'sound/effects/siren.ogg', msg_sanitized = TRUE)
addtimer(CALLBACK(SSsecurity_level, TYPE_PROC_REF(/datum/controller/subsystem/security_level, set_level), SEC_LEVEL_GAMMA), 30 SECONDS)

to_chat(user, "You've attracted the attention of powerful forces within the syndicate. A bonus bundle of telecrystals has been granted to your team. Great things await you if you complete the mission.")
Expand Down
24 changes: 12 additions & 12 deletions code/game/machinery/slotmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,33 +85,33 @@
/obj/machinery/economy/slot_machine/proc/spin_slots(userName)
switch(rand(1, 5000))
if(1)
atom_say("JACKPOT! [userName] has won two thousand credits!")
GLOB.minor_announcement.Announce("Поздравляем [userName] с выигрышем джекпота в ДВЕ ТЫСЯЧИ КРЕДИТОВ!", "Обладатель Джекпота!")
result = "JACKPOT! You win two thousand credits!"
atom_say("ДЖЕКПОТ! [userName] выиграл ДВЕ ТЫСЯЧИ КРЕДИТОВ!")
GLOB.minor_announcement.Announce("Поздравляем [userName] с выигрышем джекпота в ДВЕ ТЫСЯЧИ КРЕДИТОВ!", "Обладатель джекпота!")
result = "ДЖЕКПОТ! Вы выиграли ДВЕ ТЫСЯЧИ КРЕДИТОВ!"
resultlvl = "teal"
win_money(2000, 'sound/goonstation/misc/airraid_loop.ogg')
if(2 to 20)
atom_say("Big Winner! [userName] has won two hundred credits!")
result = "You win a two hundred credits!"
atom_say("Большой Победитель! [userName] выиграл двести кредитов!")
result = "Вы выиграли двести кредитов!"
resultlvl = "green"
win_money(200, 'sound/goonstation/misc/klaxon.ogg')
if(21 to 100)
atom_say("Winner! [userName] has won a hundred credits!")
result = "You win a hundred credits!"
atom_say("Победитель! [userName] выиграл сто кредитов!")
result = "Вы выиграли сто кредитов!"
resultlvl = "green"
win_money(100, 'sound/goonstation/misc/bell.ogg')
if(101 to 500)
atom_say("Winner! [userName] has won forty credits!")
result = "You win forty credits!"
atom_say("Победитель! [userName] выиграл сорок кредитов!")
result = "Вы выиграли сорок кредитов!"
resultlvl = "green"
win_money(40)
if(501 to 1000)
atom_say("Winner! [userName] has won ten credits!")
result = "You win ten credits!"
atom_say("Победитель! [userName] выиграл десять кредитов!")
result = "Вы выиграли десять кредитов!"
resultlvl = "green"
win_money(10)
else
result = "No luck!"
result = "Не повезло!"
resultlvl = "orange"
working = FALSE
icon_state = "slots-off"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/events/carp_migration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
announcement = "Массовая миграция неизвестных биологических объектов была зафиксирована вблизи станции [station_name()], будьте наготове."
else
announcement = "Неизвестные биологические объекты были зафиксированы вблизи станции [station_name()], будьте наготове."
GLOB.minor_announcement.Announce(announcement, "ВНИМАНИЕ: Неопозанные формы жизни.")
GLOB.minor_announcement.Announce(announcement, "ВНИМАНИЕ: Неопознанные формы жизни.")

/datum/event/carp_migration/start()

Expand Down
12 changes: 6 additions & 6 deletions code/modules/mob/living/simple_animal/bot/bot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ Pass a positive integer as an argument to override a bot's default speed.
if(tries >= BOT_STEP_MAX_RETRIES) //Bot is trapped, so stop trying to patrol.
auto_patrol = FALSE
tries = 0
speak("Unable to start patrol.")
speak("Невозможно начать патрулирование.")

return

Expand All @@ -645,7 +645,7 @@ Pass a positive integer as an argument to override a bot's default speed.
if(patrol_target) // has patrol target
INVOKE_ASYNC(src, PROC_REF(target_patrol))
else // no patrol target, so need a new one
speak("Engaging patrol mode.")
speak("Включен режим патрулирования.")
find_patrol_target()
tries++

Expand Down Expand Up @@ -699,7 +699,7 @@ Pass a positive integer as an argument to override a bot's default speed.
else
auto_patrol = FALSE
mode = BOT_IDLE
speak("Disengaging patrol mode.")
speak("Отключен режим патрулирования.")

/mob/living/simple_animal/bot/proc/get_next_patrol_target()
// search the beacon list for the next target in the list.
Expand Down Expand Up @@ -774,7 +774,7 @@ Pass a positive integer as an argument to override a bot's default speed.

mode = BOT_SUMMON
calc_summon_path()
speak("Responding.", radio_channel)
speak("Запрос принят. Выполняю.", radio_channel)

return TRUE

Expand All @@ -793,7 +793,7 @@ Pass a positive integer as an argument to override a bot's default speed.
check_bot_access()
set_path(get_path_to(src, summon_target, 150, id=access_card, exclude=avoid))
if(!length(path)) //Cannot reach target. Give up and announce the issue.
speak("Summon command failed, destination unreachable.",radio_channel)
speak("Команда вызова не выполнена, пункт назначения недоступен.",radio_channel)
bot_reset()

/mob/living/simple_animal/bot/proc/summon_step()
Expand Down Expand Up @@ -978,7 +978,7 @@ Pass a positive integer as an argument to override a bot's default speed.

/mob/living/simple_animal/bot/proc/ejectpairemote(mob/user)
if(allowed(user) && paicard)
speak("Ejecting personality chip.", radio_channel)
speak("Извлечение микросхемы личности.", radio_channel)
ejectpai(user)

/mob/living/simple_animal/bot/Login()
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/bot/ed209bot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
else if(threatlevel >= 4)
target = C
oldtarget_name = C.name
speak("Level [threatlevel] infraction alert!")
speak("Внимание, обнаружена угроза уровня [threatlevel]!")
playsound(loc, pick('sound/voice/ed209_20sec.ogg', 'sound/voice/edplaceholder.ogg'), 50, 0)
visible_message("<b>[src]</b> points at [C.name]!")
mode = BOT_HUNT
Expand Down Expand Up @@ -574,7 +574,7 @@
add_attack_logs(src, C, "batoned")
if(declare_arrests)
var/area/location = get_area(src)
speak("[arrest_type ? "Detaining" : "Arresting"] level [threat] scumbag <b>[C]</b> in [location].", radio_channel)
speak("Внимание, проводится [arrest_type ? "задержание" : "арест"] преступного отродья <b>[C]</b> с уровнем угрозы [threat] в [location]!", radio_channel)
C.visible_message("<span class='danger'>[src] has stunned [C]!</span>",\
"<span class='userdanger'>[src] has stunned you!</span>")

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/bot/floorbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@

/mob/living/simple_animal/bot/floorbot/proc/nag() //Annoy everyone on the channel to refill us!
if(!nagged)
speak("Requesting refill [MAX_AMOUNT - amount] at <b>[get_area(src)]</b>!", radio_channel)
speak("Запрос пополнения на [MAX_AMOUNT - amount] в <b>[get_area(src)]</b>!", radio_channel)
nagged = TRUE

/mob/living/simple_animal/bot/floorbot/proc/is_hull_breach(turf/t) //Ignore space tiles not considered part of a structure, also ignores shuttle docking areas.
Expand Down
6 changes: 3 additions & 3 deletions code/modules/mob/living/simple_animal/bot/griefsky.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
if(declare_arrests)
var/area/location = get_area(src)
if(!spam_flag)
speak("Back away! I will deal with this level [threat] swine <b>[C]</b> in [location] myself!.", radio_channel)
speak("Назад! Я сам разберусь со свиньей <b>[C]</b> с уровнем угрозы [threat] в [location]!.", radio_channel)
spam_flag = 1
addtimer(CALLBACK(src, PROC_REF(spam_flag_false)), 100) //to avoid spamming comms of sec for each hit
visible_message("[src] flails his swords and cuts [C]!")
Expand Down Expand Up @@ -138,7 +138,7 @@
frustration = 0
else
back_to_idle()
speak("You fool")
speak("Неудачник.")
else
back_to_idle()

Expand Down Expand Up @@ -169,7 +169,7 @@
else if(threatlevel >= 4)
target = C
oldtarget_name = C.name
speak("You are a bold one")
speak("Смелый дохуя?")
playsound(src,'sound/weapons/saberon.ogg',50,TRUE,-1)
visible_message("[src] ignites his energy swords!")
icon_state = "griefsky-c"
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/bot/honkbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
target = C
oldtarget_name = C.name
bike_horn()
speak("Honk!")
speak("Хонк!")
visible_message("<b>[src]</b> starts chasing [C.name]!")
mode = BOT_HUNT
INVOKE_ASYNC(src, PROC_REF(handle_automated_action))
Expand Down Expand Up @@ -337,7 +337,7 @@
C.KnockDown(10 SECONDS)
playsound(loc, 'sound/misc/sadtrombone.ogg', 50, 1, -1)
if(!client)
speak("Honk!")
speak("Хонк!")
sensor_blink()
return
..()
12 changes: 6 additions & 6 deletions code/modules/mob/living/simple_animal/bot/medbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
/mob/living/simple_animal/bot/medbot/process_scan(mob/living/carbon/human/H)
if(buckled)
if((last_warning + 300) < world.time)
speak("<span class='danger'>Movement restrained! Unit on standby!</span>")
speak("<span class='danger'>Движение ограничено! Юнит в режиме ожидания!</span>")
playsound(loc, 'sound/machines/buzz-two.ogg', 50, FALSE)
last_warning = world.time
return
Expand All @@ -286,7 +286,7 @@
if(assess_patient(H))
last_found = world.time
if((last_newpatient_speak + 300) < world.time) //Don't spam these messages!
var/list/messagevoice = list("Hey, [H.name]! Hold on, I'm coming." = 'sound/voice/mcoming.ogg', "Wait [H.name]! I want to help!" = 'sound/voice/mhelp.ogg', "[H.name], you appear to be injured!" = 'sound/voice/minjured.ogg')
var/list/messagevoice = list("Эй, [H.name]! Подождите, я сейчас прибуду." = 'sound/voice/mcoming.ogg', "[H.name], стойте! Я хочу помочь!" = 'sound/voice/mhelp.ogg', "[H.name], кажется, Вы ранены!" = 'sound/voice/minjured.ogg')
var/message = pick(messagevoice)
speak(message)
playsound(loc, messagevoice[message], 50, FALSE)
Expand All @@ -308,7 +308,7 @@

if(!patient)
if(!shut_up && prob(1))
var/list/messagevoice = list("Radar, put a mask on!" = 'sound/voice/mradar.ogg', "There's always a catch, and I'm the best there is." = 'sound/voice/mcatch.ogg', "I knew it, I should've been a plastic surgeon." = 'sound/voice/msurgeon.ogg', "What kind of medbay is this? Everyone's dropping like flies." = 'sound/voice/mflies.ogg', "Delicious!" = 'sound/voice/mdelicious.ogg')
var/list/messagevoice = list("Радар, надень маску!" = 'sound/voice/mradar.ogg', "Всегда есть подвох, но со мной тебе нечего бояться!" = 'sound/voice/mcatch.ogg', "Я так и знал! Нужно было учиться на пластического хирурга." = 'sound/voice/msurgeon.ogg', "Что это за медицинский отдел такой? Все мрут как мухи!" = 'sound/voice/mflies.ogg', "Великолепно!" = 'sound/voice/mdelicious.ogg')
var/message = pick(messagevoice)
speak(message)
playsound(loc, messagevoice[message], 50, FALSE)
Expand Down Expand Up @@ -453,7 +453,7 @@
return

if(C.stat == DEAD || HAS_TRAIT(C, TRAIT_FAKEDEATH))
var/list/messagevoice = list("No! Stay with me!" = 'sound/voice/mno.ogg', "Live, damnit! LIVE!" = 'sound/voice/mlive.ogg', "I...I've never lost a patient before. Not today, I mean." = 'sound/voice/mlost.ogg')
var/list/messagevoice = list("Нет! Не бросай меня!" = 'sound/voice/mno.ogg', "Живи, черт возьми, ЖИВИ!" = 'sound/voice/mlive.ogg', "Я... я никогда раньше не терял пациентов. Сегодня, то есть." = 'sound/voice/mlost.ogg')
var/message = pick(messagevoice)
speak(message)
playsound(loc, messagevoice[message], 50, FALSE)
Expand All @@ -471,7 +471,7 @@
reagent_id = select_medication(C, beaker_injection)

if(!reagent_id) //If they don't need any of that they're probably cured!
var/list/messagevoice = list("All patched up!" = 'sound/voice/mpatchedup.ogg', "An apple a day keeps me away." = 'sound/voice/mapple.ogg', "Feel better soon!" = 'sound/voice/mfeelbetter.ogg')
var/list/messagevoice = list("Как новенький!" = 'sound/voice/mpatchedup.ogg', "Яблочко на ужин, и врач не нужен!" = 'sound/voice/mapple.ogg', "Поправляйтесь!" = 'sound/voice/mfeelbetter.ogg')
var/message = pick(messagevoice)
speak(message)
playsound(loc, messagevoice[message], 50, FALSE)
Expand Down Expand Up @@ -563,7 +563,7 @@
if(syndicate_aligned)
return
var/area/location = get_area(src)
speak("Medical emergency! [crit_patient ? "<b>[crit_patient]</b>" : "A patient"] is in critical condition at [location]!", radio_channel)
speak("Внимание, требуется медицинская помощь! [crit_patient ? "<b>[crit_patient]</b>" : "Пострадавший"] в критическом состоянии в [location]!", radio_channel)
declare_cooldown = TRUE
spawn(200) //Twenty seconds
declare_cooldown = FALSE
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/bot/mulebot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@

if(load) // if loaded, unload at target
if(report_delivery)
speak("Destination <b>[destination]</b> reached. Unloading [load].", radio_channel)
speak("Пункт назначения <b>[destination]</b> достигнут. Разгрузка [load].", radio_channel)
if(istype(load, /obj/structure/closet/crate))
var/obj/structure/closet/crate/C = load
C.notifyRecipient(destination)
Expand All @@ -651,7 +651,7 @@
if(AM && AM.Adjacent(src))
load(AM)
if(report_delivery)
speak("Now loading [load] at <b>[get_area(src)]</b>.", radio_channel)
speak("Начата загрузка [load] в <b>[get_area(src)]</b>.", radio_channel)
// whatever happened, check to see if we return home

if(auto_return && home_destination && destination != home_destination)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/bot/secbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
add_attack_logs(src, C, "batoned")
if(declare_arrests)
var/area/location = get_area(src)
speak("[arrest_type ? "Detaining" : "Arresting"] level [threat] scumbag <b>[C]</b> in [location].", radio_channel)
speak("Внимание, проводится [arrest_type ? "задержание" : "арест"] преступного отродья <b>[C]</b> с уровнем угрозы [threat] в [location]!", radio_channel)
C.visible_message("<span class='danger'>[src] has [harmbaton ? "beaten" : "stunned"] [C]!</span>",\
"<span class='userdanger'>[src] has [harmbaton ? "beaten" : "stunned"] you!</span>")

Expand Down Expand Up @@ -410,7 +410,7 @@
else if(threatlevel >= 4)
target = C
oldtarget_name = C.name
speak("Level [threatlevel] infraction alert!")
speak("Внимание, обнаружена угроза уровня [threatlevel]!")
playsound(loc, pick('sound/voice/bcriminal.ogg', 'sound/voice/bjustice.ogg', 'sound/voice/bfreeze.ogg'), 50, 0)
visible_message("<b>[src]</b> points at [C.name]!")
mode = BOT_HUNT
Expand Down
8 changes: 4 additions & 4 deletions code/modules/response_team/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ GLOBAL_LIST_EMPTY(ert_request_messages)
if(silent)
message_admins("A silent response team failed to spawn. Likely, no one signed up.")
return
GLOB.major_announcement.Announce("Внимание, ИСН «[station_name()]». К сожалению, в настоящее время мы не можем направить к вам отряд быстрого реагирования.", "ОБР недоступен.")
GLOB.major_announcement.Announce("Внимание, [station_name()]. К сожалению, в настоящее время мы не можем направить к вам отряд быстрого реагирования.", "ОБР недоступен.")

/datum/response_team/proc/announce_team()
if(silent)
return
GLOB.major_announcement.Announce("Внимание, ИСН «[station_name()]». Мы направляем команду высококвалифицированных ассистентов для оказания помощи(?) вам. Ожидайте.", "ОБР в пути.")
GLOB.major_announcement.Announce("Внимание, [station_name()]. Мы направляем команду высококвалифицированных ассистентов для оказания помощи(?). Ожидайте.", "ОБР в пути.")

// -- AMBER TEAM --

Expand Down Expand Up @@ -337,7 +337,7 @@ GLOBAL_LIST_EMPTY(ert_request_messages)
/datum/response_team/red/announce_team()
if(silent)
return
GLOB.major_announcement.Announce("Внимание, ИСН «[station_name()]». Мы направляем усиленный отряд быстрого реагирования кода «РЭД». Ожидайте.", "ОБР в пути.")
GLOB.major_announcement.Announce("Внимание, [station_name()]. Мы направляем усиленный отряд быстрого реагирования кода «РЭД». Ожидайте.", "ОБР в пути.")

// -- GAMMA TEAM --

Expand All @@ -353,7 +353,7 @@ GLOBAL_LIST_EMPTY(ert_request_messages)
/datum/response_team/gamma/announce_team()
if(silent)
return
GLOB.major_announcement.Announce("Внимание, ИСН «[station_name()]». Мы направляем элитный отряд быстрого реагирования кода «ГАММА». Ожидайте.", "ОБР в пути.")
GLOB.major_announcement.Announce("Внимание, [station_name()]. Мы направляем элитный отряд быстрого реагирования кода «ГАММА». Ожидайте.", "ОБР в пути.")

/datum/outfit/job/centcom/response_team
name = "Response team"
Expand Down
Loading

0 comments on commit 2130d77

Please sign in to comment.