Fix translation steps
Today's nova import had some file changes where only the POT-Creation-Date was changed which we don't need to import. With the new compression step, we need to filter out commits *after* the compression, otherwise counting is wrong. Change-Id: Ib8fe6ca5f77c805147b73fe94905c72ccf3369d4
This commit is contained in:
parent
a9159ada11
commit
19e84b070b
@ -74,9 +74,6 @@ done
|
|||||||
# between new files and files already under git control.
|
# between new files and files already under git control.
|
||||||
git add $PROJECT/locale/*
|
git add $PROJECT/locale/*
|
||||||
|
|
||||||
# Filter out commits we do not want.
|
|
||||||
filter_commits
|
|
||||||
|
|
||||||
# Remove obsolete files.
|
# Remove obsolete files.
|
||||||
cleanup_po_files "$PROJECT"
|
cleanup_po_files "$PROJECT"
|
||||||
|
|
||||||
@ -85,8 +82,12 @@ cleanup_po_files "$PROJECT"
|
|||||||
# number of untranslated strings.
|
# number of untranslated strings.
|
||||||
compress_po_files "$PROJECT"
|
compress_po_files "$PROJECT"
|
||||||
|
|
||||||
# Some files were changed, add changed files again to git
|
# Some files were changed, add changed files again to git, so that we
|
||||||
|
# can run git diff properly.
|
||||||
git add $PROJECT/locale/*
|
git add $PROJECT/locale/*
|
||||||
|
|
||||||
|
# Filter out commits we do not want.
|
||||||
|
filter_commits
|
||||||
|
|
||||||
# Propose patch to gerrit if there are changes.
|
# Propose patch to gerrit if there are changes.
|
||||||
send_patch
|
send_patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user