Compare commits
No commits in common. "6065d24348636489a37b902e417b8402ea95beaa" and "c60a4178de4dc41c4efe363719a41648d896752b" have entirely different histories.
6065d24348
...
c60a4178de
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,4 +6,3 @@
|
|||||||
*.doc
|
*.doc
|
||||||
*.docx
|
*.docx
|
||||||
public
|
public
|
||||||
.hugo_build.lock
|
|
||||||
|
@ -8,6 +8,6 @@ cat en.toml | while read -r line; do
|
|||||||
echo "$line" | grep '=' -q && \
|
echo "$line" | grep '=' -q && \
|
||||||
old="$(echo "$line" | cut -d= -f2)" && \
|
old="$(echo "$line" | cut -d= -f2)" && \
|
||||||
new="$(echo "$old" | trans en:$1 -b -e google)" && \
|
new="$(echo "$old" | trans en:$1 -b -e google)" && \
|
||||||
echo "$line" | sed "s/$old/ $new/" >> $1.toml || \
|
echo "$line" | sed "s/$old/$new/" >> $1.toml || \
|
||||||
echo "$line" >> $1.toml
|
echo "$line" >> $1.toml
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user