Kaydet (Commit) 6dcdc109 authored tarafından Fatih Aşıcı's avatar Fatih Aşıcı

tree-wide: Do not pass variables to the gettext function

üst 35be8a4f
......@@ -49,11 +49,11 @@ class ConfigureError(pisi.actionsapi.Error):
def configure(projectfile='', parameters='', installPrefix=prefix):
if projectfile != '' and not shelltools.can_access_file(projectfile):
raise ConfigureError(_("Project file '%s' not found." % projectfile))
raise ConfigureError(_("Project file '%s' not found.") % projectfile)
profiles = glob.glob("*.pro")
if len(profiles) > 1 and projectfile == '':
raise ConfigureError(_("It seems there are more than one .pro file, you must specify one. (Possible .pro files: %s)" % ", ".join(profiles)))
raise ConfigureError(_("It seems there are more than one .pro file, you must specify one. (Possible .pro files: %s)") % ", ".join(profiles))
shelltools.system("%s -makefile %s PREFIX='%s' QMAKE_CFLAGS+='%s' QMAKE_CXXFLAGS+='%s' %s" % (qmake, projectfile, installPrefix, get.CFLAGS(), get.CXXFLAGS(), parameters))
......
......@@ -1009,8 +1009,8 @@ class Builder:
if not self.files.list:
if not package.debug_package:
ctx.ui.warning(_("Ignoring empty package %s" \
% package.name))
ctx.ui.warning(_("Ignoring empty package %s") \
% package.name)
continue
ctx.ui.action(_("Building package: %s") % package.name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment