Difference between revisions of "User:Natenom/Soundpack-create"

From Mumble Wiki
Jump to: navigation, search
(Notification classes and what should be said)
Line 11: Line 11:
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|ChannelJoin
 
|ChannelJoin
|
+
|User joined channel.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|ChannelLeave
 
|ChannelLeave
|
+
|User left channel.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|CriticalError
 
|CriticalError
Line 26: Line 26:
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|OtherMutedOther
 
|OtherMutedOther
|
+
|You were muted.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|OtherSelfMute
 
|OtherSelfMute
Line 32: Line 32:
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|PermissionDenied
 
|PermissionDenied
|
+
|Permission denied.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|Recording
 
|Recording
Line 38: Line 38:
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|SelfMute
 
|SelfMute
|
+
|You muted yourself.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|ServerConnected
 
|ServerConnected
|
+
|Connected.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|ServerDisconnected
 
|ServerDisconnected
|
+
|Disconnected.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|TextMessage
 
|TextMessage
|
+
|Message.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|UserJoin
 
|UserJoin
|
+
|User joined the server.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|UserKicked
 
|UserKicked
Line 59: Line 59:
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|Warning
 
|Warning
|
+
|Warning.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|YouKicked
 
|YouKicked
|
+
|You were kicked from the server.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|YouMuted
 
|YouMuted
|
+
|You were muted.
 
|-bgcolor="#f8f8ff"
 
|-bgcolor="#f8f8ff"
 
|YouMutedOther
 
|YouMutedOther

Revision as of 05:36, 3 December 2013

A soundpack in Mumble consists of one audio file per notification class.

You can create one audio file per notification class only, not per notification.

Notification classes and what should be said

A list of notification classes and what a speaker should say...

Notification Class Say as
ChannelJoin User joined channel.
ChannelLeave User left channel.
CriticalError
DebugInfo
Information
OtherMutedOther You were muted.
OtherSelfMute
PermissionDenied Permission denied.
Recording
SelfMute You muted yourself.
ServerConnected Connected.
ServerDisconnected Disconnected.
TextMessage Message.
UserJoin User joined the server.
UserKicked
UserLeave
Warning Warning.
YouKicked You were kicked from the server.
YouMuted You were muted.
YouMutedOther

Available message strings of all notification classes

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


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 string 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'