diff --git a/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf b/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf index c175791b73..f2d01573f0 100644 --- a/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf +++ b/addons/medical/functions/fnc_actionCheckBloodPressureLocal.sqf @@ -28,32 +28,32 @@ _bloodPressureLow = _bloodPressure select 0; _output = ""; _logOutPut = ""; if ([_caller] call FUNC(isMedic)) then { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_1"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_1"; _logOutPut = format["%1/%2",round(_bloodPressureHigh),round(_bloodPressureLow)]; } else { if (_bloodPressureHigh > 20) then { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_2"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_2"; _logOutPut = "Low"; if (_bloodPressureHigh > 100) then { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_3"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_3"; _logOutPut = "Normal"; if (_bloodPressureHigh > 160) then { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_4"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_4"; _logOutPut = "High"; }; }; } else { if (random(10) > 3) then { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_5"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_5"; _logOutPut = "No Blood Pressure"; } else { - _output = "STR_ACE_CHECK_BLOODPRESSURE_OUTPUT_6"; + _output = "STR_ACE_MEDICAL_CHECK_BLOODPRESSURE_OUTPUT_6"; }; }; }; -["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName), round(_bloodPressureHigh),round(_bloodPressureLow)], 1.5, _caller]] call EFUNC(common,targetEvent); +["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName), round(_bloodPressureHigh),round(_bloodPressureLow)], 1.75, _caller]] call EFUNC(common,targetEvent); if (_logOutPut != "") then { [_target,"examine", format["%1 checked Blood Pressure: %2", [_caller] call EFUNC(common,getName), _logOutPut]] call FUNC(addToLog); diff --git a/addons/medical/functions/fnc_actionCheckPulseLocal.sqf b/addons/medical/functions/fnc_actionCheckPulseLocal.sqf index e6565efb21..df5966849c 100644 --- a/addons/medical/functions/fnc_actionCheckPulseLocal.sqf +++ b/addons/medical/functions/fnc_actionCheckPulseLocal.sqf @@ -23,31 +23,30 @@ _heartRate = _unit getvariable [QGVAR(heartRate), 80]; if (!alive _unit) then { _heartRate = 0; }; -_heartRateOutput = "STR_ACE_CHECK_PULSE_OUTPUT_5"; +_heartRateOutput = "STR_ACE_MEDICAL_CHECK_PULSE_OUTPUT_5"; _logOutPut = "No heart rate"; if (_heartRate > 1.0) then { if ([_caller] call FUNC(isMedic)) then { - _heartRateOutput = "STR_ACE_CHECK_PULSE_OUTPUT_1"; + _heartRateOutput = "STR_ACE_MEDICAL_CHECK_PULSE_OUTPUT_1"; _logOutPut = format["%1",round(_heartRate)]; } else { // non medical personel will only find a pulse/HR - _heartRateOutput = "STR_ACE_CHECK_PULSE_OUTPUT_2"; + _heartRateOutput = "STR_ACE_MEDICAL_CHECK_PULSE_OUTPUT_2"; _logOutPut = "Weak"; if (_heartRate > 60) then { if (_heartRate > 100) then { - _heartRateOutput = "STR_ACE_CHECK_PULSE_OUTPUT_3"; + _heartRateOutput = "STR_ACE_MEDICAL_CHECK_PULSE_OUTPUT_3"; _logOutPut = "Strong"; } else { - _heartRateOutput = "STR_ACE_CHECK_PULSE_OUTPUT_4"; + _heartRateOutput = "STR_ACE_MEDICAL_CHECK_PULSE_OUTPUT_4"; _logOutPut = "Normal"; }; }; }; }; -_content = ["STR_ACE_CHECK_PULSE_CHECKED_MEDIC",_heartRateOutput]; -["displayTextStructured", [_caller], [[_content, [_unit] call EFUNC(common,getName), round(_heartRate)], 1.5, _caller]] call EFUNC(common,targetEvent); +["displayTextStructured", [_caller], [[_heartRateOutput, [_unit] call EFUNC(common,getName), round(_heartRate)], 1.5, _caller]] call EFUNC(common,targetEvent); if (_logOutPut != "") then { [_unit,"examine",format["%1 checked Heart Rate: %2",[_caller] call EFUNC(common,getName),_logOutPut]] call FUNC(addToLog); diff --git a/addons/medical/functions/fnc_actionCheckResponse.sqf b/addons/medical/functions/fnc_actionCheckResponse.sqf index 34ea90264b..5f27e17f4e 100644 --- a/addons/medical/functions/fnc_actionCheckResponse.sqf +++ b/addons/medical/functions/fnc_actionCheckResponse.sqf @@ -20,11 +20,11 @@ _target = _this select 1; _output = ""; if ([_target] call EFUNC(common,isAwake)) then { - _output = ["STR_ACE_CHECK_REPONSE_RESPONSIVE",[_target] call EFUNC(common,getName)]; + _output = ["STR_ACE_MEDICAL_CHECK_REPONSE_RESPONSIVE",[_target] call EFUNC(common,getName)]; } else { - _output = ["STR_ACE_CHECK_REPONSE_UNRESPONSIVE",[_target] call EFUNC(common,getName)]; + _output = ["STR_ACE_MEDICAL_CHECK_REPONSE_UNRESPONSIVE",[_target] call EFUNC(common,getName)]; }; -["displayTextStructured", [_caller], [_output, 1.5, _caller]] call EFUNC(common,targetEvent); +["displayTextStructured", [_caller], [_output, 2, _caller]] call EFUNC(common,targetEvent); [_target,"examine",_output] call FUNC(addToLog); diff --git a/addons/medical/functions/fnc_displayPatientInformation.sqf b/addons/medical/functions/fnc_displayPatientInformation.sqf index ee7ec4fe00..f27c077b41 100644 --- a/addons/medical/functions/fnc_displayPatientInformation.sqf +++ b/addons/medical/functions/fnc_displayPatientInformation.sqf @@ -116,9 +116,9 @@ if (_show) then { lbClear _logCtrl; private ["_logs", "_log", "_message", "_moment", "_arguments", "_lbCtrl"]; - _logs = _unit getvariable [QGVAR(allLogs), []]; + _logs = _target getvariable [QGVAR(allLogs), []]; { - _log = _unit getvariable [_x, []]; + _log = _target getvariable [_x, []]; { // [_message,_moment,_type, _arguments] _message = _x select 0; @@ -133,7 +133,6 @@ if (_show) then { _arguments set [_foreachIndex, localize _x]; }; }foreach _arguments; - _message = format([_message] + _arguments); _logCtrl lbAdd format["%1 %2", _moment, _message]; }foreach _log; diff --git a/addons/medical/stringtable.xml b/addons/medical/stringtable.xml index 9eeb959267..ed3657cb3a 100644 --- a/addons/medical/stringtable.xml +++ b/addons/medical/stringtable.xml @@ -399,5 +399,164 @@ Bolsa para cadáveres + + + Blood Pressure + Артериальное давление + Presión Arterial + + + Checking Blood Pressure.. + Проверка артериального давления... + Comprobando Presión Arterial... + + + You checked %1 + Вы осмотрели раненого %1 + Examinando a %1 + + + You find a blood pressure of %2/%3 + Артериальное давление %2/%3 + La Presión Arterial es %2/%3 + + + You find a low blood pressure + Давление низкое + La Presión Arterial es baja + + + You find a normal blood pressure + Давление нормальное + La Presión Arterial es normal + + + You find a high blood pressure + Давление высокое + La Presión Arterial es alta + + + You find no blood pressure + Давления нет + No hay Presión Arterial + + + You fail to find a blood pressure + Артериальное давление не определяется + No puedes encontrar Presión Arterial + + + Pulse + Пульс + Pulso + + + Checking Heart Rate.. + Проверка пульса... + Comprobando Pulso... + + + You checked %1 + Вы осмотрели раненого %1 + Examinando a %1 + + + You find a Heart Rate of %2 + Пульс %2 уд./мин. + El Pulso es %2 + + + You find a weak Heart Rate + Пульс слабый + El Pulso es débil + + + You find a strong Heart Rate + Пульс учащенный + El Pulso está acelerado + + + You find a normal Heart Rate + Пульс в норме + El Pulso es bueno + + + You find no Heart Rate + Пульс не прощупывается + No tiene Pulso + + + Response + Реакция + Reacciona + + + You check response of patient + Вы проверяете реакцию раненого + Compruebas si el paciente reacciona + + + %1 is responsive + %1 реагирует на раздражители + %1 ha reaccionado + + + + %1 is not responsive + %1 не реагирует + %1 no reacciona + + + You checked %1 + Вы осмотрели раненого %1 + Examinas a %1 + + + Bandaging + Перевязка... + Vendando + + + Bandaged + Повязка наложена + Vendado + + + You bandage %1 (%2) + Вы перевязали раненого %1 (%2) + Aplicas vendaje a %1 en %2 + + + %1 is bandaging you + %1 перевязывает вас + %1 te está vendando + + + You start stitching injures from %1 (%2) + Вы зашиваете ранения от %1 (%2) + Estás suturando heridas de %1 en %2 + + + Stitching + Наложение швов + Suturando + + + You treat the airway of %1 + Вы интубируете раненого %1 + Estás intubando a %1 + + + Airway + Дыхательные пути + Vías Aéreas + + + %1 is treating your airway + %1 проводит вам интубацию + %1 te está intubando + + +