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

Частичный перевод игры #533

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
4 changes: 2 additions & 2 deletions code/controllers/subsystem/events.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SUBSYSTEM_DEF(events)
//aka Badmin Central
/client/proc/force_event()
set name = "Trigger Event"
set category = "Admin.Fun"
set category = "Админ.Админ абьюз"

if(!holder ||!check_rights(R_FUN))
return
Expand All @@ -120,7 +120,7 @@ SUBSYSTEM_DEF(events)

/client/proc/toggle_events()
set name = "Toggle Events Subsystem"
set category = "Admin.Fun"
set category = "Админ.Админ абьюз"

if(!holder ||!check_rights(R_FUN))
return
Expand Down
58 changes: 29 additions & 29 deletions code/controllers/subsystem/persistence.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#define CURRENT_SEASON_DESC "current_season_description"

//Season names
#define SEASONAL_GUNS "seasonal_guns"
#define SEASONAL_HEAVY "seasonal_heavy"
#define SEASONAL_GUNS " Сезонное_оружие"
#define SEASONAL_HEAVY " Сезонное_тяжелое_оружие"

SUBSYSTEM_DEF(persistence)
name = "Persistence"
Expand Down Expand Up @@ -128,9 +128,9 @@ SUBSYSTEM_DEF(persistence)
var/season_name_first_letter = uppertext(copytext(season_name, 1, 2))
var/season_name_remainder = copytext(season_name, 2, length(season_name) + 1)
season_name = season_name_first_letter + season_name_remainder
message += span_seasons_announce("<b>[season_name]</b> - season [season_progress[season_entry][CURRENT_SEASON_NUMBER]]<br>")
message += span_season_additional_info("<b>Title:</b> [season_progress[season_entry][CURRENT_SEASON_NAME]]<br>")
message += span_season_additional_info("<b>Description:</b> [season_progress[season_entry][CURRENT_SEASON_DESC]]<br>")
message += span_seasons_announce("<b>[season_name]</b> - сезон [season_progress[season_entry][CURRENT_SEASON_NUMBER]]<br>")
message += span_season_additional_info("<b>Название:</b> [season_progress[season_entry][CURRENT_SEASON_NAME]]<br>")
message += span_season_additional_info("<b>Описание:</b> [season_progress[season_entry][CURRENT_SEASON_DESC]]<br>")

return message

Expand Down Expand Up @@ -200,8 +200,8 @@ SUBSYSTEM_DEF(persistence)
var/list/item_list = list()

