Skip to content

Commit

Permalink
Upd: add view title
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Sep 15, 2024
1 parent 76cbdc4 commit 8bf9789
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 23 deletions.
28 changes: 14 additions & 14 deletions docs/references/translating_status.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- bg-BG: 1079 missing phrases
- es-AR: 27 missing phrases
- es-ES: 946 missing phrases
- es-VE: 934 missing phrases
- fi-FI: 931 missing phrases
- fr-FR: 27 missing phrases
- it-IT: 27 missing phrases
- ja-JP: 27 missing phrases
- ko-KR: 27 missing phrases
- nl-NL: 27 missing phrases
- pl-PL: 113 missing phrases
- ru-RU: 183 missing phrases
- zh-Hans: 27 missing phrases
- zh-Hant: 113 missing phrases
- bg-BG: 1080 missing phrases
- es-AR: 28 missing phrases
- es-ES: 947 missing phrases
- es-VE: 935 missing phrases
- fi-FI: 932 missing phrases
- fr-FR: 28 missing phrases
- it-IT: 28 missing phrases
- ja-JP: 28 missing phrases
- ko-KR: 28 missing phrases
- nl-NL: 28 missing phrases
- pl-PL: 114 missing phrases
- ru-RU: 184 missing phrases
- zh-Hans: 28 missing phrases
- zh-Hant: 114 missing phrases
13 changes: 12 additions & 1 deletion htdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="QueueCurrentPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="QueueCurrentSearchCrumb"></div>
<h1 data-phrase="Queue"></h1>
<div id="QueueCurrentContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="QueueCurrentButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -311,6 +312,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="QueueLastPlayedPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="QueueLastPlayedSearchCrumb"></div>
<h1 data-phrase="Last played"></h1>
<div id="QueueLastPlayedContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="QueueLastPlayedButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -369,6 +371,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="QueueJukeboxSongPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="QueueJukeboxSongSearchCrumb"></div>
<h1 data-phrase="Jukebox"></h1>
<div id="QueueJukeboxSongDisabled" class="alert alert-warning" data-phrase="Jukebox is disabled"></div>
<div id="QueueJukeboxSongContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="QueueJukeboxSongButtonsBottom"></div>
Expand Down Expand Up @@ -427,6 +430,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="QueueJukeboxAlbumPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="QueueJukeboxAlbumSearchCrumb"></div>
<h1 data-phrase="Jukebox"></h1>
<div id="QueueJukeboxAlbumDisabled" class="alert alert-warning" data-phrase="Jukebox is disabled"></div>
<div id="QueueJukeboxAlbumContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="QueueJukeboxAlbumButtonsBottom"></div>
Expand Down Expand Up @@ -492,6 +496,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
</div>
<div id="BrowsePlaylistListPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<h1 data-phrase="Playlists"></h1>
<div id="BrowsePlaylistListContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowsePlaylistListButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -598,7 +603,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<span></span>
<button class="btn-close" data-href='{"cmd": "hideAlert", "options": ["target"]}'></button>
</div>
<h3 id="BrowsePlaylistDetailTitle"></h3>
<h1 id="BrowsePlaylistDetailTitle"></h1>
<div class="row mt-4">
<div id="BrowsePlaylistDetailImage" class="col"></div>
<div id="BrowsePlaylistDetailSticker" class="col featStickerAdv"></div>
Expand Down Expand Up @@ -631,6 +636,7 @@ <h3 id="BrowsePlaylistDetailTitle"></h3>
</div>
<div id="BrowseDatabaseTagListPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<h1 id="BrowseDatabaseTagListTitle"></h1>
<div id="BrowseDatabaseTagListContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowseDatabaseTagListButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -690,6 +696,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="BrowseDatabaseAlbumListPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="BrowseDatabaseAlbumListSearchCrumb"></div>
<h1 data-phrase="Albums"></h1>
<div id="BrowseDatabaseAlbumListContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowseDatabaseAlbumListButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -798,6 +805,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
</div>
<ol id="BrowseFilesystemBreadcrumb" class="breadcrumb p-2 rounded-2 overflow-auto nowrap"></ol>
<div id="BrowseFilesystemImages" class="featLibrary not-clickable" data-href='{"cmd": "zoomPicture", "options": ["target"]}'></div>
<h1 data-phrase="Filesystem"></h1>
<div id="BrowseFilesystemContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowseFilesystemButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -865,6 +873,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="BrowseRadioFavoritesPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="BrowseRadioFavoritesSearchCrumb"></div>
<h1 data-phrase="Webradio favorites"></h1>
<div id="BrowseRadioFavoritesContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowseRadioFavoritesButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -928,6 +937,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="BrowseRadioWebradiodbPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="BrowseRadioWebradiodbSearchCrumb"></div>
<h1 data-phrase="WebradioDB"></h1>
<div id="BrowseRadioWebradiodbContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="BrowseRadioWebradiodbButtonsBottom"></div>
</div>
Expand Down Expand Up @@ -999,6 +1009,7 @@ <h2 data-phrase="Action for selection" class="dropdown-header"></h2>
<div id="SearchPaginationTop" class="btn-group me-2 pagination"></div>
</div>
<div class="breadcrumb p-2 rounded-2 d-none" id="SearchSearchCrumb"></div>
<h1 data-phrase="Search songs"></h1>
<div id="SearchContainer"></div>
<div class="btn-toolbar d-none justify-content-between" id="SearchButtonsBottom"></div>
</div>
Expand Down
1 change: 1 addition & 0 deletions htdocs/js/viewBrowseDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ function parseDatabaseAlbumListUpdate(card, data) {
if (checkResult(obj, cardContainer, undefined) === false) {
return;
}
elGetById('BrowseDatabaseTagListTitle').textContent = tn(obj.result.tag);

if (settings['view' + app.id].mode === 'table') {
const tfoot = cardContainer.querySelector('tfoot');
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 @@ -1225,5 +1225,6 @@
"Invalid refresh interval": "Ungültiger Aktualisierungsintervall",
"Refresh interval": "Aktualisierungsintervall",
"Resume": "Wiederaufnehmen",
"No user defined stickers.": "Keine benutzerdefinierten Sticker."
"No user defined stickers.": "Keine benutzerdefinierten Sticker.",
"Search songs": "Suche nach Lieder"
}
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": 27},
"fr-FR": {"desc":"Français (fr-FR)", "missingPhrases": 27},
"it-IT": {"desc":"Italiano (it-IT)", "missingPhrases": 27},
"ja-JP": {"desc":"日本語 (ja-JP)", "missingPhrases": 27},
"ko-KR": {"desc":"한국어 (ko-KR)", "missingPhrases": 27},
"nl-NL": {"desc":"Nederlands (nl-NL)", "missingPhrases": 27},
"zh-Hans": {"desc":"简体中文 (zh-Hans)", "missingPhrases": 27}
"es-AR": {"desc":"Español (es-AR)", "missingPhrases": 28},
"fr-FR": {"desc":"Français (fr-FR)", "missingPhrases": 28},
"it-IT": {"desc":"Italiano (it-IT)", "missingPhrases": 28},
"ja-JP": {"desc":"日本語 (ja-JP)", "missingPhrases": 28},
"ko-KR": {"desc":"한국어 (ko-KR)", "missingPhrases": 28},
"nl-NL": {"desc":"Nederlands (nl-NL)", "missingPhrases": 28},
"zh-Hans": {"desc":"简体中文 (zh-Hans)", "missingPhrases": 28}
}
1 change: 1 addition & 0 deletions src/i18n/json/phrases.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@
{"term":"Scripts"},
{"term":"Search"},
{"term":"Search queue"},
{"term":"Search songs"},
{"term":"Seconds"},
{"term":"Seek"},
{"term":"Seek seconds"},
Expand Down

0 comments on commit 8bf9789

Please sign in to comment.