Skip to content

Commit da9a5d8

Browse files
authored
Update README.md
1 parent 5e78fa6 commit da9a5d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ You can make a small file with only one image for the start.
148148
**Step 2.** Setup git upstream (if you haven't yet) and pull latest changes from English version:
149149
150150
```bash
151-
cd /js/zh.javascript.info # in the tutorial folder
151+
cd /js/server/repo/zh.javascript.info # in the tutorial folder
152152
153153
git remote add upstream https://github.com/javascript-tutorial/en.javascript.info
154154
@@ -249,11 +249,11 @@ P.S In order for positioning to work, you need to have ImageMagick installed: <h
249249
The task to get all strings from an image as YAML (for translation, to add to `images.yml`):
250250
251251
```bash
252-
cd /js/server
252+
cd /js/server # in the server folder
253+
253254
NODE_LANG=zh npm run gulp engine:koa:tutorial:imageYaml --image hello.svg
254255
```
255256
256-
257257
## The "overflowing text" problem
258258
259259
The replacement script only operates on strings, not other graphics, so a long translated string may not fit the picture. Most pictures have some extra space for longer text, so a slight increase doesn't harm, but sometimes that happens.

0 commit comments

Comments
 (0)