From b9d487ea8f83b44afb8eb35b7428f368cca5c29a Mon Sep 17 00:00:00 2001
From: "V.E.R.G" <72622792+VERG-SS220@users.noreply.github.com>
Date: Thu, 14 Mar 2024 02:14:56 +0300
Subject: [PATCH] Update requests_console.dm
---
code/game/machinery/requests_console.dm | 38 ++++++++++++-------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/code/game/machinery/requests_console.dm b/code/game/machinery/requests_console.dm
index 63f3814b358f..2442a4c9ff4d 100644
--- a/code/game/machinery/requests_console.dm
+++ b/code/game/machinery/requests_console.dm
@@ -35,8 +35,8 @@ GLOBAL_LIST_EMPTY(req_console_information)
GLOBAL_LIST_EMPTY(allRequestConsoles)
/obj/machinery/requests_console
- name = "Requests Console"
- desc = "A console intended to send requests to different departments on the station."
+ name = "Консоль запросов"
+ desc = "Консоль, предназначанная для отправки запросов в другие отделы станции."
anchored = TRUE
icon = 'icons/obj/terminals.dmi'
icon_state = "req_comp_off"
@@ -94,9 +94,9 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
Radio.follow_target = src
. = ..()
- announcer.config.default_title = "[department] announcement"
+ announcer.config.default_title = "Оповещение от [department]"
- name = "[department] Requests Console"
+ name = "Консоль запросов [department]"
GLOB.allRequestConsoles += src
if(departmentType & RC_ASSIST)
GLOB.req_console_assistance |= department
@@ -144,7 +144,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
/obj/machinery/requests_console/ui_interact(mob/user, datum/tgui/ui = null)
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)
- ui = new(user, src, "RequestConsole", "[department] Request Console")
+ ui = new(user, src, "RequestConsole", "Консоль запросов [department]")
ui.open()
/obj/machinery/requests_console/ui_data(mob/user)
@@ -186,7 +186,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
if(reject_bad_text(params["write"]))
recipient = params["write"] //write contains the string of the receiving department's name
- var/new_message = tgui_input_text(usr, "Write your message:", "Awaiting Input", encode = FALSE)
+ var/new_message = tgui_input_text(usr, "Напишите своё сообщение:", "Ожидание ввода", encode = FALSE)
if(new_message)
message = new_message
screen = RCS_MESSAUTH
@@ -201,7 +201,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
reset_message(TRUE)
if("writeAnnouncement")
- var/new_message = tgui_input_text(usr, "Write your message:", "Awaiting Input", message, multiline = TRUE, encode = FALSE)
+ var/new_message = tgui_input_text(usr, "Напишите своё оповещение:", "Ожидание ввода", message, multiline = TRUE, encode = FALSE)
if(new_message)
message = new_message
else
@@ -243,10 +243,10 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
radiochannel = "AI Private"
else if(recipient in SUPPLY_ROLES)
radiochannel = "Supply"
- message_log.Add(list(list("Message sent to [recipient] at [station_time_timestamp()]", "[message]")))
- Radio.autosay("Alert; a new message has been received from [department]", "[recipient] Requests Console", "[radiochannel]")
+ message_log.Add(list(list("Сообщение отправлено [recipient] в [station_time_timestamp()]", "[message]")))
+ Radio.autosay("Внимание; новое сообщение от [department]", "Консоль запросов [recipient]", "[radiochannel]")
else
- atom_say("No server detected!")
+ atom_say("Сервер не обнаружен!")
//Handle screen switching
if("setScreen")
@@ -275,16 +275,16 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
if("printLabel")
var/error_message
if(!ship_tag_index)
- error_message = "Please select a destination."
+ error_message = "Выберите назначение."
else if(!msgVerified)
- error_message = "Please verify shipper ID."
+ error_message = "Предъявите ID поставщика."
else if(world.time < print_cooldown)
- error_message = "Please allow the printer time to prepare the next shipping label."
+ error_message = "Позвольте принтеру напечатать этикетку."
if(error_message)
atom_say("[error_message]")
return
print_label(ship_tag_name, ship_tag_index)
- shipping_log.Add(list(list("Shipping Label printed for [ship_tag_name]", "[msgVerified]"))) // List in a list for passing into TGUI
+ shipping_log.Add(list(list("Этикетка напечатана для [ship_tag_name]", "[msgVerified]"))) // List in a list for passing into TGUI
reset_message(TRUE)
//Handle silencing the console
@@ -298,7 +298,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
return
if(screen == RCS_MESSAUTH)
var/obj/item/card/id/T = I
- msgVerified = "Verified by [T.registered_name] ([T.assignment])"
+ msgVerified = "Подтверждено [T.registered_name] ([T.assignment])"
SStgui.update_uis(src)
if(screen == RCS_ANNOUNCE)
var/obj/item/card/id/ID = I
@@ -307,18 +307,18 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
announcer.author = ID.assignment ? "[ID.assignment] [ID.registered_name]" : ID.registered_name
else
reset_message()
- to_chat(user, "You are not authorized to send announcements.")
+ to_chat(user, "У вас нет допуска на отправку оповещений.")
SStgui.update_uis(src)
if(screen == RCS_SHIPPING)
var/obj/item/card/id/T = I
- msgVerified = "Sender verified as [T.registered_name] ([T.assignment])"
+ msgVerified = "Отправитель подтверждён как [T.registered_name] ([T.assignment])"
SStgui.update_uis(src)
if(istype(I, /obj/item/stamp))
if(inoperable(MAINT))
return
if(screen == RCS_MESSAUTH)
var/obj/item/stamp/T = I
- msgStamped = "Stamped with the [T.name]"
+ msgStamped = "Проштамповано [T.name]"
SStgui.update_uis(src)
else
return ..()
@@ -371,7 +371,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
reminder_timer_id = TIMER_ID_NULL
return
- atom_say("Unread message(s) available.")
+ atom_say("Есть непротичанное(-ые) сообщение(-я)")
/obj/machinery/requests_console/proc/print_label(tag_name, tag_index)
var/obj/item/shippingPackage/sp = new /obj/item/shippingPackage(get_turf(src))