/datum/season_datum/weapons/guns/rifle_seasonal_one
name = "Old Earth"
description = "Ancient Earth guns. Antique and obsolete, but no less deadly"
name = "Старая Земля"
description = "Древнее огнестрельное оружие Земли. Пусть и устаревшее - все еще смертоносное"
item_list = list(
/obj/item/weapon/gun/rifle/mkh = -1,
/obj/item/ammo_magazine/rifle/mkh = -1,
Expand All @@ -215,8 +215,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/rifle_seasonal_two
name = "Pulse Weapons"
description = "Top-of-the-line pulse rifles, and a machinecarbine."
name = "Импульсное оружие"
description = "Первоклассные импульсные винтовки и пистолеты-пулеметы."
item_list = list(
/obj/item/weapon/gun/rifle/m412 = -1,
/obj/item/ammo_magazine/rifle = -1,
Expand All @@ -230,8 +230,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/rifle_seasonal_three
name = "Cold War"
description = "Hot guns from the Cold War"
name = "Холодная война"
description = "Горячее оружие времен холодной войны"
item_list = list(
/obj/item/weapon/gun/rifle/mpi_km= -1,
/obj/item/ammo_magazine/rifle/mpi_km/plum = -1,
Expand All @@ -242,8 +242,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/pistol_seasonal_one
name = "High Noon"
description = "Revolvers? They are yours my friend. Bouncy, single-action, or with buckshot"
name = "Солнце в зените"
description = "Револьверы! Только сегодня - переломные, одинарные, и с дробью"
item_list = list(
/obj/item/weapon/gun/revolver/small = 5,
/obj/item/ammo_magazine/revolver/small = -1,
Expand All @@ -257,8 +257,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/pistol_seasonal_two
name = "G22 and high-power gats"
description = "Four pistols for the pistol mains."
name = "G22 и высокомощные стволы"
description = "Четыре пистолета для ценителей."
item_list = list(
/obj/item/weapon/gun/pistol/g22 = 5,
/obj/item/ammo_magazine/pistol/g22 = -1,
Expand All @@ -271,8 +271,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/copsandrobbers_seasonal
name = "SWAT and Terrorists"
description = "Four classic SMGs, and no one's favorite burst revolver."
name = "Спецназ и террористы"
description = "Четыре классических пистолета-пулемета и всеми нелюбимый взводной револьвер."
item_list = list(
/obj/item/weapon/gun/smg/uzi = -1,
/obj/item/ammo_magazine/smg/uzi = -1,
Expand All @@ -288,17 +288,17 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/shotgun_seasonal
name = "Pumps"
description = "Three classic pump shotguns from older times."
name = "Помпы"
description = "Три классических дровобика старого мира."
item_list = list(
/obj/item/weapon/gun/shotgun/combat = -1,
/obj/item/weapon/gun/shotgun/pump = -1,
/obj/item/weapon/gun/shotgun/pump/cmb = -1,
)

/datum/season_datum/weapons/guns/lever_seasonal
name = "Lever Actions"
description = "Try and win the modern west with these"
name = "Винтовки рычажного действия"
description = "Надежные спутники в приключении на диком западе"
item_list = list(
/obj/item/weapon/gun/shotgun/pump/lever = -1,
/obj/item/weapon/gun/shotgun/pump/lever/mbx900 = -1,
Expand All @@ -310,8 +310,8 @@ SUBSYSTEM_DEF(persistence)
// Heavy Weapons Seasonals //

/datum/season_datum/weapons/guns/heavy_defualt
name = "Default Heavy Weapons"
description = "The generic set of roundstart TGMC heavy weapons, TAT and RR."
name = "Стандартное тяжелое вооружение"
description = "Классический набор тяжелого оружия, стоящего на вооружении ТГМС - ПТО и безоткатный гранатомет."
item_list = list(
/obj/structure/largecrate/supply/weapons/at36 = 1,
/obj/item/storage/holster/backholster/rpg/full = 2,
Expand All @@ -324,8 +324,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/heavy_ff
name = "Fire and Forget Heavy Weapons"
description = "TAT, Thermobarics and Disposables for roundstart vendors."
name = "Набор ''выстрелил - и забыл''"
description = "ПТО, термобарическое орудие и одноразовые гранатометы."
item_list = list(
/obj/structure/largecrate/supply/weapons/at36 = 1,
/obj/item/weapon/gun/launcher/rocket/m57a4/t57/unloaded = 2,
Expand All @@ -334,8 +334,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/heavy_autorail
name = "Wall and Armor Shredder Weapons"
description = "Flak gun and Railgun for roundstart vendors."
name = "Тактическая мясорубка"
description = "Превратите ваших врагов в кровавую пыль при помощи зенитного орудия и рельсотрона."
item_list = list(
/obj/structure/largecrate/supply/weapons/standard_flakgun = 1,
/obj/item/weapon/gun/rifle/railgun/unloaded = 2,
Expand All @@ -344,8 +344,8 @@ SUBSYSTEM_DEF(persistence)
)

/datum/season_datum/weapons/guns/heavy_shock
name = "Shock Weapons"
description = "RR and MLRS for roundstart vendors."
name = "Schockmaschine"
description = "Безоткатный гранатомет и РСЗО."
item_list = list(
/obj/item/storage/holster/backholster/rpg/full = 2,
/obj/item/ammo_magazine/rocket/recoilless = 4,
Expand Down
22 changes: 11 additions & 11 deletions code/controllers/subsystem/statpanel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ SUBSYSTEM_DEF(statpanels)
if (!resumed)
num_fires++
global_data = list(
"Ground Map: [length(SSmapping.configs) ? SSmapping.configs[GROUND_MAP].map_name : "Loading..."]",
"Ship Map: [length(SSmapping.configs) ? SSmapping.configs[SHIP_MAP].map_name : "Loading..."]",
"Game Mode: [GLOB.master_mode]",
"Round ID: [GLOB.round_id ? GLOB.round_id : "NULL"]",
"Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]",
"Operation Time: [stationTimestamp("hh:mm")]",
"Объект: [length(SSmapping.configs) ? SSmapping.configs[GROUND_MAP].map_name : "Загрузка..."]",
"Судно: [length(SSmapping.configs) ? SSmapping.configs[SHIP_MAP].map_name : "Загрузка..."]",
"Игровой режим: [GLOB.master_mode]",
"ID раунда: [GLOB.round_id ? GLOB.round_id : "NULL"]",
"Глобальное время: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]",
"Внутриигровое время: [stationTimestamp("hh:mm")]",
"Time Dilation: [round(SStime_track.time_dilation_current,1)]% AVG:([round(SStime_track.time_dilation_avg_fast,1)]%, [round(SStime_track.time_dilation_avg,1)]%, [round(SStime_track.time_dilation_avg_slow,1)]%)"
)

Expand All @@ -51,7 +51,7 @@ SUBSYSTEM_DEF(statpanels)
else
target.stat_panel.send_message("update_split_admin_tabs", target.prefs.split_admin_tabs)

if(!("Tickets" in target.panel_tabs))
if(!("Тикеты" in target.panel_tabs))
target.stat_panel.send_message("add_admin_tabs", target.holder.href_token)

if(check_rights_for(target, R_DEBUG))
Expand All @@ -60,7 +60,7 @@ SUBSYSTEM_DEF(statpanels)
if(target.stat_tab == "MC" && ((num_fires % mc_wait == 0) || target.prefs.fast_mc_refresh))
set_MC_tab(target)

if(target.stat_tab == "Tickets" && num_fires % default_wait == 0)
if(target.stat_tab == "Тикеты" && num_fires % default_wait == 0)
set_tickets_tab(target)

if(!length(GLOB.sdql2_queries) && ("SDQL2" in target.panel_tabs))
Expand All @@ -87,7 +87,7 @@ SUBSYSTEM_DEF(statpanels)

target.stat_panel.send_message("update_stat", list(
"global_data" = global_data,
"ping_str" = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)",
"ping_str" = "Пинг: [round(target.lastping, 1)]мс (В среднем: [round(target.avgping, 1)]мс)",
"other_str" = target.mob?.get_status_tab_items(),
))

Expand Down Expand Up @@ -202,7 +202,7 @@ SUBSYSTEM_DEF(statpanels)
if(!target.stat_panel.is_ready())
return FALSE

if(target.stat_tab == "Status")
if(target.stat_tab == "Статус")
set_status_tab(target)
return TRUE

Expand All @@ -225,7 +225,7 @@ SUBSYSTEM_DEF(statpanels)
set_MC_tab(target)
return TRUE

if(target.stat_tab == "Tickets")
if(target.stat_tab == "Тикеты")
set_tickets_tab(target)
return TRUE

Expand Down
22 changes: 11 additions & 11 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ SUBSYSTEM_DEF(ticker)
start_at = time_left || world.time + (CONFIG_GET(number/lobby_countdown) * 10)
for(var/client/C in GLOB.clients)
window_flash(C)
to_chat(world, span_round_body("Welcome to the pre-game lobby of [CONFIG_GET(string/server_name)]!"))
to_chat(world, span_role_body("Please, setup your character and select ready. Game will start in [round(time_left * 0.1) || CONFIG_GET(number/lobby_countdown)] seconds."))
to_chat(world, span_round_body("Добро пожаловать в пре-игровое лобби [CONFIG_GET(string/server_name)]!"))
to_chat(world, span_role_body("Настройте вашего персонажа и нажмите ГОТОВ. Раунд начнется через [round(time_left * 0.1) || CONFIG_GET(number/lobby_countdown)] секунд."))
current_state = GAME_STATE_PREGAME
to_chat(world, SSpersistence.seasons_info_message())
fire()
Expand Down Expand Up @@ -128,14 +128,14 @@ SUBSYSTEM_DEF(ticker)
C.mob?.update_sight() // To reveal ghosts

/datum/controller/subsystem/ticker/proc/setup()
to_chat(world, span_boldnotice("<b>Enjoy the game!</b>"))
to_chat(world, span_boldnotice("<b>Приятной игры!</b>"))
var/init_start = world.timeofday
//Create and announce mode
mode = config.pick_mode(GLOB.master_mode)

CHECK_TICK
if(!mode.can_start(bypass_checks))
to_chat(world, "Reverting to pre-game lobby.")
to_chat(world, "Возврат к пре-игровому лобби.")
QDEL_NULL(mode)
SSjob.ResetOccupations()
return FALSE
Expand Down Expand Up @@ -169,7 +169,7 @@ SUBSYSTEM_DEF(ticker)

GLOB.datacore.manifest()

log_world("Game start took [(world.timeofday - init_start) * 0.1]s")
log_world("Запуск игры занял [(world.timeofday - init_start) * 0.1] секунд")
round_start_time = world.time
SSdbcore.SetRoundStart()

Expand Down Expand Up @@ -301,7 +301,7 @@ SUBSYSTEM_DEF(ticker)
graceful = TRUE

if(graceful)
to_chat_immediate(world, "<h3>[span_boldnotice("Shutting down...")]</h3>")
to_chat_immediate(world, "<h3>[span_boldnotice("Отключение сервера...")]</h3>")
world.Reboot(FALSE)
return

Expand All @@ -310,21 +310,21 @@ SUBSYSTEM_DEF(ticker)

var/skip_delay = check_rights()
if(delay_end && !skip_delay)
to_chat(world, span_boldnotice("An admin has delayed the round end."))
to_chat(world, span_boldnotice("Администратор отложил конец раунда."))
return

to_chat(world, span_boldnotice("Rebooting World in [DisplayTimeText(delay)]. [reason]"))
to_chat(world, span_boldnotice("Перезапуск сервера через [DisplayTimeText(delay)]. [reason]"))

var/start_wait = world.time
UNTIL(round_end_sound_sent || (world.time - start_wait) > (delay * 2)) //don't wait forever
sleep(delay - (world.time - start_wait))

if(delay_end && !skip_delay)
to_chat(world, span_boldnotice("Reboot was cancelled by an admin."))
to_chat(world, span_boldnotice("Перезапуск сервера был отменен администратором."))
return

log_game("Rebooting World. [reason]")
to_chat_immediate(world, "<h3>[span_boldnotice("Rebooting...")]</h3>")
to_chat_immediate(world, "<h3>[span_boldnotice("Перезапуск...")]</h3>")

world.Reboot(TRUE)

Expand All @@ -340,7 +340,7 @@ SUBSYSTEM_DEF(ticker)
tip = pick(SSstrings.get_list_from_file("tips/meme"))

if(tip)
to_chat(world, examine_block("[span_tip("<big>Tip of the round:</big>")][EXAMINE_SECTION_BREAK][html_encode(tip)]"))
to_chat(world, examine_block("[span_tip("<big>Совет по игре:</big>")][EXAMINE_SECTION_BREAK][html_encode(tip)]"))


/datum/controller/subsystem/ticker/proc/check_queue()
Expand Down
Loading
Loading