Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 26 additions & 27 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
<!-- Guidelines: https://docs.spacestation14.io/en/getting-started/pr-guideline -->
<!-- Рекомендации: https://docs.spacestation14.io/en/getting-started/pr-guideline -->

## About the PR
<!-- What did you change? -->
## Описание PR
<!-- Что вы изменили? -->

## Why / Balance
<!-- Discuss how this would affect game balance or explain why it was changed. Link any relevant discussions or issues. -->
## Почему / Баланс
<!-- Обсудите, как это повлияет на баланс игры или объясните, почему это было изменено. Укажите ссылки на соответствующие обсуждения или issue. -->

## Technical details
<!-- Summary of code changes for easier review. -->
## Технические детали
<!-- Краткое описание изменений в коде для облегчения проверки. -->

## Media
<!-- Attach media if the PR makes in-game changes (clothing, items, features, etc).
Small fixes/refactors are exempt. Media may be used in SS14 progress reports with credit. -->
## Медиа
<!-- Прикрепите медиафайлы, если PR вносит изменения в игру (одежда, предметы, механики и т.д.).
Небольшие исправления/рефакторинг освобождаются от этого требования. -->

## Requirements
<!-- Confirm the following by placing an X in the brackets without spaces inside (for example: [X] ): -->
- [ ] I have read and am following the [Pull Request and Changelog Guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html).
- [ ] I have added media to this PR or it does not require an in-game showcase.
<!-- You should understand that not following the above may get your PR closed at maintainer’s discretion -->
## Требования
<!-- Подтвердите следующее, поставив X в скобках без пробелов [X]: -->
- [ ] Я прочитал(а) и следую [Рекомендациям по оформлению Pull Request и Changelog](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html).
- [ ] Я добавил(а) медиафайлы к этому PR или он не требует демонстрации в игре.
<!-- Вы должны понимать, что несоблюдение вышеуказанного может привести к закрытию вашего PR по усмотрению сопровождающего -->

## Breaking changes
<!-- List any breaking changes, including namespaces, public class/method/field changes, prototype renames; and provide instructions for fixing them.
This will be posted in #codebase-changes. -->
## Критические изменения
<!-- Перечислите все критические изменения, включая изменения пространств имен, публичных классов/методов/полей, переименования прототипов; и предоставьте инструкции по их исправлению. -->

**Changelog**
<!-- Add a Changelog entry to make players aware of new features or changes that could affect gameplay.
Make sure to read the guidelines and take this Changelog template out of the comment block in order for it to show up.
Changelog must have a :cl: symbol, so the bot recognizes the changes and adds them to the game's changelog. -->
**Список изменений**
<!-- Добавьте запись в Changelog, чтобы игроки знали о новых функциях или изменениях, которые могут повлиять на игровой процесс.
Убедитесь, что вы прочитали рекомендации и вынесли этот шаблон Changelog из блока комментариев, чтобы он отображался.
Changelog должен иметь символ :cl:, чтобы бот распознал изменения и добавил их в список изменений игры. -->
<!--
:cl:
- add: Added fun!
- remove: Removed fun!
- tweak: Changed fun!
- fix: Fixed fun!
-->
- add: Добавлено веселье!
- remove: Удалено веселье!
- tweak: Изменено веселье!
- fix: Исправлено веселье!
-->
9 changes: 7 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Changes: Sprites":
"Changes: Sprites":
- changed-files:
- any-glob-to-any-file: '**/*.rsi/*.png'

Expand All @@ -7,6 +7,7 @@
- any-glob-to-any-file:
- 'Resources/Maps/**/*.yml'
- 'Resources/Prototypes/Maps/**/*.yml'
- 'Resources/Prototypes/Corvax/Maps/**/*.yml'

"Changes: UI":
- changed-files:
Expand All @@ -20,7 +21,11 @@
- changed-files:
- any-glob-to-any-file: '**/*.ogg'

"Changes: Localization":
- changed-files:
- any-glob-to-any-file: '**/*.ftl'

"Changes: No C#":
- changed-files:
# Equiv to any-glob-to-all as long as this has one matcher. If ALL changed files are not C# files, then apply label.
- all-globs-to-all-files: "!**/*.cs"
- all-globs-to-all-files: "!**/*.cs"
3 changes: 2 additions & 1 deletion Content.Shared/Localizations/ContentLocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed class ContentLocalizationManager
[Dependency] private readonly ILocalizationManager _loc = default!;

// If you want to change your codebase's language, do it here.
private const string Culture = "en-US";
private const string Culture = "ru-RU"; // _Nox changed

/// <summary>
/// Custom format strings used for parsing and displaying minutes:seconds timespans.
Expand Down Expand Up @@ -48,6 +48,7 @@ public void Initialize()
*/
var cultureEn = new CultureInfo("en-US");

_loc.LoadCulture(cultureEn); // _Nox added
_loc.AddFunction(cultureEn, "MAKEPLURAL", FormatMakePlural);
_loc.AddFunction(cultureEn, "MANY", FormatMany);
}
Expand Down
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/GPS/handheld-gps.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
handheld-gps-coordinates-title =
Координаты:
{ $coordinates }
9 changes: 9 additions & 0 deletions Resources/Locale/ru-RU/HUD/game-hud.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
game-hud-open-escape-menu-button-tooltip = Открыть меню паузы.
game-hud-open-guide-menu-button-tooltip = Открыть меню руководства.
game-hud-open-character-menu-button-tooltip = Открыть меню персонажа.
game-hud-open-emotes-menu-button-tooltip = Открыть меню эмоций.
game-hud-open-inventory-menu-button-tooltip = Открыть меню инвентаря.
game-hud-open-crafting-menu-button-tooltip = Открыть меню создания.
game-hud-open-actions-menu-button-tooltip = Открыть меню действий.
game-hud-open-admin-menu-button-tooltip = Открыть меню администратора.
game-hud-open-sandbox-menu-button-tooltip = Открыть меню песочницы.
8 changes: 8 additions & 0 deletions Resources/Locale/ru-RU/_directions.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
zzzz-fmt-direction-North = Север
zzzz-fmt-direction-South = Юг
zzzz-fmt-direction-East = Восток
zzzz-fmt-direction-West = Запад
zzzz-fmt-direction-NorthEast = Северо-восток
zzzz-fmt-direction-SouthEast = Юго-восток
zzzz-fmt-direction-NorthWest = Северо-запад
zzzz-fmt-direction-SouthWest = Юго-запад
46 changes: 46 additions & 0 deletions Resources/Locale/ru-RU/_lib.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
### Special messages used by internal localizer stuff.

