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

Implemented localization for mod parts. Added russian localization. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions GameData/Benjee10_sharedAssets/Localization/en-us.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Localization
{
en-us
{
// Manufacturers
#LOC_B10_SA_HabTechConsortium_title = HabTech Consortium
#LOC_B10_SA_OlympusSpaceflightEmporium_title = Olympus Spaceflight Emporium

// Switcher variants
#LOC_B10_SA_switcher_outer_title = Outer Variant
#LOC_B10_SA_switcher_inner_title = Inner Variant
#LOC_B10_SA_switcher_sensors_title = Sensors
#LOC_B10_SA_switcher_hatch_title = Hatch
#LOC_B10_SA_switcher_color_white_title = White
#LOC_B10_SA_switcher_color_black_title = Black
#LOC_B10_SA_switcher_color_grey_title = Grey
#LOC_B10_SA_switcher_color_orange_title = Orange
#LOC_B10_SA_switcher_color_blue_title = Blue
#LOC_B10_SA_switcher_sensors_on_title = On
#LOC_B10_SA_switcher_sensors_off_title = Off
#LOC_B10_SA_switcher_hatch_off_title = Off

// Animations
#LOC_B10_SA_APASv2_anim_toggle = Toggle Soft Capture Ring
#LOC_B10_SA_APASv2_anim_extend = Extend Soft Capture Ring
#LOC_B10_SA_APASv2_anim_retract = Retract Soft Capture Ring

// Parts
#LOC_B10_SA_APASv2_title = C-100 Androgynous Docking Mechanism
#LOC_B10_SA_APASv2_description = This intermediate-sized docking mechanism is great for bringing people together.
#LOC_B10_SA_APASv2_tags = HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle
#LOC_B10_SA_KJ10_title = KJ-10 "Viking" Orbital Manoeuvring Engine
#LOC_B10_SA_KJ10_description = An no-nonsense service engine designed for... pretty much anything really.
#LOC_B10_SA_KJ10_tags = orbit, direct, upper, vacuum, shuttle, OV, OMS, service
}
}
36 changes: 36 additions & 0 deletions GameData/Benjee10_sharedAssets/Localization/ru.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Localization
{
ru
{
// Manufacturers
#LOC_B10_SA_HabTechConsortium_title = Консорциум "ХабТех"
#LOC_B10_SA_OlympusSpaceflightEmporium_title = Аэрокосмический супермаркет "Олимпус"

// Switcher variants
#LOC_B10_SA_switcher_outer_title = Цвет внешней части
#LOC_B10_SA_switcher_inner_title = Цвет внутренней части
#LOC_B10_SA_switcher_sensors_title = Датчики
#LOC_B10_SA_switcher_hatch_title = Люк
#LOC_B10_SA_switcher_color_white_title = Белый
#LOC_B10_SA_switcher_color_black_title = Черный
#LOC_B10_SA_switcher_color_grey_title = Серый
#LOC_B10_SA_switcher_color_orange_title = Оранжевый
#LOC_B10_SA_switcher_color_blue_title = Синий
#LOC_B10_SA_switcher_sensors_on_title = С датчиками
#LOC_B10_SA_switcher_sensors_off_title = Без датчиков
#LOC_B10_SA_switcher_hatch_off_title = Без люка

// Animations
#LOC_B10_SA_APASv2_anim_toggle = Переключить механизм мягкого захвата
#LOC_B10_SA_APASv2_anim_extend = Выдвинуть механизм мягкого захвата
#LOC_B10_SA_APASv2_anim_retract = Сложить механизм мягкого захвата

// Parts
#LOC_B10_SA_APASv2_title = Андрогинный стыковочный механизм C-100
#LOC_B10_SA_APASv2_description = Этот стыковочный механизм промежуточного размера прекрасно подходит для воссоединения экипажей.
#LOC_B10_SA_APASv2_tags = HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle, жилой, стыковка, порт, узел, МКС, станция, стыковочный порт, АПАС, орион, шатл, шаттл
#LOC_B10_SA_KJ10_title = Двигатель KJ-10 "Викинг" для орбитальных манёвров
#LOC_B10_SA_KJ10_description = Простой и практичный вакуумный двигатель для... да практически для любых мыслимых применений.
#LOC_B10_SA_KJ10_tags = orbit, direct, upper, vacuum, shuttle, OV, OMS, service, орион, вакуумный, шатл, шаттл, орбитальный
}
}
49 changes: 22 additions & 27 deletions GameData/Benjee10_sharedAssets/Parts/APAS/B10_APASv2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ PART
cost = 280
category = Coupling
subcategory = 0
title = C-100 Androgynous Docking Mechanism
manufacturer = HabTech Consortium
description = This intermediate-sized docking mechanism is great for bringing people together.
title = #LOC_B10_SA_APASv2_title // C-100 Androgynous Docking Mechanism
manufacturer = #LOC_B10_SA_HabTechConsortium_title // HabTech Consortium
description = #LOC_B10_SA_APASv2_description // This intermediate-sized docking mechanism is great for bringing people together.
attachRules = 1,0,1,0,0
mass = 0.06
dragModelType = default
Expand All @@ -24,7 +24,7 @@ PART
crashTolerance = 10
maxTemp = 2000 // = 3400
bulkheadProfiles = size1, srf
tags = HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle
tags = #LOC_B10_SA_APASv2_tags // HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle
stagingIcon = DECOUPLER_VERT

MODEL
Expand Down Expand Up @@ -53,20 +53,20 @@ PART
{
name = ModuleAnimateGeneric
animationName = APAS_deploy
actionGUIName = Toggle Soft Capture Ring
startEventGUIName = Extend Soft Capture Ring
endEventGUIName = Retract Soft Capture Ring
actionGUIName = #LOC_B10_SA_APASv2_anim_toggle // Toggle Soft Capture Ring
startEventGUIName = #LOC_B10_SA_APASv2_anim_extend // Extend Soft Capture Ring
endEventGUIName = #LOC_B10_SA_APASv2_anim_retract // Retract Soft Capture Ring
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = thermalCover
switcherDescription = Outer Variant
switcherDescription = #LOC_B10_SA_switcher_outer_title // Outer Variant
SUBTYPE
{
name = White
title = White
title = #LOC_B10_SA_switcher_color_white_title // White
primaryColor = white
TEXTURE
{
Expand All @@ -79,7 +79,7 @@ PART
SUBTYPE
{
name = Black
title = Black
title = #LOC_B10_SA_switcher_color_black_title // Black
primaryColor = black
TEXTURE
{
Expand All @@ -92,7 +92,7 @@ PART
SUBTYPE
{
name = Grey
title = Grey
title = #LOC_B10_SA_switcher_color_grey_title // Grey
primaryColor = grey
TEXTURE
{
Expand All @@ -108,11 +108,11 @@ PART
{
name = ModuleB9PartSwitch
moduleID = variant2
switcherDescription = Inner Variant
switcherDescription = #LOC_B10_SA_switcher_inner_title // Inner Variant
SUBTYPE
{
name = White
title = White
title = #LOC_B10_SA_switcher_color_white_title // White
primaryColor = white
TEXTURE
{
Expand All @@ -124,7 +124,7 @@ PART
SUBTYPE
{
name = Orange
title = Orange
title = #LOC_B10_SA_switcher_color_orange_title // Orange
primaryColor = BloodOrange
TEXTURE
{
Expand All @@ -136,7 +136,7 @@ PART
SUBTYPE
{
name = Blue
title = Blue
title = #LOC_B10_SA_switcher_color_blue_title // Blue
primaryColor = Azure
TEXTURE
{
Expand All @@ -151,19 +151,19 @@ PART
{
name = ModuleB9PartSwitch
moduleID = greebles
switcherDescription = Sensors
switcherDescription = #LOC_B10_SA_switcher_sensors_title // Sensors
SUBTYPE
{
name = On
title = On
title = #LOC_B10_SA_switcher_sensors_on_title // On
primaryColor = white
secondaryColor = grey
transform = APAS_main_A
}
SUBTYPE
{
name = Off
title = Off
title = #LOC_B10_SA_switcher_sensors_off_title // Off
primaryColor = black
secondaryColor = grey
transform = APAS_main_B
Expand All @@ -174,11 +174,11 @@ PART
{
name = ModuleB9PartSwitch
moduleID = hatch
switcherDescription = Hatch
switcherDescription = #LOC_B10_SA_switcher_hatch_title // Hatch
SUBTYPE
{
name = white
title = White
title = #LOC_B10_SA_switcher_color_white_title // White
primaryColor = white
transform = APAS_hatch
TEXTURE
Expand All @@ -191,7 +191,7 @@ PART
SUBTYPE
{
name = orange
title = Orange
title = #LOC_B10_SA_switcher_color_orange_title // Orange
primaryColor = BloodOrange
transform = APAS_hatch
TEXTURE
Expand All @@ -204,17 +204,12 @@ PART
SUBTYPE
{
name = Off
title = Off
title = #LOC_B10_SA_switcher_hatch_off_title // Off
primaryColor = black
secondaryColor = grey
}
}

MODULE
{
name = ModuleCargoPart
packedVolume = 250
}


}
8 changes: 4 additions & 4 deletions GameData/Benjee10_sharedAssets/Parts/Engines/AJ10.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ PART
cost = 1000
category = Engine
subcategory = 0
title = KJ-10 "Viking" Orbital Manoeuvring Engine
manufacturer = Olympus Spaceflight Emporium
description = An no-nonsense service engine designed for... pretty much anything really.
title = #LOC_B10_SA_KJ10_title // KJ-10 "Viking" Orbital Manoeuvring Engine
manufacturer = #LOC_B10_SA_OlympusSpaceflightEmporium_title // Olympus Spaceflight Emporium
description = #LOC_B10_SA_KJ10_description // An no-nonsense service engine designed for... pretty much anything really.
attachRules = 1,0,1,0,0
mass = 0.8
heatConductivity = 0.06 // half default
Expand All @@ -27,7 +27,7 @@ PART
breakingTorque = 200
maxTemp = 2000 // = 3600
bulkheadProfiles = size0
tags = orbit, direct, upper, vacuum, shuttle, OV, OMS, service
tags = #LOC_B10_SA_KJ10_tags // orbit, direct, upper, vacuum, shuttle, OV, OMS, service

MODEL
{
Expand Down