Changeset 3291

Show
Ignore:
Timestamp:
07/28/07 01:56:10 (1 year ago)
Author:
paul
Message:

Fixed a couple bugs from the last commit.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/dLocalize.py

    r3290 r3291  
    8383def _(s): 
    8484    warnings.warn("Please remove your 'from dLocalize import _' statement.", DeprecationWarning, stacklevel=2) 
    85     __builtins__["_"](s) 
     85    return __builtins__["_"](s) 
    8686 
    8787def n_(s): 
    8888    warnings.warn("Please remove your 'from dLocalize import n_' statement.", DeprecationWarning, stacklevel=2) 
    89     __builtins__["_"](s) 
     89    return s 
    9090 
    9191 
  • trunk/dabo/lib/datanav/Page.py

    r3290 r3291  
    88from dabo.lib.utils import padl 
    99from dabo.dObject import dObject 
     10from dabo.dLocalize import n_ 
    1011 
    1112dabo.ui.loadUI("wx")