Browse Source

Remove common directory switcher

Since we finished common directory migration from common-rst
to common, this patch removes common directory switcher, that
is merged at the change I7ba517136807513f982e66010906b97621f844fc,
to migrate common directory for rst files from common-rst to common.

Change-Id: I40aac8ec2d497d83b41048b2576a3a0ab04c8a93
changes/73/322373/1
KATO Tomoyuki 5 years ago
parent
commit
1d3b8dc83a
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      bin/doc-tools-check-languages

+ 2
- 7
bin/doc-tools-check-languages View File

@ -32,12 +32,7 @@ function build_rst {
TAG="-t obs -t rdo -t ubuntu -t debian"
fi
# Use "common" directory as common if exists while migration
if [[ -e ${DOC_DIR}common/conventions.rst ]] ; then
COMMON="common"
else
COMMON="common-rst"
fi
COMMON="common"
LOCALE_DIR="${DOC_DIR}${book}/source/locale/"
COMMON_DIR="${DOC_DIR}${COMMON}/source/locale/"
@ -45,7 +40,7 @@ function build_rst {
${DOC_DIR}${book}/source/ ${LOCALE_DIR}"
# Merge the common-rst po file in
# Merge the common po file
if [[ -e ${COMMON_DIR}${language}/LC_MESSAGES/${COMMON}.po ]] ; then
msgcat --use-first -o ${LOCALE_DIR}${language}/${book}.po \
${LOCALE_DIR}${language}/LC_MESSAGES/${book}.po \


Loading…
Cancel
Save