summaryrefslogtreecommitdiff
path: root/libtemplate/globals.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtemplate/globals.c')
-rw-r--r--libtemplate/globals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtemplate/globals.c b/libtemplate/globals.c
index e09638b..e884b24 100644
--- a/libtemplate/globals.c
+++ b/libtemplate/globals.c
@@ -149,6 +149,7 @@ void cGlobals::ReplaceStringVars(string &value) {
bool cGlobals::AddTranslation(string name, map < string, string > transl) {
translations.erase(name);
translations.insert(pair<string, map < string, string > >(name, transl));
+ return true;
}
bool cGlobals::Translate(string text, string &translation) {