1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

Merge pull request #40 from YunoHost-Apps/testing

Testing
This commit is contained in:
Kayou 2021-03-08 16:34:15 +01:00 committed by GitHub
commit 6960d586b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 5 deletions

View file

@ -10,7 +10,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Weblate is a libre web-based translation tool with tight version control integration. It provides two user interfaces, propagation of translations across components, quality checks and automatic linking to source files. Weblate is a libre web-based translation tool with tight version control integration. It provides two user interfaces, propagation of translations across components, quality checks and automatic linking to source files.
**Shipped version:** 4.4 **Shipped version:** 4.5.1
## Screenshots ## Screenshots

View file

@ -12,7 +12,7 @@
################################################################################ ################################################################################
################################################################################ ################################################################################
# #
# Copyright © 2012 - 2020 Michal Čihař <michal@cihar.com> # Copyright © 2012 - 2021 Michal Čihař <michal@cihar.com>
# #
# This file is part of Weblate <https://weblate.org/> # This file is part of Weblate <https://weblate.org/>
# #
@ -132,6 +132,7 @@ LANGUAGES = (
("sl", "Slovenščina"), ("sl", "Slovenščina"),
("sq", "Shqip"), ("sq", "Shqip"),
("sr", "Српски"), ("sr", "Српски"),
("sr-latn", "Srpski"),
("sv", "Svenska"), ("sv", "Svenska"),
("tr", "Türkçe"), ("tr", "Türkçe"),
("uk", "Українська"), ("uk", "Українська"),
@ -152,6 +153,9 @@ USE_L10N = True
# If you set this to False, Django will not use timezone-aware datetimes. # If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True USE_TZ = True
# Type of automatic primary key, introduced in Django 3.2
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
# URL prefix to use, please see documentation for more details # URL prefix to use, please see documentation for more details
URL_PREFIX = "__PATHURL__" URL_PREFIX = "__PATHURL__"
@ -376,6 +380,7 @@ INSTALLED_APPS = [
"weblate.utils", "weblate.utils",
"weblate.vcs", "weblate.vcs",
"weblate.wladmin", "weblate.wladmin",
"weblate.metrics",
"weblate", "weblate",
# Optional: Git exporter # Optional: Git exporter
"weblate.gitexport", "weblate.gitexport",
@ -699,6 +704,7 @@ CRISPY_TEMPLATE_PACK = "bootstrap3"
# "weblate.checks.format.CFormatCheck", # "weblate.checks.format.CFormatCheck",
# "weblate.checks.format.PerlFormatCheck", # "weblate.checks.format.PerlFormatCheck",
# "weblate.checks.format.JavaScriptFormatCheck", # "weblate.checks.format.JavaScriptFormatCheck",
# "weblate.checks.format.LuaFormatCheck",
# "weblate.checks.format.CSharpFormatCheck", # "weblate.checks.format.CSharpFormatCheck",
# "weblate.checks.format.JavaFormatCheck", # "weblate.checks.format.JavaFormatCheck",
# "weblate.checks.format.JavaMessageFormatCheck", # "weblate.checks.format.JavaMessageFormatCheck",
@ -734,6 +740,7 @@ CRISPY_TEMPLATE_PACK = "bootstrap3"
# "weblate.checks.source.MultipleFailingCheck", # "weblate.checks.source.MultipleFailingCheck",
# "weblate.checks.source.LongUntranslatedCheck", # "weblate.checks.source.LongUntranslatedCheck",
# "weblate.checks.format.MultipleUnnamedFormatsCheck", # "weblate.checks.format.MultipleUnnamedFormatsCheck",
# "weblate.checks.glossary.GlossaryCheck",
# ) # )
# List of automatic fixups # List of automatic fixups
@ -746,6 +753,7 @@ CRISPY_TEMPLATE_PACK = "bootstrap3"
# List of enabled addons # List of enabled addons
# WEBLATE_ADDONS = ( # WEBLATE_ADDONS = (
# "weblate.addons.autotranslate.AutoTranslateAddon",
# "weblate.addons.gettext.GenerateMoAddon", # "weblate.addons.gettext.GenerateMoAddon",
# "weblate.addons.gettext.UpdateLinguasAddon", # "weblate.addons.gettext.UpdateLinguasAddon",
# "weblate.addons.gettext.UpdateConfigureAddon", # "weblate.addons.gettext.UpdateConfigureAddon",
@ -753,13 +761,16 @@ CRISPY_TEMPLATE_PACK = "bootstrap3"
# "weblate.addons.gettext.GettextCustomizeAddon", # "weblate.addons.gettext.GettextCustomizeAddon",
# "weblate.addons.gettext.GettextAuthorComments", # "weblate.addons.gettext.GettextAuthorComments",
# "weblate.addons.cleanup.CleanupAddon", # "weblate.addons.cleanup.CleanupAddon",
# "weblate.addons.cleanup.RemoveBlankAddon",
# "weblate.addons.consistency.LangaugeConsistencyAddon", # "weblate.addons.consistency.LangaugeConsistencyAddon",
# "weblate.addons.discovery.DiscoveryAddon", # "weblate.addons.discovery.DiscoveryAddon",
# "weblate.addons.autotranslate.AutoTranslateAddon",
# "weblate.addons.flags.SourceEditAddon", # "weblate.addons.flags.SourceEditAddon",
# "weblate.addons.flags.TargetEditAddon", # "weblate.addons.flags.TargetEditAddon",
# "weblate.addons.flags.SameEditAddon", # "weblate.addons.flags.SameEditAddon",
# "weblate.addons.flags.BulkEditAddon", # "weblate.addons.flags.BulkEditAddon",
# "weblate.addons.generate.GenerateFileAddon", # "weblate.addons.generate.GenerateFileAddon",
# "weblate.addons.generate.PseudolocaleAddon",
# "weblate.addons.json.JSONCustomizeAddon", # "weblate.addons.json.JSONCustomizeAddon",
# "weblate.addons.properties.PropertiesSortAddon", # "weblate.addons.properties.PropertiesSortAddon",
# "weblate.addons.git.GitSquashAddon", # "weblate.addons.git.GitSquashAddon",
@ -768,7 +779,6 @@ CRISPY_TEMPLATE_PACK = "bootstrap3"
# "weblate.addons.resx.ResxUpdateAddon", # "weblate.addons.resx.ResxUpdateAddon",
# "weblate.addons.yaml.YAMLCustomizeAddon", # "weblate.addons.yaml.YAMLCustomizeAddon",
# "weblate.addons.cdn.CDNJSAddon", # "weblate.addons.cdn.CDNJSAddon",
# "weblate.addons.autotranslate.AutoTranslateAddon",
# ) # )
# E-mail address that error messages come from. # E-mail address that error messages come from.
@ -792,6 +802,7 @@ CACHES = {
"OPTIONS": { "OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient", "CLIENT_CLASS": "django_redis.client.DefaultClient",
"PARSER_CLASS": "redis.connection.HiredisParser", "PARSER_CLASS": "redis.connection.HiredisParser",
# If you set password here, adjust CELERY_BROKER_URL as well
"PASSWORD": None, "PASSWORD": None,
"CONNECTION_POOL_KWARGS": {}, "CONNECTION_POOL_KWARGS": {},
}, },

View file

@ -6,7 +6,7 @@
"en": "A translation platform using Git and Python", "en": "A translation platform using Git and Python",
"fr": "Une plateforme de traduction utilisant Git et Python" "fr": "Une plateforme de traduction utilisant Git et Python"
}, },
"version": "4.4~ynh1", "version": "4.5.1~ynh1",
"url": "https://weblate.org", "url": "https://weblate.org",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"maintainer": { "maintainer": {

View file

@ -12,7 +12,7 @@ pkg_dependencies="libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev
libpq-dev libglib2.0-dev mailutils python-celery-common hub" libpq-dev libglib2.0-dev mailutils python-celery-common hub"
# Weblate's version for PIP and settings file # Weblate's version for PIP and settings file
weblate_version="4.4" weblate_version="4.5.1"
debian_maj_version=$(sed 's/\..*//' /etc/debian_version) debian_maj_version=$(sed 's/\..*//' /etc/debian_version)