commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r6917 - in trunk/gnue-forms/src/uidrivers: _base gtk2


From: jan
Subject: [gnue] r6917 - in trunk/gnue-forms/src/uidrivers: _base gtk2
Date: Sun, 23 Jan 2005 16:23:10 -0600 (CST)

Author: jan
Date: 2005-01-23 16:23:09 -0600 (Sun, 23 Jan 2005)
New Revision: 6917

Modified:
   trunk/gnue-forms/src/uidrivers/_base/UserActions.py
   trunk/gnue-forms/src/uidrivers/gtk2/ToolBar.py
Log:
Update Tooltips to be unicode aware too


Modified: trunk/gnue-forms/src/uidrivers/_base/UserActions.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/_base/UserActions.py 2005-01-21 22:41:00 UTC 
(rev 6916)
+++ trunk/gnue-forms/src/uidrivers/_base/UserActions.py 2005-01-23 22:23:09 UTC 
(rev 6917)
@@ -92,156 +92,156 @@
 
    UserAction(
        event="COMMIT",
-       description=_("Save all changes to the database."),
-       help=_("""Save all changes to the database.""") ),
+       description=u_("Save all changes to the database."),
+       help=u_("""Save all changes to the database.""") ),
 
     UserAction(
        event="ROLLBACK",
-       description=_("Clear form."),
-       help=_("Clear form and revert back to your original data.") ),
+       description=u_("Clear form."),
+       help=u_("Clear form and revert back to your original data.") ),
 
     UserAction(
        event="PRINTOUT",
-       description=_("Perform print routine for this form."),
-       help=_("Perform print routine for this form.") ),
+       description=u_("Perform print routine for this form."),
+       help=u_("Perform print routine for this form.") ),
 
     UserAction(
        event="EXIT",
-       description=_("Leave the application."),
-       help=_("Leave the application.") ),
+       description=u_("Leave the application."),
+       help=u_("Leave the application.") ),
 
     UserAction(
        event="CUT",
-       description=_("Cut the selected text"),
-       help=_("Cut the selected text") ),
+       description=u_("Cut the selected text"),
+       help=u_("Cut the selected text") ),
 
     UserAction(
        event="COPY",
-       description=_("Copy the selected text"),
-       help=_("Copy the selected text") ),
+       description=u_("Copy the selected text"),
+       help=u_("Copy the selected text") ),
 
     UserAction(
        event="COPYRECORD",
-       description=_("Copy the current record to the clipboard."),
-       help=_("Copy the current record to the clipboard. The record is copied 
with tabs separating values.") ),
+       description=u_("Copy the current record to the clipboard."),
+       help=u_("Copy the current record to the clipboard. The record is copied 
with tabs separating values.") ),
 
     UserAction(
        event="COPYSCREEN",
-       description=_("Copy the current screen to the clipboard as plain 
text."),
-       help=_("Copy the current screen to the clipboard as plain text.") ),
+       description=u_("Copy the current screen to the clipboard as plain 
text."),
+       help=u_("Copy the current screen to the clipboard as plain text.") ),
 
     UserAction(
        event="PASTE",
-       description=_("Paste text into the current field."),
-       help=_("Paste text into the current field.") ),
+       description=u_("Paste text into the current field."),
+       help=u_("Paste text into the current field.") ),
 
     UserAction(
        event="SELECTALL",
-       description=_("Select all text."),
-       help=_("Select all text.") ),
+       description=u_("Select all text."),
+       help=u_("Select all text.") ),
 
     UserAction(
        event="PREVENTRY",
-       description=_("Move to the previous logical field."),
-       help=_("Move to the previous logical field.") ),
+       description=u_("Move to the previous logical field."),
+       help=u_("Move to the previous logical field.") ),
 
     UserAction(
        event="NEXTENTRY",
-       description=_("Move to the next logical field."),
-       help=_("Move to the next logical field.") ),
+       description=u_("Move to the next logical field."),
+       help=u_("Move to the next logical field.") ),
 
     UserAction(
        event="FIRSTRECORD",
-       description=_("Jump to the first record in the current block."),
-       help=_("Jump to the first record in the current block.") ),
+       description=u_("Jump to the first record in the current block."),
+       help=u_("Jump to the first record in the current block.") ),
 
     UserAction(
        event="PREVRECORD",
-       description=_("Jump to the previous record in the current block."),
-       help=_("Jump to the previous record in the current block.") ),
+       description=u_("Jump to the previous record in the current block."),
+       help=u_("Jump to the previous record in the current block.") ),
 
     UserAction(
        event="NEXTRECORD",
-       description=_("Jump to the next record in the current block."),
-       help=_("Jump to the next record in the current block.") ),
+       description=u_("Jump to the next record in the current block."),
+       help=u_("Jump to the next record in the current block.") ),
 
     UserAction(
        event="LASTRECORD",
-       description=_("Jump to the last record in the current block."),
-       help=_("Jump to the last record in the current block.") ),
+       description=u_("Jump to the last record in the current block."),
+       help=u_("Jump to the last record in the current block.") ),
 
     UserAction(
        event="JUMPPROMPT",
-       description= _("Prompts for a record number to which the system "
+       description= u_("Prompts for a record number to which the system "
                       "should jump."),
-       help=_('Prompts for a record number to which the system should jump.') 
),
+       help=u_('Prompts for a record number to which the system should jump.') 
),
 
     UserAction(
        event="NEWRECORD",
-       description=_("Insert a new record into the current block."),
-       help=_("Insert a new record into the current block.") ),
+       description=u_("Insert a new record into the current block."),
+       help=u_("Insert a new record into the current block.") ),
 
     UserAction(
        event="MARKFORDELETE",
-       description=_('Mark record for removal at next commit.'),
-       help=_('Mark record for removal at next commit.') ),
+       description=u_('Mark record for removal at next commit.'),
+       help=u_('Mark record for removal at next commit.') ),
 
     UserAction(
        event="NEXTBLOCK",
-       description=_('Navigate to the next data block.'),
-       help=_('Navigate to the next data block.') ),
+       description=u_('Navigate to the next data block.'),
+       help=u_('Navigate to the next data block.') ),
 
     UserAction(
        event="PREVBLOCK",
-       description=_('Navigate to the previous data block.'),
-       help=_('Navigate to the previous data block.') ),
+       description=u_('Navigate to the previous data block.'),
+       help=u_('Navigate to the previous data block.') ),
 
     UserAction(
        event="NEXTPAGE",
-       description=_('Navigate to the next page.'),
-       help=_('Navigate to the next page.') ),
+       description=u_('Navigate to the next page.'),
+       help=u_('Navigate to the next page.') ),
 
     UserAction(
        event="PREVPAGE",
-       description=_('Navigate to the previous page.'),
-       help=_('Navigate to the previous page.') ),
+       description=u_('Navigate to the previous page.'),
+       help=u_('Navigate to the previous page.') ),
 
     UserAction(
        event="ENTERQUERY",
-       description=_('Switch to query mode. Select Execute Query once your 
criteria has been entered.'),
-       help=_('Switch to query mode. Select Execute Query once your criteria 
has been entered.'),
+       description=u_('Switch to query mode. Select Execute Query once your 
criteria has been entered.'),
+       help=u_('Switch to query mode. Select Execute Query once your criteria 
has been entered.'),
        canToggle='CANCELQUERY' ),
 
     UserAction(
        event="ENTEREDIT",
-       description=_('Switch to edit mode.  This will allow you to edit the 
current entries.'),
-       help=_('Switch to edit mode.'),
+       description=u_('Switch to edit mode.  This will allow you to edit the 
current entries.'),
+       help=u_('Switch to edit mode.'),
        canToggle='CANCELEDIT' ),
 
     UserAction(
        event="COPYQUERY",
-       description=_('Switch to query mode (if not already) and retrieve the 
last query parameters. Select Execute Query once your criteria has been 
entered.'),
-       help=_('Switch to query mode (if not already) and retrieve the last 
query parameters. Select Execute Query once your criteria has been entered.') ),
+       description=u_('Switch to query mode (if not already) and retrieve the 
last query parameters. Select Execute Query once your criteria has been 
entered.'),
+       help=u_('Switch to query mode (if not already) and retrieve the last 
query parameters. Select Execute Query once your criteria has been entered.') ),
 
     UserAction(
        event="CANCELQUERY",
-       description=_('Cancel query mode.'),
-       help=_('Cancel query mode.') ),
+       description=u_('Cancel query mode.'),
+       help=u_('Cancel query mode.') ),
 
     UserAction(
        event="EXECQUERY",
-       description=_('Perform a query and show the results.'),
-       help=_('Perform a query and show the results.') ),
+       description=u_('Perform a query and show the results.'),
+       help=u_('Perform a query and show the results.') ),
 
     UserAction(
        event="ABOUT",
-       description=_('Display info about GNUe Forms.'),
-       help=_('Display info about GNUe Forms.') ),
+       description=u_('Display info about GNUe Forms.'),
+       help=u_('Display info about GNUe Forms.') ),
 
     UserAction(
        event="HELPKEYS",
-       description=_('Display the keystroke bindings currently in use.'),
-       help=_('Display the keystroke bindings currently in use.') ),
+       description=u_('Display the keystroke bindings currently in use.'),
+       help=u_('Display the keystroke bindings currently in use.') ),
 
   ]:
 

Modified: trunk/gnue-forms/src/uidrivers/gtk2/ToolBar.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/gtk2/ToolBar.py      2005-01-21 22:41:00 UTC 
(rev 6916)
+++ trunk/gnue-forms/src/uidrivers/gtk2/ToolBar.py      2005-01-23 22:23:09 UTC 
(rev 6917)
@@ -73,7 +73,7 @@
         (repr (name), repr (userAction.description)))
 
     label   = name
-    toolTip = unicode (userAction.description, i18n.encoding)
+    toolTip = userAction.description
     iconloc = userAction.getIconLocation (size = "24x24")
 
     # Set the action icon if available





reply via email to

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