Skip to content

Commit

Permalink
TASK-28233: Populate 6.0 Project with the current translation (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenali committed Sep 13, 2020
1 parent 60d3861 commit 5b05e7e
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions translation/init-crowdin-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@


# Stable versions
PLF_VERSION=5.3.x
CHAT_ADDON_VERSION=2.3.x
NEWS_VERSION=1.1.x
TASK_ADDON_VERSION=2.3.x
WEB_CONFERENCING_ADDON_VERSION=1.4.x
WEB_PACK_ADDON_VERSION=2.3.x
PUSH_NOTIFICATIONS_ADDON_VERSION=1.2.x
WALLET_ADDON_VERSION=1.0.x
KUDOS_ADDON_VERSION=1.1.x
PERKSTORE_ADDON_VERSION=1.1.x
GAMIFICATION_VERSION=1.2.x
ONLYOFFICE_VERSION=1.5.x
PLF_VERSION=6.0.x
CHAT_ADDON_VERSION=3.0.x
NEWS_VERSION=2.0.x
TASK_ADDON_VERSION=3.0.x
WEB_CONFERENCING_ADDON_VERSION=2.0.x
PUSH_NOTIFICATIONS_ADDON_VERSION=2.0.x
WALLET_ADDON_VERSION=2.0.x
KUDOS_ADDON_VERSION=2.0.x
PERKSTORE_ADDON_VERSION=2.0.x
GAMIFICATION_VERSION=2.0.x
ONLYOFFICE_VERSION=2.0.x
APPCENTER_VERSION=2.0.x
DIGITAL_WORKPLACE_VERSION=1.0.x
MEEDS_VERSION=1.0.x

CROWDIN_PROJECT_NAME=$1
CROWDIN_PROJECT_KEY=$2
Expand Down Expand Up @@ -53,17 +55,16 @@ function initTranslation() {
set -e
mkdir -p sources

projects=("gatein-portal:${PLF_VERSION}" "platform-ui:${PLF_VERSION}" "commons:${PLF_VERSION}" "ecms:${PLF_VERSION}" "social:${PLF_VERSION}" "wiki:${PLF_VERSION}" "forum:${PLF_VERSION}" "calendar:${PLF_VERSION}" "integration:${PLF_VERSION}" "platform:${PLF_VERSION}" "platform-public-distributions:${PLF_VERSION}" "platform-private-distributions:${PLF_VERSION}" "chat-application:${CHAT_ADDON_VERSION}" "push-notifications:${PUSH_NOTIFICATIONS_ADDON_VERSION}" "task:${TASK_ADDON_VERSION}" "wcm-template-pack:${WEB_PACK_ADDON_VERSION}" "web-conferencing:${WEB_CONFERENCING_ADDON_VERSION}" "wallet:${WALLET_ADDON_VERSION}" "kudos:${KUDOS_ADDON_VERSION}" "perk-store:${PERKSTORE_ADDON_VERSION}" "gamification:${GAMIFICATION_VERSION}" "news:${NEWS_VERSION}" "onlyoffice:${ONLYOFFICE_VERSION}")

projects=("gatein-portal:${PLF_VERSION}" "platform-ui:${PLF_VERSION}" "commons:${PLF_VERSION}" "ecms:${PLF_VERSION}" "social:${PLF_VERSION}" "wiki:${PLF_VERSION}" "forum:${PLF_VERSION}" "calendar:${PLF_VERSION}" "meeds:${MEEDS_VERSION}" "platform-private-distributions:${PLF_VERSION}" "chat-application:${CHAT_ADDON_VERSION}" "push-notifications:${PUSH_NOTIFICATIONS_ADDON_VERSION}" "task:${TASK_ADDON_VERSION}" "web-conferencing:${WEB_CONFERENCING_ADDON_VERSION}" "wallet:${WALLET_ADDON_VERSION}" "kudos:${KUDOS_ADDON_VERSION}" "perk-store:${PERKSTORE_ADDON_VERSION}" "gamification:${GAMIFICATION_VERSION}" "news:${NEWS_VERSION}" "onlyoffice:${ONLYOFFICE_VERSION}" "app-center:${APPCENTER_VERSION}" "digital-workplace:${DIGITAL_WORKPLACE_VERSION}" "legacy-intranet:${PLF_VERSION}")

for projectWithVersion in "${projects[@]}"
do
projectInfo=(${projectWithVersion//:/ })
project=${projectInfo[0]}
version=${projectInfo[1]}
gitRepo=exoplatform/$project
#gitBranch=stable/$version
gitBranch=develop
gitBranch=stable/$version
#gitBranch=develop

initTranslation $gitRepo $gitBranch
done

0 comments on commit 5b05e7e

Please sign in to comment.