User:Natenom/Notes/Soundpacks

From Mumble Wiki
Jump to: navigation, search

Template for LICENSE.txt in soundpacks

These files were created by FIXMEAUTHOR (FIXMEURLTOAUTHORINFORMATION) and are licensed under the LICENSE (LICENSEURL).

More Soundpacks and a description how to use them can be fount at http://mumble.sourceforge.net/Soundpacks.

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'