Skip to content

Commit

Permalink
Да и нет.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Mar 1, 2023
1 parent b141ca6 commit b34a38c
Show file tree
Hide file tree
Showing 31 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/syndicatebomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
if(in_range(src, user) && isliving(user)) //No running off and setting bombs from across the station
timer_set = clamp(new_timer, minimum_timer, maximum_timer)
loc.visible_message("<span class='notice'>[icon2html(src, viewers(src))] timer set for [timer_set] seconds.</span>")
if(alert(user,"Would you like to start the countdown now?",,"Да","Нет") == "Yes" && in_range(src, user) && isliving(user))
if(alert(user,"Would you like to start the countdown now?",,"Да","Нет") == "Да" && in_range(src, user) && isliving(user))
if(defused || active)
if(defused)
visible_message("<span class='warning'>[icon2html(src, viewers(src))] Device error: User intervention required.</span>")
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/PDA/PDA.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ GLOBAL_LIST_EMPTY(PDAs)

if(aicamera.stored.len)
var/add_photo = input(user,"Do you want to attach a photo?","Photo","No") as null|anything in list("Да","Нет")
if(add_photo=="Yes")
if(add_photo=="Да")
var/datum/picture/Pic = aicamera.selectpicture(user)
aiPDA.picture = Pic

Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/objs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@
if(action_type == "Cancel" || !action_type)
return

if(alert("Are you really sure you want to delete all objects of type [type]?",,"Да","Нет") != "Yes")
if(alert("Are you really sure you want to delete all objects of type [type]?",,"Да","Нет") != "Да")
return

if(alert("Second confirmation required. Delete?",,"Да","Нет") != "Yes")
if(alert("Second confirmation required. Delete?",,"Да","Нет") != "Да")
return

var/O_type = type
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/structures/ghost_role_spawners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
/obj/effect/mob_spawn/human/golem/on_attack_hand(mob/user, act_intent = user.a_intent, unarmed_attack_flags)
if(isgolem(user) && can_transfer)
var/transfer_choice = alert("Transfer your soul to [src]? (Warning, your old body will die!)",,"Да","Нет")
if(transfer_choice != "Yes" || QDELETED(src) || uses <= 0 || !user.canUseTopic(src, BE_CLOSE, NO_DEXTERY, NO_TK))
if(transfer_choice != "Да" || QDELETED(src) || uses <= 0 || !user.canUseTopic(src, BE_CLOSE, NO_DEXTERY, NO_TK))
return
log_game("[key_name(user)] golem-swapped into [src]")
user.visible_message("<span class='notice'>A faint light leaves [user], moving to [src] and animating it!</span>","<span class='notice'>You leave your old body behind, and transfer into [src]!</span>")
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ GLOBAL_PROTECT(admin_verbs_hideable)
if(flash_range == null)
return
if(devastation_range > GLOB.MAX_EX_DEVESTATION_RANGE || heavy_impact_range > GLOB.MAX_EX_HEAVY_RANGE || light_impact_range > GLOB.MAX_EX_LIGHT_RANGE || flash_range > GLOB.MAX_EX_FLASH_RANGE)
if(alert("Bomb is bigger than the maxcap. Continue?",,"Да","Нет") != "Yes")
if(alert("Bomb is bigger than the maxcap. Continue?",,"Да","Нет") != "Да")
return
epicenter = mob.loc //We need to reupdate as they may have moved again
explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range, TRUE, TRUE)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/admin/callproc/callproc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var/returnval

switch(alert("Proc owned by something?",,"Да","Нет"))
if("Yes")
if("Да")
targetselected = TRUE
var/list/value = vv_get_value(default_class = VV_ATOM_REFERENCE, classes = list(VV_ATOM_REFERENCE, VV_DATUM_REFERENCE, VV_MOB_REFERENCE, VV_CLIENT, VV_MARKED_DATUM, VV_TEXT_LOCATE, VV_PROCCALL_RETVAL))
if (!value["class"] || !value["value"])
Expand All @@ -22,7 +22,7 @@
if(!istype(target))
to_chat(usr, "<span class='danger'>Invalid target.</span>", confidential = TRUE)
return
if("No")
if("Нет")
target = null
targetselected = FALSE

