Skip to content

Commit

Permalink
πŸ›πŸŒπŸš§[US] remove towtruck truck setting for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Suchty112 committed Jan 22, 2025
1 parent 3d6bc11 commit 92bf82d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 81 deletions.
6 changes: 0 additions & 6 deletions src/modules/missionHelper/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,6 @@
"possible_crashed_car_min": "Minimum crashed car",
"title": "Crashed car | {n} Crashed car| {n} Crashed cars"
},
"towtruck1": {
"possible_crashed_car_large": "Maximum crashed trucks",
"possible_crashed_car_large_exact": "exact {n} crashed truck | exact {n} crashed trucks",
"possible_crashed_car_large_min": "Minimum crashed truck",
"title": "Crashed truck | {n} Crashed truck| {n} Crashed trucks"
},
"vehicles": {
"captions": {
"ambulances": "Ambulance | Ambulances",
Expand Down
11 changes: 1 addition & 10 deletions src/modules/missionHelper/i18n/en_US.root.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,7 @@
"title": "Crashed car (Title)"
}
},
"towtruck1": {
"content": {
"description": "Shows details about possible Crashed truck.",
"title": "Details of potential Crashed truck"
},
"title": {
"description": "Shows the heading \"Crashed Trucks\" above the details about possible Crashed trucks.",
"title": "Crashed truck (Title)"
}
},

"type": {
"description": "Shows the type number of the mission next to the title.",
"title": "Type number"
Expand Down
50 changes: 1 addition & 49 deletions src/modules/missionHelper/missionHelper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,55 +321,7 @@
}}
</li>
</ul>
<h4 v-if="settings.towtruck1.title">
{{ $mc('towtruck1.title', 0) }}
</h4>
<ul v-if="settings.towtruck1.content">
<li
v-if="
missionSpecs.additional
.possible_crashed_car_large_min &&
missionSpecs.additional
.possible_crashed_car_large_min !==
missionSpecs.additional.possible_crashed_car_large
"
:data-amount="
missionSpecs.additional.possible_crashed_car_large_min
"
>
{{
$mc(
'towtruck1.possible_crashed_car_large_min',
missionSpecs.additional
.possible_crashed_car_large_min
)
}}
</li>
<li
v-if="missionSpecs.additional.possible_crashed_car_large"
:min-is-max="
min_is_max =
missionSpecs.additional
.possible_crashed_car_large ===
missionSpecs.additional
.possible_crashed_car_large_min
"
:data-amount="
min_is_max
? null
: missionSpecs.additional.possible_crashed_car_large
"
>
{{
$mc(
min_is_max
? 'towtruck1.possible_crashed_car_large_exact'
: 'towtruck1.possible_crashed_car_large',
missionSpecs.additional.possible_crashed_car_large
)
}}
</li>
</ul>

<h4 v-if="settings.prerequisites">
{{
$mc(
Expand Down
16 changes: 0 additions & 16 deletions src/modules/missionHelper/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,22 +303,6 @@ export default ((MODULE_ID, LSSM, $m) => {
},
}
: null),
...(['en_US'].includes(locale)
? {
'towtruck1.title': <Toggle>{
type: 'toggle',
default: true,
},
}
: null),
...(['en_US'].includes(locale)
? {
'towtruck1.content': <Toggle>{
type: 'toggle',
default: true,
},
}
: null),
'noVehicleRequirements': <MultiSelect>{
type: 'multiSelect',
default: noVehicleRequirements,
Expand Down

0 comments on commit 92bf82d

Please sign in to comment.