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

Fix: Microwave translation #703

Merged
merged 14 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Перевод микроволновки в связи с переводом остальной кухни и небольшая…
… правка регулярного выражения у функции титульника окна TGUI для кириллицы
  • Loading branch information
MrRomainzZ committed Nov 15, 2023
commit 685e217794daac3f18aca9cc22ac5f63a6fcdc8b
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/kitchen_machinery/microwave.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/obj/machinery/kitchen_machine/microwave
name = "microwave"
desc = "A microwave, perfect for reheating things with radiation."
name = "микроволновка"
desc = "Микроволновка. Идеальна для перенагревания вещей излучением."
icon = 'icons/obj/kitchen.dmi'
icon_state = "mw"
cook_verbs = list("Microwaving", "Reheating", "Heating")
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/common/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const toTitleCase = (str) => {
'To',
'With',
];
let currentStr = str.replace(/([^\W_]+[^\s-]*) */g, (str) => {
let currentStr = str.replace(/([A-Za-z0-9А-Яа-я]+[^\s-]*) */g, (str) => {
return str.charAt(0).toUpperCase() + str.substr(1).toLowerCase();
});
for (let word of WORDS_LOWER) {
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

Loading