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

Русский акцент #286

Merged
merged 4 commits into from
Nov 26, 2024
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Content.Server/Speech/EntitySystems/GermanAccentSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ public string Accentuate(string message)
'o' => 'ö',
'U' => 'Ü',
'u' => 'ü',
'А' => 'Ä', // Hardcoded into Russian.
'а' => 'ä', // Hardcoded into Russian.
'О' => 'Ö', // Hardcoded into Russian.
'о' => 'ö', // Hardcoded into Russian.
'У' => 'Ü', // Hardcoded into Russian.
'у' => 'ü', // Hardcoded into Russian.
_ => msgBuilder[i]
};
umlautCooldown = 4;
Expand Down
9 changes: 8 additions & 1 deletion Resources/Locale/ru-RU/accent/german.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ accent-german-words-53 = пока пока
accent-german-words-53-2 = пока-пока
accent-german-words-replace-53 = tschau
accent-german-words-54 = фантастика
accent-german-words-54-2 = вау
accent-german-words-replace-54 = fantastisch
accent-german-words-55 = генокрад
accent-german-words-replace-55 = doppelgänger
Expand All @@ -131,8 +132,14 @@ accent-german-words-replace-60 = tesla coils
accent-german-words-61 = теслалуз
accent-german-words-61-2 = теслуз
accent-german-words-61-3 = шаровая молния
accent-german-words-61-4 = ball lightning
accent-german-words-61-4 = тесла сбежала
accent-german-words-61-5 = тесла
accent-german-words-replace-61 = kugelblitz
accent-german-words-62 = авто
accent-german-words-replace-62 = auto
accent-german-words-63 = за работу
accent-german-words-63-2 = работаем
accent-german-words-63-3 = работать
accent-german-words-replace-63 = arbeiten
accent-german-words-64 = ранен
accent-german-words-replace-64 = verwundet
48 changes: 34 additions & 14 deletions Resources/Locale/ru-RU/accent/russian.ftl
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
accent-russian-words-1 = yes
accent-russian-words-replace-1 = da
accent-russian-words-2 = no
accent-russian-words-replace-2 = nyet
accent-russian-words-3 = grandma
accent-russian-words-3-2 = grandmother
accent-russian-words-3-3 = granny
accent-russian-words-replace-3 = babushka
accent-russian-words-4 = друг
accent-russian-words-replace-4 = комрад
accent-russian-words-5 = друзья
accent-russian-words-replace-5 = комрады
accent-russian-words-6 = cheers
accent-russian-words-replace-6 = na zdorovje
accent-russian-words-1 = мой
accent-russian-words-replace-1 = наш
accent-russian-words-2 = мои
accent-russian-words-replace-2 = наши
accent-russian-words-3 = моего
accent-russian-words-replace-3 = нашего
accent-russian-words-4 = моей
accent-russian-words-replace-4 = нашей
accent-russian-words-5 = друг
accent-russian-words-5-2 = брат
accent-russian-words-replace-5 = товарищ
accent-russian-words-6 = ЦК
accent-russian-words-6-2 = командование
accent-russian-words-6-3 = начальство
accent-russian-words-replace-6 = партия
accent-russian-words-7 = факс
accent-russian-words-replace-7 = телеграмма
accent-russian-words-8 = капитан
accent-russian-words-8-2 = кэп
accent-russian-words-replace-8 = товарищ капитан
accent-russian-words-9 = СИ
accent-russian-words-replace-9 = товарищ СИ
accent-russian-words-10 = ГП
accent-russian-words-replace-10 = товарищ ГП
accent-russian-words-11 = НР
accent-russian-words-replace-11 = товарищ НР
accent-russian-words-12 = ГВ
accent-russian-words-replace-12 = товарищ ГВ
accent-russian-words-13 = ГСБ
accent-russian-words-replace-13 = товарищ ГСБ
accent-russian-words-14 = СБ
accent-russian-words-replace-14 = милиция
accent-russian-words-15 = моя
accent-russian-words-replace-15 = наша
19 changes: 17 additions & 2 deletions Resources/Prototypes/Accents/word_replacements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -575,18 +575,33 @@
accent-german-words-61-3: accent-german-words-replace-61
accent-german-words-61-4: accent-german-words-replace-61
accent-german-words-62: accent-german-words-replace-62
accent-german-words-63: accent-german-words-replace-63
accent-german-words-63-2: accent-german-words-replace-63
accent-german-words-63-3: accent-german-words-replace-63
accent-german-words-64: accent-german-words-replace-64

- type: accent
id: russian
wordReplacements:
accent-russian-words-1: accent-russian-words-replace-1
accent-russian-words-2: accent-russian-words-replace-2
accent-russian-words-3: accent-russian-words-replace-3
accent-russian-words-3-2: accent-russian-words-replace-3
accent-russian-words-3-3: accent-russian-words-replace-3
accent-russian-words-4: accent-russian-words-replace-4
accent-russian-words-5: accent-russian-words-replace-5
accent-russian-words-5-2: accent-russian-words-replace-5
accent-russian-words-6: accent-russian-words-replace-6
accent-russian-words-6-2: accent-russian-words-replace-6
accent-russian-words-6-3: accent-russian-words-replace-6
accent-russian-words-7: accent-russian-words-replace-7
accent-russian-words-8: accent-russian-words-replace-8
accent-russian-words-8-2: accent-russian-words-replace-8
accent-russian-words-9: accent-russian-words-replace-9
accent-russian-words-10: accent-russian-words-replace-10
accent-russian-words-11: accent-russian-words-replace-11
accent-russian-words-12: accent-russian-words-replace-12
accent-russian-words-13: accent-russian-words-replace-13
accent-russian-words-14: accent-russian-words-replace-14
accent-russian-words-15: accent-russian-words-replace-15

- type: accent
id: skeleton
Expand Down
Loading