[BUGFIX] Many translations are missing 26/42026/2
authorXavier Perseguers <xavier@typo3.org>
Tue, 28 Jul 2015 10:39:08 +0000 (12:39 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 28 Jul 2015 11:18:00 +0000 (13:18 +0200)
Change-Id: Id533c7d0d56199c40f609b417a96d4fc320ae4a2
Resolves: #68574
Reviewed-on: http://review.typo3.org/42026
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/files/scripts/bin/build-language-pack
typo3/files/scripts/bin/build-sysext-language-pack

index 42c43b1..31a9e3e 100755 (executable)
@@ -78,7 +78,7 @@ for EXTNAME in $EXTENSIONS; do
                # Compute current state
                STATUS_FILE=$STATE_DIR/$EXT_PREFIX.$EXTNAME/$LANG.time
                if [[ -f $STATUS_FILE && -z "$FORCE_EXTENSION" ]]; then
-                       LAST_GENERATION=$(cat $STATE_DIR/$EXT_PREFIX.$EXTNAME/$LANG.time)
+                       LAST_GENERATION=$(cat ${STATUS_FILE})
                else
                        LAST_GENERATION=0
                fi
index 48db855..63dd2c7 100755 (executable)
@@ -88,9 +88,9 @@ for EXTNAME in $EXTENSIONS; do
                        ${POOTLE_MANAGE} sync_stores --overwrite --project="$EXT_PREFIX.$EXTNAME" --language=$ORIG_LANG >/dev/null 2>&1
 
                        # Compute current state
-                       STATUS_FILE=$STATE_DIR/$EXT_PREFIX.$EXTNAME/$LANG.time
+                       STATUS_FILE=$STATE_DIR/$EXT_PREFIX.$EXTNAME/$LANG.${VERSION}.time
                        if [[ -f $STATUS_FILE && -z "$FORCE_EXTENSION" ]]; then
-                               LAST_GENERATION=$(cat $STATE_DIR/$EXT_PREFIX.$EXTNAME/$LANG.time)
+                               LAST_GENERATION=$(cat ${STATUS_FILE})
                        else
                                LAST_GENERATION=0
                        fi