8fe8b36813
didaplyed. Tge project is licenced under this licence anyway but this is for completeness. GPLv3 is code is copyrighted code and should be correctly used and attributed.
344 lines
9.7 KiB
Python
344 lines
9.7 KiB
Python
###############################################################################
|
|
# Copyright (C) 2020 Simon Adlem, G7RZU <g7rzu@gb7fr.org.uk>
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
###############################################################################
|
|
voiceMap = {
|
|
'en_GB': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
|
|
'en_GB_2': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
'cy_GB': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
'en_US': {
|
|
'to': '2',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
},
|
|
|
|
'es_ES': {
|
|
'1': 'one',
|
|
'2': 'two',
|
|
'3': 'three',
|
|
'4': 'four',
|
|
'5': 'five',
|
|
'6': 'six',
|
|
'7': 'seven',
|
|
'8': 'eight',
|
|
'9': 'nine',
|
|
'A': 'alfa',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
'es_ES_2': {
|
|
'1': 'one',
|
|
'2': 'two',
|
|
'3': 'three',
|
|
'4': 'four',
|
|
'5': 'five',
|
|
'6': 'six',
|
|
'7': 'seven',
|
|
'8': 'eight',
|
|
'9': 'nine',
|
|
'A': 'alfa',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
'fr_FR': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
'pt_PT': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
'el_GR': {
|
|
'A': 'alpha',
|
|
'B': 'bravo',
|
|
'C': 'charlie',
|
|
'D': 'delta',
|
|
'E': 'echo',
|
|
'F': 'foxtrot',
|
|
'G': 'golf',
|
|
'H': 'hotel',
|
|
'I': 'india',
|
|
'J': 'juliet',
|
|
'K': 'kilo',
|
|
'L': 'lima',
|
|
'M': 'mike',
|
|
'N': 'november',
|
|
'O': 'oscar',
|
|
'P': 'papa',
|
|
'Q': 'quebec',
|
|
'R': 'romeo',
|
|
'S': 'sierra',
|
|
'T': 'tango',
|
|
'U': 'uniform',
|
|
'V': 'victor',
|
|
'W': 'whiskey',
|
|
'X': 'x-ray',
|
|
'Y': 'yankee',
|
|
'Z': 'zulu',
|
|
'to': 'silence',
|
|
'notlinked': 'not-linked',
|
|
'linkedto': 'linked-to'
|
|
},
|
|
|
|
'de_DE': {
|
|
|
|
'to': 'silence',
|
|
},
|
|
|
|
'dk_DK': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
|
|
},
|
|
|
|
'it_IT': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
},
|
|
|
|
'no_NO': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
},
|
|
|
|
'pl_PL': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
},
|
|
|
|
'se_SE': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence'
|
|
},
|
|
|
|
'CW': {
|
|
'to': 'silence',
|
|
'freedmr': 'silence',
|
|
'this-is': 'silence',
|
|
'linkedto': 'silence'
|
|
}
|
|
|
|
|
|
}
|
|
|