Skip to content

Commit

Permalink
Upd: some jukebox settings improvements #1063
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Jul 29, 2023
1 parent bbbeb9a commit 1a9a0fe
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 22 deletions.
24 changes: 12 additions & 12 deletions docs/references/translating_status.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- es-AR: 2 missing phrases
- es-ES: 665 missing phrases
- es-VE: 672 missing phrases
- fi-FI: 668 missing phrases
- fr-FR: 2 missing phrases
- it-IT: 2 missing phrases
- ja-JP: 4 missing phrases
- ko-KR: 2 missing phrases
- nl-NL: 2 missing phrases
- pl-PL: 853 missing phrases
- ru-RU: 101 missing phrases
- zh-Hans: 2 missing phrases
- es-AR: 4 missing phrases
- es-ES: 666 missing phrases
- es-VE: 674 missing phrases
- fi-FI: 670 missing phrases
- fr-FR: 4 missing phrases
- it-IT: 4 missing phrases
- ja-JP: 6 missing phrases
- ko-KR: 4 missing phrases
- nl-NL: 4 missing phrases
- pl-PL: 854 missing phrases
- ru-RU: 103 missing phrases
- zh-Hans: 4 missing phrases
4 changes: 4 additions & 0 deletions htdocs/css/theme-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ html[data-bs-theme="dark"] .form-range::-moz-range-track {
html[data-bs-theme="dark"] .dropdown-menu {
--bs-dropdown-header-color: var(--bs-gray-200);
}

html[data-bs-theme="dark"] .form-control:disabled {
background-color: var(--bs-gray-700);
}
4 changes: 2 additions & 2 deletions htdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1850,13 +1850,13 @@ <h4 data-phrase="Cloud"></h4>
</div>
</div>
<div class="mb-3 row">
<label class="col-sm-4 col-form-label" for="inputJukeboxLastPlayed" data-phrase="Last played older than"></label>
<label class="col-sm-4 col-form-label" for="inputJukeboxLastPlayed" data-phrase="Song was played last"></label>
<div class="col-sm-8">
<div class="input-group">
<div class="flex-grow-1 position-relative">
<input data-is="mympd-input-reset" id="inputJukeboxLastPlayed" class="form-control rounded" placeholder="24"/>
</div>
<span class="input-group-text-nobg" data-phrase="Hours"></span>
<span class="input-group-text-nobg" data-phrase="Hours ago"></span>
<div class="invalid-feedback" data-phrase="Must be a number and equal or greater than zero"></div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions htdocs/js/settingsPlayback.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,10 @@ function toggleJukeboxSettings() {
}
else if (value === 'album') {
elDisableId('inputJukeboxQueueLength');
document.getElementById('inputJukeboxQueueLength').value = '1';
elDisableId('selectJukeboxPlaylist');
elDisableId('btnJukeboxIgnoreHated');
toggleBtnChkId('btnJukeboxIgnoreHated', false);
elDisable(document.getElementById('selectJukeboxPlaylist').nextElementSibling);
document.getElementById('selectJukeboxPlaylist').value = 'Database';
setDataId('selectJukeboxPlaylist', 'value', 'Database');
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/json/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
"Homescreen": "Startbildschirm",
"Homescreen welcome": "Du hast noch keine Homeicons hinzugefügt. Homeicons können über das Kontextmenü und folgende Icons hinzugefügt werden:",
"Hours": "Std",
"Hours ago": "Std",
"IP-Address": "IP-Adresse",
"Image": "Bild",
"Import script": "Skript importieren",
Expand Down Expand Up @@ -333,7 +334,7 @@
"Last modified": "Zuletzt geändert",
"Last page": "Letzte Seite",
"Last played list count": "Anzahl zuletzt gespielte Lieder",
"Last played older than": "Zuletzt gespielt, vor mehr als",
"Song was played last": "Lied wurde zuletzt gespielt",
"LastModified": "Zuletzt geändert",
"LastPlayed": "Zuletzt gespielt",
"License": "Lizenz",
Expand Down
14 changes: 7 additions & 7 deletions src/i18n/json/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"default": {"desc":"Browser default", "missingPhrases": 0},
"de-DE": {"desc":"Deutsch (de-DE)", "missingPhrases": 0},
"en-US": {"desc":"English (en-US)", "missingPhrases": 0},
"es-AR": {"desc":"Español (es-AR)", "missingPhrases": 2},
"fr-FR": {"desc":"Français (fr-FR)", "missingPhrases": 2},
"it-IT": {"desc":"Italiano (it-IT)", "missingPhrases": 2},
"ja-JP": {"desc":"日本語 (ja-JP)", "missingPhrases": 4},
"ko-KR": {"desc":"한국어 (ko-KR)", "missingPhrases": 2},
"nl-NL": {"desc":"Nederlands (nl-NL)", "missingPhrases": 2},
"zh-Hans": {"desc":"简体中文 (zh-Hans)", "missingPhrases": 2}
"es-AR": {"desc":"Español (es-AR)", "missingPhrases": 4},
"fr-FR": {"desc":"Français (fr-FR)", "missingPhrases": 4},
"it-IT": {"desc":"Italiano (it-IT)", "missingPhrases": 4},
"ja-JP": {"desc":"日本語 (ja-JP)", "missingPhrases": 6},
"ko-KR": {"desc":"한국어 (ko-KR)", "missingPhrases": 4},
"nl-NL": {"desc":"Nederlands (nl-NL)", "missingPhrases": 4},
"zh-Hans": {"desc":"简体中文 (zh-Hans)", "missingPhrases": 4}
}

0 comments on commit 1a9a0fe

Please sign in to comment.