Skip to content

Commit

Permalink
feat: add more tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
nini22P committed Oct 28, 2024
1 parent 3c1455b commit 3c4cc06
Show file tree
Hide file tree
Showing 10 changed files with 211 additions and 169 deletions.
101 changes: 59 additions & 42 deletions src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ msgstr "Account"
msgid "Add account"
msgstr "Add account"

#: src/components/CommonList/CommonMenu.tsx:256
#: src/pages/Player/PlayerMenu.tsx:361
#: src/components/CommonList/CommonMenu.tsx:257
#: src/pages/Player/PlayerMenu.tsx:354
#: src/pages/SideBar/Playlists.tsx:52
msgid "Add playlist"
msgstr "Add playlist"

#: src/components/CommonList/CommonMenu.tsx:160
#: src/components/CommonList/CommonMenu.tsx:161
msgid "Add to play queue"
msgstr "Add to play queue"

#: src/components/CommonList/CommonMenu.tsx:155
#: src/components/CommonList/CommonMenu.tsx:230
#: src/pages/Player/PlayerMenu.tsx:240
#: src/pages/Player/PlayerMenu.tsx:335
#: src/components/CommonList/CommonMenu.tsx:156
#: src/components/CommonList/CommonMenu.tsx:231
#: src/pages/Player/PlayerMenu.tsx:233
#: src/pages/Player/PlayerMenu.tsx:328
msgid "Add to playlist"
msgstr "Add to playlist"

Expand All @@ -50,29 +50,31 @@ msgstr "Ascending"
msgid "Auto"
msgstr "Auto"

#: src/components/CommonList/CommonMenu.tsx:261
#: src/pages/Player/PlayerMenu.tsx:366
#: src/pages/Playlist/Playlist.tsx:216
#: src/pages/Playlist/Playlist.tsx:239
#: src/components/CommonList/CommonMenu.tsx:262
#: src/pages/Player/PlayerMenu.tsx:359
#: src/pages/Playlist/Playlist.tsx:217
#: src/pages/Playlist/Playlist.tsx:240
#: src/pages/Setting.tsx:217
msgid "Cancel"
msgstr "Cancel"

#: src/components/CommonList/CommonMenu.tsx:219
#: src/components/CommonList/CommonMenu.tsx:220
msgid "Cancel select"
msgstr "Cancel select"

#: src/pages/Player/PlayerMenu.tsx:292
#: src/pages/Player/PlayerMenu.tsx:285
msgid "Classic"
msgstr "Classic"

#: src/pages/Setting.tsx:117
msgid "Clear"
msgstr "Clear"

#: src/pages/Files/Files.tsx:177
#~ msgid "Close"
#~ msgstr "Close"
#: src/pages/PictureView/PictureView.tsx:72
#: src/pages/Player/Audio/Modern.tsx:154
#: src/pages/Player/VideoPlayerTopbar.tsx:56
msgid "Close"
msgstr "Close"

#: src/pages/Setting.tsx:143
msgid "Color mode"
Expand All @@ -94,15 +96,15 @@ msgstr "Dark"
msgid "Data"
msgstr "Data"

#: src/pages/Playlist/Playlist.tsx:190
#: src/pages/Playlist/Playlist.tsx:191
msgid "Delete"
msgstr "Delete"

#: src/pages/Files/FilterMenu.tsx:106
msgid "Descending"
msgstr "Descending"

#: src/pages/Playlist/Playlist.tsx:212
#: src/pages/Playlist/Playlist.tsx:213
msgid "Enter new title"
msgstr "Enter new title"

Expand All @@ -114,6 +116,11 @@ msgstr "Files"
msgid "Folders first"
msgstr "Folders first"

#: src/pages/Player/Audio/Modern.tsx:204
#: src/pages/Player/PlayerControl.tsx:318
msgid "Fullscreen"
msgstr "Fullscreen"

#: src/pages/Search.tsx:182
msgid "Global"
msgstr "Global"
Expand Down Expand Up @@ -146,6 +153,10 @@ msgstr "List"
msgid "Local metaData cache"
msgstr "Local metaData cache"

#: src/pages/Player/Audio/Modern.tsx:187
msgid "Lyrics"
msgstr "Lyrics"

#: src/pages/Setting.tsx:97
msgid "Manage"
msgstr "Manage"
Expand All @@ -154,13 +165,17 @@ msgstr "Manage"
msgid "Media only"
msgstr "Media only"

#: src/pages/Player/PlayerMenu.tsx:280
#: src/pages/Player/PlayerMenu.tsx:163
msgid "Menu"
msgstr "Menu"

#: src/pages/Player/PlayerMenu.tsx:273
msgid "Modern"
msgstr "Modern"

#: src/components/CommonList/CommonListItem.tsx:39
#: src/components/CommonList/CommonListItemCard.tsx:88
#: src/pages/Playlist/Playlist.tsx:156
#: src/pages/Playlist/Playlist.tsx:157
msgid "More"
msgstr "More"

Expand All @@ -172,41 +187,43 @@ msgstr "Multicolumn list"
msgid "Name"
msgstr "Name"

