Kaydet (Commit) 33570c50 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Translations updated.

Çeviriler yüklendi. Bazı çıktılar da uygun olarak renklendirildi.
üst cae9f67f
......@@ -80,4 +80,4 @@ def ninja_install(parameters=""):
def ninja_check():
if system('ninja test {} -C inaryPackageBuild'.format(get.makeJOBS())):
raise MesonError(_("Check failed"))
raise MesonError(_("Check failed."))
......@@ -57,13 +57,13 @@ def compile(parameters=''):
# Move sources according to tplobj files
if moveSources():
raise CompileError(_('Moving source files failed'))
raise CompileError(_('Moving source files failed.'))
# Generate config files
if generateConfigFiles():
raise CompileError(_('Generate config files failed'))
raise CompileError(_('Generate config files failed.'))
# Build format files
if buildFormatFiles():
raise CompileError(_('Building format files failed'))
raise CompileError(_('Building format files failed.'))
def install(parameters=''):
......@@ -71,23 +71,23 @@ def install(parameters=''):
# Create symlinks from format to engines
if createSymlinksFormat2Engines():
raise InstallError(_('Creating symlinks from format to engines failed'))
raise InstallError(_('Creating symlinks from format to engines failed.'))
# Installing docs
if installDocFiles():
raise InstallError(_('Installing docs failed'))
raise InstallError(_('Installing docs failed.'))
# Installing texmf, texmf-dist, tlpkg, texmf-var
if installTexmfFiles():
raise InstallError(_('Installing texmf files failed'))
raise InstallError(_('Installing texmf files failed.'))
# Installing config files
if installConfigFiles():
raise InstallError(_('Installing config files failed'))
raise InstallError(_('Installing config files failed.'))
# Handle config files
if handleConfigFiles():
raise InstallError(_('Handle config files failed'))
raise InstallError(_('Handle config files failed.'))
def createSymlinksFormat2Engines():
......
......@@ -158,7 +158,7 @@ class TarFile(tarfile.TarFile):
try:
t = cls.taropen(name, mode, fileobj, **kwargs)
except IOError:
raise tarfile.ReadError(_(" \"{}\" is not a lzma file").format(name))
raise tarfile.ReadError(_(" \"{}\" is not a lzma file.").format(name))
t._extfileobj = False
return t
......@@ -897,7 +897,7 @@ class SourceArchive:
url = self.url.uri
if not os.access(url[7:], os.F_OK):
raise SourceArchiveError(_('No such file or no permission to read'))
raise SourceArchiveError(_('No such file or no permission to read.'))
shutil.copy(url[7:], self.archiveFile)
def fetch_from_mirror(self):
......
......@@ -52,37 +52,37 @@ class Build(command.Command, metaclass=command.autocommand):
action="store_true",
default=False,
help=_("Run inary build operation without printing "
"extra debug information"))
"extra debug information."))
group.add_option("--ignore-dependency",
action="store_true",
default=False,
help=_("Do not take dependency information into "
"account"))
"account."))
group.add_option("-O", "--output-dir",
action="store",
default=None,
help=_("Output directory for produced packages"))
help=_("Output directory for produced packages."))
group.add_option("--ignore-action-errors",
action="store_true", default=False,
help=_("Bypass errors from ActionsAPI"))
help=_("Bypass errors from ActionsAPI."))
group.add_option("--ignore-safety",
action="store_true",
default=False,
help=_("Bypass safety switch"))
help=_("Bypass safety switch."))
group.add_option("--ignore-check",
action="store_true",
default=False,
help=_("Bypass testing step"))
help=_("Bypass testing step."))
group.add_option("--create-static",
action="store_true",
default=False,
help=_("Create a static package with ar files"))
help=_("Create a static package with ar files."))
group.add_option("-F", "--package-format",
action="store",
......@@ -94,13 +94,13 @@ class Build(command.Command, metaclass=command.autocommand):
action="store_true",
default=False,
help=_("Use quilt patch management system "
"instead of GNU patch"))
"instead of GNU patch."))
group.add_option("--ignore-sandbox",
action="store_true",
default=False,
help=_("Do not constrain build process inside "
"the build folder"))
"the build folder."))
self.parser.add_option_group(group)
group = optparse.OptionGroup(self.parser, _("build steps"))
......@@ -110,7 +110,7 @@ class Build(command.Command, metaclass=command.autocommand):
action="store_const",
const="fetch",
help=_("Break build after fetching the source "
"archive"))
"archive."))
group.add_option("--unpack",
dest="until",
......@@ -118,7 +118,7 @@ class Build(command.Command, metaclass=command.autocommand):
const="unpack",
help=_("Break build after unpacking the source "
"archive, checking sha1sum and applying "
"patches"))
"patches."))
group.add_option("--setup",
dest="until",
......@@ -130,25 +130,25 @@ class Build(command.Command, metaclass=command.autocommand):
dest="until",
action="store_const",
const="build",
help=_("Break build after running compile step"))
help=_("Break build after running compile step."))
group.add_option("--check",
dest="until",
action="store_const",
const="check",
help=_("Break build after running check step"))
help=_("Break build after running check step."))
group.add_option("--install",
dest="until",
action="store_const",
const="install",
help=_("Break build after running install step"))
help=_("Break build after running install step."))
group.add_option("--package",
dest="until",
action="store_const",
const="package",
help=_("Create INARY package"))
help=_("Create INARY package."))
self.parser.add_option_group(group)
......
......@@ -49,17 +49,17 @@ expanded to package names.
super(Install, self).options(group)
group.add_option("--reinstall", action="store_true",
default=False, help=_("Reinstall already installed packages"))
default=False, help=_("Reinstall already installed packages."))
group.add_option("--ignore-check", action="store_true",
default=False, help=_("Skip distribution release and architecture check"))
default=False, help=_("Skip distribution release and architecture check."))
group.add_option("--ignore-file-conflicts", action="store_true",
default=False, help=_("Ignore file conflicts"))
group.add_option("--ignore-package-conflicts", action="store_true",
default=False, help=_("Ignore package conflicts"))
group.add_option("-c", "--component", action="append",
default=None, help=_("Install component's and recursive components' packages"))
default=None, help=_("Install component's and recursive components' packages."))
group.add_option("-r", "--repository", action="store",
type="string", default=None, help=_('Name of the component\'s repository'))
type="string", default=None, help=_('Name of the component\'s repository.'))
group.add_option("-f", "--fetch-only", action="store_true",
default=False, help=_("Fetch upgrades but do not install."))
group.add_option("-x", "--exclude", action="append",
......
......@@ -46,13 +46,13 @@ Usage: list-installed
action="store",
default=None,
help=_("Only list the installed packages built "
"by the given host"))
"by the given host."))
group.add_option("-l", "--long", action="store_true",
default=False, help=_("Show in long format"))
group.add_option("-c", "--component", action="store",
default=None, help=_("List installed packages under given component"))
default=None, help=_("List installed packages under given component."))
group.add_option("-i", "--install-info", action="store_true",
default=False, help=_("Show detailed install info"))
default=False, help=_("Show detailed install info."))
self.parser.add_option_group(group)
......
......@@ -43,7 +43,7 @@ Lists packages installed as dependency, but no longer needed by any other instal
group = optparse.OptionGroup(self.parser, _("list-orphaned options"))
group.add_option("-a", "--all", action="store_true",
default=False, help=_("Show all packages without reverse dependencies"))
default=False, help=_("Show all packages without reverse dependencies."))
group.add_option("-x", "--exclude", action="append",
default=None, help=_("Ignore packages and components whose basenames match pattern."))
self.parser.add_option_group(group)
......
......@@ -53,17 +53,17 @@ expanded to package names.
super(Upgrade, self).options(group)
group.add_option("--security-only", action="store_true",
default=False, help=_("Security related package upgrades only"))
default=False, help=_("Security related package upgrades only."))
group.add_option("-b", "--bypass-update-repo", action="store_true",
default=False, help=_("Do not update repositories"))
default=False, help=_("Do not update repositories."))
group.add_option("--ignore-file-conflicts", action="store_true",
default=False, help=_("Ignore file conflicts"))
default=False, help=_("Ignore file conflicts."))
group.add_option("--ignore-package-conflicts", action="store_true",
default=False, help=_("Ignore package conflicts"))
default=False, help=_("Ignore package conflicts."))
group.add_option("-c", "--component", action="append",
default=None, help=_("Upgrade component's and recursive components' packages"))
default=None, help=_("Upgrade component's and recursive components' packages."))
group.add_option("-r", "--repository", action="store",
type="string", default=None, help=_('Name of the to be upgraded packages\' repository'))
type="string", default=None, help=_('Name of the to be upgraded packages\' repository.'))
group.add_option("-f", "--fetch-only", action="store_true",
default=False, help=_("Fetch upgrades but do not install."))
group.add_option("-x", "--exclude", action="append",
......@@ -75,7 +75,7 @@ expanded to package names.
"and components whose basenames match "
"any pattern contained in file."))
group.add_option("-s", "--compare-sha1sum", action="store_true",
default=False, help=_("compare sha1sum repo and installed packages"))
default=False, help=_("compare sha1sum repo and installed packages."))
self.parser.add_option_group(group)
......
......@@ -1022,13 +1022,13 @@ class Builder:
try:
_uid = str(pwd.getpwnam(afile.owner)[2])
except KeyError:
ctx.ui.warning(_("No user named '%s' found "
"on the system") % afile.owner)
ctx.ui.warning(_("No user named '{}' found "
"on the system").format(afile.owner))
try:
_gid = str(grp.getgrnam(afile.group)[2])
except KeyError:
ctx.ui.warning(_("No group named '%s' found "
"on the system") % afile.group)
ctx.ui.warning(_("No group named '{}' found "
"on the system").format(afile.group))
break
d[frpath] = Files.FileInfo(path=frpath, type=ftype, permanent=permanent,
size=fsize, hash=fhash, uid=_uid, gid=_gid,
......
......@@ -59,7 +59,7 @@ def parseString(fileString):
dom = minidom.parseString(fileString)
return dom.documentElement
except ExpatError as inst:
raise XMLError(_("FileString is an invalid XML: {}\n\nFileScript: {}\n").format(
raise XMLError(_("FileString is an invalid XML: {}\n\nFileString: {}\n").format(
str(inst), fileString))
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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