Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Aug 25, 2024
1 parent be36948 commit ace09a1
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div class="setting-row">
<div class="setting-row-label">
<span translate *ngIf="!automations.length"
>audio-volume-automations.devices.title.noDevices</span
>audio-volume-automations.devices.title.noDevices</span
>
<span translate *ngIf="automations.length"
>audio-volume-automations.devices.title.hasDevices</span
>audio-volume-automations.devices.title.hasDevices</span
>
<span translate>audio-volume-automations.devices.description</span>
</div>
Expand Down Expand Up @@ -51,8 +51,8 @@
</div>
<span>{{ automation.audioDeviceRef.name.display }}</span>
<span *ngIf="automation.audioDeviceRef.name.driver">{{
automation.audioDeviceRef.name.driver
}}</span>
automation.audioDeviceRef.name.driver
}}</span>
</div>
<div class="setting-row-action">
<app-select-box
Expand All @@ -72,8 +72,15 @@
</button>
</div>
</div>
<div class="setting-row-group"
*ngIf="(automationType === 'onSleepEnable' || automationType === 'onSleepDisable') || automation.type === 'SET_VOLUME'" @vshrink>
<div
class="setting-row-group"
*ngIf="
automationType === 'onSleepEnable' ||
automationType === 'onSleepDisable' ||
automation.type === 'SET_VOLUME'
"
@vshrink
>
<div class="setting-row" *ngIf="automation.type === 'SET_VOLUME'" @vshrink>
<div class="setting-row-label">
<span translate>audio-volume-automations.volume.title</span>
Expand All @@ -87,10 +94,15 @@
></app-slider-setting>
</div>
</div>
<div class="setting-row" *ngIf="automationType === 'onSleepEnable' || automationType === 'onSleepDisable'">
<div
class="setting-row"
*ngIf="automationType === 'onSleepEnable' || automationType === 'onSleepDisable'"
>
<div class="setting-row-label" translate>
<span translate>audio-volume-automations.applyOnStart.title</span>
<span translate>{{ 'audio-volume-automations.applyOnStart.description.' + automationType | translate }}</span>
<span translate>{{
'audio-volume-automations.applyOnStart.description.' + automationType | translate
}}</span>
</div>
<div class="setting-row-action">
<label class="switch-toggle">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ <h2 translate>brightness-automations.events</h2>
<div class="setting-row" *ngFor="let event of events">
<div class="setting-row-icon">
<i class="material-symbols-outlined" [class.icon-filled]="event.iconFilled">{{
event.icon
}}</i>
event.icon
}}</i>
</div>
<div class="setting-row-label" translate>
<span>{{ 'brightness-automations.' + event.name + '.title' | translate }}</span>
Expand All @@ -32,9 +32,7 @@ <h2 translate>brightness-automations.events</h2>
</div>
</div>
</div>
<div
class="alert"
>
<div class="alert">
<div class="alert-bg"></div>
<div class="alert-icon">
<i class="material-symbols-outlined">info</i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ <h2 translate>hmd-automations.bigscreenBeyond.fanControl.title</h2>
<div class="setting-row">
<div class="setting-row-label" translate>
<span class="row-title">
<span translate
>settings.brightnessCct.bigscreenBeyond.forceFanSafety.title</span
>
<span translate>settings.brightnessCct.bigscreenBeyond.forceFanSafety.title</span>
<span
class="experimental-flag"
[tooltip]="'settings.brightnessCct.bigscreenBeyond.forceFanSafety.warning'"
Expand All @@ -74,9 +72,7 @@ <h2 translate>hmd-automations.bigscreenBeyond.fanControl.title</h2>
<i class="material-icons">warning</i>
</span>
</span>
<span translate
>settings.brightnessCct.bigscreenBeyond.forceFanSafety.description</span
>
<span translate>settings.brightnessCct.bigscreenBeyond.forceFanSafety.description</span>
</div>
<div class="setting-row-action">
<label class="switch-toggle">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,12 @@ <h2 translate>shutdown-automations.triggers.triggers</h2>

<div class="setting-row" [class.disabled]="!config.triggerWhenAlone">
<div class="setting-row-label" translate>
<span translate>shutdown-automations.triggers.whenAloneOnlyWhenSleepModeEnabled.title</span>
<span translate>shutdown-automations.triggers.whenAloneOnlyWhenSleepModeEnabled.description</span>
<span translate
>shutdown-automations.triggers.whenAloneOnlyWhenSleepModeEnabled.title</span
>
<span translate
>shutdown-automations.triggers.whenAloneOnlyWhenSleepModeEnabled.description</span
>
</div>
<div class="setting-row-action">
<label class="switch-toggle">
Expand Down
2 changes: 1 addition & 1 deletion src-ui/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2505,4 +2505,4 @@
},
"title": "VRChat-Stummschaltungsautomatisierungen"
}
}
}
2 changes: 1 addition & 1 deletion src-ui/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2510,4 +2510,4 @@
},
"title": "VRChat Microphone Mute Automations"
}
}
}
2 changes: 1 addition & 1 deletion src-ui/assets/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -2387,4 +2387,4 @@
},
"title": "Автоматизація вимкнення мікрофона VRChat"
}
}
}

0 comments on commit ace09a1

Please sign in to comment.