mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
implement gettext localization
This allows all the text to be localized via Weblate. This is a quick overview of all the strings, but there are certainly some that were left out. closes #342
This commit is contained in:
parent
e4ca82d80c
commit
278d67d960
24 changed files with 285 additions and 235 deletions
|
|
@ -49,6 +49,7 @@ from pyasn1.error import PyAsn1Error
|
|||
from distutils.util import strtobool
|
||||
|
||||
import fdroidserver.metadata
|
||||
from fdroidserver import _
|
||||
from fdroidserver.exception import FDroidException, VCSException, BuildException
|
||||
from .asynchronousfilereader import AsynchronousFileReader
|
||||
|
||||
|
|
@ -123,9 +124,9 @@ default_config = {
|
|||
|
||||
def setup_global_opts(parser):
|
||||
parser.add_argument("-v", "--verbose", action="store_true", default=False,
|
||||
help="Spew out even more information than normal")
|
||||
help=_("Spew out even more information than normal"))
|
||||
parser.add_argument("-q", "--quiet", action="store_true", default=False,
|
||||
help="Restrict output to warnings and errors")
|
||||
help=_("Restrict output to warnings and errors"))
|
||||
|
||||
|
||||
def fill_config_defaults(thisconfig):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue