From f59a1b5dfd23629615397bd2409e610169b9d57a Mon Sep 17 00:00:00 2001 From: Fabian Wunsch <42294590+fabi321@users.noreply.github.com> Date: Mon, 31 Mar 2025 22:18:14 +0200 Subject: [PATCH] Fix singles being renamed to "Singles & EPs" (#755) * Fix singles being renamed to "Singles & EPs" * add translation strings for "singles & eps" * Remove old translation strings --------- Co-authored-by: Solomon Victorino --- ytmusicapi/locales/ar/LC_MESSAGES/base.mo | Bin 1192 -> 1222 bytes ytmusicapi/locales/ar/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/base.pot | 2 +- ytmusicapi/locales/de/LC_MESSAGES/base.mo | Bin 1036 -> 1049 bytes ytmusicapi/locales/de/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/en/LC_MESSAGES/base.mo | Bin 578 -> 622 bytes ytmusicapi/locales/en/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/es/LC_MESSAGES/base.mo | Bin 1110 -> 1120 bytes ytmusicapi/locales/es/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/fr/LC_MESSAGES/base.mo | Bin 899 -> 943 bytes ytmusicapi/locales/fr/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/hi/LC_MESSAGES/base.mo | Bin 1279 -> 1305 bytes ytmusicapi/locales/hi/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/it/LC_MESSAGES/base.mo | Bin 956 -> 968 bytes ytmusicapi/locales/it/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/ja/LC_MESSAGES/base.mo | Bin 1202 -> 1214 bytes ytmusicapi/locales/ja/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/ko/LC_MESSAGES/base.mo | Bin 1114 -> 1127 bytes ytmusicapi/locales/ko/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/nl/LC_MESSAGES/base.mo | Bin 1092 -> 1106 bytes ytmusicapi/locales/nl/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/pt/LC_MESSAGES/base.mo | Bin 1028 -> 1038 bytes ytmusicapi/locales/pt/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/ru/LC_MESSAGES/base.mo | Bin 1159 -> 1183 bytes ytmusicapi/locales/ru/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/tr/LC_MESSAGES/base.mo | Bin 1019 -> 1037 bytes ytmusicapi/locales/tr/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/ur/LC_MESSAGES/base.mo | Bin 1122 -> 1139 bytes ytmusicapi/locales/ur/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po | 4 ++-- ytmusicapi/parsers/i18n.py | 2 +- 32 files changed, 34 insertions(+), 34 deletions(-) diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo index ccb98711df8185a6450e5a3e8cd0a654d96504a7..be36f445108f9bedb251b6e488bf648e4d26ab16 100644 GIT binary patch delta 278 zcmZ3%d5m+ylzLtU1_mo81_l-&?E$3OfwV7>W(CrrK$;CmM+52aKspIXa{=inW(Ed6 zAe{=NIe>HtkQN5gwNU;P0%?!|AwXIMNap})ki`>$G|0j^Q2tUNEehmsm>kKd%qTFqmQkFMVe(W)c}9`R zTN!&;71R_`3pP72sWT}rzOn1Z@|$fpdlhcB0;$Fu8*i+?u~Ok?$Bnf&TW&VpSbk&G Iy~%?6}xfwVXy1A_}xJcbz}p9G{i zf$|wZ8Ysn31Qjm@(tJREHIU{2(p^9rq;4{lKNm=Y%w5LJV8IJt z8sv~yKpNzbPf+n6Q2u`?pLMb)qcy8APzA%}PDW`){>e)jTQ=)6onV~&k69W3GuRjb diff --git a/ytmusicapi/locales/de/LC_MESSAGES/base.po b/ytmusicapi/locales/de/LC_MESSAGES/base.po index 25402e8..eda6893 100644 --- a/ytmusicapi/locales/de/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/de/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "alben" #: parsers/i18n.py:56 -msgid "singles" -msgstr "singles" +msgid "singles & eps" +msgstr "singles & eps" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/en/LC_MESSAGES/base.mo b/ytmusicapi/locales/en/LC_MESSAGES/base.mo index dad0d03a7eb08cdc4986c5c1b2f3e4c1d6a0c0f2..f17718e3623064547075f8288307fc1d25f8ce7d 100644 GIT binary patch delta 211 zcmX@a@{Xnco)F7a1|Z-7Vi_Qg0b*_-o&&@nZ~}-~f%qg4GXe2=AO@+u1jOt>d>e>C z@{fU-4TxU?F)t8*0Ag`Q28Mq?8YC|U)C|%u10?u?v^T!1vlfJh(> qG9Up+1NAd712G72Oq}V?Tb!Afo|9Uvpr(*oP`vSeG9w>~2m=7sK)e%(nSgjd5OVW(CrrK$;CmM+0ebMh1o?D8GuCfq?@k z-Uy^Y>brn6P>Nv^RD3Fs76S6;0ckNHy%9)@1L+e``3FFn6Ucwb%-{yL;4@G_8Yu7! zNQ(ezF`#Qe7Hb1(kOPf?G{`~+APut66Dl7F1?H4Wz|^^dYGHEg;Pa}}p$?D+S!f2NK^EFW<=vrtzsZq|%8U$?YZ=8EMJ7*WlxGx}yp^$M VvpdrpM)uUa9dL diff --git a/ytmusicapi/locales/es/LC_MESSAGES/base.po b/ytmusicapi/locales/es/LC_MESSAGES/base.po index 2ab7bb1..1365478 100644 --- a/ytmusicapi/locales/es/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/es/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "álbumes" #: parsers/i18n.py:56 -msgid "singles" -msgstr "sencillos" +msgid "singles & eps" +msgstr "singles y eps" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/fr/LC_MESSAGES/base.mo b/ytmusicapi/locales/fr/LC_MESSAGES/base.mo index 628f0811bf86a42a4cdd9bb8a9be49fe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i/LC_MESSAGES/base.po b/ytmusicapi/locales/hi/LC_MESSAGES/base.po index 23c672f..44070ef 100644 --- a/ytmusicapi/locales/hi/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/hi/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "एलबम" #: parsers/i18n.py:56 -msgid "singles" -msgstr "एकल" +msgid "singles & eps" +msgstr "गाने और ईपी" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/it/LC_MESSAGES/base.mo b/ytmusicapi/locales/it/LC_MESSAGES/base.mo index f23ca6f1237f4d80f629943054aa3ffa71f030fa..53425bec21271d961d26201228dbb1282af8d767 100644 GIT binary patch delta 239 zcmdnPeu8~MOFb_G1H(f`1_l-&{T@iO1L-e7nhi+*0n*|?%*@2VzzXC`Gec-aAPrKd z4y1un4Ej*M5s(%E@~wb02axuMibp`{1RyO76wd(CVnDi$nL!O~&|IJZ$RSICG{~aO zKpJGgPALD-WKBkOK|Y`eNR%Il!C-PCV>_#YnnG&9=I4z28D$hwQ-ExSq@u*Ue1_tZ R#H!5vyi|s=%#_r81_1829ytI2 delta 227 zcmX@XzK4B6OFcUS1H(f`1_l-&{Srun`0s!;8<746q{V^wFA%c=`J&7aS{g`$)F}dK zCLpZ|W(CrrK$;CmM+0ebMh1o?Ak72hS208A zb|5VTE(drFmEw+`tAX0c}?VYA}V;;XoQ> zQ6-QDSyjP0NIm!SkwTKY8~W(CrrK$;CmM+0ebMh1o?D8GssBHjq3 zd4TdAKpH5;Fcr$50i=b2{H0L-PAGj0N?(T3511L;7&w6n-vR|hfb@4DEeoW1fUW^q ztOcY&4m5=F?SVANLN_1{(iaS+V<$&4Dl-a9u4M!|bMjP1c}9`RTN!&;71R_`3pP72 SePm=;c)g(?$eC=&q6q-ohaK7g delta 236 zcmaFPaf@TZlzMgs1_mo81_l-&?F6Jje0Lzt3Z(skG#ii(1=8Y-3=A<)ehD)~yc$UJ z0Ogy2G*F76AIhHuq=kX}`B465D187*pM}!5m>Jv{IDrbE0|i8Y^hY2q3#8eAt^rxB z0;RQ~v=NX7S!fBQLHgXFbim|DMrB5Z$+e8)j3Se#GRiXwOy0`av)P^L1LI^n7EJ&Q CR~W7U diff --git a/ytmusicapi/locales/ko/LC_MESSAGES/base.po b/ytmusicapi/locales/ko/LC_MESSAGES/base.po index 531be2a..4a03014 100644 --- a/ytmusicapi/locales/ko/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ko/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "앨범" #: parsers/i18n.py:56 -msgid "singles" -msgstr "싱글" +msgid "singles & eps" +msgstr "싱글 및 ep" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/nl/LC_MESSAGES/base.mo b/ytmusicapi/locales/nl/LC_MESSAGES/base.mo index 48bc7d3438bd362d285bc142f2682ba723de51a8..0be6f70bcf2d84cbb7c5252840e9d62beb211b41 100644 GIT binary patch delta 240 zcmX@YafxF>PdzUK1A`J10|N_?HUQG>K-v^YvjS;bAk7A(oq@C$BM?Kyr!qstX9H=F z`b9t*D8;Y}NOJ+{wLn@FNbdmBJV5#!kmdu@w}CVVkbVWELHa&3GuSb30~x=80%Aa# z9q0;>g>pceA4sc0`KCY`q`?MAgB<1p<$F!`WV8keFz`?AWRzwUp1hQ?g;haKA+=z$ T2Gc)Ac7@bDAX|O1DvLY-h#ndo delta 253 zcmcb_afD++Pdz&W1A`J10|N_?)&kNXzCMs<1=8j~nhi+X0%@hfHW77UJj&1f%GOI%>$%Q0BJrTeHBP^0O=<{8l>+nGlLxiH<0laC?E!; z8G)_xde03;a4@iR?W(MWkO!j27W)%jCFih@blxF0gyp*wJvp&;bMmdJO c(%jtCB8K9U#FEVXJchE&l+=6(sb0(g0M23`wEzGB diff --git a/ytmusicapi/locales/nl/LC_MESSAGES/base.po b/ytmusicapi/locales/nl/LC_MESSAGES/base.po index 2206944..bb41a95 100644 --- a/ytmusicapi/locales/nl/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/nl/LC_MESSAGES/base.po @@ -67,8 +67,8 @@ msgid "albums" msgstr "albums" #: parsers/i18n.py:56 -msgid "singles" -msgstr "singles" +msgid "singles & eps" +msgstr "singles en ep's" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/pt/LC_MESSAGES/base.mo b/ytmusicapi/locales/pt/LC_MESSAGES/base.mo index 4e70fedeeaae6ad20d0bf3a154e17b81b901284f..8f315f15b92294e4d2be7533fd478c71a61522e4 100644 GIT binary patch delta 245 zcmZqS=;N5sQ_su5z@Ws$z`z2e4S+N|kTwOo=`dv zNCTx9B7rm~kd6V;0zf(qNQ(mLav&`Rq^Z}^E z4ImA2*nJ=ka?o2K4KnyERQ^9yoQ-9&7o!!(sSNy+I~k=Jg(oj%Y++SUQ%Eh?tiiO2 UkvlUlJtwtTAr&Yv`60710BA-XX#fBK delta 235 zcmeC9n7c7gJ3m?7$%p|m%U z21+pm18Ghm9R{QYfOGkX3Wx*gT~LWj zKpJGwO&|?&&|@h7HB|m9RQwO~WG_Z5R$-tLhRL0b(v19*mom0&)@Rzt$ey25lA2kR JKlwGYG5|XF8AUz4xLk>Bf~z28-RMEC$zRaR+5!SIkOM%3`3y>;o8O^BsHxU%_aT z|IwL#JXb<*XPSGBixIB0J(u}mBVpdw!*qpVlk-6*s LmUv~)%!1YrD7+aL diff --git a/ytmusicapi/locales/ru/LC_MESSAGES/base.po b/ytmusicapi/locales/ru/LC_MESSAGES/base.po index 45e5e89..f9adaff 100644 --- a/ytmusicapi/locales/ru/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ru/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "альбомы" #: parsers/i18n.py:56 -msgid "singles" -msgstr "синглы" +msgid "singles & eps" +msgstr "синглы и выпуски" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.mo b/ytmusicapi/locales/tr/LC_MESSAGES/base.mo index 6256128b44cc5c121b59b7688e5873cd3c30cc46..d0ef7682222100f57ff5c29717da3a220c5c66cf 100644 GIT binary patch delta 253 zcmey(-peter=FLAfkBChfq?}`8vto`AZ-eyS%I`IkY)qY&OrJ*koJP|otPOIIDvdm zC>;!>fl>^yKpLb!0Z8)!=?o}c4x|Nu{5BxX4Wy?7X^^>#nHlWC2CV`L$N&YlKqW2$ zX%Qg*29O3B_!dZW0O_wl8sxBlP(BOGWG_Z5kO%|+_{~0{r=FdGfkBChfq?}`YXNBxUmr-b0%>y~%?6}xf%JDE?E>Z7Ff%Z40{PBR z+80Ozr5M72G)R9Gkmdu@Nl>~FNDBb@4M3V3NKXXPAamz3GuVR-S^^Z10Sc^xN}LAL z960f@&H79$8QGIkvlEMQ K5+}cARssNqV;gV) diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.po b/ytmusicapi/locales/tr/LC_MESSAGES/base.po index 4d2b10b..abf227d 100644 --- a/ytmusicapi/locales/tr/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/tr/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "albümler" #: parsers/i18n.py:56 -msgid "singles" -msgstr "bekarlar" +msgid "singles & eps" +msgstr "single'lar ve ep'ler" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.mo b/ytmusicapi/locales/ur/LC_MESSAGES/base.mo index d6c43a82d45a5dda6630559f3f472798bf130a77..f22e667856279a6bb9a21f355afd17f82bc9cdbb 100644 GIT binary patch delta 254 zcmXZWzYYOG5XbRZcgMy5f~dqL60Jg~(hv=ug6jySNK_J{RVXCOGiZruJ%XA-;{h~R zC^WvCT=kjX%w}iaZs6|r>y(JpBO*4oF@_yR^L?2X1 d<@8l;9k1ezXO~7KPzmpGd~P0R@?6*K>L1AcArSxo delta 236 zcmXZWtqKA`6o%n*c2^z5pACXZ6gHVGCcz@&g2mznLAzbBiOpmXMsLC@f|uYO*iB|d ztiA)2p7VWk;LOK7&EdE$h)6FGiEw}}r`W6CyV1JV>`9v%+pF#` KY4BD%j5>c~&KVy7 diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.po b/ytmusicapi/locales/ur/LC_MESSAGES/base.po index 6084949..c297823 100644 --- a/ytmusicapi/locales/ur/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ur/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "البمز" #: parsers/i18n.py:56 -msgid "singles" -msgstr "سنگلز" +msgid "singles & eps" +msgstr "سنگلز اور eps" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po index fe10118..623497c 100644 --- a/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po @@ -65,8 +65,8 @@ msgid "albums" msgstr "专辑" #: parsers/i18n.py:56 -msgid "singles" -msgstr "单曲" +msgid "singles & eps" +msgstr "单曲和迷你专辑" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po index f531c82..10f4c84 100644 --- a/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po @@ -66,8 +66,8 @@ msgid "albums" msgstr "專輯" #: parsers/i18n.py:56 -msgid "singles" -msgstr "單曲" +msgid "singles & eps" +msgstr "單曲與迷你專輯" #: parsers/i18n.py:57 msgid "shows" diff --git a/ytmusicapi/parsers/i18n.py b/ytmusicapi/parsers/i18n.py index 6ac8e75..5a592db 100644 --- a/ytmusicapi/parsers/i18n.py +++ b/ytmusicapi/parsers/i18n.py @@ -53,7 +53,7 @@ class Parser: # type: ignore[name-defined] categories = [ ("albums", _("albums"), parse_album, MTRIR), - ("singles", _("singles"), parse_single, MTRIR), + ("singles", _("singles & eps"), parse_single, MTRIR), ("shows", _("shows"), parse_album, MTRIR), ("videos", _("videos"), parse_video, MTRIR), ("playlists", _("playlists"), parse_playlist, MTRIR),