diff -r 25f65e3727d8 webtranslate/pages/upload_language.py
--- a/webtranslate/pages/upload_language.py Sat Sep 26 14:08:48 2015 +0200
+++ b/webtranslate/pages/upload_language.py Mon Nov 23 20:22:34 2015 +0100
@@ -211,7 +211,11 @@
lng.set_modified()
config.cache.save_pmd(pmd)
- pmd.create_statistics(None) # Update all languages.
+
+ if is_base:
+ pmd.create_statistics(None) # Update all languages.
+ else:
+ pmd.create_statistics(lng)
message = "Successfully uploaded language '" + lng.name +"' " + utils.get_datetime_now_formatted()
redirect("/project/" + projname + '?message=' + message)