AntonioMrtz / SpotifyElectron

Spotify Electron is a cross-platform music streaming desktop app made with Electron-React frontend and Python-FastAPI-AWS Backend. The goal is to reproduce the original Spotify functionality while adding new ones like uploading songs.
https://antoniomrtz.github.io/SpotifyElectron_Web/
Other
31 stars 9 forks source link

Rename Song Genres to english #154

Open AntonioMrtz opened 5 days ago

AntonioMrtz commented 5 days ago

Description

In both Frontend and Backend a Enum with the Genre value for songs is defined. This is useful for mapping the string value of the genres between frontend and backend. Some of the Genres dont have an english name and its desirable that theyre unified.

Context

How to do it

Update Genre names both in frontend in backend ( they have to match in both sides ) and the comments associated.

Backend

Genres are defined in genre_schema.py file. Rename the non translated genres into english.

Frontend

Genres are defined in genre.ts file. Rename the genres to match the backend ones. Translate the comments about the associated color.

Testing

AntonioMrtz commented 5 days ago

Rename Genres to english