mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +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
|
|
@ -35,6 +35,7 @@ except ImportError:
|
|||
YamlLoader = Loader
|
||||
|
||||
import fdroidserver.common
|
||||
from fdroidserver import _
|
||||
from fdroidserver.exception import MetaDataException, FDroidException
|
||||
|
||||
srclibs = None
|
||||
|
|
@ -1519,4 +1520,4 @@ def write_metadata(metadatapath, app):
|
|||
def add_metadata_arguments(parser):
|
||||
'''add common command line flags related to metadata processing'''
|
||||
parser.add_argument("-W", default='error',
|
||||
help="force errors to be warnings, or ignore")
|
||||
help=_("force errors to be warnings, or ignore"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue