Skip to content

Commit

Permalink
Translate stuff (#562)
Browse files Browse the repository at this point in the history
## About The Pull Request
Перевод всякой всячины
  • Loading branch information
larentoun authored Oct 13, 2024
1 parent 7606690 commit 6df7c65
Show file tree
Hide file tree
Showing 26 changed files with 67 additions and 67 deletions.
28 changes: 14 additions & 14 deletions code/game/machinery/_machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
return FALSE

if((interaction_flags_machine & INTERACT_MACHINE_REQUIRES_SIGHT) && user.is_blind())
to_chat(user, span_warning("This machine requires sight to use."))
to_chat(user, span_warning("Чтобы воспользоваться этой машиной, нужно иметь зрение."))
return FALSE

// machines have their own lit up display screens and LED buttons so we don't need to check for light
Expand Down Expand Up @@ -695,7 +695,7 @@
add_fingerprint(user)
update_last_used(user)
if(isAI(user) && !GLOB.cameranet.checkTurfVis(get_turf(src))) //We check if they're an AI specifically here, so borgs/adminghosts/human wand can still access off-camera stuff.
to_chat(user, span_warning("You can no longer connect to this device!"))
to_chat(user, span_warning("Вы больше не можете взаимодействовать с этим устройством!"))
return FALSE
return ..()

Expand Down Expand Up @@ -832,7 +832,7 @@
if(!.)
return
crowbar.play_tool_sound(src, 50)
visible_message(span_notice("[usr] pries open \the [src]."), span_notice("You pry open \the [src]."))
visible_message(span_notice("[capitalize(usr.declent_ru(NOMINATIVE))] вскрывает [declent_ru(ACCUSATIVE)]."), span_notice("Вы вскрываете [declent_ru(ACCUSATIVE)]."))
open_machine(density_to_set = open_density)
if (close_after_pry) //Should it immediately close after prying? (If not, it must be closed elsewhere)
close_machine(density_to_set = closed_density)
Expand Down Expand Up @@ -966,10 +966,10 @@
toggle_panel_open()
if(panel_open)
icon_state = icon_state_open
to_chat(user, span_notice("You open the maintenance hatch of [src]."))
to_chat(user, span_notice("Вы открываете панель обслуживания [declent_ru(GENITIVE)]."))
else
icon_state = icon_state_closed
to_chat(user, span_notice("You close the maintenance hatch of [src]."))
to_chat(user, span_notice("Вы закрываете панель обслуживания [declent_ru(GENITIVE)]."))
return TRUE

/obj/machinery/proc/default_change_direction_wrench(mob/user, obj/item/wrench)
Expand All @@ -978,7 +978,7 @@

wrench.play_tool_sound(src, 50)
setDir(turn(dir,-90))
to_chat(user, span_notice("You rotate [src]."))
to_chat(user, span_notice("Вы поворачиваете [declent_ru(ACCUSATIVE)]."))
SEND_SIGNAL(src, COMSIG_MACHINERY_DEFAULT_ROTATE_WRENCH, user, wrench)
return TRUE

Expand Down Expand Up @@ -1047,7 +1047,7 @@
break
if(secondary_part.get_part_rating() > current_rating)
//store name of part incase we qdel it below
var/secondary_part_name = secondary_part.name
var/secondary_part_name = secondary_part.declent_ru(ACCUSATIVE)
if(replacer_tool.atom_storage.attempt_remove(secondary_part, src))
if (istype(primary_part_base, /datum/stock_part))
var/stock_part_datum = GLOB.stock_part_datums_per_object[secondary_part.type]
Expand All @@ -1072,7 +1072,7 @@
physical_part = primary_part_base

replacer_tool.atom_storage.attempt_insert(physical_part, user, TRUE, force = STORAGE_SOFT_LOCKED)
to_chat(user, span_notice("[capitalize(physical_part.name)] replaced with [secondary_part_name]."))
to_chat(user, span_notice("[capitalize(physical_part.declent_ru(NOMINATIVE))] заменяется на [secondary_part_name]."))
shouldplaysound = TRUE //Only play the sound when parts are actually replaced!
break

Expand Down Expand Up @@ -1117,7 +1117,7 @@
part_count[component] = board.req_components[component]


var/text = span_notice("It contains the following parts:")
var/text = span_notice("Внутри имеются следующие компоненты:")
for(var/component_part in part_count)
var/part_name
var/icon/html_icon
Expand All @@ -1141,16 +1141,16 @@
/obj/machinery/examine(mob/user)
. = ..()
if(machine_stat & BROKEN)
. += span_notice("It looks broken and non-functional.")
. += span_notice("Выглядит сломано и нефункционально.")
if(!(resistance_flags & INDESTRUCTIBLE))
var/healthpercent = (atom_integrity/max_integrity) * 100
switch(healthpercent)
if(50 to 99)
. += "It looks slightly damaged."
. += "Имеет незначительные повреждения."
if(25 to 50)
. += "It appears heavily damaged."
. += "Имеет значительные повреждения."
if(0 to 25)
. += span_warning("It's falling apart!")
. += span_warning("Разваливается на части!")

/obj/machinery/examine_descriptor(mob/user)
return "машина"
Expand Down Expand Up @@ -1214,7 +1214,7 @@
* However, the proc may also be used elsewhere.
*/
/obj/machinery/proc/AI_notify_hack()
var/alertstr = span_userdanger("Network Alert: Hacking attempt detected[get_area(src)?" in [get_area_name(src, TRUE)]":". Unable to pinpoint location"].")
var/alertstr = span_userdanger("Сетевая тревога: Обнаружена попытка взлома[get_area(src)?" в [get_area_name(src, TRUE)]":". Невозможно определить местоположение"].")
for(var/mob/living/silicon/ai/AI in GLOB.player_list)
to_chat(AI, alertstr)

Expand Down
6 changes: 3 additions & 3 deletions code/game/machinery/barsigns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/barsign, 32)
if(.)
return
if(!allowed(user))
balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
return
if(machine_stat & (NOPOWER|BROKEN|EMPED))
balloon_alert(user, "controls are unresponsive!")
Expand All @@ -140,7 +140,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/barsign, 32)

