X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/cd19cb00154021685ea43d164a4dc8599b2e0a0e..07fe485fb0a119fb87f8ec948185b5acdd65300e:/forum/settings/basic.py?ds=sidebyside diff --git a/forum/settings/basic.py b/forum/settings/basic.py index 0148452..fa62281 100644 --- a/forum/settings/basic.py +++ b/forum/settings/basic.py @@ -6,62 +6,44 @@ from forms import ImageFormWidget from django.utils.translation import ugettext_lazy as _ from django.forms.widgets import Textarea -BASIC_SET = SettingSet('basic', _('Basic Settings'), _("The basic settings for your application"), 1) +BASIC_SET = SettingSet('basic', _('Basic settings'), _("The basic settings for your application"), 1) APP_LOGO = Setting('APP_LOGO', '/m/default/media/images/logo.png', BASIC_SET, dict( label = _("Application logo"), -help_text = _(""" -Your site main logo. -"""), +help_text = _("Your site main logo."), widget=ImageFormWidget)) APP_FAVICON = Setting('APP_FAVICON', '/m/default/media/images/favicon.ico', BASIC_SET, dict( label = _("Favicon"), -help_text = _(""" -Your site favicon. -"""), +help_text = _("Your site favicon."), widget=ImageFormWidget)) -APP_TITLE = Setting('APP_TITLE', 'OSQA: Open Source Q&A Forum', BASIC_SET, dict( +APP_TITLE = Setting('APP_TITLE', u'OSQA: Open Source Q&A Forum', BASIC_SET, dict( label = _("Application title"), -help_text = _(""" -The title of your application that will show in the browsers title bar -"""))) +help_text = _("The title of your application that will show in the browsers title bar"))) -APP_SHORT_NAME = Setting('APP_SHORT_NAME', 'OSQA', BASIC_SET, dict( +APP_SHORT_NAME = Setting(u'APP_SHORT_NAME', 'OSQA', BASIC_SET, dict( label = _("Application short name"), -help_text = """ -The short name for your application that will show up in many places. -""")) +help_text = "The short name for your application that will show up in many places.")) -APP_KEYWORDS = Setting('APP_KEYWORDS', 'OSQA,CNPROG,forum,community', BASIC_SET, dict( +APP_KEYWORDS = Setting('APP_KEYWORDS', u'OSQA,CNPROG,forum,community', BASIC_SET, dict( label = _("Application keywords"), -help_text = _(""" -The meta keywords that will be available through the HTML meta tags. -"""))) +help_text = _("The meta keywords that will be available through the HTML meta tags."))) -APP_DESCRIPTION = Setting('APP_DESCRIPTION', 'Ask and answer questions.', BASIC_SET, dict( +APP_DESCRIPTION = Setting('APP_DESCRIPTION', u'Ask and answer questions.', BASIC_SET, dict( label = _("Application description"), -help_text = _(""" -The description of your application -"""), +help_text = _("The description of your application"), widget=Textarea)) -APP_INTRO = Setting('APP_INTRO', '
Ask and answer questions, make the world better!
', BASIC_SET, dict( +APP_INTRO = Setting('APP_INTRO', u'Ask and answer questions, make the world better!
', BASIC_SET, dict( label = _("Application intro"), -help_text = _(""" -The introductory page that is visible in the sidebar for anonymous users. -"""), +help_text = _("The introductory page that is visible in the sidebar for anonymous users."), widget=Textarea)) -APP_COPYRIGHT = Setting('APP_COPYRIGHT', 'Copyright OSQA, 2010. Some rights reserved under creative commons license.', BASIC_SET, dict( +APP_COPYRIGHT = Setting('APP_COPYRIGHT', u'Copyright OSQA, 2010. Some rights reserved under creative commons license.', BASIC_SET, dict( label = _("Copyright notice"), -help_text = _(""" -The copyright notice visible at the footer of your page. -"""))) +help_text = _("The copyright notice visible at the footer of your page."))) -COMMENT_MAX_LENGTH = Setting('COMMENT_MAX_LENGTH', 600, BASIC_SET, dict( -label = _("Maximum length of comment"), -help_text = _(""" -The maximum length a user can enter for a comment. -"""))) \ No newline at end of file +FEEDBACK_SITE_URL = Setting('FEEDBACK_SITE_URL', '', BASIC_SET, dict( +label = _("Feedback site url"), +help_text = _("If you have a specific place to get feedback from your users, use this field and the fedback link on the footer will point there."))) \ No newline at end of file