Skip to content

local: Перевод 5 предметов из автолата в разделе ИНСТРУМЕНТЫ.#8543

Open
AL5900 wants to merge 19 commits intoss220-space:master220from
AL5900:Autolatia
Open

local: Перевод 5 предметов из автолата в разделе ИНСТРУМЕНТЫ.#8543
AL5900 wants to merge 19 commits intoss220-space:master220from
AL5900:Autolatia

Conversation

@AL5900
Copy link
Contributor

@AL5900 AL5900 commented Feb 27, 2026

Что этот ПР делает

Переводит имя, описание и разные действия 5 предметов из категории "Инструменты" в автолате, а именно:
Analyzer
Cable Coil
Nanotrasen-Brand Rapid Paint Applicator
T-Ray Scanner
Welding Helmet

Тестирование

Перевод протестила, работает, ошибок (вроде как) не обнаружено.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Аналитический отчёт от Большого Брата. Обработка запроса завершена.

Приветствую! Я проанализировал предложенные Вами изменения. С технической точки зрения, работа выглядит требующей доработок.

Сводка анализа:

  • 🔴 Критических замечаний: 0
  • 🟡 Рекомендаций: 11
  • 💡 Предложений: 0

🟡 Рекомендации по улучшению:

  • code/game/objects/items/crayons.dm:90: Использование [target.name] не обеспечивает корректное склонение. Рекомендуется использовать declent_ru().
  • code/game/objects/items/crayons.dm:99: Использование [name] не обеспечивает локализацию и склонение. Рекомендуется использовать DECLENT_RU_CAP().
  • code/game/objects/items/crayons.dm:294: Некорректное склонение в винительном падеже для неодушевлённого существительного.
  • code/game/objects/items/crayons.dm:307: Неверно выбран падеж для конструкции «у [чего-то]». Требуется родительный падеж.
  • code/game/objects/items/crayons.dm:352: Неверно выбран падеж для глагола «израсходовать».
  • code/game/objects/items/devices/scanners/gas_analyzer.dm:52: Неверно выбран падеж для действия «сканировать [чем-то]».
  • code/game/objects/items/devices/scanners/gas_analyzer.dm:57: В сообщении о состоянии барометра утеряна ссылка на сам объект, что снижает ясность. Это также относится к строкам 69, 80, 85, 91, 93, 102.
  • code/game/objects/items/devices/scanners/gas_analyzer.dm:255: Имя объекта «Газоанализатор» захардкожено. Рекомендуется использовать DECLENT_RU_CAP() для поддержки переименований и других состояний объекта.
  • code/modules/clothing/head/misc_special.dm:64: В имени объекта name присутствует точка в конце, что является опечаткой.
  • code/modules/power/cable_coil.dm:107: Строка для меню крафта multi z cable hub (10) не переведена, что нарушает консистентность локализации.
  • code/modules/power/cable_coil.dm:249: Конструкция «с помощью [родительный падеж]» грамматически верна, но более краткой и идиоматичной является конструкция с творительным падежом.

Пожалуйста, ознакомьтесь с комментариями к отдельным строкам кода для получения более подробной информации.

Спасибо за ваш вклад в проект!


if(!isturf(T) || !T.can_lay_cable())
to_chat(user, span_warning("You can only lay cables on catwalks and plating!"))
to_chat(user, span_warning("Вы можете прокладывать проводку только по обшивке и мосткам!"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это склонение от "мосток" или пропущенная "и" в слове "мостикам"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это склонение от "Мосток"

@dageavtobusnick dageavtobusnick added the 📜 Локализация PR содержит текст на русском языке и должен быть проверен Ведущим локализатором. label Mar 4, 2026
Copy link
Contributor

@pilygun pilygun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Стоит добавить балун алерты в этих местах, для ебейшего QOL

По поводу функции барометра, я ей не пользовался ни разу, по коду понял что работает через альт клик
ЕСЛИ ЭТО НЕ ТАК и оно активируется через ТУГИ, то закрой мои комиты связанные с барометром

/obj/item/analyzer/click_alt(mob/living/user) //Barometer output for measuring when the next storm happens
if(cooldown)
to_chat(user, span_warning("[src]'s barometer function is prepraring itself."))
to_chat(user, span_warning("Функция барометра готовится к работе."))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Замени на балун алерт "перезарядка" опционально добавить цифры времени КД


if(!user_area.outdoors)
to_chat(user, span_warning("[src]'s barometer function won't work indoors!"))
to_chat(user, span_warning("Функция барометра не будет работать в помещении!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Балун алерт, "не работает в помещении"

if(ongoing_weather)
if((ongoing_weather.stage == MAIN_STAGE) || (ongoing_weather.stage == WIND_DOWN_STAGE))
to_chat(user, span_warning("[src]'s barometer function can't trace anything while the storm is [ongoing_weather.stage == MAIN_STAGE ? "already here!" : "winding down."]"))
to_chat(user, span_warning("Функция барометра не может ничего отследить, пока буря. [ongoing_weather.stage == MAIN_STAGE ? "идёт!" : "стихает."]"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Балун алерт, "не работает во время бури"

return CLICK_ACTION_BLOCKING

to_chat(user, span_warning("The next [ongoing_weather] will hit in [butchertime(ongoing_weather.next_hit_time - world.time)]."))
to_chat(user, span_warning("Следующая [ongoing_weather] начнется [butchertime(ongoing_weather.next_hit_time - world.time)]."))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ту чат на балун, текст не менять

to_chat(user, span_warning("Следующая [ongoing_weather] начнется [butchertime(ongoing_weather.next_hit_time - world.time)]."))
if(ongoing_weather.aesthetic)
to_chat(user, span_warning("[src]'s barometer function says that the next storm will breeze on by."))
to_chat(user, span_warning("Функция барометра информирует, что следующая буря пройдёт мимо."))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

балун "буря пройдёт мимо"


if(get_dist(T,user.loc) > 1) // Too far
to_chat(user, span_warning("You can't lay cable at a place that far away!"))
to_chat(user, span_warning("Вы не можете проложить проводку так далеко!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

балун, "слишком далеко"

for(var/obj/structure/cable/LC in T)
if(LC.d2 == dirn && LC.d1 == 0)
to_chat(user, span_warning("There's already a cable at that position!"))
to_chat(user, span_warning("В этом месте уже есть проводка!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Балун "уже есть проводка"


if(get_dist(C, user) > 1) // make sure it's close enough
to_chat(user, span_warning("You can't lay cable at a place that far away!"))
to_chat(user, span_warning("Вы не можете проложить проводку так далеко!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

балун "слишком далеко"

for(var/obj/structure/cable/LC in U) // check to make sure there's not a cable there already
if(LC.d1 == fdirn || LC.d2 == fdirn)
to_chat(user, span_warning("There's already a cable at that position!"))
to_chat(user, span_warning("В этом месте уже есть проводка!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

continue
if((LC.d1 == nd1 && LC.d2 == nd2) || (LC.d1 == nd2 && LC.d2 == nd1)) // make sure no cable matches either direction
to_chat(user, span_warning("There's already a cable at that position!"))
to_chat(user, span_warning("В этом месте уже есть проводка!"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@AL5900
Copy link
Contributor Author

AL5900 commented Mar 4, 2026

@pilygun Ну я завтра посмотрю что за балуны, если разберусь - попробую сделать.
И да, барометр тебе в чат инфу просто пишет, так что можно попробовать сделать.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📜 Локализация PR содержит текст на русском языке и должен быть проверен Ведущим локализатором.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants