# HG changeset patch # User Marcin Kuzminski # Date 2013-05-22 00:00:57 # Node ID 31f8c9d76a261cb2e27933b3fe1e4ed34916b237 # Parent 88ec8f7b9e6468cc72ddcae86fda06fa001bac3f Remove translation calls in API diff --git a/rhodecode/controllers/api/api.py b/rhodecode/controllers/api/api.py --- a/rhodecode/controllers/api/api.py +++ b/rhodecode/controllers/api/api.py @@ -911,9 +911,9 @@ class ApiController(JSONRPCController): _forks_msg = '' _forks = [f for f in repo.forks] if handle_forks == 'detach': - _forks_msg = ' ' + _('Detached %s forks') % len(_forks) + _forks_msg = ' ' + 'Detached %s forks' % len(_forks) elif handle_forks == 'delete': - _forks_msg = ' ' + _('Deleted %s forks') % len(_forks) + _forks_msg = ' ' + 'Deleted %s forks' % len(_forks) elif _forks: raise JSONRPCError( 'Cannot delete `%s` it still contains attached forks'