User:Natenom/Notes

From Mumble Wiki
< User:Natenom
Revision as of 05:59, 3 December 2013 by Natenom (talk | contribs)
Jump to: navigation, search

Soundpack related ...

Soundpacks, Soundpacks/Create_a_Soundpack

Create Notification Class Table

Table Body

{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
!Notification Class

|}

Table Content

for i in $(grep 'Log::' src/mumble/Settings.cpp | grep -i qm | sed -n -r -e 's#.*Log\:\:(.*)\].*#\1#p' | sort | uniq); do echo -n -e '|-bgcolor="#f8f8ff"\n|'"${i}"'\n|\n'; done

Create message strings table

Table Body

Table body is

{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
!String
!Notification Class


|}

Table Content

Generate table contents with grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1#p'