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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions files/Localization/en-us.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Localization
{
en-us
{
#LOC_IndicatorLights_agent_blinken_title = Blinkenlights LLC
#LOC_IndicatorLights_agent_blinken_description = Give us your tired old technology and we'll glitz it up with distracting glowy things!

#LOC_IndicatorLights_part_BL01_title = BL-01 Indicator Light
#LOC_IndicatorLights_part_BL01_description = Doesn't seem to achieve much, but we'll probably find out what it's for later on.
#LOC_IndicatorLights_part_BL01_tags = snark indicator light blinken led

// IMPORTANT: the following lines should look like:
// ... = :LEDs indicate operational status.:<YOUR TRANSLATION HERE>:
// DO NOT modify the English text between the 1st and 2nd colons (:)!
#LOC_IndicatorLights_part_ISRU_description = :LEDs indicate operational status.:LEDs indicate operational status.:
#LOC_IndicatorLights_part_reactionWheel_description = :Indicator lights show the reaction wheel's status.:Indicator lights show the reaction wheel's status.:
#LOC_IndicatorLights_part_controller_description = :New, improved model now has status light!:New, improved model now has status light!:
#LOC_IndicatorLights_part_scanner_description = :LED indicates operational status.:LED indicates operational status.:
}
}
36 changes: 36 additions & 0 deletions files/Localization/localization_patch.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// In order not to alter Snark's code, this MM patch was created
// to add localization support.

@AGENT[Blinkenlights?LLC]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@title = #LOC_IndicatorLights_agent_blinken_title //Blinkenlights LLC
@description = #LOC_IndicatorLights_agent_blinken_description //Give us your tired old technology and we'll glitz it up with distracting glowy things!
}

@PART[indicatorLightSmall]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@title = #LOC_IndicatorLights_part_BL01_title //BL-01 Indicator Light
@manufacturer = #LOC_IndicatorLights_agent_blinken_title //Blinkenlights LLC
@description = #LOC_IndicatorLights_part_BL01_description //Doesn't seem to achieve much, but we'll probably find out what it's for later on.
@tags = #LOC_IndicatorLights_part_BL01_tags //snark indicator light blinken led
}

@PART[ISRU,MiniISRU]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@description ^= #LOC_IndicatorLights_part_ISRU_description
}

@PART[asasmodule1-2,advSasModule,sasModule]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@description ^= #LOC_IndicatorLights_part_reactionWheel_description
}

@PART[controller1000]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@description ^= #LOC_IndicatorLights_part_controller_description
}

@PART[SurfaceScanner,SurveyScanner]:NEEDS[IndicatorLights]:AFTER[IndicatorLights]
{
@description ^= #LOC_IndicatorLights_part_scanner_description
}
20 changes: 20 additions & 0 deletions files/Localization/zh-cn.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Localization
{
zh-cn
{
#LOC_IndicatorLights_agent_blinken_title = 闪烁灯光有限责任公司 //Blinkenlights LLC
#LOC_IndicatorLights_agent_blinken_description = 把你那老掉牙的技术交给我们,我们会用一些光彩夺目的小玩意儿来装饰它! //Give us your tired old technology and we'll glitz it up with distracting glowy things!

#LOC_IndicatorLights_part_BL01_title = BL-01指示灯 //BL-01 Indicator Light
#LOC_IndicatorLights_part_BL01_description = 看起来没什么用,但我们以后可能会知道它的用途。 //Doesn't seem to achieve much, but we'll probably find out what it's for later on.
#LOC_IndicatorLights_part_BL01_tags = snark 指示 灯 blinken 闪烁灯光 led //snark indicator light blinken led

// 注意!!!以下几行应为这样的形式:
// ... = :LEDs indicate operational status.:<中文翻译>:
// 不要将三个半角冒号修改为全角冒号!!!不要修改前两个冒号之间的英文文本!!!
#LOC_IndicatorLights_part_ISRU_description = :LEDs indicate operational status.:LED灯指示转化炉的运行状态。:
#LOC_IndicatorLights_part_reactionWheel_description = :Indicator lights show the reaction wheel's status.:LED灯指示动量轮的运行状态。:
#LOC_IndicatorLights_part_controller_description = :New, improved model now has status light!:改进后的新型号增加了状态指示灯喔!:
#LOC_IndicatorLights_part_scanner_description = :LED indicates operational status.:LED灯指示扫描仪的运行状态。:
}
}