/obj/machinery/barsign/wrench_act(mob/living/user, obj/item/tool)
if(!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_BLOCKING

tool.play_tool_sound(src)
Expand All @@ -155,7 +155,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/barsign, 32)

if(istype(attacking_item, /obj/item/blueprints) && !change_area_name)
if(!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return TRUE

change_area_name = TRUE
Expand Down
10 changes: 5 additions & 5 deletions code/game/machinery/doors/poddoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
balloon_alert(user, "open the door first!")
return ITEM_INTERACT_BLOCKING
if(!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_BLOCKING
var/obj/item/assembly/control/controller_item = tool
id = controller_item.id
Expand All @@ -131,7 +131,7 @@
balloon_alert(user, "open the door first!")
return ITEM_INTERACT_SUCCESS
if (!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_SUCCESS
if (deconstruction != BLASTDOOR_FINISHED)
return
Expand All @@ -152,7 +152,7 @@
balloon_alert(user, "open the door first!")
return ITEM_INTERACT_SUCCESS
if (!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_SUCCESS
if (deconstruction != BLASTDOOR_FINISHED)
return
Expand All @@ -170,7 +170,7 @@
balloon_alert(user, "open the door first!")
return ITEM_INTERACT_SUCCESS
if (!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_SUCCESS
if (deconstruction != BLASTDOOR_NEEDS_ELECTRONICS)
return
Expand All @@ -189,7 +189,7 @@
balloon_alert(user, "open the door first!")
return ITEM_INTERACT_SUCCESS
if (!panel_open)
balloon_alert(user, "open the panel first!")
balloon_alert(user, "нужно открыть панель!")
return ITEM_INTERACT_SUCCESS
if (deconstruction != BLASTDOOR_NEEDS_WIRES)
return
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/photobooth.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
if(allowed(user))
start_taking_pictures()
else
balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
return ..()

Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/suit_storage_unit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
return FALSE

if(!allowed(user))
balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
return FALSE

return TRUE
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/cards_ids.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@
/obj/item/card/id/advanced/prisoner/proc/set_sentence_time(mob/living/user, obj/item/card/id/our_card)
var/list/id_access = our_card.GetAccess()
if(!(ACCESS_BRIG in id_access))
balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
return ITEM_INTERACT_BLOCKING
if(!user.is_holding(src))
to_chat(user, span_warning("You must be holding the ID to continue!"))
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/rcd/RPLD.dm
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@

var/obj/machinery/machine_target = interacting_with
if(machine_target.anchored)
balloon_alert(user, "unanchor first!")
balloon_alert(user, "нужно открутить!")
return ITEM_INTERACT_BLOCKING
if(do_after(user, 2 SECONDS, target = interacting_with))
machine_target.deconstruct() //Let's not substract matter
Expand Down
6 changes: 3 additions & 3 deletions code/game/objects/items/shields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
var/healthpercent = round((atom_integrity/max_integrity) * 100, 1)
switch(healthpercent)
if(50 to 99)
. += span_info("It looks slightly damaged.")
. += span_info("Имеет незначительные повреждения.")
if(25 to 50)
. += span_info("It appears heavily damaged.")
. += span_info("Имеет значительные повреждения.")
if(0 to 25)
. += span_warning("It's falling apart!")
. += span_warning("Разваливается на части!")

/obj/item/shield/item_interaction(mob/living/user, obj/item/tool, list/modifiers, is_right_clicking)
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/storage/lockbox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
if(check_access(id_card))
return TRUE

balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
return FALSE

/obj/item/storage/lockbox/update_icon_state()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/obj_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
else
playsound(src, 'sound/effects/bang.ogg', 50, TRUE)
var/damage = take_damage(hulk_damage(), BRUTE, MELEE, 0, get_dir(src, user))
user.visible_message(span_danger("[user] smashes [src][damage ? "" : ", [no_damage_feedback]"]!"), span_danger("You smash [src][damage ? "" : ", [no_damage_feedback]"]!"), null, COMBAT_MESSAGE_RANGE)
user.visible_message(span_danger("[capitalize(user.declent_ru(NOMINATIVE))] крушит [declent_ru(ACCUSATIVE)][damage ? "" : ", [no_damage_feedback]"]!"), span_danger("Вы крушите [declent_ru(ACCUSATIVE)][damage ? "" : ", [no_damage_feedback]"]!"), null, COMBAT_MESSAGE_RANGE)
return TRUE

/obj/blob_act(obj/structure/blob/B)
Expand Down
10 changes: 5 additions & 5 deletions code/game/objects/objs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ GLOBAL_LIST_EMPTY(objects_by_id_tag)
/// If we can unwrench this object; returns SUCCESSFUL_UNFASTEN and FAILED_UNFASTEN, which are both TRUE, or CANT_UNFASTEN, which isn't.
/obj/proc/can_be_unfasten_wrench(mob/user, silent)
if(!(isfloorturf(loc) || isindestructiblefloor(loc)) && !anchored)
to_chat(user, span_warning("[src] needs to be on the floor to be secured!"))
to_chat(user, span_warning("[capitalize(declent_ru(NOMINATIVE))] не имеет под собой пол, к которому можно было бы прикрутить!"))
return FAILED_UNFASTEN
return SUCCESSFUL_UNFASTEN

Expand All @@ -250,22 +250,22 @@ GLOBAL_LIST_EMPTY(objects_by_id_tag)

var/turf/ground = get_turf(src)
if(!anchored && ground.is_blocked_turf(exclude_mobs = TRUE, source_atom = src))
to_chat(user, span_notice("You fail to secure [src]."))
to_chat(user, span_notice("Вам не удалось прикрутить [declent_ru(ACCUSATIVE)]."))
return CANT_UNFASTEN
var/can_be_unfasten = can_be_unfasten_wrench(user)
if(!can_be_unfasten || can_be_unfasten == FAILED_UNFASTEN)
return can_be_unfasten
if(time)
to_chat(user, span_notice("You begin [anchored ? "un" : ""]securing [src]..."))
to_chat(user, span_notice("Вы начинаете [anchored ? "от" : "при"]креплять [declent_ru(ACCUSATIVE)]..."))
wrench.play_tool_sound(src, 50)
var/prev_anchored = anchored
//as long as we're the same anchored state and we're either on a floor or are anchored, toggle our anchored state
if(!wrench.use_tool(src, user, time, extra_checks = CALLBACK(src, PROC_REF(unfasten_wrench_check), prev_anchored, user)))
return FAILED_UNFASTEN
if(!anchored && ground.is_blocked_turf(exclude_mobs = TRUE, source_atom = src))
to_chat(user, span_notice("You fail to secure [src]."))
to_chat(user, span_notice("Вам не удалось прикрутить [declent_ru(ACCUSATIVE)]."))
return CANT_UNFASTEN
to_chat(user, span_notice("You [anchored ? "un" : ""]secure [src]."))
to_chat(user, span_notice("Вы [anchored ? "от" : "при"]кручиваете [declent_ru(ACCUSATIVE)]."))
set_anchored(!anchored)
check_on_table()
playsound(src, 'sound/items/deconstruct.ogg', 50, TRUE)
Expand Down
12 changes: 6 additions & 6 deletions code/game/objects/structures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
. = ..()
if(!(resistance_flags & INDESTRUCTIBLE))
if(resistance_flags & ON_FIRE)
. += span_warning("It's on fire!")
. += span_warning("В огне!")
if(broken)
. += span_notice("It appears to be broken.")
. += span_notice("Кажется, сломано.")
var/examine_status = examine_status(user)
if(examine_status)
. += examine_status
Expand All @@ -51,12 +51,12 @@
var/healthpercent = (atom_integrity/max_integrity) * 100
switch(healthpercent)
if(50 to 99)
return "It looks slightly damaged."
return "Имеет незначительные повреждения."
if(25 to 50)
return "It appears heavily damaged."
return "Имеет значительные повреждения."
if(0 to 25)
if(!broken)
return span_warning("It's falling apart!")
return span_warning("Разваливается на части!")

/obj/structure/examine_descriptor(mob/user)
return "структура"
Expand All @@ -75,7 +75,7 @@

/// For when a mob comes flying through the window, smash it and damage the mob
/obj/structure/proc/smash_and_injure(mob/living/flying_mob, atom/oldloc, direction)
flying_mob.balloon_alert_to_viewers("smashed through!")
flying_mob.balloon_alert_to_viewers("пробивает собой!")
flying_mob.apply_damage(damage = rand(5, 15), damagetype = BRUTE, wound_bonus = 15, bare_wound_bonus = 25, sharpness = SHARP_EDGED, attack_direction = get_dir(src, oldloc))
new /obj/effect/decal/cleanable/glass(get_step(flying_mob, flying_mob.dir))
deconstruct(disassembled = FALSE)
2 changes: 1 addition & 1 deletion code/game/objects/structures/crates_lockers/closets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ GLOBAL_LIST_EMPTY(roundstart_station_closets)
if(!can_unlock(user, user.get_idcard(), registered_id))
error_msg = "not your locker!"
else if(!can_unlock(user, user.get_idcard()))
error_msg = "access denied!"
error_msg = "в доступе отказано!"
if(error_msg)
if(!silent)
balloon_alert(user, error_msg)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/bots/_bots.dm
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ GLOBAL_LIST_INIT(command_strings, list(
return
var/mob/the_user = ui.user
if(!allowed(the_user))
balloon_alert(the_user, "access denied!")
balloon_alert(the_user, "в доступе отказано!")
return

if(action == "lock")
Expand Down
6 changes: 3 additions & 3 deletions code/modules/modular_computers/computers/item/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@
var/healthpercent = round((atom_integrity/max_integrity) * 100, 1)
switch(healthpercent)
if(50 to 99)
. += span_info("It looks slightly damaged.")
. += span_info("Имеет незначительные повреждения.")
if(25 to 50)
. += span_info("It appears heavily damaged.")
. += span_info("Имеет значительные повреждения.")
if(0 to 25)
. += span_warning("It's falling apart!")
. += span_warning("Разваливается на части!")

if(long_ranged)
. += "It is upgraded with an experimental long-ranged network capabilities, picking up NTNet frequencies while further away."
Expand Down
2 changes: 1 addition & 1 deletion code/modules/plumbing/plumbers/_plumb_machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
return NONE

if(anchored)
balloon_alert(user, "unanchor first!")
balloon_alert(user, "нужно открутить!")
return ITEM_INTERACT_BLOCKING

if(I.tool_start_check(user, amount = 1))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/power/apc/apc_tool_act.dm
Original file line number Diff line number Diff line change
Expand Up @@ -488,4 +488,4 @@
balloon_alert(user, locked ? "locked" : "unlocked")
update_appearance()
else
balloon_alert(user, "access denied!")
balloon_alert(user, "в доступе отказано!")
2 changes: 1 addition & 1 deletion code/modules/power/floodlight.dm
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@

/obj/machinery/power/floodlight/cable_layer_act(mob/living/user, obj/item/tool)
if(anchored)
balloon_alert(user, "unanchor first!")
balloon_alert(user, "нужно открутить!")
return ITEM_INTERACT_BLOCKING
return ..()

Expand Down
2 changes: 1 addition & 1 deletion code/modules/power/tesla/coil.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if(panel_open)
return NONE
if(anchored)
balloon_alert(user, "unanchor first!")
balloon_alert(user, "нужно открутить!")
return ITEM_INTERACT_BLOCKING
return ..()

Expand Down
2 changes: 1 addition & 1 deletion code/modules/power/turbine/turbine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
balloon_alert(user, "turn it off!")
return
if(!anchored)
balloon_alert(user, "anchor first!")
balloon_alert(user, "нужно прикрутить!")
return

tool.play_tool_sound(src, 50)
Expand Down
Loading

0 comments on commit 6df7c65

Please sign in to comment.