#: src/components/CommonList/CommonMenu.tsx:70
#: src/pages/Player/PlayerMenu.tsx:139
#: src/components/CommonList/CommonMenu.tsx:71
#: src/pages/Player/PlayerMenu.tsx:130
#: src/pages/SideBar/Playlists.tsx:19
msgid "New playlist"
msgstr "New playlist"

#: src/components/Lyrics/Lyrics.tsx:75
#: src/pages/Player/Audio/Modern.tsx:275
#: src/components/Lyrics/Lyrics.tsx:78
#: src/pages/Player/Audio/Modern.tsx:285
msgid "No lyrics"
msgstr "No lyrics"

#: src/pages/Playlist/Playlist.tsx:223
#: src/pages/Playlist/Playlist.tsx:240
#: src/pages/Playlist/Playlist.tsx:224
#: src/pages/Playlist/Playlist.tsx:241
msgid "OK"
msgstr "OK"

#: src/components/CommonList/CommonMenu.tsx:167
#: src/pages/Player/PlayerMenu.tsx:220
#: src/components/CommonList/CommonMenu.tsx:168
#: src/pages/Player/PlayerMenu.tsx:213
msgid "Open in folder"
msgstr "Open in folder"

#: src/pages/Setting.tsx:169
msgid "Open source dependencies"
msgstr "Open source dependencies"

#: src/components/CommonList/CommonList.tsx:382
#: src/components/CommonList/CommonList.tsx:383
msgid "Play all"
msgstr "Play all"

#: src/pages/Player/PlayerMenu.tsx:228
#: src/pages/Player/Audio/Modern.tsx:172
#: src/pages/Player/PlayerControl.tsx:308
#: src/pages/Player/PlayerMenu.tsx:221
msgid "Play queue"
msgstr "Play queue"

#: src/pages/Player/PlayerMenu.tsx:207
#: src/pages/Player/PlayerMenu.tsx:305
#: src/pages/Player/PlayerMenu.tsx:200
#: src/pages/Player/PlayerMenu.tsx:298
msgid "Playback rate"
msgstr "Playback rate"

Expand All @@ -215,16 +232,16 @@ msgstr "Playback rate"
msgid "Please use Microsoft account authorization to log in"
msgstr "Please use Microsoft account authorization to log in"

#: src/pages/Player/PlayerMenu.tsx:255
#: src/pages/Player/PlayerMenu.tsx:248
msgid "Re-fetch metadata"
msgstr "Re-fetch metadata"

#: src/components/CommonList/CommonMenu.tsx:185
#: src/components/CommonList/CommonMenu.tsx:186
msgid "Remove"
msgstr "Remove"

#: src/pages/Playlist/Playlist.tsx:184
#: src/pages/Playlist/Playlist.tsx:202
#: src/pages/Playlist/Playlist.tsx:185
#: src/pages/Playlist/Playlist.tsx:203
msgid "Rename"
msgstr "Rename"

Expand All @@ -235,15 +252,15 @@ msgstr "Rename"
msgid "Search"
msgstr "Search"

#: src/components/CommonList/CommonMenu.tsx:198
#: src/components/CommonList/CommonMenu.tsx:199
msgid "Select"
msgstr "Select"

#: src/pages/Setting.tsx:183
msgid "Select account"
msgstr "Select account"

#: src/components/CommonList/CommonMenu.tsx:208
#: src/components/CommonList/CommonMenu.tsx:209
msgid "Select all"
msgstr "Select all"

Expand All @@ -267,16 +284,16 @@ msgstr "Sign out"
msgid "Size"
msgstr "Size"

#: src/pages/Player/PlayerMenu.tsx:248
#: src/pages/Player/PlayerMenu.tsx:241
msgid "Switch fullscreen"
msgstr "Switch fullscreen"

#: src/pages/Player/PlayerMenu.tsx:198
#: src/pages/Player/PlayerMenu.tsx:268
#: src/pages/Player/PlayerMenu.tsx:191
#: src/pages/Player/PlayerMenu.tsx:261
msgid "Switch theme"
msgstr "Switch theme"

