Merge pull request #10890 from PsiOmegaDelta/150826-AltLangKeys

Languages now use alternative prefix keys.
This commit is contained in:
Zuhayr
2015-09-06 17:20:51 +09:30
11 changed files with 132 additions and 59 deletions

View File

@@ -210,6 +210,8 @@ var/list/gamemode_cache = list()
var/aggressive_changelog = 0
var/list/language_prefixes = list(",","#","-")//Default language prefixes
/datum/configuration/New()
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
for (var/T in L)
@@ -679,6 +681,11 @@ var/list/gamemode_cache = list()
if("aggressive_changelog")
config.aggressive_changelog = 1
if("default_language_prefixes")
var/list/values = text2list(value, " ")
if(values.len > 0)
language_prefixes = values
else
log_misc("Unknown setting in configuration: '[name]'")