Talk:Strings

From Official Kodi Wiki
Revision as of 07:48, 26 May 2015 by Ned Scott (talk | contribs) (→‎Teh magic)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Teh magic

sed -n '/msgctxt/{N;p}' strings.po | sed -e 's/msgctxt//' -e 's/msgid//' -e 's/[#"]//g' | paste - - | while read ID TEXT; do echo "<section begin=\"string-$ID\" />"$TEXT"<section end=\"string-$ID\" />"; done

Putting this here so I don't forget. -- Ned Scott (talk) 03:27, 26 May 2015 (EDT)