i18n(fr): apply review round 2

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-28 17:55:20 +04:00
1 parent 4adb9113bc
commit e87001d0db
6 files changed
+122 -91

No files matched your search

+7
View File
@@ -9,6 +9,13 @@ import {
/** Bind Radio input using a RadioControls receiver and supplied actions. */
export function bindRadioControls() {
if (!this._radioPanel) return;
// The markup's placeholder option is the station-tag "All"; markup cannot
// carry the 'radio tag' context the loaded list uses, so set it here.
const allTagOption = this._radioFilter?.querySelector?.(
'option[value="all"]',
);
if (allTagOption)
allTagOption.textContent = t('All', { context: 'radio tag' });
const tunerListenerOptions = {};
const setRadioDisclosure = (expanded, { returnFocus = false } = {}) => {
if (this.destroyed) return;
+1 -1
View File
@@ -122,7 +122,7 @@
<button id="radio-enable-btn" class="panel-layer-toggle" type="button" aria-pressed="false" data-i18n>ENABLE</button>
<label class="radio-filter-label" for="radio-filter" data-i18n>STATION TAG</label>
<select class="gev-field" id="radio-filter" aria-label="Filter stations by station tag" disabled data-i18n-aria-label>
<option value="all" data-i18n>All</option>
<option value="all" data-i18n-runtime>All</option>
</select>
</div>
<div id="radio-station-card" class="radio-station-card" aria-live="polite">