Skip to content

Commit

Permalink
Fix a few broken localization tags
Browse files Browse the repository at this point in the history
Several localization tags were missing their leading '#' character, so
the tag name would appear in-game instead of the localized string.
  • Loading branch information
Wyzard256 committed Jun 23, 2018
1 parent e12d140 commit c39fb25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ PART
requiredSkills = ScienceSkill
ConverterName = #autoLOC_scilab_converter
StartActionName = #autoLOC_statsci_startResearch
StopActionName = autoLOC_statsci_stopResearch
StopActionName = #autoLOC_statsci_stopResearch
AutoShutdown = false
GeneratesHeat = false
UseSpecialistBonus = false
Expand Down
2 changes: 1 addition & 1 deletion SampleAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public override string GetInfo()
ret += Localizer.Format("#autoLOC_StatSci_analyseImp" + Math.Round(txValue * 100));
if (kuarqsRequired > 0)
{
ret += "\n\n"+ Localizer.Format("autoLOC_StatSci_KuarkReq") + kuarqsRequired;
ret += "\n\n"+ Localizer.Format("#autoLOC_StatSci_KuarkReq") + kuarqsRequired;
double productionRequired = 0.01;
if (kuarqHalflife > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion StationScienceModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public override string GetInfo()
string ret = base.GetInfo();
if (requiredSkills != "" && requiredSkills != "NA")
{
ret += Localizer.Format("autoLOC_StatSci_skillReq", requiredSkills);
ret += Localizer.Format("#autoLOC_StatSci_skillReq", requiredSkills);
}
return ret;
#if false
Expand Down

0 comments on commit c39fb25

Please sign in to comment.