User:Natenom/Soundpack-create

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

A soundpack consists of one audio file per notification class.

List of notification classes and name of default filename

Notification Class Filename
ChannelJoin
ChannelLeave
CriticalError
Information
OtherMutedOther
OtherSelfMute
PermissionDenied
Recording
ServerDisconnected
TextMessage
UserJoin
UserLeave
Warning
YouKicked
YouMuted
YouMutedOther

String table

String Notification Class speak as
Server connection rejected: %1. ServerDisconnected Server connection rejected: %1.
Welcome message: %1 Information Welcome message: %1
Welcome message: %1 Information Welcome message: %1
You were denied %1 privileges in %2. PermissionDenied You were denied %1 privileges in %2.
%3 was denied %1 privileges in %2. PermissionDenied %3 was denied %1 privileges in %2.
Denied: Cannot modify SuperUser. PermissionDenied Denied: Cannot modify SuperUser.
Denied: Invalid channel name. PermissionDenied Denied: Invalid channel name.
Denied: Text message too long. PermissionDenied Denied: Text message too long.
Denied: Operation not permitted in temporary channel. PermissionDenied Denied: Operation not permitted in temporary channel.
You need a certificate to perform this operation. PermissionDenied You need a certificate to perform this operation.
%1 does not have a certificate. PermissionDenied %1 does not have a certificate.
Invalid username: %1. PermissionDenied Invalid username: %1.
Invalid username. PermissionDenied Invalid username.
Channel is full. PermissionDenied Channel is full.
Channel nesting limit reached. PermissionDenied Channel nesting limit reached.
Denied: %1. PermissionDenied Denied: %1.
Permission denied. PermissionDenied Permission denied.
%1 connected. UserJoin %1 connected.
%1 is now muted and deafened. OtherSelfMute %1 is now muted and deafened.
%1 is now muted. OtherSelfMute %1 is now muted.
%1 is now unmuted. OtherSelfMute %1 is now unmuted.
Recording started Recording Recording started
Recording stopped Recording Recording stopped
%1 started recording. Recording %1 started recording.
%1 stopped recording. Recording %1 stopped recording.
You were muted and deafened by %1. YouMuted You were muted and deafened by %1.
You were unmuted and undeafened by %1. YouMuted You were unmuted and undeafened by %1.
You were muted by %1. YouMuted You were muted by %1.
You were unmuted by %1. YouMuted You were unmuted by %1.
You were undeafened by %1. YouMuted You were undeafened by %1.
You were suppressed. YouMuted You were suppressed.
You were unsuppressed. YouMuted You were unsuppressed.
You were unsuppressed by %1. YouMuted You were unsuppressed by %1.
You muted and deafened %1. YouMutedOther You muted and deafened %1.
You unmuted and undeafened %1. YouMutedOther You unmuted and undeafened %1.
You muted %1. YouMutedOther You muted %1.
You unmuted %1. YouMutedOther You unmuted %1.
You undeafened %1. YouMutedOther You undeafened %1.
You suppressed %1. YouMutedOther You suppressed %1.
You unsuppressed %1. YouMutedOther You unsuppressed %1.
%1 muted and deafened by %2. OtherMutedOther %1 muted and deafened by %2.
%1 unmuted and undeafened by %2. OtherMutedOther %1 unmuted and undeafened by %2.
%1 muted by %2. OtherMutedOther %1 muted by %2.
%1 unmuted by %2. OtherMutedOther %1 unmuted by %2.
%1 undeafened by %2. OtherMutedOther %1 undeafened by %2.
%1 suppressed by %2. OtherMutedOther %1 suppressed by %2.
%1 unsuppressed by %2. OtherMutedOther %1 unsuppressed by %2.
You were moved to %1 by %2. ChannelJoin You were moved to %1 by %2.
%1 moved to %2. ChannelLeave %1 moved to %2.
%1 moved to %2 by %3. ChannelLeave %1 moved to %2 by %3.
%1 entered channel. ChannelJoin %1 entered channel.
%1 moved in from %2 by %3. ChannelJoin %1 moved in from %2 by %3.
%1 is recording Recording %1 is recording
You were kicked and banned from the server by %1: %2. YouKicked You were kicked and banned from the server by %1: %2.
You were kicked from the server by %1: %2. YouKicked You were kicked from the server by %1: %2.
%1 left channel. ChannelLeave %1 left channel.
%1 disconnected. UserLeave %1 disconnected.
%2%1: %3 TextMessage %2%1: %3
Unable to find matching CELT codecs with other clients. You will not be able to talk to all users. CriticalError Unable to find matching CELT codecs with other clients. You will not be able to talk to all users.
The server requests minimum client version %1 Warning The server requests minimum client version %1
The server requests positional audio be enabled. Warning The server requests positional audio be enabled.
The server requests positional audio be disabled. Warning The server requests positional audio be disabled.
The server requests Push-to-Talk be enabled. Warning The server requests Push-to-Talk be enabled.
The server requests Push-to-Talk be disabled. Warning The server requests Push-to-Talk be disabled.


Create Notification Class Table

Table Body

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

|}

Table Content

for i in $(grep -i 'g.l->log(Log' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*), .*#\1#p' | sort | uniq); do echo -n -e '|-bgcolor="#f8f8ff"\n|'"${i}"'\n|\n'; done


Create string table

Table Body

Table body is

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


|}

Table Content

Generate table contents with grep -i 'g.l->log(Log' src/mumble/Messages.cpp | sed -nr -e 's#.*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\1\n\|\1\n|-#p'