zanata config loc

This commit is contained in:
sundeep-co-in 2016-10-27 22:26:39 +05:30
parent e908bc34e6
commit 2ddcffc184
3 changed files with 2 additions and 14 deletions

View File

@ -579,7 +579,7 @@ ui-docker: $(UI_DEPS_FLAG_FILE)
ui-devel: $(UI_DEPS_FLAG_FILE)
$(NPM_BIN) --prefix awx/ui run build-devel
ui-release: languages $(UI_RELEASE_FLAG_FILE)
ui-release: $(UI_RELEASE_FLAG_FILE)
# todo: include languages target when .po deliverables are added to source control
$(UI_RELEASE_FLAG_FILE): $(UI_DEPS_FLAG_FILE)

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
<url>https://translate.stage.engineering.redhat.com/</url>
<project>ansible-django</project>
<project-version>devel</project-version>
<project-type>podir</project-type>
<src-dir>awx/locale</src-dir>
<trans-dir>awx/locale</trans-dir>
<rules>
<rule>{locale}/LC_MESSAGES/{filename}.po</rule>
</rules>
</config>

View File

@ -32,7 +32,7 @@ from django.conf import settings
from django.core.management import call_command
PROJECT_CONFIG = "config/zanata.xml"
PROJECT_CONFIG = "tools/scripts/zanata_config/backend-trans-config.xml"
MIN_TRANS_PERCENT_SETTING = False
MIN_TRANS_PERCENT = '10'