Difference between revisions of "User:Natenom/Soundpack-create"
(→Create string table) |
|||
Line 290: | Line 290: | ||
<code>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</code> | <code>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</code> | ||
− | == Create | + | == Create message strings table == |
=== Table Body === | === Table Body === | ||
Table body is <pre>{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" | Table body is <pre>{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" |
Revision as of 05:39, 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 message string (see below for a list).
Contents
Notification classes and what could be said
A list of notification classes and what a speaker could 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 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'