From c8c3f78216e41f5f84fa2c35ed45aa30b7f0a93f Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Thu, 23 Aug 2018 16:44:17 +0200 Subject: [PATCH] Added Babel commands to setup.py for #32 --- .gitignore | 2 + photobooth/locale/de.mo | Bin 3625 -> 0 bytes .../{de.po => de/LC_MESSAGES/photobooth.po} | 63 ++++++++++-------- photobooth/locale/en.mo | Bin 3482 -> 0 bytes .../{en.po => en/LC_MESSAGES/photobooth.po} | 63 ++++++++++-------- photobooth/locale/es.mo | Bin 3656 -> 0 bytes .../{es.po => es/LC_MESSAGES/photobooth.po} | 63 ++++++++++-------- photobooth/locale/fr.mo | Bin 3826 -> 0 bytes .../{fr.po => fr/LC_MESSAGES/photobooth.po} | 63 ++++++++++-------- setup.cfg | 10 +++ setup.py | 13 ++++ 11 files changed, 173 insertions(+), 104 deletions(-) delete mode 100644 photobooth/locale/de.mo rename photobooth/locale/{de.po => de/LC_MESSAGES/photobooth.po} (79%) delete mode 100644 photobooth/locale/en.mo rename photobooth/locale/{en.po => en/LC_MESSAGES/photobooth.po} (79%) delete mode 100644 photobooth/locale/es.mo rename photobooth/locale/{es.po => es/LC_MESSAGES/photobooth.po} (80%) delete mode 100644 photobooth/locale/fr.mo rename photobooth/locale/{fr.po => fr/LC_MESSAGES/photobooth.po} (80%) diff --git a/.gitignore b/.gitignore index 231a950..a5722c3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ print_*.pdf 20??-??-?? build dist +**/photobooth.mo + diff --git a/photobooth/locale/de.mo b/photobooth/locale/de.mo deleted file mode 100644 index 506d208d1a689fe2ebd4d26f7526a6f874af27dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3625 zcmaKuTZklA8Gw%=COT%-#3UwO;+b4FyO^HU7YS`-+}XKg*qNP9W;anc2CA!0SD#GX zJauY%X2QaX5BeY?3HlI`1lx#9+V{eGG!2F(3#+KztDlDkR|dS5;5<#>HiJ zzB;GQ`S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nwyN|@USvbd6ZCfRdp#g*aE*sLNeeVar~FA_e!;%&^9-o?9RSA{z~ z#9Y+b_>fo9^3u$)V>&k1WL(*LI8J9`IzEgO8xEN|XS2K*%&W7_NNk|%j%FP9`?TiJ zWLN2)4#m!LP?49(RIJiwi0NR*TMEd@9DFQK5;5ee&DwIN$n3!$GjT9})#)YXOJuUn zHgQj607_GI7%u6;WJ+!Z;gE{w7t_;NKd&CA?#uy?I;aMSh~4qZk zD@0AL*zCY014dDaowYNFtmo?;+x@yDt z1J6fJZt9VVWv=o8_X1TAK`u9{(DTxybtpfN#% zf&>!9!}0Uin5tr`SSJyS>LQ>Ms6UKqypRuNZ5}PS%SXH!t5;{~99iu1?eCMe|IL(I z&*~u?NtIJ8C+gx@o|(2y6**OF99bvdg#%N?UV6Q)qM1(tIjFO`D48sqT4VTj7{1Nm zJ*qJ#Qx*j-8sU@CBPkI#WL9{SP#9{vkl-4ZY55Z*GnFQpoXivh ZcUO)0GOem+PD{^IC3PE!-04VE{{;*L?#=)J diff --git a/photobooth/locale/de.po b/photobooth/locale/de/LC_MESSAGES/photobooth.po similarity index 79% rename from photobooth/locale/de.po rename to photobooth/locale/de/LC_MESSAGES/photobooth.po index bbc5e14..280eacd 100644 --- a/photobooth/locale/de.po +++ b/photobooth/locale/de/LC_MESSAGES/photobooth.po @@ -1,11 +1,18 @@ + msgid "" msgstr "" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: POEditor.com\n" -"Project-Id-Version: Photobooth\n" +"Project-Id-Version: Photobooth\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2018-08-23 16:13+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" "Language: de\n" +"Language-Team: de \n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.6.0\n" #: photobooth/gui/Qt5Gui/Frames.py:50 msgid "Start photobooth" @@ -155,87 +162,91 @@ msgstr "Wartezeit auf Nachbearbeitungsbildschirm [s]" msgid "Overwrite displayed error message:" msgstr "Ersetze angezeigte Fehlermeldung:" -#: photobooth/gui/Qt5Gui/Frames.py:617 +#: photobooth/gui/Qt5Gui/Frames.py:633 msgid "Camera module:" msgstr "Kamera Modul:" -#: photobooth/gui/Qt5Gui/Frames.py:681 photobooth/gui/Qt5Gui/Frames.py:684 +#: photobooth/gui/Qt5Gui/Frames.py:634 +msgid "Camera rotation:" +msgstr "" + +#: photobooth/gui/Qt5Gui/Frames.py:698 photobooth/gui/Qt5Gui/Frames.py:701 msgid "Select file" msgstr "Datei auswählen" -#: photobooth/gui/Qt5Gui/Frames.py:692 +#: photobooth/gui/Qt5Gui/Frames.py:709 msgid "Number of shots per picture:" msgstr "Anzahl Fotos pro Bild:" -#: photobooth/gui/Qt5Gui/Frames.py:693 +#: photobooth/gui/Qt5Gui/Frames.py:710 msgid "Size of assembled picture [px]:" msgstr "Größe des fertigen Bildes [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:694 +#: photobooth/gui/Qt5Gui/Frames.py:711 msgid "Min. distance between shots [px]:" msgstr "Min. Abstand der Fotos im Bild [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:695 +#: photobooth/gui/Qt5Gui/Frames.py:712 msgid "Omit last picture:" msgstr "Letztes Foto weg lassen:" -#: photobooth/gui/Qt5Gui/Frames.py:696 +#: photobooth/gui/Qt5Gui/Frames.py:713 msgid "Background image:" msgstr "Hintergrundbild:" -#: photobooth/gui/Qt5Gui/Frames.py:717 photobooth/gui/Qt5Gui/Frames.py:721 +#: photobooth/gui/Qt5Gui/Frames.py:734 photobooth/gui/Qt5Gui/Frames.py:738 msgid "Select directory" msgstr "Verzeichnis auswählen:" -#: photobooth/gui/Qt5Gui/Frames.py:729 +#: photobooth/gui/Qt5Gui/Frames.py:746 msgid "Output directory (strftime possible):" msgstr "Ausgabeverzeichnis (strftime möglich):" -#: photobooth/gui/Qt5Gui/Frames.py:730 +#: photobooth/gui/Qt5Gui/Frames.py:747 msgid "Basename of files (strftime possible):" msgstr "Dateiname (strftime möglich):" -#: photobooth/gui/Qt5Gui/Frames.py:731 +#: photobooth/gui/Qt5Gui/Frames.py:748 msgid "Keep single shots:" msgstr "Einzelfotos behalten:" -#: photobooth/gui/Qt5Gui/Frames.py:781 +#: photobooth/gui/Qt5Gui/Frames.py:798 msgid "Enable GPIO:" msgstr "GPIO aktivieren:" -#: photobooth/gui/Qt5Gui/Frames.py:782 +#: photobooth/gui/Qt5Gui/Frames.py:799 msgid "Exit button pin (BCM numbering):" msgstr "Pin für Beenden-Schalter (BCM-Numm.):" -#: photobooth/gui/Qt5Gui/Frames.py:783 +#: photobooth/gui/Qt5Gui/Frames.py:800 msgid "Trigger button pin (BCM numbering):" msgstr "Pin für Auslöser (BCM-Numm.):" -#: photobooth/gui/Qt5Gui/Frames.py:784 +#: photobooth/gui/Qt5Gui/Frames.py:801 msgid "Idle lamp pin (BCM numbering):" msgstr "Pin für Leerlauf-Lampe (BCM-Numm.):" -#: photobooth/gui/Qt5Gui/Frames.py:785 +#: photobooth/gui/Qt5Gui/Frames.py:802 msgid "RGB LED pins (BCM numbering):" msgstr "Pins für RGB-LEDs (BCM-Numm.):" -#: photobooth/gui/Qt5Gui/Frames.py:826 +#: photobooth/gui/Qt5Gui/Frames.py:843 msgid "Enable printing:" msgstr "Drucken aktivieren:" -#: photobooth/gui/Qt5Gui/Frames.py:827 +#: photobooth/gui/Qt5Gui/Frames.py:844 msgid "Module:" msgstr "Modul:" -#: photobooth/gui/Qt5Gui/Frames.py:828 +#: photobooth/gui/Qt5Gui/Frames.py:845 msgid "Print to PDF (for debugging):" msgstr "In PDF drucken (für Debugging):" -#: photobooth/gui/Qt5Gui/Frames.py:829 +#: photobooth/gui/Qt5Gui/Frames.py:846 msgid "Ask for confirmation before printing:" msgstr "Bestätigung vor Druckvorgang nötig:" -#: photobooth/gui/Qt5Gui/Frames.py:830 +#: photobooth/gui/Qt5Gui/Frames.py:847 msgid "Paper size [mm]:" msgstr "Papiergröße [mm]:" diff --git a/photobooth/locale/en.mo b/photobooth/locale/en.mo deleted file mode 100644 index 931e53c466c636d7f5511a9094def6bb4f160b71..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3482 zcmeH{U1%Le6vs!Yt)^+!R>i8V6KzY1+_d^su9nz*Gz~W9wn?i{75DDWz1eo}?m9Eu z+*k{hJ}3xQ1QirT1QCTkD88s52z{3dA}R=ii1;8176pCqcQ%{cBE?6a5|aFOX3m`R zKOei_ZCLe^;%At@+xWZTN?9q@zpBTzJg#HC4Q_(h!(q4`9)xRP7p{h<;d=N?wSF1) zvwj_Jgzv$t;HTC8dANb~1$Z6&0cv;=@~dvbxDVb6?||E(=$V8P?=Teqk3i88!!7U$ zcny33ivL&P06Yi9?sF*lepQ|S4!5yhgHwr9gQBMaC4KUJYM_lHY6acK9*87JdUo z=g(05UWB*6)m-9H4M0*p!EHXYJCn$Up|CVr_Z3o|FYWu7E0Wopy>SzYS@nmsaFk(o_qKw{n!IV&*MPiocCe?6y|xk%}`FBghq1Kxiz8Q+1-B9X&Ka{@jgVM)iQ0ns(l>29)+MDMlut6G{ zy4vfG>sDrUn5C`Qb^;$~scss!jLvPG`Z#UZ)kqK?Z`-U$BOP~wHupvXXVRc!bk@?X zI5AESI&WJ(W-HH}i<^nrfmz{wmJX;ce1ERa55?y5;b~BY!*f8qijCarLUvz z(YhK7Jl5lBfKxrun4Df-w2CBgp*1F5-s-6y@5Wv?O9eWQQ$08`I;GR1(=;U3MxD4) z6UJ+6f@ontP2k8IyBN7DLb$A_lrmAo%kuXJdA=~L_Q#RYVPRcn>nyzXb4E=@NKJxH ze)-6gDREjsXw(D7i=Q<5Xs3gs2GX-;mial=SQN0tB`25kv$D`9Pl@!Cr-p`xR3mdfw^>Mp(lSG5 zS@DKUq4t?>jP28dGOLkk7VY+83(HeuRb%lgn@ib>(}P9q%YVA3Z&)3g7|{pD$D}ii z?Z1cOka3iT+)XPe67SSZaKh+-(YKrg)~gwlP`+Ljmp0@*;F%NVb*GGPxpE86n@+h| zx{-sroXER{`?+kMSIwM=&Ag5Z8BN~C>LtKVYD|>^=S+wBkCyVQMqx%I^)9Hzbw&%T z$Gq2>@=W|Qp}My(m6{=EI;&<&akDmVw`uTyy*v-aDX(cY1LagoZ)j;XfKJ@@f~cv< zsqxwoV;x_Zy1sj8S0C@aH>t19F65@Jz3KX$Ok14ZtHZg#I^*{op50g5-LvDHq5K#;ZznP+X% YzLn47%4c!qv$*nET>f1CKcB^a01xS\n" "Language: en\n" +"Language-Team: en \n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.6.0\n" #: photobooth/gui/Qt5Gui/Frames.py:50 msgid "Start photobooth" @@ -155,87 +162,91 @@ msgstr "Postprocess timeout [s]:" msgid "Overwrite displayed error message:" msgstr "Overwrite displayed error message:" -#: photobooth/gui/Qt5Gui/Frames.py:617 +#: photobooth/gui/Qt5Gui/Frames.py:633 msgid "Camera module:" msgstr "Camera module:" -#: photobooth/gui/Qt5Gui/Frames.py:681 photobooth/gui/Qt5Gui/Frames.py:684 +#: photobooth/gui/Qt5Gui/Frames.py:634 +msgid "Camera rotation:" +msgstr "" + +#: photobooth/gui/Qt5Gui/Frames.py:698 photobooth/gui/Qt5Gui/Frames.py:701 msgid "Select file" msgstr "Select file" -#: photobooth/gui/Qt5Gui/Frames.py:692 +#: photobooth/gui/Qt5Gui/Frames.py:709 msgid "Number of shots per picture:" msgstr "Number of shots per picture:" -#: photobooth/gui/Qt5Gui/Frames.py:693 +#: photobooth/gui/Qt5Gui/Frames.py:710 msgid "Size of assembled picture [px]:" msgstr "Size of assembled picture [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:694 +#: photobooth/gui/Qt5Gui/Frames.py:711 msgid "Min. distance between shots [px]:" msgstr "Min. distance between shots [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:695 +#: photobooth/gui/Qt5Gui/Frames.py:712 msgid "Omit last picture:" msgstr "Omit last picture:" -#: photobooth/gui/Qt5Gui/Frames.py:696 +#: photobooth/gui/Qt5Gui/Frames.py:713 msgid "Background image:" msgstr "Background image:" -#: photobooth/gui/Qt5Gui/Frames.py:717 photobooth/gui/Qt5Gui/Frames.py:721 +#: photobooth/gui/Qt5Gui/Frames.py:734 photobooth/gui/Qt5Gui/Frames.py:738 msgid "Select directory" msgstr "Select directory" -#: photobooth/gui/Qt5Gui/Frames.py:729 +#: photobooth/gui/Qt5Gui/Frames.py:746 msgid "Output directory (strftime possible):" msgstr "Output directory (strftime possible):" -#: photobooth/gui/Qt5Gui/Frames.py:730 +#: photobooth/gui/Qt5Gui/Frames.py:747 msgid "Basename of files (strftime possible):" msgstr "Basename of files (strftime possible):" -#: photobooth/gui/Qt5Gui/Frames.py:731 +#: photobooth/gui/Qt5Gui/Frames.py:748 msgid "Keep single shots:" msgstr "Keep single shots:" -#: photobooth/gui/Qt5Gui/Frames.py:781 +#: photobooth/gui/Qt5Gui/Frames.py:798 msgid "Enable GPIO:" msgstr "Enable GPIO:" -#: photobooth/gui/Qt5Gui/Frames.py:782 +#: photobooth/gui/Qt5Gui/Frames.py:799 msgid "Exit button pin (BCM numbering):" msgstr "Exit button pin (BCM numbering):" -#: photobooth/gui/Qt5Gui/Frames.py:783 +#: photobooth/gui/Qt5Gui/Frames.py:800 msgid "Trigger button pin (BCM numbering):" msgstr "Trigger button pin (BCM numbering):" -#: photobooth/gui/Qt5Gui/Frames.py:784 +#: photobooth/gui/Qt5Gui/Frames.py:801 msgid "Idle lamp pin (BCM numbering):" msgstr "Idle lamp pin (BCM numbering):" -#: photobooth/gui/Qt5Gui/Frames.py:785 +#: photobooth/gui/Qt5Gui/Frames.py:802 msgid "RGB LED pins (BCM numbering):" msgstr "RGB LED pins (BCM numbering):" -#: photobooth/gui/Qt5Gui/Frames.py:826 +#: photobooth/gui/Qt5Gui/Frames.py:843 msgid "Enable printing:" msgstr "Enable printing:" -#: photobooth/gui/Qt5Gui/Frames.py:827 +#: photobooth/gui/Qt5Gui/Frames.py:844 msgid "Module:" msgstr "Module:" -#: photobooth/gui/Qt5Gui/Frames.py:828 +#: photobooth/gui/Qt5Gui/Frames.py:845 msgid "Print to PDF (for debugging):" msgstr "Print to PDF (for debugging):" -#: photobooth/gui/Qt5Gui/Frames.py:829 +#: photobooth/gui/Qt5Gui/Frames.py:846 msgid "Ask for confirmation before printing:" msgstr "Ask for confirmation before printing:" -#: photobooth/gui/Qt5Gui/Frames.py:830 +#: photobooth/gui/Qt5Gui/Frames.py:847 msgid "Paper size [mm]:" msgstr "Paper size [mm]:" diff --git a/photobooth/locale/es.mo b/photobooth/locale/es.mo deleted file mode 100644 index 93f896d119d42a8808cfeada8d6c954c96296f8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3656 zcmaKuO>87b6~{{u5@NCtmat?AA7vnmSHX5TphN?a*|oi1D{(woJ0a2nQcZWwxOV$1 zRn`7Tv=R~rBn~Kw0!Sc~m>VDtu(wUb#V98vgmOS|hyVdXNV$=40g2!1?wK*m3d{Cy zs=Dgc`}o)EdE?}5-&XuA@%It_?sla37>~z|9fy2{uIi(Uqgxax83u9!222Bfl)bU9*RGGDCZj}`!aYM zMkw)o3*HNV2tNv6fwJy*@PqJ=P~!L}6np=IvhD(?}g&W=b*&*MJV+cK{@A}P|ke`N&K~ip2KRxo}kvORtl%7&@Pu=*mJ5EK^oj-WAam zqn)VsNBqS4m8duh8H*x=> zsj7n|b+;%a8{>eeT(7o0ORiB*qUTj_v5tPeY73_Z2siUpmz z5G6enBkmDj`%qu5_DRS_m%zuHV5A1kR$bwI<&s!?^0k@cOJ+hmHdV)}j@b4#iKRcd zb5!5T5+Pv%z;g{^&XYvHiV}9eIrK&_pH^I^Bj-*xLyv*GVZ8;>%f>}Bgg95 ztCu$d)e|qZQlDf2ZUO%?FB9%e5H;dwu4Wx$H?a-KgWqqK-^z>&J9-QIcM_a`C?SsnpbhP_%5w*GE z^E%lvKG^ukliL^OAD*tGXN95l^Q%Qtro_?H4-Z_Nd3t`$7PJ>a=;{9EYU=p3kd*lh zs<=X_=GW8d$x|iFJZ6efEqc~A%+MB%ceY5JLC%&tGHHsQxLqY^2?gID;Zbh|=wv_NrX4B#s_r1}<~xqU)8@aYY;^%M6j_Rc50( zwpJp;7S;)$Ziz30#!DScMl$B;oFutDpG!0DpM7tuqeHT9XHk#Mt5WB+^<3CV(r)eT zIOtLBh_=;2xuiA|ZXLe29hHlXQ)OW^FA8xhBR>?1ai9g6Te;OW*JssQZG4KUA-yT+ zP+JVsUsu}J>Wt2%(~?Qb7R%g(aeHmcK}nBp5OY(P_IZWGn>QdylKx6wj&5Y!=yEc> z(luAtY?IujcquQ(n>4UhA{Sm>Zh)2C7QtL;gwwTJ`k^;*YoA z^+q&kyKBI-$#Eu{t|H2zfr@^xFLh{LUXogdrVC3qzJ<0fNwY=oywE%^<+qbRzGp_T}cvy5|by(apj!=Nrr0_h%4Go{)Y z$?J4da(gbz`ToFnFnU%j)kVVL;t~&u?k?_#uX7n~<>vHi?(SGsyV6LwUafb1xmifW Pn9}|OsEqVf diff --git a/photobooth/locale/es.po b/photobooth/locale/es/LC_MESSAGES/photobooth.po similarity index 80% rename from photobooth/locale/es.po rename to photobooth/locale/es/LC_MESSAGES/photobooth.po index 86518c8..fe4767c 100644 --- a/photobooth/locale/es.po +++ b/photobooth/locale/es/LC_MESSAGES/photobooth.po @@ -1,11 +1,18 @@ + msgid "" msgstr "" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: POEditor.com\n" -"Project-Id-Version: Photobooth\n" +"Project-Id-Version: Photobooth\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2018-08-23 16:13+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" "Language: es\n" +"Language-Team: es \n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.6.0\n" #: photobooth/gui/Qt5Gui/Frames.py:50 msgid "Start photobooth" @@ -155,87 +162,91 @@ msgstr "Tiempo fuera de postproceso [s]:" msgid "Overwrite displayed error message:" msgstr "Sobrescribir mensaje de error mostrado:" -#: photobooth/gui/Qt5Gui/Frames.py:617 +#: photobooth/gui/Qt5Gui/Frames.py:633 msgid "Camera module:" msgstr "Módulo de cámara:" -#: photobooth/gui/Qt5Gui/Frames.py:681 photobooth/gui/Qt5Gui/Frames.py:684 +#: photobooth/gui/Qt5Gui/Frames.py:634 +msgid "Camera rotation:" +msgstr "" + +#: photobooth/gui/Qt5Gui/Frames.py:698 photobooth/gui/Qt5Gui/Frames.py:701 msgid "Select file" msgstr "Seleccione archivo" -#: photobooth/gui/Qt5Gui/Frames.py:692 +#: photobooth/gui/Qt5Gui/Frames.py:709 msgid "Number of shots per picture:" msgstr "Número de tomas por imagen:" -#: photobooth/gui/Qt5Gui/Frames.py:693 +#: photobooth/gui/Qt5Gui/Frames.py:710 msgid "Size of assembled picture [px]:" msgstr "Tamaño de imagen ensamblada [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:694 +#: photobooth/gui/Qt5Gui/Frames.py:711 msgid "Min. distance between shots [px]:" msgstr "Distancia min. entre tomas [px]:" -#: photobooth/gui/Qt5Gui/Frames.py:695 +#: photobooth/gui/Qt5Gui/Frames.py:712 msgid "Omit last picture:" msgstr "Omitir último imagen:" -#: photobooth/gui/Qt5Gui/Frames.py:696 +#: photobooth/gui/Qt5Gui/Frames.py:713 msgid "Background image:" msgstr "Imagen de fondo:" -#: photobooth/gui/Qt5Gui/Frames.py:717 photobooth/gui/Qt5Gui/Frames.py:721 +#: photobooth/gui/Qt5Gui/Frames.py:734 photobooth/gui/Qt5Gui/Frames.py:738 msgid "Select directory" msgstr "Seleccione directorio" -#: photobooth/gui/Qt5Gui/Frames.py:729 +#: photobooth/gui/Qt5Gui/Frames.py:746 msgid "Output directory (strftime possible):" msgstr "Directorio de salida (strfhora posible):" -#: photobooth/gui/Qt5Gui/Frames.py:730 +#: photobooth/gui/Qt5Gui/Frames.py:747 msgid "Basename of files (strftime possible):" msgstr "Nombre base de archivos (strfhora posible):" -#: photobooth/gui/Qt5Gui/Frames.py:731 +#: photobooth/gui/Qt5Gui/Frames.py:748 msgid "Keep single shots:" msgstr "Guardar fotos sueltas:" -#: photobooth/gui/Qt5Gui/Frames.py:781 +#: photobooth/gui/Qt5Gui/Frames.py:798 msgid "Enable GPIO:" msgstr "Habilitar GPIO:" -#: photobooth/gui/Qt5Gui/Frames.py:782 +#: photobooth/gui/Qt5Gui/Frames.py:799 msgid "Exit button pin (BCM numbering):" msgstr "Pin de botón salir (numeración BCM):" -#: photobooth/gui/Qt5Gui/Frames.py:783 +#: photobooth/gui/Qt5Gui/Frames.py:800 msgid "Trigger button pin (BCM numbering):" msgstr "Pon de botón gatillo (numeración BCM ):" -#: photobooth/gui/Qt5Gui/Frames.py:784 +#: photobooth/gui/Qt5Gui/Frames.py:801 msgid "Idle lamp pin (BCM numbering):" msgstr "Pin lámpara espera (numeración BCM):" -#: photobooth/gui/Qt5Gui/Frames.py:785 +#: photobooth/gui/Qt5Gui/Frames.py:802 msgid "RGB LED pins (BCM numbering):" msgstr "Pins LED RGB (numeración BCM):" -#: photobooth/gui/Qt5Gui/Frames.py:826 +#: photobooth/gui/Qt5Gui/Frames.py:843 msgid "Enable printing:" msgstr "Habilitar impresión:" -#: photobooth/gui/Qt5Gui/Frames.py:827 +#: photobooth/gui/Qt5Gui/Frames.py:844 msgid "Module:" msgstr "Módulo:" -#: photobooth/gui/Qt5Gui/Frames.py:828 +#: photobooth/gui/Qt5Gui/Frames.py:845 msgid "Print to PDF (for debugging):" msgstr "Imprimir a PDF (para debugging):" -#: photobooth/gui/Qt5Gui/Frames.py:829 +#: photobooth/gui/Qt5Gui/Frames.py:846 msgid "Ask for confirmation before printing:" msgstr "Pedir confirmar antes de imprimir:" -#: photobooth/gui/Qt5Gui/Frames.py:830 +#: photobooth/gui/Qt5Gui/Frames.py:847 msgid "Paper size [mm]:" msgstr "Tamaño de papel [mm]:" diff --git a/photobooth/locale/fr.mo b/photobooth/locale/fr.mo deleted file mode 100644 index d961bcb34e98096fe009a799c5482d2954a16a87..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3826 zcmaKuTWnlM8GuJo>BTf$N@-~+Forfx2a$b8elP z<4dZF+e6<_gai*%NL62mi}DJnNW3iX6;KJaLLek01TQ>5;e`jjfA*}8lUhVczB9Lf z{`>47@4Mp%ia!hddxU@YACr+%_ukR+-FzNr{1|))z8@~Y6Yv>$7u7pURekiY5yHqXEh!;ixgQ1n@Wa^Gbr^1lW} zj}(3sJ_qlC*P+P&5uAlLq3nAdioL&Y*8c?`V|*7v<(>`{eR@#tH&D)H@F5tW*z-O3 zA@~aX2>d0KeQ&}K!aqZ?<3CX3{TIr<<7|@g>4r}>T!muaH{fyjER_3p;ob22Q0#jN zehj__-wWS@qUYbC$bB0=4DaL+pK2CjqB;dX0nb2*;|3J}SSaUr;mh#5Q2h5O|9uM1 z!w2CNI1fE!i+Tl0ynhNs&)1;b_Xd=>`~ix8{su8!9pe(Y?;iL7d<4q+XJH3kg5s}h zQ0(|7l(<}n60e^@@z3v|`2SB(?*Atgy^gWSRq8AhKRp3u{i{&)O`-VTL6LVIo`yG} zoPQIFop+-=B9(^Xx6@Ga;w+SVH=)=&f}e!nfwKQ*Gye-He)uiCAHD_W;6LD_@Iitr zc0bwha>D|O{1>6@e+i5-20AbMb%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}+oG6!wgHNVV}?%>K|UuL70*b)i-&>K`-Sm76)alwBOr8w zBR)|#%7llR9|4-DEOzqo%TeEfG-37=`>k?_^i$1N3XOJjAVBs=BFg>K)=pBy?k;b3 zYXSK{u>B<3(&we$A01`s^+sYN(Iq}6AKxJ3K7U=j>f%%+bCj&8- z?m`=&`yfL1<%bVCyOUax%FVX5TnC$l3Ycmx+peEg5BOU9iM5sVt~;DTZ~_oek8wvM5I)+ Oyf>ngkJq+ZsQ&@%S~9Ev diff --git a/photobooth/locale/fr.po b/photobooth/locale/fr/LC_MESSAGES/photobooth.po similarity index 80% rename from photobooth/locale/fr.po rename to photobooth/locale/fr/LC_MESSAGES/photobooth.po index a9593cf..5801e24 100644 --- a/photobooth/locale/fr.po +++ b/photobooth/locale/fr/LC_MESSAGES/photobooth.po @@ -1,11 +1,18 @@ + msgid "" msgstr "" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: POEditor.com\n" -"Project-Id-Version: Photobooth\n" +"Project-Id-Version: Photobooth\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2018-08-23 16:13+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" "Language: fr\n" +"Language-Team: fr \n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.6.0\n" #: photobooth/gui/Qt5Gui/Frames.py:50 msgid "Start photobooth" @@ -155,87 +162,91 @@ msgstr "Délai de post-traitement" msgid "Overwrite displayed error message:" msgstr "Remplacement des messages d'erreur affichés :" -#: photobooth/gui/Qt5Gui/Frames.py:617 +#: photobooth/gui/Qt5Gui/Frames.py:633 msgid "Camera module:" msgstr "Module d'appareil photo :" -#: photobooth/gui/Qt5Gui/Frames.py:681 photobooth/gui/Qt5Gui/Frames.py:684 +#: photobooth/gui/Qt5Gui/Frames.py:634 +msgid "Camera rotation:" +msgstr "" + +#: photobooth/gui/Qt5Gui/Frames.py:698 photobooth/gui/Qt5Gui/Frames.py:701 msgid "Select file" msgstr "Sélectionner le fichier" -#: photobooth/gui/Qt5Gui/Frames.py:692 +#: photobooth/gui/Qt5Gui/Frames.py:709 msgid "Number of shots per picture:" msgstr "Nombre de capture par image :" -#: photobooth/gui/Qt5Gui/Frames.py:693 +#: photobooth/gui/Qt5Gui/Frames.py:710 msgid "Size of assembled picture [px]:" msgstr "Taille de l'image assemblée [px] :" -#: photobooth/gui/Qt5Gui/Frames.py:694 +#: photobooth/gui/Qt5Gui/Frames.py:711 msgid "Min. distance between shots [px]:" msgstr "Distance minim" -#: photobooth/gui/Qt5Gui/Frames.py:695 +#: photobooth/gui/Qt5Gui/Frames.py:712 msgid "Omit last picture:" msgstr "Omettre la dernière image :" -#: photobooth/gui/Qt5Gui/Frames.py:696 +#: photobooth/gui/Qt5Gui/Frames.py:713 msgid "Background image:" msgstr "Image d'arrière-plan :" -#: photobooth/gui/Qt5Gui/Frames.py:717 photobooth/gui/Qt5Gui/Frames.py:721 +#: photobooth/gui/Qt5Gui/Frames.py:734 photobooth/gui/Qt5Gui/Frames.py:738 msgid "Select directory" msgstr "Sélectionner le dossier" -#: photobooth/gui/Qt5Gui/Frames.py:729 +#: photobooth/gui/Qt5Gui/Frames.py:746 msgid "Output directory (strftime possible):" msgstr "Répertoire de sortie (strftime possible) :" -#: photobooth/gui/Qt5Gui/Frames.py:730 +#: photobooth/gui/Qt5Gui/Frames.py:747 msgid "Basename of files (strftime possible):" msgstr "Nom de base des fichiers (strftime possible) :" -#: photobooth/gui/Qt5Gui/Frames.py:731 +#: photobooth/gui/Qt5Gui/Frames.py:748 msgid "Keep single shots:" msgstr "Garder les images séparées :" -#: photobooth/gui/Qt5Gui/Frames.py:781 +#: photobooth/gui/Qt5Gui/Frames.py:798 msgid "Enable GPIO:" msgstr "Activer les GPIO :" -#: photobooth/gui/Qt5Gui/Frames.py:782 +#: photobooth/gui/Qt5Gui/Frames.py:799 msgid "Exit button pin (BCM numbering):" msgstr "Pin de bouton de sortie (numérotation BCM) :" -#: photobooth/gui/Qt5Gui/Frames.py:783 +#: photobooth/gui/Qt5Gui/Frames.py:800 msgid "Trigger button pin (BCM numbering):" msgstr "Pin de bouton de déclenchement (numérotation BCM) :" -#: photobooth/gui/Qt5Gui/Frames.py:784 +#: photobooth/gui/Qt5Gui/Frames.py:801 msgid "Idle lamp pin (BCM numbering):" msgstr "Pin pour lampe de veille (numérotation BCM) :" -#: photobooth/gui/Qt5Gui/Frames.py:785 +#: photobooth/gui/Qt5Gui/Frames.py:802 msgid "RGB LED pins (BCM numbering):" msgstr "Pins pour LED RGB (numérotation BCM) :" -#: photobooth/gui/Qt5Gui/Frames.py:826 +#: photobooth/gui/Qt5Gui/Frames.py:843 msgid "Enable printing:" msgstr "Permettre l'impression :" -#: photobooth/gui/Qt5Gui/Frames.py:827 +#: photobooth/gui/Qt5Gui/Frames.py:844 msgid "Module:" msgstr "Module :" -#: photobooth/gui/Qt5Gui/Frames.py:828 +#: photobooth/gui/Qt5Gui/Frames.py:845 msgid "Print to PDF (for debugging):" msgstr "Imprimer en PDF (à des fins de débogage)" -#: photobooth/gui/Qt5Gui/Frames.py:829 +#: photobooth/gui/Qt5Gui/Frames.py:846 msgid "Ask for confirmation before printing:" msgstr "Demander une confirmation avant impression :" -#: photobooth/gui/Qt5Gui/Frames.py:830 +#: photobooth/gui/Qt5Gui/Frames.py:847 msgid "Paper size [mm]:" msgstr "Taille du papier [mm] :" diff --git a/setup.cfg b/setup.cfg index 10cc972..009ae59 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,16 @@ input_dirs = photobooth output_file = photobooth/locale/messages.pot +[init_catalog] +domain = photobooth +input_file = photobooth/locale/messages.pot +output_dir = photobooth/locale + +[update_catalog] +domain = photobooth +input_file = photobooth/locale/messages.pot +output_dir = photobooth/locale + [compile_catalog] domain = photobooth directory = photobooth/locale diff --git a/setup.py b/setup.py index f63646b..2f2481f 100644 --- a/setup.py +++ b/setup.py @@ -28,9 +28,21 @@ from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path +# To compile message catalogs +from setuptools.command.sdist import sdist here = path.abspath(path.dirname(__file__)) + +class Sdist(sdist): + """Custom ``sdist`` command to ensure that mo files are always created.""" + + def run(self): + self.run_command('compile_catalog') + # sdist is an old style class so super cannot be used. + sdist.run(self) + + # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() @@ -196,6 +208,7 @@ setup( # # In this case, 'data_file' will be installed into '/my_data' # data_files=[('my_data', ['data/data_file'])], # Optional + # To provide executable scripts, use entry points in preference to the # "scripts" keyword. Entry points provide cross-platform support and allow