A lot of improvements. Fixed #5, fixed #4

- unknown commands will no longer be written out
- a lot of formatting moved to i18n strings
- fixes ÅÄÖ #5
- fixes #4
This commit is contained in:
ElPumpo
2018-05-01 13:21:41 +02:00
parent c56f9d2195
commit a3edd3eace
8 changed files with 88 additions and 112 deletions
+14
View File
@@ -0,0 +1,14 @@
Locales['en'] = {
-- ooc chat
['ooc_help'] = 'type an out of character message',
['ooc_prefix'] = 'OOC | %s',
['twt_help'] = 'send a tweet',
['twt_prefix'] = '^0[^4Twitter^0] (^5@%s^0)',
['me_help'] = 'personal action',
['me_prefix'] = 'me | %s',
['news_help'] = 'announce news (do not abuse)',
['news_prefix'] = 'news | %s',
['ooc_argument_name'] = 'message',
['ooc_argument_help'] = 'the message',
['ooc_unknown_command'] = '^1%s^0 is not a valid command!',
}
+14
View File
@@ -0,0 +1,14 @@
Locales['sv'] = {
-- ooc chat
['ooc_help'] = 'skicka ett meddelande som inte kopplat till din karaktär',
['ooc_prefix'] = 'OOC | %s',
['twt_help'] = 'skicka en tweet',
['twt_prefix'] = '^0[^4Twitter^0] (^5@%s^0)',
['me_help'] = 'skriv en händelse, t.ex \'visar körkort\'',
['me_prefix'] = 'jag | %s',
['news_help'] = 'meddela en nyhet (missbruka inte)',
['news_prefix'] = 'TV4 Stockholm',
['ooc_argument_name'] = 'meddelande',
['ooc_argument_help'] = 'det meddelandet du vill skicka',
['ooc_unknown_command'] = '^1%s^0 är inte ett giltigt kommando!',
}