From 9c37d24e199cabc08878306c3542d5c2099aa921 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Sun, 18 Feb 2024 14:56:35 +0100 Subject: [PATCH] Fix some failing feature graphic generations --- .scripts/generate_feature_graphic/generate_feature_graphic.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.scripts/generate_feature_graphic/generate_feature_graphic.sh b/.scripts/generate_feature_graphic/generate_feature_graphic.sh index a2826e8241..4325961c32 100755 --- a/.scripts/generate_feature_graphic/generate_feature_graphic.sh +++ b/.scripts/generate_feature_graphic/generate_feature_graphic.sh @@ -10,6 +10,9 @@ for lang in "$script_location/../../fastlane/metadata/android/"*; do if grep -q — title.txt; then # Try splitting title.txt on — (em dash) IFS='—' read -r appname subtext < title.txt + elif grep -q – title.txt; then + # No result, try splitting title.txt on – (en dash) + IFS='–' read -r appname subtext < title.txt else # No result, try splitting on - (dash) IFS='-' read -r appname subtext < title.txt