# Used internally by the PRESSURE() function.
zzzz-fmt-pressure =
{ TOSTRING($divided, "F1") } { $places ->
[0] кПа
[1] МПа
[2] ГПа
[3] ТПа
[4] ППа
*[5] ???
}
# Used internally by the POWERWATTS() function.
zzzz-fmt-power-watts =
{ TOSTRING($divided, "F1") } { $places ->
[0] Вт
[1] кВт
[2] МВт
[3] ГВт
[4] ТВт
*[5] ???
}
# Used internally by the POWERJOULES() function.
# Reminder: 1 joule = 1 watt for 1 second (multiply watts by seconds to get joules).
# Therefore 1 kilowatt-hour is equal to 3,600,000 joules (3.6MJ)
zzzz-fmt-power-joules =
{ TOSTRING($divided, "F1") } { $places ->
[0] Дж
[1] кДж
[2] МДж
[3] ГДж
[4] ТДж
*[5] ???
}
# Used internally by the ENERGYWATTHOURS() function.
zzzz-fmt-energy-watt-hours =
{ TOSTRING($divided, "F1") } { $places ->
[0] Вт·ч
[1] кВт·ч
[2] МВт·ч
[3] ГВт·ч
[4] ТВт·ч
*[5] ???
}
# Used internally by the PLAYTIME() function.
zzzz-fmt-playtime = { $hours }ч { $minutes }м
97 changes: 97 additions & 0 deletions Resources/Locale/ru-RU/_units.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
## Standard SI prefixes

units-si--y = и
units-si--z = з
units-si--a = а
units-si--f = ф
units-si--p = п
units-si--n = н
units-si--u = мк
units-si--m = м
units-si = { "" }
units-si-k = к
units-si-m = М
units-si-g = Г
units-si-t = Т
units-si-p = П
units-si-e = Э
units-si-z = З
units-si-y = И

### Long form

units-si--y-long = иокто
units-si--z-long = зепто
units-si--a-long = атто
units-si--f-long = фемто
units-si--p-long = пико
units-si--n-long = нано
units-si--u-long = микро
units-si--m-long = милли
units-si-long = { "" }
units-si-k-long = кило
units-si-m-long = мега
units-si-g-long = гига
units-si-t-long = тера
units-si-p-long = пета
units-si-e-long = экса
units-si-z-long = зетта
units-si-y-long = иотта

## Pascals (Pressure)

units-u--pascal = мкПа
units-m--pascal = мПа
units-pascal = Па
units-k-pascal = кПа
units-m-pascal = МПа
units-g-pascal = ГПа
units-u--pascal-long = микропаскаль
units-m--pascal-long = миллипаскаль
units-pascal-long = паскаль
units-k-pascal-long = килопаскаль
units-m-pascal-long = мегапаскаль
units-g-pascal-long = гигапаскаль

## Watts (Power)

units-u--watt = мкВт
units-m--watt = мВт
units-watt = Вт
units-k-watt = кВт
units-m-watt = МВт
units-g-watt = ГВт
units-u--watt-long = микроватт
units-m--watt-long = милливатт
units-watt-long = ватт
units-k-watt-long = киловатт
units-m-watt-long = мегаватт
units-g-watt-long = гигаватт

## Joule (Energy)

units-u--joule = мкДж
units-m--joule = мДж
units-joule = Дж
units-k-joule = кДж
units-m-joule = МДж
units-u--joule-long = микроджоуль
units-m--joule-long = миллиджоуль
units-joule-long = джоуль
units-k-joule-long = килоджоуль
units-m-joule-long = мегаджоуль

## Kelvin (Temperature)

units-u--kelvin = мкК
units-m--kelvin = мК
units-kelvin = К
units-k-kelvin = кК
units-m-kelvin = МК
units-g-kelvin = ГК
units-u--kelvin-long = микрокельвин
units-m--kelvin-long = милликельвин
units-kelvin-long = кельвин
units-k-kelvin-long = килокельвин
units-m-kelvin-long = мегакельвин
units-g-kelvin-long = гигакельвин
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/abilities/goliath.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tentacle-ability-use-popup = { CAPITALIZE($entity) } погружает свои щупальца под землю!
6 changes: 6 additions & 0 deletions Resources/Locale/ru-RU/abilities/mime.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mime-cant-speak = Данный вами обет молчания не позволяет вам говорить.
mime-invisible-wall-popup-self = Вы упираетесь в невидимую стену!
mime-invisible-wall-popup-others = { CAPITALIZE($mime) } упирается в невидимую стену!
mime-invisible-wall-failed = Вы не можете создать здесь невидимую стену.
mime-not-ready-repent = Вы ещё не готовы покаяться за нарушенный обет.
mime-ready-to-repent = Вы чувствуете, что готовы снова дать обет молчания.
Loading
Loading