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