Expand Down
12 changes: 6 additions & 6 deletions code/modules/admin/create_poll.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
qdel(query_validate_time)
var/adminonly
switch(alert("Admin only poll?",,"Да","Нет","Cancel"))
if("Yes")
if("Да")
adminonly = 1
if("No")
if("Нет")
adminonly = 0
else
return
var/dontshow
switch(alert("Hide poll results from tracking until completed?",,"Да","Нет","Cancel"))
if("Yes")
if("Да")
dontshow = 1
if("No")
if("Нет")
dontshow = 0
else
return
Expand All @@ -77,9 +77,9 @@
var/default_percentage_calc = 0
if(polltype != POLLTYPE_IRV)
switch(alert("Should this option be included by default when poll result percentages are generated?",,"Да","Нет","Cancel"))
if("Yes")
if("Да")
default_percentage_calc = 1
if("No")
if("Нет")
default_percentage_calc = 0
else
return
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/fun_balloon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
if(!user.client || !user.client.holder || popped)
return
var/confirmation = alert("Pop [src]?","Fun Balloon","Да","Нет")
if(confirmation == "Yes" && !popped)
if(confirmation == "Да" && !popped)
popped = TRUE
effect()
pop()
Expand Down
4 changes: 2 additions & 2 deletions code/modules/admin/sql_message_system.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
server = ssqlname
if(isnull(secret))
switch(alert("Hide note from being viewed by players?", "Secret note?","Да","Нет","Cancel"))
if("Yes")
if("Да")
secret = 1
if("No")
if("Нет")
secret = 0
else
return
Expand Down
14 changes: 7 additions & 7 deletions code/modules/admin/stickyban.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
if (!ban)
to_chat(usr, "<span class='adminnotice'>Error: No sticky ban for [ckey] found!</span>", confidential = TRUE)
return
if (alert("Are you sure you want to remove the sticky ban on [ckey]?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to remove the sticky ban on [ckey]?","Are you sure","Да","Нет") == "Нет")
return
if (!get_stickyban_from_ckey(ckey))
to_chat(usr, "<span class='adminnotice'>Error: The ban disappeared.</span>", confidential = TRUE)
Expand Down Expand Up @@ -98,7 +98,7 @@
to_chat(usr, "<span class='adminnotice'>Error: [alt] is not linked to [ckey]'s sticky ban!</span>", confidential = TRUE)
return

if (alert("Are you sure you want to disassociate [alt] from [ckey]'s sticky ban? \nNote: Nothing stops byond from re-linking them, Use \[E] to exempt them","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to disassociate [alt] from [ckey]'s sticky ban? \nNote: Nothing stops byond from re-linking them, Use \[E] to exempt them","Are you sure","Да","Нет") == "Нет")
return

//we have to do this again incase something changes
Expand Down Expand Up @@ -180,7 +180,7 @@
to_chat(usr, "<span class='adminnotice'>Error: [alt] is not linked to [ckey]'s sticky ban!</span>", confidential = TRUE)
return

if (alert("Are you sure you want to exempt [alt] from [ckey]'s sticky ban?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to exempt [alt] from [ckey]'s sticky ban?","Are you sure","Да","Нет") == "Нет")
return

//we have to do this again incase something changes
Expand Down Expand Up @@ -230,7 +230,7 @@
to_chat(usr, "<span class='adminnotice'>Error: [alt] is not exempt from [ckey]'s sticky ban!</span>", confidential = TRUE)
return

if (alert("Are you sure you want to unexempt [alt] from [ckey]'s sticky ban?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to unexempt [alt] from [ckey]'s sticky ban?","Are you sure","Да","Нет") == "Нет")
return

//we have to do this again incase something changes
Expand Down Expand Up @@ -272,7 +272,7 @@

var/ckey = data["ckey"]

if (alert("Are you sure you want to put [ckey]'s stickyban on timeout until next round (or removed)?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to put [ckey]'s stickyban on timeout until next round (or removed)?","Are you sure","Да","Нет") == "Нет")
return
var/ban = get_stickyban_from_ckey(ckey)
if (!ban)
Expand All @@ -298,7 +298,7 @@
return
var/ckey = data["ckey"]

if (alert("Are you sure you want to lift the timeout on [ckey]'s stickyban?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to lift the timeout on [ckey]'s stickyban?","Are you sure","Да","Нет") == "Нет")
return

var/ban = get_stickyban_from_ckey(ckey)
Expand All @@ -323,7 +323,7 @@
if (!data["ckey"])
return
var/ckey = data["ckey"]
if (alert("Are you sure you want to revert the sticky ban on [ckey] to its state at round start (or last edit)?","Are you sure","Да","Нет") == "No")
if (alert("Are you sure you want to revert the sticky ban on [ckey] to its state at round start (or last edit)?","Are you sure","Да","Нет") == "Нет")
return
var/ban = get_stickyban_from_ckey(ckey)
if (!ban)
Expand Down
42 changes: 21 additions & 21 deletions code/modules/admin/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,10 @@
return

var/delmob = 0
switch(alert("Delete old mob?","Message","Да","Нет","Cancel"))
if("Cancel")
switch(alert("Delete old mob?","Message","Да","Нет","Отмена"))
if("Отмена")
return
if("Yes")
if("Да")
delmob = 1

log_admin("[key_name(usr)] has used rudimentary transformation on [key_name(M)]. Transforming to [href_list["simplemake"]].; deletemob=[delmob]")
Expand Down Expand Up @@ -535,7 +535,7 @@
var/duration

switch(alert("Temporary Ban for [banned_key]?",,"Да","Нет"))
if("Yes")
if("Да")
temp = 1
var/mins = 0
if(minutes > GLOB.CMinutes)
Expand All @@ -549,7 +549,7 @@
reason = input(usr,"Please State Reason For Banning [banned_key].","Reason",reason2) as message|null
if(!reason)
return
if("No")
if("Нет")
temp = 0
duration = "Perma"
reason = input(usr,"Please State Reason For Banning [banned_key].","Reason",reason2) as message|null
Expand Down Expand Up @@ -583,7 +583,7 @@

if(jobban_isbanned(M, "appearance"))
switch(alert("Remove appearance ban?","Please Confirm","Да","Нет"))
if("Yes")
if("Да")
ban_unban_log_save("[key_name(usr)] removed [key_name(M)]'s appearance ban.")
log_admin_private("[key_name(usr)] removed [key_name(M)]'s appearance ban.")
DB_ban_unban(M.ckey, BANTYPE_ANY_JOB, "appearance")
Expand All @@ -593,7 +593,7 @@
to_chat(M, "<span class='boldannounce'><BIG>[usr.client.key] has removed your appearance ban.</BIG></span>")

else switch(alert("Appearance ban [M.key]?",,"Да","Нет", "Cancel"))
if("Yes")
if("Да")
var/reason = input(usr,"Please State Reason.","Reason") as message|null
if(!reason)
return
Expand All @@ -617,7 +617,7 @@
to_chat(M, "<span class='danger'>To try to resolve this matter head to [bran]</span>")
else
to_chat(M, "<span class='danger'>No ban appeals URL has been set.</span>")
if("No")
if("Нет")
return

else if(href_list["jobban2"])
Expand Down Expand Up @@ -1023,7 +1023,7 @@
if(notbannedlist.len) //at least 1 unbanned job exists in joblist so we have stuff to ban.
var/severity = null
switch(alert("Temporary Ban for [M.key]?",,"Да","Нет", "Cancel"))
if("Yes")
if("Да")
var/mins = input(usr,"How long (in minutes)?","Ban time",1440) as num|null
if(mins <= 0)
to_chat(usr, "<span class='danger'>[mins] is not a valid duration.</span>")
Expand Down Expand Up @@ -1054,7 +1054,7 @@
to_chat(M, "<span class='danger'>This jobban will be lifted in [mins] minutes.</span>")
href_list["jobban2"] = 1 // lets it fall through and refresh
return 1
if("No")
if("Нет")
var/reason = input(usr,"Please State Reason For Banning [M.key].","Reason") as message|null
severity = input("Set the severity of the note/ban.", "Severity", null, null) as null|anything in list("High", "Medium", "Minor", "None")
if(!severity)
Expand Down Expand Up @@ -1092,7 +1092,7 @@
if(!reason)
continue //skip if it isn't jobbanned anyway
switch(alert("Job: '[job]' Reason: '[reason]' Un-jobban?","Please Confirm","Да","Нет"))
if("Yes")
if("Да")
ban_unban_log_save("[key_name(usr)] unjobbanned [key_name(M)] from [job]")
log_admin_private("[key_name(usr)] unbanned [key_name(M)] from [job]")
DB_ban_unban(M.ckey, BANTYPE_ANY_JOB, job)
Expand Down Expand Up @@ -1174,15 +1174,15 @@
if(!check_rights(R_ADMIN))
return
var/safety = alert("Delete message/note?",,"Да","Нет");
if (safety == "Yes")
if (safety == "Да")
var/message_id = href_list["deletemessage"]
delete_message(message_id)

else if(href_list["deletemessageempty"])
if(!check_rights(R_ADMIN))
return
var/safety = alert("Delete message/note?",,"Да","Нет");
if (safety == "Yes")
if (safety == "Да")
var/message_id = href_list["deletemessageempty"]
delete_message(message_id, browse = TRUE)

Expand Down Expand Up @@ -1298,8 +1298,8 @@
if(M.client && M.client.holder)
return //admins cannot be banned. Even if they could, the ban doesn't affect them anyway

