commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue-samples/testcases/i18n README utf8.gfd iso...


From: Jan Ischebeck
Subject: gnue-samples/testcases/i18n README utf8.gfd iso...
Date: Thu, 31 Jul 2003 08:27:56 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-samples
Branch:         
Changes by:     Jan Ischebeck <address@hidden>  03/07/31 08:27:56

Modified files:
        testcases/i18n : README utf8.gfd iso8859-13.gfd 

Log message:
        fix i18n examples and update status information

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-samples/testcases/i18n/README.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-samples/testcases/i18n/utf8.gfd.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-samples/testcases/i18n/iso8859-13.gfd.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue-samples/testcases/i18n/README
diff -c gnue-samples/testcases/i18n/README:1.2 
gnue-samples/testcases/i18n/README:1.3
*** gnue-samples/testcases/i18n/README:1.2      Mon Sep 23 10:45:46 2002
--- gnue-samples/testcases/i18n/README  Thu Jul 31 08:27:56 2003
***************
*** 1,15 ****
  Here are some samples for internationalization.
  
  
  iso8859-13.gfd:
! This file represents ISO8859-13 encoding (Lithuanian language). To see the 
form
! correctly, You will need to set formFontEncoding parameter in gnue.conf to
! 'iso8859-13' value and to use wx user interface driver (used by default):
!     # Font encoding to be used in forms
!     formFontEncoding = iso8859-13
! Form is not bound to any databse so record addition/deletion/request will not
! work.
  
  utf8.gfd:
! The same form, but with labels written in chinese and using utf8 as encoding.
! This form didn't work at the moment due to missing utf-8 charset in our 
wxpython UIdriver
--- 1,27 ----
  Here are some samples for internationalization.
  
+ All forms are not bound to any databse so record addition/deletion/request 
will not work.
  
  iso8859-13.gfd:
!   This file represents ISO8859-13 encoding (Lithuanian language). 
  
+   Status: 
+     wx, win32: should work, with the following setting:  
+                You will need to set formFontEncoding parameter in gnue.conf to
+                'iso8859-13' value and to use wx user interface driver (used 
by default):
+                     # Font encoding to be used in forms
+                    formFontEncoding = iso8859-13
+    gtk2, qt: works quite well
+  
  utf8.gfd:
!   The same form, but with labels written in chinese and using utf8 as 
encoding.
! 
!   Status:
!     wx      : won't work at the moment due to missing utf-8 charset in wxPy
!     gtk2,qt : working
!     win32   : ?
!     curses  : ?
! 
! big5.gfd:
!   same as utf8.gfd, but in big5 (chinese traditional) encoding.
!   not working at all, because of a strange parser error
\ No newline at end of file
Index: gnue-samples/testcases/i18n/iso8859-13.gfd
diff -c gnue-samples/testcases/i18n/iso8859-13.gfd:1.1 
gnue-samples/testcases/i18n/iso8859-13.gfd:1.2
*** gnue-samples/testcases/i18n/iso8859-13.gfd:1.1      Mon Sep 23 10:02:09 2002
--- gnue-samples/testcases/i18n/iso8859-13.gfd  Thu Jul 31 08:27:56 2003
***************
*** 1,20 ****
  <?xml version="1.0" encoding="iso8859-13"?>
  
! <form height="20" title="Timesheet" width="50">
!   <page name="pgAktmp1">
      <block name="blkAktmp1">
!       <label name="lblItemID" text="Item -àèæëáðøûþ- ID:" width="20" x="1" 
y="1"/>
!       <entry field="id" name="inpItemID" width="30" height="1" 
!         x="1" y="2"/>
! 
!       <label name="lblDate" text="Date:" width="20" x="1" y="3"/>
!       <entry field="date" name="inpDate" width="30" height="1" 
!         x="1" y="4" typecast="date"/>
! 
!       <label name="lblNotes" text="Comments: -àèæëáðøûþ-" width="25" x="1" 
y="9"/>
!       <entry field="comment" name="inpComments" width="30" height="4"
!         x="1" y="10" typecast="text"/>
! 
      </block>
