Difference between revisions of "User:Natenom/Soundpack-create"
Line 31: | Line 31: | ||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|ServerDisconnected | |ServerDisconnected | ||
+ | | | ||
+ | |-bgcolor="#f8f8ff" | ||
+ | |Source | ||
| | | | ||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
Line 357: | Line 360: | ||
|UserLeave | |UserLeave | ||
|%1 disconnected. | |%1 disconnected. | ||
+ | |- | ||
+ | |-bgcolor="#f8f8ff" | ||
+ | |Server", "message from | ||
+ | |Source | ||
+ | |Server", "message from | ||
|- | |- | ||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
Line 406: | Line 414: | ||
== Table Content == | == Table Content == | ||
− | <code>for i in $(grep ' | + | <code>for i in $(grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#\1#p' | sort | uniq); do echo -n -e '|-bgcolor="#f8f8ff"\n|'"${i}"'\n|\n'; done</code> |
== Create string table == | == Create string table == | ||
Line 421: | Line 429: | ||
=== Table Content === | === Table Content === | ||
Generate table contents with | Generate table contents with | ||
− | <code>grep ' | + | <code>grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1\n\|\2\n|-#p'</code> |
Revision as of 05:17, 3 December 2013
A soundpack consists of one audio file per notification class.
Contents
List of notification classes and name of default filename
Notification Class | Filename |
---|---|
ChannelJoin | |
ChannelLeave | |
CriticalError | |
Information | |
OtherMutedOther | |
OtherSelfMute | |
PermissionDenied | |
Recording | |
ServerDisconnected | |
Source | |
TextMessage | |
UserJoin | |
UserKicked | |
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. |
%3 was kicked and banned from the server by %1: %2. | UserKicked | %3 was kicked and banned from the server by %1: %2. |
%3 was kicked from the server by %1: %2. | UserKicked | %3 was kicked from the server by %1: %2. |
%1 left channel. | ChannelLeave | %1 left channel. |
%1 disconnected. | UserLeave | %1 disconnected. |
Server", "message from | Source | Server", "message from |
%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 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#\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 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1\n\|\2\n|-#p'