From e1100b7361ebde90e52e1f4f35f9da5067616a8d Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 12 Feb 2018 15:59:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B8=D0=BD=D1=85=D1=80=D0=BE=D0=BD?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=B2=D0=BE=D0=B4=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/calculate/lib/format/backgrounds.py | 4 ++-- pym/calculate/lib/format/dconf.py | 2 +- pym/calculate/lib/format/sqlite.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pym/calculate/lib/format/backgrounds.py b/pym/calculate/lib/format/backgrounds.py index 08377b9..056f028 100644 --- a/pym/calculate/lib/format/backgrounds.py +++ b/pym/calculate/lib/format/backgrounds.py @@ -142,7 +142,7 @@ class backgrounds(TemplateFormat): def processingFile(self, textConfigFile, rootPath=None, nameFile=None): """Обработка конфигурационного файла""" if not (self.convert_cmd and self.identify_cmd): - self.setError("%s. %s" % (_("Format 'backgrounds' is unavailable"), + self.setError("%s. %s" % (_("The 'backgrounds' format is unavailable"), _("Need to install {packages}").format( packages="media-gfx/imagemagick"))) return False @@ -238,7 +238,7 @@ class backgrounds(TemplateFormat): image_files.append(image_fn) else: self.parent.printWARNING( - _("Skipped creation of the image with %s resolution") % ( + _("Creation of image with %s resolution skipped") % ( "%dx%d" % (width, height))) with writeFile(md5_fn) as f: f.write("%s\n" % image_md5) diff --git a/pym/calculate/lib/format/dconf.py b/pym/calculate/lib/format/dconf.py index cdf6db1..d5f4feb 100644 --- a/pym/calculate/lib/format/dconf.py +++ b/pym/calculate/lib/format/dconf.py @@ -51,7 +51,7 @@ class dconf(TemplateFormat): def processingFile(self, textConfigFile, rootPath=None, nameFile=None): if not (self.run_session and self.su and self.dconf): - self.setError(_("Format 'dconf' is unavailable")) + self.setError(_("The 'dconf' format is unavailable")) return False dconfRun = process(self.su, self.user, "-c", "%s %s load %s" % (self.run_session, diff --git a/pym/calculate/lib/format/sqlite.py b/pym/calculate/lib/format/sqlite.py index 9dde91d..2c8d71e 100644 --- a/pym/calculate/lib/format/sqlite.py +++ b/pym/calculate/lib/format/sqlite.py @@ -37,7 +37,7 @@ class sqlite(TemplateFormat): try: import sqlite3 except ImportError: - self.setError(_("Format 'sqlite' is unavailable")) + self.setError(_("The 'sqlite' format is unavailable")) sqlite3 = None return False try: