diff options
author | svetlana@192500fb6a2e2ef8e78d1a08cca64b1bca9833b9 <svetlana@web> | 2017-02-20 19:42:13 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-02-20 19:42:13 -0400 |
commit | dc232c0006da77cb57fe7d59b8caaff778e255de (patch) | |
tree | e72129f83fd7888fba7650399d43a03517f467bf /doc/forum | |
parent | 7618dafe0c4fc03b28cfb73dd9670360df8f4840 (diff) | |
download | ikiwiki-dc232c0006da77cb57fe7d59b8caaff778e255de.tar ikiwiki-dc232c0006da77cb57fe7d59b8caaff778e255de.tar.gz |
Added a comment
Diffstat (limited to 'doc/forum')
-rw-r--r-- | doc/forum/Inconsistency_in_pages_behaviour/comment_4_01ae20cdc4f105bd182049f5138a8dd2._comment | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/forum/Inconsistency_in_pages_behaviour/comment_4_01ae20cdc4f105bd182049f5138a8dd2._comment b/doc/forum/Inconsistency_in_pages_behaviour/comment_4_01ae20cdc4f105bd182049f5138a8dd2._comment new file mode 100644 index 000000000..d43c11ece --- /dev/null +++ b/doc/forum/Inconsistency_in_pages_behaviour/comment_4_01ae20cdc4f105bd182049f5138a8dd2._comment @@ -0,0 +1,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. +"""]] |