diff options
| author | Alvin Penner <penner@vaxxine.com> | 2012-10-07 20:55:37 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2012-10-07 20:55:37 +0000 |
| commit | 3496b04a3d5fc1dd1e508a6ea79bb50af70969de (patch) | |
| tree | 800f53f83bee8bd6f3b3f66666f9f23fd1618287 | |
| parent | powerstroke: arc extrp. corner case handling (diff) | |
| download | inkscape-3496b04a3d5fc1dd1e508a6ea79bb50af70969de.tar.gz inkscape-3496b04a3d5fc1dd1e508a6ea79bb50af70969de.zip | |
extensions. maintain gettext compatibility with rev 11749
(bzr r11752)
| -rwxr-xr-x | share/extensions/extrude.py | 9 | ||||
| -rw-r--r-- | share/extensions/print_win32_vector.py | 12 |
2 files changed, 14 insertions, 7 deletions
diff --git a/share/extensions/extrude.py b/share/extensions/extrude.py index 0720ee24b..c91ea645e 100755 --- a/share/extensions/extrude.py +++ b/share/extensions/extrude.py @@ -16,10 +16,13 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ''' +# local library +import inkex +import simplepath +import simpletransform +import cubicsuperpath -import inkex, simplepath, simpletransform, cubicsuperpath -import gettext -_ = gettext.gettext +inkex.localize() class Extrude(inkex.Effect): def __init__(self): diff --git a/share/extensions/print_win32_vector.py b/share/extensions/print_win32_vector.py index 49baec136..e77b49826 100644 --- a/share/extensions/print_win32_vector.py +++ b/share/extensions/print_win32_vector.py @@ -27,11 +27,15 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ''' - +# standard library from ctypes import * -import inkex, simplestyle, simpletransform, cubicsuperpath -import gettext -_ = gettext.gettext +# local library +import inkex +import simplestyle +import simpletransform +import cubicsuperpath + +inkex.localize() if not inkex.sys.platform.startswith('win'): exit(_("sorry, this will run only on Windows, exiting...")) |
