Commit 467cb1c1 authored by Michal Čihař's avatar Michal Čihař

Remove global source language setting

It's already configured at project level, so the global settings doesn't
make much sense.

Fixes #1028
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 0b132fdc
......@@ -664,14 +664,6 @@ SITE_TITLE
Site title to be used in website and emails as well.
.. setting:: SOURCE_LANGUAGE
SOURCE_LANGUAGE
---------------
Source language used for translation. This is mostly useful for machine
translation services.
.. setting:: TTF_PATH
TTF_PATH
......
......@@ -180,7 +180,6 @@ After installation on OpenShift Weblate is ready to use and preconfigured as fol
* Indexing offloading if the cron cartridge is installed (:setting:`OFFLOAD_INDEXING`)
* Committing of pending changes if the cron cartridge is installed (:djadmin:`commit_pending`)
* Weblate machine translations for suggestions bases on previous translations (:setting:`MACHINE_TRANSLATION_SERVICES`)
* Source language for machine translations set to "en-us" (:setting:`SOURCE_LANGUAGE`)
* Weblate directories (STATIC_ROOT, :setting:`DATA_DIR`, :setting:`TTF_PATH`, Avatar cache) set according to OpenShift requirements/conventions
* Django site name and ALLOWED_HOSTS set to DNS name of your OpenShift application
* Email sender addresses set to no-reply@<OPENSHIFT_CLOUD_DOMAIN>, where <OPENSHIFT_CLOUD_DOMAIN> is the domain OpenShift runs under. In case of OpenShift Online it's rhcloud.com.
......
......@@ -11,8 +11,7 @@ up to administrator to enable them. The services have different terms of use, so
please check whether you are allowed to use them before enabling in Weblate.
The individual services are enabled using :setting:`MACHINE_TRANSLATION_SERVICES`.
The source langauge can be configured by :setting:`SOURCE_LANGUAGE` and is
shared for all translations within Weblate.
The source language can be configured at :ref:`project`.
Amagama
+++++++
......
......@@ -193,9 +193,6 @@ PIWIK_URL = getvalue('PIWIK_URL', None)
# Google Analytics
GOOGLE_ANALYTICS_ID = getvalue('GOOGLE_ANALYTICS_ID', None)
# Source language
SOURCE_LANGUAGE = getvalue('SOURCE_LANGUAGE', 'en')
# Self advertisement
SELF_ADVERTISEMENT = getvalue('SELF_ADVERTISEMENT', False)
......
......@@ -103,8 +103,6 @@ else:
# Where to put Whoosh index
WHOOSH_INDEX = os.path.join(os.environ['OPENSHIFT_DATA_DIR'], 'whoosh-index')
SOURCE_LANGUAGE = 'en'
# List of machine translations
MACHINE_TRANSLATION_SERVICES = (
'weblate.trans.machine.weblatetm.WeblateSimilarTranslation',
......
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