diff --git a/code/game/atom/atom_examine.dm b/code/game/atom/atom_examine.dm index d922b97ef9659..7cf17998814ad 100644 --- a/code/game/atom/atom_examine.dm +++ b/code/game/atom/atom_examine.dm @@ -83,7 +83,7 @@ var/mats_list = list() for(var/custom_material in custom_materials) var/datum/material/current_material = GET_MATERIAL_REF(custom_material) - mats_list += span_tooltip("Объект сделан из [current_material.name].", current_material.name) + mats_list += span_tooltip("Объект сделан из [current_material.declent_ru(GENITIVE)].", current_material.declent_ru(GENITIVE)) . += "из: [english_list(mats_list)]" /** diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index 18891ebdd9306..546f2584a3c9a 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -204,14 +204,14 @@ return if(singular_name) if(get_amount()>1) - . += "There are [get_amount()] [singular_name]\s in the stack." + . += "Внутри стопки [get_amount()] единиц[declension_ru(get_amount(), "а", "ы", "")] [declent_ru(GENITIVE)]." else - . += "There is [get_amount()] [singular_name] in the stack." + . += "Внутри стопки [get_amount()] единица [declent_ru(GENITIVE)]." else if(get_amount()>1) - . += "There are [get_amount()] in the stack." + . += "Внутри стопки [get_amount()] единиц[declension_ru(get_amount(), "а", "ы", "")] [declent_ru(GENITIVE)]." else - . += "There is [get_amount()] in the stack." - . += span_notice("Right-click with an empty hand to take a custom amount.") + . += "Внутри стопки [get_amount()] единица [declent_ru(GENITIVE)]." + . += span_notice("ПКМ пустой рукой, чтобы взять определенное количество.") /obj/item/stack/proc/get_amount() if(is_cyborg) diff --git a/code/modules/lootpanel/search_object.dm b/code/modules/lootpanel/search_object.dm index 2cb0bdf85dba9..ecad0b15d450d 100644 --- a/code/modules/lootpanel/search_object.dm +++ b/code/modules/lootpanel/search_object.dm @@ -19,7 +19,7 @@ . = ..() src.item = item - name = item.name + name = item.declent_ru(NOMINATIVE) if(isobj(item)) path = item.type