- Moved hardcoded disease text "(undiagnosed)" to the language specific files text files

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8079 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2016-03-02 16:14:11 +00:00
parent b5fd88b50f
commit fa2d284034
10 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -18607,7 +18607,7 @@ void SOLDIERTYPE::PrintDiseaseDesc( CHAR16* apStr, BOOLEAN fFullDesc )
}
else if ( fShowExactPoints && this->sDiseasePoints[i] > 0 )
{
swprintf( atStr, L"\n\n%s (undiagnosed) - %d / %d\n", Disease[i].szFatName, this->sDiseasePoints[i], Disease[i].sInfectionPtsFull );
swprintf( atStr, szDiseaseText[TEXT_DISEASE_UNDIAGNOSED], Disease[i].szFatName, this->sDiseasePoints[i], Disease[i].sInfectionPtsFull );
wcscat( apStr, atStr );
}
}
+3
View File
@@ -2913,6 +2913,9 @@ enum
TEXT_DISEASE_DIAGNOSIS,
TEXT_DISEASE_TREATMENT,
TEXT_DISEASE_CANCEL,
// (undiagnosed)
TEXT_DISEASE_UNDIAGNOSED
};
extern STR16 szDiseaseText[];
+2
View File
@@ -10744,6 +10744,8 @@ STR16 szDiseaseText[] =
L"诊断", // L"Diagnosis",
L"治疗", //L"Treatment",
L"取消", //L"Cancel", 
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10758,6 +10758,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10796,6 +10796,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n",
};
STR16 szFoodText[] =
+2
View File
@@ -10743,6 +10743,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10574,6 +10574,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10752,6 +10752,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10765,6 +10765,8 @@ STR16 szDiseaseText[] =
L"Diagnosis",
L"Treatment",
L"Cancel",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =
+2
View File
@@ -10796,6 +10796,8 @@ STR16 szDiseaseText[] =
L"Обследование",
L"Лечение населения",
L"Отмена",
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
};
STR16 szFoodText[] =