mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- 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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2913,6 +2913,9 @@ enum
|
||||
TEXT_DISEASE_DIAGNOSIS,
|
||||
TEXT_DISEASE_TREATMENT,
|
||||
TEXT_DISEASE_CANCEL,
|
||||
|
||||
// (undiagnosed)
|
||||
TEXT_DISEASE_UNDIAGNOSED
|
||||
};
|
||||
|
||||
extern STR16 szDiseaseText[];
|
||||
|
||||
@@ -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[] =
|
||||
|
||||
@@ -10758,6 +10758,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10796,6 +10796,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n",
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10743,6 +10743,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10574,6 +10574,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10752,6 +10752,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10765,6 +10765,8 @@ STR16 szDiseaseText[] =
|
||||
L"Diagnosis",
|
||||
L"Treatment",
|
||||
L"Cancel",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
@@ -10796,6 +10796,8 @@ STR16 szDiseaseText[] =
|
||||
L"Обследование",
|
||||
L"Лечение населения",
|
||||
L"Отмена",
|
||||
|
||||
L"\n\n%s (undiagnosed) - %d / %d\n", // TODO.Translate
|
||||
};
|
||||
|
||||
STR16 szFoodText[] =
|
||||
|
||||
Reference in New Issue
Block a user