Skip to content

Commit 8557465

Browse files
committed
fix: Try not to export strings from Info.plist to xliff
Change-Id: I29457465f34e2752861d5a61a66105a997e9fabc
1 parent 09dfbcf commit 8557465

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/export-localization.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
exit 0
5757
fi
5858
59+
for file in "${files[@]}"; do
60+
perl -i -0777 -pe 's/<file original=".*<file original="Supporting Files\/Localizable\.xcstrings"/<file original="Supporting Files\/Localizable.xcstrings"/sg' "$file"
61+
done
62+
5963
tmp=".xliff_tmp"
6064
rm -rf "$tmp"
6165
mkdir -p "$tmp"

OPass.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@
10261026
INFOPLIST_KEY_CFBundleDisplayName = OPass;
10271027
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.reference";
10281028
INFOPLIST_KEY_NSCalendarsUsageDescription = "App requires your consent to access calendars during use";
1029-
INFOPLIST_KEY_NSCameraUsageDescription = "Use Camera to scan QRCode inoder to get token";
1029+
INFOPLIST_KEY_NSCameraUsageDescription = "Use camera to scan QR code in order to get token";
10301030
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "App requires your consent to access location during use";
10311031
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
10321032
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@@ -1069,7 +1069,7 @@
10691069
INFOPLIST_KEY_CFBundleDisplayName = OPass;
10701070
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.reference";
10711071
INFOPLIST_KEY_NSCalendarsUsageDescription = "App requires your consent to access calendars during use";
1072-
INFOPLIST_KEY_NSCameraUsageDescription = "Use Camera to scan QRCode inoder to get token";
1072+
INFOPLIST_KEY_NSCameraUsageDescription = "Use camera to scan QR code in order to get token";
10731073
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "App requires your consent to access location during use";
10741074
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
10751075
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;

0 commit comments

Comments
 (0)