Introduces multilingual translation cog supporting fantasy languages Adds proxying features for role-playing with sonas and auto-translation Includes admin commands for managing custom languages and context menus Replaces basic translation with enhanced functionality for Discord bot
12 lines
413 B
Python
12 lines
413 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
MAP = {'a':'ael','b':'\'eth','c':'cal','d':'dor','e':'elen','f':'fae','g':'\'gan','h':'hîr','i':'ia','j':'yel','k':'\'ken','l':'lael','m':'mel','n':'nîn','o':'oia','p':'\'pes','q':'qen','r':'rae','s':'sil','t':'tâ','u':'ui','v':'vae','w':'win','x':'\'xal','y':'yl','z':'zîr'}
|
|
|
|
def get_language():
|
|
return {
|
|
'name': 'Elvish',
|
|
'type': 'greedy',
|
|
'map': MAP
|
|
}
|
|
|