switch(alert("Temporary Ban for [M.key]?",,"Да","Нет", "Cancel"))
if("Yes")
switch(alert("Temporary Ban for [M.key]?",,"Да","Нет", "Отмена"))
if("Да")
var/mins = input(usr,"How long (in minutes)?","Ban time",1440) as num|null
if(mins <= 0)
to_chat(usr, "<span class='danger'>[mins] is not a valid duration.</span>")
Expand All @@ -1326,16 +1326,16 @@
if(AH)
AH.Resolve()
qdel(M.client)
if("No")
if("Нет")
var/reason = input(usr,"Please State Reason For Banning [M.key].","Reason") as message|null
if(!reason)
return
switch(alert(usr,"IP ban?",,"Да","Нет","Cancel"))
if("Cancel")
switch(alert(usr,"IP ban?",,"Да","Нет","Отмена"))
if("Отмена")
return
if("Yes")
if("Да")
AddBan(M.ckey, M.computer_id, reason, usr.ckey, 0, 0, M.lastKnownIP)
if("No")
if("Нет")
AddBan(M.ckey, M.computer_id, reason, usr.ckey, 0, 0)
to_chat(M, "<span class='boldannounce'><BIG>You have been banned by [usr.client.key].\nReason: [reason]</BIG></span>")
to_chat(M, "<span class='danger'>This is a permanent ban. The round ID is [GLOB.round_id].</span>")
Expand All @@ -1355,7 +1355,7 @@
if(AH)
AH.Resolve()
qdel(M.client)
if("Cancel")
if("Отмена")
return

else if(href_list["mute"])
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/adminhelp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)

SSblackbox.record_feedback("tally", "admin_verb", 1, "Adminhelp") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
if(current_ticket)
if(alert(usr, "You already have a ticket open. Is this for the same issue?",,"Да","Нет") != "No")
if(alert(usr, "You already have a ticket open. Is this for the same issue?",,"Да","Нет") != "Нет")
if(current_ticket)
current_ticket.MessageNoRecipient(msg)
current_ticket.TimeoutVerb()
Expand Down
8 changes: 4 additions & 4 deletions code/modules/admin/verbs/debug.dm
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
set desc = "Direct intervention"

if(M.ckey)
if(alert("This mob is being controlled by [M.key]. Are you sure you wish to assume control of it? [M.key] will be made a ghost.",,"Да","Нет") != "Yes")
if(alert("This mob is being controlled by [M.key]. Are you sure you wish to assume control of it? [M.key] will be made a ghost.",,"Да","Нет") != "Да")
return
else
var/mob/dead/observer/ghost = new/mob/dead/observer(get_turf(M), M)
Expand All @@ -236,12 +236,12 @@
if(!M)
return
if(M.ckey)
if(alert("This mob is being controlled by [M.key]. Are you sure you wish to give someone else control of it? [M.key] will be made a ghost.",,"Да","Нет") != "Yes")
if(alert("This mob is being controlled by [M.key]. Are you sure you wish to give someone else control of it? [M.key] will be made a ghost.",,"Да","Нет") != "Да")
return
var/client/newkey = input(src, "Pick the player to put in control.", "New player") as null|anything in sortList(GLOB.clients)
var/mob/oldmob = newkey.mob
var/delmob = FALSE
if((isobserver(oldmob) || alert("Do you want to delete [newkey]'s old mob?","Delete?","Да","Нет") != "No"))
if((isobserver(oldmob) || alert("Do you want to delete [newkey]'s old mob?","Delete?","Да","Нет") != "Нет"))
delmob = TRUE
if(!M || QDELETED(M))
to_chat(usr, "<span class='warning'>The target mob no longer exists, aborting.</span>")
Expand Down Expand Up @@ -545,7 +545,7 @@
set name = "Start Singularity"
set desc = "Sets up the singularity and all machines to get power flowing through the station"

if(alert("Are you sure? This will start up the engine. Should only be used during debug!",,"Да","Нет") != "Yes")
if(alert("Are you sure? This will start up the engine. Should only be used during debug!",,"Да","Нет") != "Да")
return

for(var/obj/machinery/power/emitter/E in GLOB.machines)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/map_template_loadverb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
var/choice = input(src, "Which orientation? Maps are normally facing SOUTH.", "Template Orientation", "South") as null|anything in orientations
var/orientation = orientations[choice]
images += preview
if(alert(src,"Confirm location.","Template Confirm","Да","Нет") == "Yes")
if(alert(src,"Confirm location.","Template Confirm","Да","Нет") == "Да")
if(template.load(T, centered = TRUE, orientation = orientation))
message_admins("<span class='adminnotice'>[key_name_admin(src)] has placed a map template ([template.name]) at [ADMIN_COORDJMP(T)]</span>")
else
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/secrets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
if(!is_funmin)
return
if(!SSevents.wizardmode)
if(alert("Do you want to toggle summon events on?",,"Да","Нет") == "Yes")
if(alert("Do you want to toggle summon events on?",,"Да","Нет") == "Да")
summonevents()
SSblackbox.record_feedback("nested tally", "admin_secrets_fun_used", 1, list("Summon Events", "Activate"))

Expand Down
Loading

0 comments on commit b34a38c

Please sign in to comment.