Author: johannes Date: 2007-11-14 03:37:41 -0600 (Wed, 14 Nov 2007) New Revision: 9801
Modified: trunk/gnue-common/src/apps/i18n.py trunk/gnue-common/src/base/i18n.py Log: Don't give deprecation warnings right now Modified: trunk/gnue-common/src/apps/i18n.py =================================================================== --- trunk/gnue-common/src/apps/i18n.py 2007-11-14 08:46:21 UTC (rev 9800) +++ trunk/gnue-common/src/apps/i18n.py 2007-11-14 09:37:41 UTC (rev 9801) @@ -31,7 +31,6 @@ """ from gnue.common.base import i18n -from gnue.common.base import log __all__ = ['language', 'encoding', 'outconv', 'utranslate', 'translate', 'getlanguage', 'getencoding', 'getuserlocale', 'setcurrentlocale'] @@ -55,7 +54,6 @@ Encodes a message to L{encoding} (the current locale's encoding). This function is available as the builtin function "o()". """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.outconv(message) @@ -70,7 +68,6 @@ Translates a message and returns a unicode string. This function is available as the builtin function "u_()". """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.utranslate(message) @@ -86,7 +83,6 @@ (the current locale's encoding). This function is available as the builtin function "_()". """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.translate(message) @@ -103,7 +99,6 @@ @return: language of the current locale. """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.get_language() @@ -120,7 +115,6 @@ @return: encoding of the current locale. """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.get_encoding() @@ -137,7 +131,6 @@ @return: localestring of the user's locale, i.e. [EMAIL PROTECTED] """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.get_user_locale() @@ -158,5 +151,4 @@ @param new_locale: string of the locale to be set, e.g. [EMAIL PROTECTED] (full blown) or 'de_AT' or 'en_AU' """ - log.deprecated('Please use gnue.common.base.i18n instead') return i18n.set_current_locale(new_locale) Modified: trunk/gnue-common/src/base/i18n.py =================================================================== --- trunk/gnue-common/src/base/i18n.py 2007-11-14 08:46:21 UTC (rev 9800) +++ trunk/gnue-common/src/base/i18n.py 2007-11-14 09:37:41 UTC (rev 9801) @@ -19,7 +19,7 @@ # # Copyright 2001-2007 Free Software Foundation # -# $Id: i18n.py 9799 2007-11-13 14:15:52Z johannes $ +# $Id$ """ Internationalization support. Property changes on: trunk/gnue-common/src/base/i18n.py ___________________________________________________________________ Name: svn:keywords + Id _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue