blob: d43c11ece19b80531d9db9e0c9d57c01a51c7ec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
[[!comment format=mdwn
username="svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9"
nickname="svetlana"
avatar="http://cdn.libravatar.org/avatar/5821f2dec97d186ce3b455b806d33035"
subject="comment 4"
date="2017-02-20T23:42:13Z"
content="""
Fixed the .po marking pages as translatable --
1. un-ticked \"use page/index.mdwn source files\"
2. ran this script, committed, and pushed:
```
# Bash -- from http://mywiki.wooledge.org/BashFAQ/030
# Also requires GNU or BSD find(1)
# Recursively change all *.foo files to *.bar
find . -type f -name 'index.mdwn' -print0 | while IFS= read -r -d '' f; do
mv -- \"$f\" \"${f%/index.mdwn}.mdwn\"
done
find . -type f -name 'index.ru.po' -print0 | while IFS= read -r -d '' f; do
mv -- \"$f\" \"${f%/index.ru.po}.ru.po\"
done
find . -type f -name 'index.pot' -print0 | while IFS= read -r -d '' f; do
mv -- \"$f\" \"${f%/index.pot}.pot\"
done
mv ..mdwn index.mdwn
mv ..pot index.pot
mv ..ru.po index.ru.po
```
The problem with backlinks still stays so far.
"""]]
|