!   </page>
  </form>
--- 1,25 ----
  <?xml version="1.0" encoding="iso8859-13"?>
  
! <form title="Timesheet">
!   <logic>
      <block name="blkAktmp1">
!       <field name="inpItemID" field="id"/>
!       <field name="inpDate" field="date" typecast="date"/>
!       <field name="inpComments" field="comment" typecast="text"/>
      </block>
!   </logic>
!   <layout xmlns:c="GNUe:Layout:Char" c:height="20" c:width="50">
!     <page name="pgAktmp1">
!       <label name="lblItemID" text="Item -àèæëáðøûþ-:" c:width="20" c:x="1" 
c:y="1"/>
!       <entry block="blkAktmp1" field="inpItemID" c:height="1" c:width="30"
!              c:x="1" c:y="2"/>
!       <label name="lblDate" text="Date:" c:width="20" c:x="1" c:y="3"/>
!       <entry block="blkAktmp1" field="inpDate" c:height="1" c:width="30"
!              c:x="1" c:y="4"/>
!       <label name="lblNotes" text="Comments -àèæëáðøûþ-:" c:width="25" c:x="1"
!              c:y="9"/>
!       <entry block="blkAktmp1" field="inpComments" c:height="4" c:width="30"
!              c:x="1" c:y="10"/>
!     </page>
!   </layout>
  </form>
Index: gnue-samples/testcases/i18n/utf8.gfd
diff -c gnue-samples/testcases/i18n/utf8.gfd:1.1 
gnue-samples/testcases/i18n/utf8.gfd:1.2
*** gnue-samples/testcases/i18n/utf8.gfd:1.1    Mon Sep 23 10:45:46 2002
--- gnue-samples/testcases/i18n/utf8.gfd        Thu Jul 31 08:27:56 2003
***************
*** 1,20 ****
! <?xml version="1.0" encoding="utf-8"?>
  
! <form height="20" title="Timesheet" width="50">
!   <page name="pgAktmp1">
!     <block name="blkAktmp1">
!       <label name="lblItemID" text="項目 (item):" width="20" x="1" y="1"/>
!       <entry field="id" name="inpItemID" width="30" height="1" 
!         x="1" y="2"/>
! 
!       <label name="lblDate" text="日期 (date) :" width="20" x="1" y="3"/>
!       <entry field="date" name="inpDate" width="30" height="1" 
!         x="1" y="4" typecast="date"/>
! 
!       <label name="lblNotes" text="備註 (comments):-" width="25" x="1" 
y="9"/>
!       <entry field="comment" name="inpComments" width="30" height="4"
!         x="1" y="10" typecast="text"/>
  
      </block>
!   </page>
! </form>
--- 1,28 ----
! <?xml version="1.0"?>
  
! <!--  GNUe Forms 0.5.0 Migration Tool
!       Saved on: 2003-07-31 13:59:01  -->
  
+ <form title="Timesheet">
+   <logic>
+     <block name="blkAktmp1">
+       <field name="inpItemID" field="id"/>
+       <field name="inpDate" field="date" typecast="date"/>
+       <field name="inpComments" field="comment" typecast="text"/>
      </block>
!   </logic>
!   <layout xmlns:c="GNUe:Layout:Char" c:height="20" c:width="50">
!     <page name="pgAktmp1">
!       <label name="lblItemID" text="項目 (item):" c:width="20" c:x="1" 
c:y="1"/>
!       <entry block="blkAktmp1" field="inpItemID" c:height="1" c:width="30"
!              c:x="1" c:y="2"/>
!       <label name="lblDate" text="日期 (date) :" c:width="20" c:x="1" 
c:y="3"/>
!       <entry block="blkAktmp1" field="inpDate" c:height="1" c:width="30"
!              c:x="1" c:y="4"/>
!       <label name="lblNotes" text="備註 (comments):-" c:width="25" c:x="1"
!              c:y="9"/>
!       <entry block="blkAktmp1" field="inpComments" c:height="4" c:width="30"
!              c:x="1" c:y="10"/>
!     </page>
!   </layout>
! </form>
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]