Cleaned and updated the i18n strings for various server-core system. Removed i18n for all strings that are only visible on stdout or in logs. Still missing i18n on certain specific things such as model field help and attribute warnings. Updated Swedish translation to match.

This commit is contained in:
Griatch 2012-06-14 02:43:35 +02:00
parent 80da420ee7
commit 4c849ec351
26 changed files with 918 additions and 1420 deletions

View file

@ -124,8 +124,6 @@ SECRET_KEY = '%s'
# Test the import of the settings file
#------------------------------------------------------------
try:
# i18n
from django.utils.translation import ugettext as _
from game import settings
except Exception:
import traceback
@ -157,11 +155,11 @@ if __name__ == "__main__":
# checks if the settings file was created this run
if _CREATED_SETTINGS:
print _("""
print """
Edit your new settings.py file as needed, then run
'python manage syncdb' and follow the prompts to
create the database and your superuser account.
""")
"""
sys.exit()
# run the standard django manager, if dependencies match