mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Localize flag events
This commit is contained in:
parent
a4c46b94d2
commit
f098e922cb
@ -3,8 +3,8 @@ Localization
|
|||||||
en-us
|
en-us
|
||||||
{
|
{
|
||||||
// AGENCIES
|
// AGENCIES
|
||||||
#LOC_ConformalDecals_agent-peel-n-stick_title = Peel-N-Stik Adhesive Decals
|
#LOC_ConformalDecals_agent-peel-n-stick_title = Peel-N-Stik™ Adhesive Decals
|
||||||
#LOC_ConformalDecals_agent-peel-n-stick_description = Creators of premium stickers and decals for over 50 years, Peel-N-Stik only recently broke into the aerospace industry after noticing the increased demand for branding on rockets and aircraft.
|
#LOC_ConformalDecals_agent-peel-n-stick_description = Creators of premium stickers and decals for over 50 years, Peel-N-Stik™ only recently broke into the aerospace industry after noticing the increased demand for branding on rockets and aircraft.
|
||||||
|
|
||||||
// CATEGORIES
|
// CATEGORIES
|
||||||
#LOC_ConformalDecals_category-decals_title = Decals
|
#LOC_ConformalDecals_category-decals_title = Decals
|
||||||
@ -15,6 +15,8 @@ Localization
|
|||||||
#LOC_ConformalDecals_gui-opacity = Opacity
|
#LOC_ConformalDecals_gui-opacity = Opacity
|
||||||
#LOC_ConformalDecals_gui-cutoff = Cutoff
|
#LOC_ConformalDecals_gui-cutoff = Cutoff
|
||||||
#LOC_ConformalDecals_gui-aspectratio = Aspect Ratio
|
#LOC_ConformalDecals_gui-aspectratio = Aspect Ratio
|
||||||
|
#LOC_ConformalDecals_gui-select-flag = Select Flag
|
||||||
|
#LOC_ConformalDecals_gui-reset-flag = Reset Flag
|
||||||
|
|
||||||
// PARTS
|
// PARTS
|
||||||
|
|
||||||
|
Binary file not shown.
@ -58,13 +58,13 @@ namespace ConformalDecals {
|
|||||||
base.OnDestroy();
|
base.OnDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
[KSPEvent(guiActive = false, guiActiveEditor = true, guiName = "Select Flag")]
|
[KSPEvent(guiActive = false, guiActiveEditor = true, guiName = "#LOC_ConformalDecals_gui-select-flag")]
|
||||||
public void SelectFlag() {
|
public void SelectFlag() {
|
||||||
var flagBrowser = (Instantiate((Object) (new FlagBrowserGUIButton(null, null, null, null)).FlagBrowserPrefab) as GameObject).GetComponent<FlagBrowser>();
|
var flagBrowser = (Instantiate((Object) (new FlagBrowserGUIButton(null, null, null, null)).FlagBrowserPrefab) as GameObject).GetComponent<FlagBrowser>();
|
||||||
flagBrowser.OnFlagSelected = OnCustomFlagSelected;
|
flagBrowser.OnFlagSelected = OnCustomFlagSelected;
|
||||||
}
|
}
|
||||||
|
|
||||||
[KSPEvent(guiActive = false, guiActiveEditor = true, guiName = "Reset Flag")]
|
[KSPEvent(guiActive = false, guiActiveEditor = true, guiName = "#LOC_ConformalDecals_gui-reset-flag")]
|
||||||
public void ResetFlag() {
|
public void ResetFlag() {
|
||||||
SetFlag(MissionFlagUrl);
|
SetFlag(MissionFlagUrl);
|
||||||
SetFlagSymmetryCounterparts(MissionFlagUrl);
|
SetFlagSymmetryCounterparts(MissionFlagUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user