]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/upload.py
Add functionallity for editing po files through the use of the django-rosetta
[osqa.git] / forum / settings / upload.py
index 95a3ca1497f021f0daacde256dd22eaa4a56e900..6e66e0076df8304cfd3d0ce6d9827c7954d3b9c3 100644 (file)
@@ -2,24 +2,16 @@ import os.path
 from base import Setting, SettingSet\r
 from django.utils.translation import ugettext_lazy as _\r
 \r
-UPLOAD_SET = SettingSet('paths', _('File upload settings'), _("""\r
-File uploads related settings.\r
-"""), 600)\r
+UPLOAD_SET = SettingSet('paths', _('File upload settings'), _("File uploads related settings."), 600)\r
 \r
 UPFILES_FOLDER = Setting('UPFILES_FOLDER', os.path.join(os.path.dirname(os.path.dirname(__file__)),'upfiles'), UPLOAD_SET, dict(\r
 label = _("Uploaded files folder"),\r
-help_text = _("""\r
-The filesystem path where uploaded files will be stored. Please note that this folder must exist.\r
-""")))\r
+help_text = _("The filesystem path where uploaded files will be stored. Please note that this folder must exist.")))\r
 \r
 UPFILES_ALIAS = Setting('UPFILES_ALIAS', '/upfiles/', UPLOAD_SET, dict(\r
 label = _("Uploaded files alias"),\r
-help_text = _("""\r
-The url alias for uploaded files. Notice that if you change this setting, you'll need to restart your site.\r
-""")))\r
+help_text = _("The url alias for uploaded files. Notice that if you change this setting, you'll need to restart your site.")))\r
 \r
 ALLOW_MAX_FILE_SIZE = Setting('ALLOW_MAX_FILE_SIZE', 2.5, UPLOAD_SET, dict(\r
 label = _("Max file size"),\r
-help_text = _("""\r
-The maximum allowed file size for uploads in mb.\r
-""")))
\ No newline at end of file
+help_text = _("The maximum allowed file size for uploads in mb.")))
\ No newline at end of file