From 459ada7b982eedf12e6063ebc80f1a896d36c5d4 Mon Sep 17 00:00:00 2001 From: g-normand Date: Thu, 31 Oct 2024 17:06:56 -0500 Subject: [PATCH] Test that the message are recompiled and re-apply (#188) Co-authored-by: Guillaume Normand Co-authored-by: Pierre Sassoulas --- survey/locale/de/LC_MESSAGES/django.mo | Bin 6514 -> 6375 bytes survey/locale/es/LC_MESSAGES/django.mo | Bin 6484 -> 6442 bytes survey/locale/fr/LC_MESSAGES/django.mo | Bin 6238 -> 6197 bytes survey/locale/gr/LC_MESSAGES/django.mo | Bin 0 -> 8455 bytes survey/locale/id/LC_MESSAGES/django.mo | Bin 6322 -> 6227 bytes survey/locale/ja/LC_MESSAGES/django.mo | Bin 5541 -> 5592 bytes survey/locale/nl/LC_MESSAGES/django.mo | Bin 6434 -> 6290 bytes survey/locale/pl/LC_MESSAGES/django.mo | Bin 6506 -> 6423 bytes survey/locale/pt/LC_MESSAGES/django.mo | Bin 388 -> 379 bytes survey/locale/pt/LC_MESSAGES/django.po | 2 +- survey/locale/ru/LC_MESSAGES/django.mo | Bin 6765 -> 6829 bytes survey/locale/tr/LC_MESSAGES/django.mo | Bin 6538 -> 6504 bytes survey/locale/zh/LC_MESSAGES/django.mo | Bin 5686 -> 5605 bytes .../tests/locale/test_locale_normalization.py | 16 ++++++++++++++-- 14 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 survey/locale/gr/LC_MESSAGES/django.mo diff --git a/survey/locale/de/LC_MESSAGES/django.mo b/survey/locale/de/LC_MESSAGES/django.mo index e0d2d82fa3349b05cc3403008bf79e9b54069724..501cd33be16d1c0c7ba69a6ffdb7fcb42aac1033 100644 GIT binary patch delta 1871 zcmYk-Urfzm9LMpe)T!f7spC(Dq`#t*PN|dra3~3tI(05uRvQh`@}JD+jH{BHGMiz< zTK~#y`V=*w*O-Fe zF_-rn2dz7>0QCZ|wHEbYE9!+^sGc9eOgxGA@tUn~;B910GwQw$)POoM6)#{Oj$j(T z!(c9%X)?1ggL$P>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?Gjq;!p8xsJ z{8e)$;y*18oiti2F_pNJZ}uy87Vt)^8DW;j2yVnPI2H#nj303vhDVx>$H_PvtDW^& z$#o2uVHRug67urx74NKJ|2aQkA=i1V{tb>rEm(m?xCr%mBTmO=)P^!{{DAW)^0L#s zO~F5K6yCuye25|LZ$orS8F+_ta01_oU=)>vF4P9PQBS%b*`pmtrr7T|5&PWuE$3Yv z!}tJdgO5=U^adwm0gF~}fAi=J$0pPbwm1{0iCNSQ4`K*=u^f-#WxVdjcX2nmmO_1R zAL@a6a2lS+O1z664xwK`XFT~FhEZg5)_}U<2Gl~WNLkpAs3-mzm6>+bhEu2v_MndP z6yC;jsQK-jo91_-*6l*Av$u%+YoP-S$it{i9Ki{A(p~qX7QTXC<4x4U51oHwG|%i2 zrWh|_S99?YPQr_*b?+fB8*t;##*u$5_?`isVc}P1OR*f+<4%m>1=P;pqBinBYQa#k z8C@HVI@40rlhvV)Zk4kctGP~~ekI3{m-YFsbHjb`!1)Zd)3>OJA!g}`7og6x4)rtI ziH-OhYC}&@NB9DnYJ=`NpQqG#A?nvK$zA&k>1g5#q#i7WWYJns{|5=DkF&Twh5G(& z)c5YAp7bA7s$Zcpl*jpL!(mj772zeUbK|d(%=z{&9i>+JuYxen##(p19d(wysOr6j zD%R(yc`u!Vs2jgW6`PghHaZNI$x+TJsA8=|)t@!d8DL-=YR7YV3|WOr*?eS=7DW|l zi*uWE2lBEcZ^}%M^AKuYFKVM_-FQDzt3k{E2~?dsE6jH-7iFAa~&h<+hTG?}^of4w&|qf+r7<=F|R$DPG;hJI=a&J-mL7^hVanHs$}Mucw2|J lJDH7l#&^ZjUK^&oR5F$5j_>gj$;|F}Rax9p8y)5rilOm diff --git a/survey/locale/ja/LC_MESSAGES/django.mo b/survey/locale/ja/LC_MESSAGES/django.mo index 0982cf72ec32c6c6b61c45368f539e638759ca9f..de7c8dc105c5421004a3031484cab7addf4cf17e 100644 GIT binary patch delta 1575 zcmYk+OGs2v9LMqF==j!AOS80mR50P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9BJd78)N$B{<^x?=VXL1D5c7 z%VfGW7{xL?g4Ni8OR)#}*c~o<;9X>w>=6>fo}dyOM6J*$GI^W9=lBW6t-enNMN?es}#e)=h!4FduVKfh+OM60;ayq<@W#J%`~?Do!VAYr9eL zdffPf5bLi5p1Oe{RR1+<@7}oaX*WKH3h)o(SinALD-Lj3hsRKfUqC(3!+N~s#z#@{ z$6fzR4(qQU{9qstXWfk;>#6Y&YPdE42G+Veiw??>in z4^b=W4Y?cR7-0`Tp$=UJca=ysDsaBD2zjg_$6E{$GthIi% zRQB9|V}SqW*^F8{ZR|#>${s4G-G4(t>hX27*eCx8R-;}g3#Ez1CTcTPXMb;UK2V&N NtjzotOh&^4f&bn{dMy9| diff --git a/survey/locale/nl/LC_MESSAGES/django.mo b/survey/locale/nl/LC_MESSAGES/django.mo index 7e85344df1e616745a7c03bf857a891e6dfe58d9..78ae4c160bd5774bc38119ba7245b243c6de5654 100644 GIT binary patch delta 1871 zcmYk+Nl27o9LMoTb4e@La;wZO$I0EaF_*L)&6Y9K<{*)Q2o;#LNs-V{M2Kw^1RfGZ z>LgKN5!4|HPj<2n1!+Zx2qYvZLT&s0W}d=_`M;m%d1l^ce`dJkda>_aT*wVW@)E0v zv0!74Vpk{+Qc<`u-B^rGIE2wSgAw=#V=!W|G4Ys!OR&INfq9f0unLc(3-2KxpZUy_ zHq2M+EH0xQMC-{IjcU+|QCNoh-i;bai!FCpk02j&hQ~_m!$`b^8F&{%@Fj-Qzj;k& zH5F6nzHWQ^t%@>6pb6Y!#~AGVI*QtBU|2Ko#&p$SaEX>`)R z38VEeEJAhQvNob#Y(sT;2sQF!n1v_tKHjwTP4q_Aw4#2uA2p#)OvOu>ha;GVZ_wu? zGfQR>X0omf$~aIRmY^D{M2>~2Ma{SlwK5*mfLl>3*ooT8bNC$lQSW=$H@)A2YS)Wu zr#*`GS3?J>klm=2IDsp$*OsrL8XmyqID~5Wq4hDg1sU@cd#F!lRLyu5btpfe-v5SL z`k%N46JuF_CU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Qz(XFN$Lo~kdG%Vc|KZArUm<@0qVBZi diff --git a/survey/locale/pl/LC_MESSAGES/django.mo b/survey/locale/pl/LC_MESSAGES/django.mo index 3a96ff8fc249d0ab82441526a4034a0d0c3342fd..555dc1525e101c0b8fa543f32ba67bc26249a3d2 100644 GIT binary patch delta 1836 zcmYk+Sx8h-9LMpKxiprVnwh4#0LnE(BpduQ%F|MNfR&a7w1<9izu>^HOy zB8hk$WK1u1hj5^!h8fd?Y1o2SF$&+I3%}t~{Ee{~zQ~xxxXPM~d7Kwx1@6ZZ97R4p z^M)h$n)lYv7{U1uOu)aW2PQCDBxa(%FGM9$ZO_}SdytRm;jj`n*NbR5B8oWf+r zH_zx~bKxWAV+6m}+5CZQgbiEIaxi<+?;Rhbf0!j+heEvO|tf>U?`b$0| zwFG?_kA76e?nYC8W%P&(+LhB-iGQ#Z%VGlGA44U026f{()Dm4m?STP>PND{! zK|W@dgDN&>jpS9KNG8QcM{DFpCSjT}6L+C1Ghn~JfNMFwh1>8YDv@MH(*$x*2^F9! zR%2~Kermj^B{+my>Z7Oxe0{ca5%szZq5cOZuo!1h4-8{nG?OT6I_kkis6-pBt*AtI z;y4bV_EEWoFzwfl){Fp33ZiA^bLrsdXJRLNUVo6L)v zQ75YO2T%j`BRQBsR05;;1@B|9-v8khfede;W;$jaN6qY^^$BVZOrt9G9QFH8)~~1v z{Xz}wA`2xRXQk^TswA}34TQIugPJzSc4C80XlcZHLYdDuRYxtI*g-IkX(H6Jh}LT_ zLgIZ}=&4R6L^+|9wDPKnno`?J=+BrEIEw|&B5C2(asxQWjkeD|Fh&1eSMBGU>h1}g z_?*S7;-s3WCGrUE6fN>X@~L_%)4w3+e8NtQOw;iS3DI^?o8m$?iZEowBz z+}ha8W~hHPTmQKJY3L8b#`uT#=Q%%q>-)TZ&(rh#p6~Db`#tAE-simV`=sb|Mynu3 z5gk!xJ8@eK2inv)vjFDeO1y#t@e9V|9~^}7eawJ1`x)Fq-$< zH#(_Y_=)3j2zTXT5vmA5R04IVnI1%Pv@^&fb_s{#HFy27vlIJs{RJw)H>e5qU<$@C zXcq4`ADvh%L%m?Nvl8`SE$W4bFdC0z2A;-y_`qG?%G>DLcGP`)Q4^}iG;G63*oi*; zhT$wa$<(tq79q)5G3tfOQ3F*V+rl=WX1obinQBzR+ffy)M=fO&KEtc1=c`#aJ--b# zZV)xjo&@Tzff~3V8&Q=wi9_(5JHLq<_&yHCN2r0joZZ;n%j^}_bNx11t;flUky0N; zy|4wf1UGRQb|zAPmF%6n;S*|ie#aurPBNQ`HK+kvQ3>8cJ=cy}q9>?5(1l9u11ixT z)C=`#Xw#)2m#hd?x$>~<_>pQ^2(?xRkjdC(%*5NM3U#~xzs79Ne_d#tB%7EVUg&&Gdxx0;=>a zsLj@fn$Qi@5cS? zD(e1O&SF%BmZDy~5taB>CtZu$$bm9=YrPcL5o+2TD~Vj4(6o7`5)|csQnZ#^DDQV?ZQ#GZwn9z1-rrs|EcqPzBt(G0ZJL*SVjeX&5 z2=9c0YX7gP?pixq*sINadJBm~#AHG{C7;kjj3(5yU46t_LUo->WD;r_#6+Ti$Ri2~ zHEn&htO%Ba)R0@c3ql2TvwmcW*fe^*T~Q0U97Z7+_$5ud)Gv!UZim2XF|YV$sS VZRD2VZhxT0uSdN5J|*SE{sl7utq}kK diff --git a/survey/locale/pt/LC_MESSAGES/django.mo b/survey/locale/pt/LC_MESSAGES/django.mo index 195f680235559240d4999f0ffecfc030177c09bf..2c90dd0c81aca562856271a6885816b565885734 100644 GIT binary patch delta 33 ocmZo+{>?N&h0$@NsuQD#k+niWPH9nMj;%(Xf}Mh)rZpD>0HrPnwEzGB delta 42 xcmey()WSSLh0$xHsuQEEr(cMxyK9iOLP1VxQDTm*YeYbhYjCiqzn?W10{|203`GC{ diff --git a/survey/locale/pt/LC_MESSAGES/django.po b/survey/locale/pt/LC_MESSAGES/django.po index 761c5754..9b45c132 100644 --- a/survey/locale/pt/LC_MESSAGES/django.po +++ b/survey/locale/pt/LC_MESSAGES/django.po @@ -16,7 +16,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #: dev/templates/base.html:3 msgid "en" diff --git a/survey/locale/ru/LC_MESSAGES/django.mo b/survey/locale/ru/LC_MESSAGES/django.mo index 7d6847e335e361b7ebc5ebcef0784d5ff04de601..6645718c9bc919b9a58fa9cd9fc7f5687b1d07b4 100644 GIT binary patch delta 1673 zcmXxkTTG8}9LMo5>8O+tBAp!)2}LC;rw)eMjIkM0DC5Fn>!Ll)Z00{!SZ0fv=G>Z; z(9BY9Fo&njn48STmAWunS8U#&=l}HE|NFdt&*}I3{tnN7bY*9rGaNsu)hJcOT%vxW zSq;9M#DTIu%Kh>naz#s zs286GZ`dnTM?3u{6p7(ho; z)<%U{wLTog0aV9l7`9$Khid3Ns)1J2)ZXyDjT(6e&cJT}{57iGk2oE_pxPb5Llew? zM>GGoxUhSQ*)jZwnRt}>Qic~%BX38o>08v)|3!6_z(etvje33^2X(X^^;`{Vk2uKB z+BvBG9@PD>am>G7_``(~jF=kSL>0J{^TVhYuiz@Yivj$GjUdi99d$h) zl~@64X?CI#Jc>%_0v3_TRir8V#Qc+xVYECMSX4(dPz@}^d|ct5*P-4! ziP|HlQHeZ2`mtm}C4)#IHV~_c<%Ej*DzkN7-TOX+wct@B*S}#F5fi-R9W@ggT>+sl zVa?^t&~!&1WhGHeFnv}+kcC%rII5HR#7aWDWxQyIX)ct$N?{Oh7)8{z5w!T@WuaeT zExql#44DGQTT$%-Hi@7MKFmizTQ+(cv(+A*sL&AS#? zWo;1S3-HQj{pV!%RD{(|jH<3ZQFE|9W#^79Jr5(sBGag(xczSLP?Ov1zHqzTerjEA RxBJ{Xe>T+Ib1VK$_QJ)-^}qa=YGyT_ug~<_kYfve(%ph|EGlTPNP&( zms11?FHr`Y-}7p~k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<4;J3ZxBhA4WR!c6)#FUQyQS1itNLMcoB8D9-}@SM(yP&D)5-s{~5KyZ(jQ( zYO69x409q=6OP~r&oR`*exfp%iI9I){&+9yBq=}u)n0@O5JXS3UW>RZ{r@j^H+#jnZ#Va5ZrG`FpX5fJQg9 zET`y-xQ)Kjxz*H^Eu9se@FkSFly=G*N~N3hMe~?Rb_r4Uq_5toa&P$-Iu-7?FIYH- z9$iZ*Vb}3To!M@MKU!A9b1OwV@c-(dQk(Ad@5o6H=e0WdJ;}brt^=`cTRPG?1*-z- c?qHu292(fSC$W#Nt<8 delta 1550 zcmXxkOGs2v9LMqh9i16RvzMk$lXi8q$&$(*R+53yo9MBSpcXM@lu-(!Zlao2Q9%^k zS_Ks?dbkO*h@c{(LZuekqG(aMuq24WpsXPJ{>Iy7&i$No?!D*y&;J}9S$KNUxd-W) zX4Vxkn}q$Ck8gcPke~hF7DLO;{A>nR&`e-9Zp0vN!BT9(1h!)>Ui6>8#5~%sa5BEn zwY23>`9_B(`h`W9#ars1?iy(gjv{&tjS)WCVq_? z_X7rSI88+>A3>#X6czaxDwUCmW?@X=6P%A4U=%gLPt?G_QR8H>OpTN8TY$<)6sMu< zx9d>jrW>dfQdxr%`N@0M`V$Aog!Z_^)Bw3b3P27eW?+7Zu zlc+5@izLbJ<9zJJAoJT86-D|NwWnd0F$ZViX55BK?G@AnU8o7~p)&RimCAmcje~ys z4=R8x@~-c4QGpeswl|9W_V{p3CH#BhUPkD-cYC@ zUuQtqV#+kn3CElwuQVKsR?)7fXb1jZo2bm{*%sarC`+Zdm6W7DGgPqSVcXXx>CEfO?-KiwE*5;(UKiQGYyj@+; L?(}pQ-pl?6j})P< diff --git a/survey/locale/zh/LC_MESSAGES/django.mo b/survey/locale/zh/LC_MESSAGES/django.mo index b32d077af5a4a85fe7235d57e0b4d27162a8fa25..1c80a093187b540ae87e38da1f463cded3f5641b 100644 GIT binary patch delta 1786 zcmX}tSx8ku9LMp$X{PPkVtaNqTfCL+ds=CWSt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(9>#CSs4QyER96Ip6d z^flD?W*QMg%+~$$nEbTr!=m(0COkrAQiT7p&O!4Y2i%Bst;Yh%@4 lzpJcn^R~JJWgqsOe7AKw%@4cwy|1kNQoWyFjY%kv{tKkftkeJi diff --git a/survey/tests/locale/test_locale_normalization.py b/survey/tests/locale/test_locale_normalization.py index d72d6105..67e2f098 100644 --- a/survey/tests/locale/test_locale_normalization.py +++ b/survey/tests/locale/test_locale_normalization.py @@ -13,12 +13,13 @@ class TestLocaleNormalization(unittest.TestCase): LOCALE_PATH = Path("survey", "locale").absolute() def test_normalization(self): - """We test if the messages were properly created with makemessages --no-obsolete --no-wrap.""" + """Messages need to be created with the proper 'makemessages' then 'compilemessages'.""" if platform.system() == "Windows": python_3 = ["py", "-3"] else: python_3 = ["python3"] base_command = ["manage.py", "makemessages", "--no-obsolete", "--no-wrap", "--ignore", "venv"] + compile_message_base_command = ["manage.py", "compilemessages"] makemessages_command = python_3 + base_command if django_version > "3.0": for x in settings.LANGUAGES: @@ -27,6 +28,8 @@ def test_normalization(self): logging.warning("Command to launch for makemessages is : %s", " ".join(makemessages_command)) subprocess.check_call(makemessages_command) + compile_message_command = python_3 + compile_message_base_command + subprocess.check_call(compile_message_command) git_diff_command = ["git", "diff", self.LOCALE_PATH] git_diff = subprocess.check_output(git_diff_command).decode("utf8") command_as_str = " ".join(makemessages_command) @@ -34,7 +37,7 @@ def test_normalization(self): "You did not update the translation following your changes. Maybe you did not use the " "normalized 'python3 manage.py makemessages --no-obsolete --no-wrap' ? If you're " f"working locally, just use 'git add {self.LOCALE_PATH}', we launched " - f"'{command_as_str}' during tests.\ngit diff\n{git_diff}", + f"'{command_as_str}' during tests.\ngit diff\n{git_diff}" ) number_of_change = git_diff.count("@@") / 2 if django_version >= "4.1": @@ -47,3 +50,12 @@ def test_normalization(self): number_of_language = len(os.listdir(self.LOCALE_PATH)) expected_number_of_change = number_of_language self.assertEqual(number_of_change, expected_number_of_change, msg) + number_of_bin_differring = git_diff.count("differ\n") + command_as_str = " ".join(compile_message_command) + msg = ( + "You did not compile the messages following your changes. Maybe you did not use " + "'python3 manage.py compilemessages' ? If you're " + f"working locally, just use 'git add {self.LOCALE_PATH}', we launched " + f"'{command_as_str}' during tests.\ngit diff\n{git_diff}" + ) + self.assertEqual(number_of_bin_differring, 0, msg)