Changeset 834bcc3 in Klonkt for src/services/PlaylistService.js


Ignore:
Timestamp:
06/23/2026 06:14:27 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
d774679
Parents:
bb42dfb
Message:

i18n: translate Dutch code comments to English across src/

Comments in routes/services/views/config/middleware/assets translated to
English for the public repo. A few dev-facing throw/console message strings
were Englished too. No user-facing UI strings or i18n dictionary values changed
(src/services/i18n.js untouched). Logic unchanged.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/PlaylistService.js

    rbb42dfb r834bcc3  
    104104
    105105    const mappedTracks = tracks
    106       // Link-only tracks (geen media-bestand) blijven in de lijst staan met url ''.
     106      // Link-only tracks (no media file) remain in the list with url ''.
    107107      .map(t => ({
    108108        id: t.id,
     
    116116        url: (t.filename && urlFor) ? urlFor(t.filename) : '',
    117117      }));
    118     // Geen eigen cover? Val terug op de eerste track-cover, zodat de kaart niet leeg is.
     118    // No playlist cover? Fall back to the first track cover so the card isn't empty.
    119119    const fallbackCover = (mappedTracks.find(t => t.cover) || {}).cover || '';
    120120    return {
     
    220220   * Delete a playlist. Track references in playlist_tracks are removed
    221221   * automatically via ON DELETE CASCADE. Posts that embed this playlist
    222    * will render a "playlist niet gevonden" placeholder.
     222   * will render a "playlist not found" placeholder.
    223223   */
    224224  static delete(siteId, id) {
Note: See TracChangeset for help on using the changeset viewer.