Skip to content

Commit 27c8274

Browse files
authored
Fix Typo
1 parent 57f6ad6 commit 27c8274

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ $SCRIPT ios --key $LOCO_API_KEY --map 'en=en' --map 'zh=zh-Hant' --output "$PROJ
3333
### Android via Gradle task & Shell script
3434

3535
1. Download the latest release, unzip it to your project root or anywhere you prefer.
36-
2. Create a bash script in your project root, e.g. `autoLoco.sh`
37-
3. Make it executable by `chmod +x autoLoco.sh`
36+
2. Create a bash script in your project root, e.g. `updateLoco.sh`
37+
3. Make it executable by `chmod +x updateLoco.sh`
3838
4. Paste script and modify it to match your project
3939

4040
```bash
4141
KEY=YOUR_API_KEY_HERE #1)Change this
4242
SCRIPT=LocoMobileExport/Sources/auto_export.sh #2)..and this
4343

4444
#3)..and the map arguments below
45-
SCRIPT android --key KEY --map "en_HK=values" --output "${PWD}/app/src/main/res"
45+
$SCRIPT android --key $KEY --map "en_HK=values" --output "${PWD}/app/src/main/res"
4646
```
4747

4848
5. Add these lines in your `Build.gradle`
@@ -55,7 +55,7 @@ task locoExport(type: Exec) {
5555
}
5656
}
5757
//run task before every build
58-
prebuild.dependsOn(locoExport)
58+
preBuild.dependsOn(locoExport)
5959
6060
//or you can choose to update loco when you clean the project
6161
//clean.dependsOn(locoExport)

0 commit comments

Comments
 (0)