Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Translate all(?) major and minor annoucement #903

Merged
merged 2 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/controllers/subsystem/SSnightshift.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SUBSYSTEM_DEF(nightshift)
check_nightshift()

/datum/controller/subsystem/nightshift/proc/announce(message)
GLOB.minor_announcement.Announce(message, new_sound = 'sound/misc/notice2.ogg', new_title = "Automated Lighting System Announcement")
GLOB.minor_announcement.Announce(message, new_sound = 'sound/misc/notice2.ogg', new_title = "Система освещения.")

/datum/controller/subsystem/nightshift/proc/check_nightshift(check_canfire=FALSE)
if(check_canfire && !can_fire)
Expand Down
6 changes: 3 additions & 3 deletions code/datums/spells/knock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
A.req_access = list()
A.req_one_access = list()
GLOB.major_announcement.Announce(
message = "We have removed all access requirements on your station's airlocks. You can thank us later!",
new_title = "Space Wizard Federation Message",
new_subtitle = "Greetings!",
message = "Мы сняли все ограничения на доступ к шлюзам вашей станции. Вы сможете поблагодарить нас позже!",
new_title = "Послание Федерации Космических Волшебников",
new_subtitle = "Приветствуем вас!",
new_sound = 'sound/misc/notice2.ogg'
)
else
Expand Down
4 changes: 2 additions & 2 deletions code/datums/weather/weather_types/radiation_storm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@

status_alarm(FALSE)
if(!pre_maint_all_access)
GLOB.minor_announcement.Announce("The radiation threat has passed. Please return to your workplaces. Door access resetting momentarily.", "Anomaly Alert")
GLOB.minor_announcement.Announce("Радиационная угроза миновала. Пожалуйста, вернитесь на свои рабочие места. Доступы восстановлены.", "ВНИМАНИЕ: Радиационная опасность.")
addtimer(CALLBACK(SSweather, GLOBAL_PROC_REF(revoke_maint_all_access)), 10 SECONDS) // Bit of time to get out / break into somewhere.
else
GLOB.minor_announcement.Announce("The radiation threat has passed. Please return to your workplaces.", "Anomaly Alert")
GLOB.minor_announcement.Announce("Радиационная угроза миновала. Пожалуйста, вернитесь на свои рабочие места.", "ВНИМАНИЕ: Радиационная опасность.")

/datum/weather/rad_storm/proc/status_alarm(active) //Makes the status displays show the radiation warning for those who missed the announcement.
if(active)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/weather/weather_types/solar_flare.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
/datum/weather/solar_flare/end()
if(..())
return
GLOB.minor_announcement.Announce("The solar flare has passed.", "Solar Flare Advisory")
GLOB.minor_announcement.Announce("Солнечная вспышка миновала.", "Предупреждение о солнечной вспышке.")
// Ends the temporary 40x increase that happened during the weather event
SSsun.solar_gen_rate = initial(SSsun.solar_gen_rate)
2 changes: 1 addition & 1 deletion code/game/gamemodes/cult/cult_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
playsound(user.loc, 'sound/effects/glassbr1.ogg', 50, TRUE)
curselimit++
var/message = pick(CULT_CURSES)
GLOB.major_announcement.Announce("[message] The shuttle will be delayed by [cursetime / 600] minute\s.", "System Failure", 'sound/misc/notice1.ogg')
GLOB.major_announcement.Announce("[message] Эвакуационный шаттл задерживается на [cursetime / 600] минут(-ы).", "ВНИМАНИЕ: Обнаружена неисправность в системе.", 'sound/misc/notice1.ogg')
qdel(src)

