Skip to content

Commit

Permalink
Breathing - Fix Pulse Oximeter item description in inventory (#573)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- _Title_
- _It's almost the same as
#533, with some parts
copied and improved._
- _I could have waited for his PR, but it wasn't perfect to begin with,
and his PR shows no signs of ending, so I created a single PR with my
personal work._

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
Apricot-ale authored Aug 2, 2024
1 parent 97846ee commit 866c6b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/breathing/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CfgVehicles {
class kat_PulseoximeterItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName= CSTRING(Pulseoximeter_Desc_Short);
displayName= CSTRING(Pulseoximeter);
author = "Katalam";
vehicleClass = "Items";
class TransportItems {
Expand Down
2 changes: 1 addition & 1 deletion addons/breathing/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CfgWeapons {
scopeCurator = 2;
scopeArsenal = 2;
author = "Katalam";
displayName = CSTRING(Pulseoximeter_Desc_Short);
displayName = CSTRING(Pulseoximeter);
descriptionShort = CSTRING(Pulseoximeter_Desc_Short);
picture = QPATHTOF(ui\Pulseoximeter_normal.paa);
model = QPATHTOF(models\pulseox\pulseox.p3d);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (GVAR(showCyanosis) && _selectionN in [0,2,3]) then {

if (_target getVariable [QGVAR(pulseoximeter), false] && _selectionN in [2,3]) then {
if((_target getVariable [QGVAR(PulseOximeter_Attached), [0,0]] select (_selectionN - 2)) > 0) then {
_entries pushback [LLSTRING(Pulseoximeter_Desc_Short), [0.3, 0.8, 0.8, 1]];
_entries pushback [LLSTRING(Pulseoximeter), [0.3, 0.8, 0.8, 1]];
};
};

Expand Down
6 changes: 5 additions & 1 deletion addons/breathing/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
<Portuguese>Remover Oxímetro de Pulso</Portuguese>
<Finnish>Irrota pulssioksimetri</Finnish>
</Key>
<Key ID="STR_KAT_Breathing_Pulseoximeter_Desc_Short">
<Key ID="STR_KAT_Breathing_Pulseoximeter">
<English>Pulse Oximeter</English>
<German>Pulsoximeter</German>
<Polish>Pulsoksymetr</Polish>
Expand All @@ -245,6 +245,10 @@
<Portuguese>Oxímetro de Pulso</Portuguese>
<Finnish>Pulssioksimetri</Finnish>
</Key>
<Key ID="STR_KAT_Breathing_Pulseoximeter_Desc_Short">
<English>Used to read pulse rate and SpO2</English>
<Japanese>脈拍数とSpO2を読み取るのに使用</Japanese>
</Key>
<Key ID="STR_KAT_Breathing_placing">
<English>Placing</English>
<German>Anlegen</German>
Expand Down

0 comments on commit 866c6b2

Please sign in to comment.