#: src/pages/Playlist/Playlist.tsx:236
#: src/pages/Playlist/Playlist.tsx:237
msgid "The playlist will be deleted"
msgstr "The playlist will be deleted"

Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/messages.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"uyJsf6\":\"About\",\"AeXO77\":\"Account\",\"MPPZ54\":\"Add account\",\"uQ+CWJ\":\"Add playlist\",\"Vmuxgj\":\"Add to play queue\",\"gLfZlz\":\"Add to playlist\",\"nYD/Cq\":\"Ascending\",\"R9Khdg\":\"Auto\",\"dEgA5A\":\"Cancel\",\"JsViZF\":\"Cancel select\",\"1gUYFw\":\"Classic\",\"xCJdfg\":\"Clear\",\"yz7wBu\":\"Close\",\"YDWhuY\":\"Color mode\",\"Hp1l6f\":\"Current\",\"srRMnJ\":\"Customize\",\"pvnfJD\":\"Dark\",\"HKH+W+\":\"Data\",\"cnGeoo\":\"Delete\",\"Cko536\":\"Descending\",\"dVoWOX\":\"Enter new title\",\"sER+bs\":\"Files\",\"rvhCbi\":\"Folders first\",\"2GT3Hf\":\"Global\",\"CXDHcv\":\"Grid\",\"t3SPBU\":\"HD thumbnails\",\"0caMy7\":\"History\",\"x5DnMs\":\"Last modified\",\"1njn7W\":\"Light\",\"2BBAbc\":\"List\",\"2QFkSI\":\"Local metaData cache\",\"wckWOP\":\"Manage\",\"eK4SL/\":\"Media only\",\"IU7sBy\":\"Modern\",\"2FYpfJ\":\"More\",\"/u/nsV\":\"Multicolumn list\",\"6YtxFj\":\"Name\",\"dMizp8\":\"New playlist\",\"AZp7qF\":\"No lyrics\",\"zga9sT\":\"OK\",\"zAd2xF\":\"Open in folder\",\"OZNIzM\":\"Open source dependencies\",\"tVR7Hf\":\"Play all\",\"2ckL2r\":\"Play queue\",\"W7OEzk\":\"Playback rate\",\"2t5KJY\":\"Please use Microsoft account authorization to log in\",\"MjjKPY\":\"Re-fetch metadata\",\"t/YqKh\":\"Remove\",\"2wxgft\":\"Rename\",\"A1taO8\":\"Search\",\"rG3WVm\":\"Select\",\"+O3PfQ\":\"Select account\",\"wgNoIs\":\"Select all\",\"EFKJQT\":\"Setting\",\"ML96zX\":\"Shuffle all\",\"5lWFkC\":\"Sign in\",\"fcWrnU\":\"Sign out\",\"Cj2Gtd\":\"Size\",\"NG9Ghl\":\"Switch fullscreen\",\"dGrFyD\":\"Switch theme\",\"DLu3TH\":\"The playlist will be deleted\",\"lRkLr5\":\"Use album cover theme color\"}")as Messages;
/*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"uyJsf6\":\"About\",\"AeXO77\":\"Account\",\"MPPZ54\":\"Add account\",\"uQ+CWJ\":\"Add playlist\",\"Vmuxgj\":\"Add to play queue\",\"gLfZlz\":\"Add to playlist\",\"nYD/Cq\":\"Ascending\",\"R9Khdg\":\"Auto\",\"dEgA5A\":\"Cancel\",\"JsViZF\":\"Cancel select\",\"1gUYFw\":\"Classic\",\"xCJdfg\":\"Clear\",\"yz7wBu\":\"Close\",\"YDWhuY\":\"Color mode\",\"Hp1l6f\":\"Current\",\"srRMnJ\":\"Customize\",\"pvnfJD\":\"Dark\",\"HKH+W+\":\"Data\",\"cnGeoo\":\"Delete\",\"Cko536\":\"Descending\",\"dVoWOX\":\"Enter new title\",\"sER+bs\":\"Files\",\"rvhCbi\":\"Folders first\",\"3qkggm\":\"Fullscreen\",\"2GT3Hf\":\"Global\",\"CXDHcv\":\"Grid\",\"t3SPBU\":\"HD thumbnails\",\"0caMy7\":\"History\",\"x5DnMs\":\"Last modified\",\"1njn7W\":\"Light\",\"2BBAbc\":\"List\",\"2QFkSI\":\"Local metaData cache\",\"HzF5X6\":\"Lyrics\",\"wckWOP\":\"Manage\",\"eK4SL/\":\"Media only\",\"zucql+\":\"Menu\",\"IU7sBy\":\"Modern\",\"2FYpfJ\":\"More\",\"/u/nsV\":\"Multicolumn list\",\"6YtxFj\":\"Name\",\"dMizp8\":\"New playlist\",\"AZp7qF\":\"No lyrics\",\"zga9sT\":\"OK\",\"zAd2xF\":\"Open in folder\",\"OZNIzM\":\"Open source dependencies\",\"tVR7Hf\":\"Play all\",\"2ckL2r\":\"Play queue\",\"W7OEzk\":\"Playback rate\",\"2t5KJY\":\"Please use Microsoft account authorization to log in\",\"MjjKPY\":\"Re-fetch metadata\",\"t/YqKh\":\"Remove\",\"2wxgft\":\"Rename\",\"A1taO8\":\"Search\",\"rG3WVm\":\"Select\",\"+O3PfQ\":\"Select account\",\"wgNoIs\":\"Select all\",\"EFKJQT\":\"Setting\",\"ML96zX\":\"Shuffle all\",\"5lWFkC\":\"Sign in\",\"fcWrnU\":\"Sign out\",\"Cj2Gtd\":\"Size\",\"NG9Ghl\":\"Switch fullscreen\",\"dGrFyD\":\"Switch theme\",\"DLu3TH\":\"The playlist will be deleted\",\"lRkLr5\":\"Use album cover theme color\"}")as Messages;
Loading

0 comments on commit 3c4cc06

Please sign in to comment.