/obj/item/cult_shift
Expand Down
18 changes: 9 additions & 9 deletions code/game/gamemodes/cult/cult_mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
SEND_SOUND(M.current, sound('sound/hallucinations/im_here1.ogg'))
to_chat(M.current, "<span class='cultlarge'>Your cult is ascendant and the red harvest approaches - you cannot hide your true nature for much longer!</span>")
addtimer(CALLBACK(src, PROC_REF(ascend), M.current), 20 SECONDS)
GLOB.major_announcement.Announce("Picking up extradimensional activity related to the Cult of [SSticker.cultdat ? SSticker.cultdat.entity_name : "Nar'Sie"] from your station. Data suggests that about [ascend_percent * 100]% of the station has been converted. Security staff are authorized to use lethal force freely against cultists. Non-security staff should be prepared to defend themselves and their work areas from hostile cultists. Self defense permits non-security staff to use lethal force as a last resort, but non-security staff should be defending their work areas, not hunting down cultists. Dead crewmembers must be revived and deconverted once the situation is under control.", "Central Command Higher Dimensional Affairs", 'sound/AI/commandreport.ogg')
GLOB.major_announcement.Announce("Обнаружение внепространственной активности, связанной с Культом [SSticker.cultdat ? SSticker.cultdat.entity_name : "Нар'Си"] на вашей станции. Данные свидетельствуют о том, что около [ascend_percent * 100]% экипажа станции было порабощено. Сотрудники службы безопасности имеют право беспрепятственно применять летальную силу против культистов. Сотрудники, не относящиеся к службе безопасности, должны быть готовы защищать себя и свои рабочие места от враждебно настроенных культистов. Самооборона предоставляет сотрудникам, не относящимся к службе безопасности, право применять летальную силу в качестве крайней меры для защиты себя и своего отдела, но не позволяет им вести охоту на членов культа. Погибшие члены экипажа должны быть реанимированы и деконвертированы, как только ситуация будет взята под контроль.", "Отдел по делам Высших Измерений.", 'sound/AI/commandreport.ogg')

/datum/game_mode/proc/cult_fall()
cult_ascendant = FALSE
Expand All @@ -312,14 +312,14 @@
SEND_SOUND(M.current, sound('sound/hallucinations/wail.ogg'))
to_chat(M.current, "<span class='cultlarge'>The veil repairs itself, your power grows weaker...</span>")
addtimer(CALLBACK(src, PROC_REF(descend), M.current), 20 SECONDS)
GLOB.major_announcement.Announce("Paranormal activity has returned to minimal levels. \
Security staff should minimize lethal force against cultists, using non-lethals where possible. \
All dead cultists should be taken to medbay or robotics for immediate revival and deconversion. \
Non-security staff may defend themselves, but should prioritize leaving any areas with cultists and reporting the cultists to security. \
Self defense permits non-security staff to use lethal force as a last resort. Hunting down cultists may make you liable for a manslaughter charge. \
Any access granted in response to the paranormal threat should be reset. \
Any and all security gear that was handed out should be returned. Finally, all weapons (including improvised) should be removed from the crew.",
"Central Command Higher Dimensional Affairs", 'sound/AI/commandreport.ogg')
GLOB.major_announcement.Announce("Паранормальная активность вернулась к минимальному уровню. \
Сотрудники службы безопасности должны свести к минимуму применение летальной силы против культистов, используя, по возможности, нелетальные средства. \
Все мертвые культисты должны быть доставлены в медотдел, или робототехнику для немедленной реанимации и деконвертации. \
Сотрудники, не относящиеся к службе безопасности, могут защищаться, но должны в первую очередь покинуть все зоны с наличием культистов и сообщить о них в службу безопасности. \
Самооборона позволяет сотрудникам, не относящимся к службе безопасности, использовать летальную силу в качестве крайней меры. Охота на культистов может повлечь за собой обвинение в неправомерном нападении. \
Любой доступ, предоставленный в ответ на паранормальную угрозу, должен быть сброшен. \
Все выданные средства защиты должны быть возвращены. И наконец, все оружие (включая самодельное) у экипажа должно быть изъято.",
"Отдел по делам Высших Измерений.", 'sound/AI/commandreport.ogg')

/datum/game_mode/proc/rise(cultist)
if(!ishuman(cultist) || !iscultist(cultist))
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/cult/ritual.dm
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
if(!(A in summon_areas)) // Check again to make sure they didn't move
to_chat(user, "<span class='cultlarge'>The ritual can only begin where the veil is weak - in [english_list(summon_areas)]!</span>")
return
GLOB.major_announcement.Announce("Figments from an eldritch god are being summoned into the [A.map_name] from an unknown dimension. Disrupt the ritual at all costs, before the station is destroyed! Space law and SOP are suspended. The entire crew must kill cultists on sight.", "Central Command Higher Dimensional Affairs", 'sound/AI/spanomalies.ogg')
GLOB.major_announcement.Announce("Образы древнего богоподобного существа соединяются воединно в [A.map_name] из неизвестного измерения. Прервите ритуал любой ценой, пока станция не была уничтожена! Действие космических законов и стандартных рабочих процедур приостановлено. Всему экипажу - ликвидировать культистов на месте.", "Отдел по делам Высших Измерений.", 'sound/AI/spanomalies.ogg')
for(var/I in spiral_range_turfs(1, user, 1))
var/turf/T = I
var/obj/machinery/shield/cult/narsie/N = new(T)
Expand Down
12 changes: 6 additions & 6 deletions code/game/gamemodes/malfunction/Malf_Modules.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

/datum/action/innate/ai/nuke_station/proc/set_us_up_the_bomb()
to_chat(owner_AI, "<span class='notice'>Nuclear device armed.</span>")
GLOB.major_announcement.Announce("Hostile runtimes detected in all station systems, please deactivate your AI to prevent possible damage to its morality core.", "Anomaly Alert", 'sound/AI/aimalf.ogg')
GLOB.major_announcement.Announce("Во всех системах станций обнаружены вредоносные процессы, пожалуйста, деактивируйте ваш ИИ, чтобы предотвратить возможное повреждение его морального ядра.", "ВНИМАНИЕ: Обнаружена аномалия.", 'sound/AI/aimalf.ogg')
SSsecurity_level.set_level(SEC_LEVEL_DELTA)
owner_AI.nuking = TRUE
var/obj/machinery/doomsday_device/DOOM = new /obj/machinery/doomsday_device(owner_AI)
Expand Down Expand Up @@ -278,7 +278,7 @@
if(SSshuttle.emergency.mode == SHUTTLE_STRANDED)
SSshuttle.emergency.mode = SHUTTLE_DOCKED
SSshuttle.emergency.timer = world.time
GLOB.major_announcement.Announce("Hostile environment resolved. You have 3 minutes to board the Emergency Shuttle.", "Priority Announcement", 'sound/AI/eshuttle_dock.ogg')
GLOB.major_announcement.Announce("Враждебное окружение нейтрализовано. У вас есть 3 минуты, чтобы прибыть на борт эвакуационного шаттла.", "Приоритетное оповещение.", 'sound/AI/eshuttle_dock.ogg')
return ..()

/obj/machinery/doomsday_device/proc/start()
Expand All @@ -293,12 +293,12 @@
/obj/machinery/doomsday_device/process()
var/turf/T = get_turf(src)
if(!T || !is_station_level(T.z))
GLOB.major_announcement.Announce("DOOMSDAY DEVICE OUT OF STATION RANGE, ABORTING", "ERROR ER0RR $R0RRO$!R41.%%!!(%$^^__+ @#F0E4", 'sound/misc/notice1.ogg')
GLOB.major_announcement.Announce("УСТРОЙСТВО СУДНОГО ДНЯ ВНЕ ЗОНЫ ДЕЙСТВИЯ СТАНЦИИ, ОТКЛЮЧЕНИЕ.", "ОШИБКА ОШИБКА $ОШИБК$!Р41.%%!!(%$^^__+ @#F0E4.", 'sound/misc/notice1.ogg')
SSshuttle.clearHostileEnvironment(src)
if(SSshuttle.emergency.mode == SHUTTLE_STRANDED)
SSshuttle.emergency.mode = SHUTTLE_DOCKED
SSshuttle.emergency.timer = world.time
GLOB.major_announcement.Announce("Hostile environment resolved. You have 3 minutes to board the Emergency Shuttle.", "Priority Announcement", 'sound/AI/eshuttle_dock.ogg')
GLOB.major_announcement.Announce("Враждебное окружение нейтрализовано. У вас есть 3 минуты, чтобы прибыть на борт эвакуационного шаттла.", "Приоритетное оповещение.", 'sound/AI/eshuttle_dock.ogg')
qdel(src)
if(!timing)
STOP_PROCESSING(SSfastprocess, src)
Expand All @@ -310,8 +310,8 @@
qdel(src)
else
if(!(sec_left % 60) && !announced)
var/message = "[sec_left] SECONDS UNTIL DOOMSDAY DEVICE ACTIVATION!"
GLOB.major_announcement.Announce(message, "ERROR ER0RR $R0RRO$!R41.%%!!(%$^^__+ @#F0E4", 'sound/misc/notice1.ogg')
var/message = "[sec_left] СЕКУНД ДО АКТИВАЦИИ УСТРОЙСТВА СУДНОГО ДНЯ!"
GLOB.major_announcement.Announce(message, "ОШИБКА ОШИБКА $ОШИБК$!Р41.%%!!(%$^^__+ @#F0E4", 'sound/misc/notice1.ogg')
announced = 10
announced = max(0, announced-1)

Expand Down
4 changes: 2 additions & 2 deletions code/game/gamemodes/nuclear/nuclear_challenge.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
to_chat(user, "On second thought, the element of surprise isn't so bad after all.")
return

var/war_declaration = "[user.real_name] has declared [user.p_their()] intent to utterly destroy [station_name()] with a nuclear device, and dares the crew to try and stop them."
var/war_declaration = "[user.real_name] заявил(-а) о намерении уничтожить станцию [station_name()] с помощью ядерного устройства и бросает вызов экипажу, чтобы те попытались остановить их."

declaring_war = TRUE
var/custom_threat = alert(user, "Do you want to customize your declaration?", "Customize?", "Yes", "No")
Expand All @@ -48,7 +48,7 @@
if(!check_allowed(user) || !war_declaration)
return

GLOB.major_announcement.Announce(war_declaration, "Declaration of War", '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
2 changes: 1 addition & 1 deletion code/game/gamemodes/revolution/revolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
if(SSshuttle.emergency.mode == SHUTTLE_STRANDED)
SSshuttle.emergency.mode = SHUTTLE_DOCKED
SSshuttle.emergency.timer = world.time
GLOB.major_announcement.Announce("Hostile environment resolved. You have 3 minutes to board the Emergency Shuttle.", null, 'sound/AI/eshuttle_dock.ogg')
GLOB.major_announcement.Announce("Враждебное окружение нейтрализовано. У вас есть 3 минуты, чтобы прибыть на борт эвакуационного шаттла.", null, 'sound/AI/eshuttle_dock.ogg')
return ..()
if(finished)
return TRUE
Expand Down
6 changes: 3 additions & 3 deletions code/game/machinery/computer/communications.dm
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
Nuke_request(input, ui.user)
to_chat(ui.user, "<span class='notice'>Request sent.</span>")
log_game("[key_name(ui.user)] has requested the nuclear codes from Centcomm")
GLOB.major_announcement.Announce("The codes for the on-station nuclear self-destruct have been requested by [ui.user]. Confirmation or denial of this request will be sent shortly.", "Nuclear Self Destruct Codes Requested",'sound/AI/commandreport.ogg')
GLOB.major_announcement.Announce("[ui.user] запросил коды для запуска механизма ядерного самоуничтожения станции. В ближайшее время будет отправлено уведомление о подтверждении или отклонении данного запроса.", "ВНИМАНИЕ: Запрос кода самоуничтожения станции.",'sound/AI/commandreport.ogg')
centcomm_message_cooldown = world.time + 6000 // 10 minutes
setMenuState(ui.user, COMM_SCREEN_MAIN)

Expand Down Expand Up @@ -367,13 +367,13 @@
if(!text2bool(params["classified"]))
GLOB.major_announcement.Announce(
params["text"],
new_title = "Central Command Report",
new_title = "Сообщение Центрального Командования",
new_subtitle = params["subtitle"],
new_sound = cc_announcement_sounds[params["beepsound"]]
)
print_command_report(params["text"], params["subtitle"])
else
GLOB.command_announcer.autosay("A classified message has been printed out at all communication consoles.")
GLOB.command_announcer.autosay("На всех коммуникационных консолях было распечатано конфиденциальное сообщение.")
print_command_report(params["text"], "Classified: [params["subtitle"]]")

log_and_message_admins("has created a communications report: [params["text"]]")
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/slotmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
switch(rand(1, 5000))
if(1)
atom_say("JACKPOT! [userName] has won two thousand credits!")
GLOB.minor_announcement.Announce("Congratulations to [userName] on winning the Jackpot of TWO THOUSAND CREDITS!", "Jackpot Winner")
GLOB.minor_announcement.Announce("Поздравляем [userName] с выигрышем джекпота в ДВЕ ТЫСЯЧИ КРЕДИТОВ!", "Обладатель Джекпота!")
result = "JACKPOT! You win two thousand credits!"
resultlvl = "teal"
win_money(2000, 'sound/goonstation/misc/airraid_loop.ogg')
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/effects/anomalies.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
var/turf/turf_to = get_turf(chosen) // the turf of origin we're travelling TO

playsound(turf_to, 'sound/effects/phasein.ogg', 100, TRUE)
GLOB.minor_announcement.Announce("Massive bluespace translocation detected.", "Anomaly Alert")
GLOB.minor_announcement.Announce("Обнаружено масштабное перемещение Блюспейс энергии.", "ВНИМАНИЕ: Обнаружена аномалия.")

var/list/flashers = list()
for(var/mob/living/carbon/C in viewers(turf_to, null))
Expand Down
Loading