<div dir="ltr"><div class="gmail_quote">On Sun, Aug 1, 2010 at 4:59 PM, Paul Vriens <span dir="ltr">&lt;<a href="mailto:paul.vriens.wine@gmail.com">paul.vriens.wine@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi Yaron,<div class="im"><br>
<br>
On 08/01/2010 10:52 AM, Yaron Shahrabani wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Alexander and Paul, please notice I added the EXSTYLE WS_EX_LAYOUTRTL<br>
for the dialogs, hope that helps.<br>
<br>
Also found out that menus does not need any special RTL property, they<br>
are self aligned according to the app.<br>
</blockquote>
<br></div>
What do you mean by that? Running Wordpad in Hebrew still gives me LTR menu styles/justification. The global (per process) RTL settings still need to be implemented for our internal apps.<br></blockquote><div>Of course but menus don&#39;t have a special propery meaning that there is no special addition to the POPUP object... (like WS_EX_LAYOUTRTL for windows)<br>

</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
<br>
Kind regards,<br>
Yaron Shahrabani<br>
<br>
    &lt;Hebrew translator&gt;<br>
<br>
<br>
<br></div>
0002-wordpad-Added-Hebrew-translation.patch<br>
<br>
<br>
 From 8f5dfcb55656e7e4d7943d622234fb37753210f7 Mon Sep 17 00:00:00 2001<br>
From: Yaron Shahrabani&lt;<a href="mailto:sh.yaron@gmail.com" target="_blank">sh.yaron@gmail.com</a>&gt;<br>
Date: Sun, 1 Aug 2010 11:48:23 +0300<br>
Subject: wordpad: Added Hebrew translation.<br>
<br>
---<br>
  programs/wordpad/He.rc       |  282 ++++++++++++++++++++++++++++++++++++++++++<br>
  programs/wordpad/Makefile.in |    1 +<br>
  2 files changed, 283 insertions(+), 0 deletions(-)<br>
  create mode 100644 programs/wordpad/He.rc<br>
<br>
diff --git a/programs/wordpad/He.rc b/programs/wordpad/He.rc<br>
new file mode 100644<br>
index 0000000..091ec98<br>
--- /dev/null<br>
+++ b/programs/wordpad/He.rc<br>
@@ -0,0 +1,282 @@<br>
+/*<br>
+ * Copyright 2004 by Krzysztof Foltman<br>
+ * Hebrew Translation by Yaron Shahrabani&lt;<a href="mailto:sh.yaron@gmail.com" target="_blank">sh.yaron@gmail.com</a>&gt;, 2010<br>
</blockquote>
<br>
Minor, but why did you not use the same format (as we see in most files)? So something like:<br>
<br>
/*<br>
 * Hebrew Translation of wordpad<br>
 *<br>
 * Copyright 2004 by Krzysztof Foltman<br>
 * Copyright 2010 Yaron Shahrabani&lt;<a href="mailto:sh.yaron@gmail.com" target="_blank">sh.yaron@gmail.com</a>&gt;<br></blockquote><div>I&#39;ll keep that in mind from now on, thanks! <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+IDD_DATETIME DIALOG 30, 20, 130, 80<br>
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU<br>
+EXSTYLE WS_EX_LAYOUTRTL<br>
</blockquote>
<br>
Eventually we probably have to but I&#39;m not sure what Alexandre thinks about introducing it (now). We probably also have to teach our tools (like the translation site) that detects translation differences/issues to cope with this.<br>

</blockquote><div>So I shouldn&#39;t add that for now? <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+STRINGTABLE<br>
+BEGIN<br>
+    STRING_ALIGN_LEFT,            &quot;שמאל&quot;<br>
+    STRING_ALIGN_RIGHT,           &quot;ימין&quot;<br>
+    STRING_ALIGN_CENTER,          &quot;מרכז&quot;<br>
+END<br>
</blockquote>
<br>
This piece is already defined starting on line 226 and thus leads to:<br>
<br>
../../../wine-git/programs/wordpad/He.rc:279:32: Error: Stringtable ID 1416 already in use<br></blockquote><div>Is there any way to deal with such errors (I can&#39;t compile wordpad since there&#39;s no Makefile)?<br>How come the original file compiles while the translated one doesn&#39;t? What&#39;s the difference? they have the exact same resources.<br>

<br>Kind regards,<br>Yaron Shahrabani<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
-- <br>
Cheers,<br><font color="#888888">
<br>
Paul.<br>
</font></blockquote></div><br></div>