<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<p>On 26/02/2012 06:54 م, Detlev Offenbach wrote:
<blockquote cite="mid:2539659.MqU00f0Ak3@jupiter" type="cite">
<pre wrap="">Am Sonntag, 26. Februar 2012, 15:56:54 schrieb Vincent Vande Vyvre:
</pre>
<blockquote type="cite">
<pre wrap="">Le 26/02/12 15:16, <a class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> a écrit :
On 19/02/2012 09:55 م, Vincent Vande Vyvre wrote:
Le 19/02/12 19:55, <a class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> a écrit :
On 19/02/2012 08:22 م, <a class="moz-txt-link-abbreviated" href="mailto:admin@mbnoimi.net">admin@mbnoimi.net</a> wrote:
Hi all,
I tried to create *.ts file for my project by using pylupdate4 so I tried
the following commad but it didn't work!
pylupdate4 *.py -ts %CD%\ui\l10n\ar.ts
pylupdate4 error: Cannot open file '*.py': No error
Could you please guide me to the correct path?
PS
I successfully created *.ts file for single *.py file.
I forgot to mention that I want to create single *.ts file for many *.py
files
You must provide a .pro file to pyludate4
exemple of .pro file
SOURCES = main.py\
ui_mainWindow.py\
otherFile.py\
etc
TRANSLATIONS = appName_ar.ts
CODECFORTR = UTF-8
CODECFORSRC = UTF-8
I don't want to use .pro because I've many files in many subdirecories which
is very exhausting to write manually.
Any ideas guys?
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: <a class="moz-txt-link-freetext" href="http://mbnoimi.net">http://mbnoimi.net</a>
So, You can easily write a python script which will create the .pro file for
you. No?
</pre>
</blockquote>
<pre wrap="">
You could copy the relevant code from the eric4/eric5 sources (module
ProjectLanguagesBrowser).</pre>
</blockquote>
Thanks... it works.</p>
<p><br>
<br>
</p>
<pre class="moz-signature" cols="72">--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: <a class="moz-txt-link-freetext" href="http://mbnoimi.net">http://mbnoimi.net</a></pre>
</body>
</html>