feat: add advanced translator cog with proxy and languages
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
This commit is contained in:
8
translator/languages/undercommon.py
Normal file
8
translator/languages/undercommon.py
Normal file
@@ -0,0 +1,8 @@
|
||||
MAP = {'a':'velk','b':'xund','c':'k\'yorl','d':'d\'ruth','e':'e\'trorn','f':'faer','g':'gol','h':'h\'chak','i':'i\'lith','j':'j\'lar','k':'k\'lar','l':'lil','m':'m\'lar','n':'nind','o':'olath','p':'p\'lar','q':'qu\'ellar','r':'ril','s':'sorn','t':'\'lar','u':'uss','v':'v\'lar','w':'wyl','x':'x\'lar','y':'y\'lar','z':'z\'ress'}
|
||||
|
||||
def get_language():
|
||||
return {
|
||||
'name': 'Undercommon',
|
||||
'type': 'greedy',
|
||||
'map': MAP
|
||||
}
|
||||
Reference in New Issue
Block a user