# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used by search module.""" __author__ = 'Todd Larsen ([email protected])' from common import safe_dom # TODO(johncox): replace placeholder URL once target link is determined. SEARCH_AUTO_INDEX_DESCRIPTION = safe_dom.assemble_text_message(""" If checked, course content will be automatically indexed each day to allow up-to-date searching. """, "https://code.google.com/p/course-builder/wiki/Dashboard")
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'John Orr ([email protected])' from common import safe_dom ABOUT_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message( """ This information is configured by an administrator from the Admin pages. """, None) ADMIN_PREFERENCES_DESCRIPTION = safe_dom.assemble_text_message( """ Preferences settings for individual course admins. """, None) ADMINISTERED_COURSES_DESCRIPTION = safe_dom.assemble_text_message( """ Courses for which you have administrator privileges """, None) ASSESSMENT_EDITOR_DESCRIPTION = safe_dom.assemble_text_message( None, 'https://code.google.com/p/course-builder/wiki/CreateAssessments')
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'John Orr ([email protected])' from common import safe_dom ASSESSMENT_EDITOR_DESCRIPTION = safe_dom.assemble_text_message( None, 'https://code.google.com/p/course-builder/wiki/CreateAssessments') COURSE_ADMIN_DESCRIPTION = safe_dom.assemble_text_message(""" Admin settings for users who are course authors but not site administrators. """, None) EDIT_SETTINGS_DESCRIPTION = safe_dom.assemble_text_message(""" The course.yaml file contains many course settings. """, 'https://code.google.com/p/course-builder/wiki/CourseSettings') IMPORT_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" Import the contents of another course into this course. Both courses must be on the same Google App Engine instance. """, None)
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the data_removal module.""" __author__ = [ '[email protected] (John Cox)', ] from common import safe_dom # TODO(johncox): replace placeholder URL once target link is determined. REMOVAL_POLICY = safe_dom.assemble_text_message(""" This describes the data removal policy used when a student unregisters from this course. """, 'https://code.google.com/p/course-builder/wiki/Dashboard')
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the models.""" __author__ = 'Boris Roussev ([email protected])' from common import safe_dom PEER_MATCHER_NAME = 'Peer' ASSESSMENT_CONTENT_DESCRIPTION = safe_dom.assemble_text_message( """ Assessment questions and answers (JavaScript format). """, 'https://code.google.com/p/course-builder/wiki/CreateAssessments') ASSESSMENT_DETAILS_DESCRIPTION = safe_dom.assemble_text_message( """ Properties and restrictions of your assessment. """, 'https://code.google.com/p/course-builder/wiki/PeerReview') DUE_DATE_FORMAT_DESCRIPTION = safe_dom.assemble_text_message( """ Should be formatted as YYYY-MM-DD hh:mm (e.g. 1997-07-16 19:20) and be specified in the UTC timezone.""", None) REVIEWER_FEEDBACK_FORM_DESCRIPTION = safe_dom.assemble_text_message( """ Review form questions and answers (JavaScript format).
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used by certificate management.""" __author__ = 'Todd Larsen ([email protected])' from common import safe_dom # TODO(johncox): replace placeholder URL once target link is determined. CERTIFICATE_CRITERIA_DESCRIPTION = safe_dom.assemble_text_message(""" These are the criteria which students must meet to be awarded a certificate of completion. To receive a certificate, a student must meet all criteria. """, "https://code.google.com/p/course-builder/wiki/Dashboard")
def make_learn_more_message(self, text, topic_id, to_string=True): message = safe_dom.assemble_text_message( text, '%s?topic_id=%s' % (_REDIRECT_HANDLER_URL, topic_id)) return str(message) if to_string else message
If checked, this lesson will be numbered in sequence in the list of lessons in this unit. """ LESSON_ACTIVITY_TITLE_DESCRIPTION = """ This appears above your activity. """ LESSON_ACTIVITY_LISTED_DESCRIPTION = """ Whether the activity should be viewable as a stand-alone item in the unit index. """ LESSON_ACTIVITY_DESCRIPTION = safe_dom.assemble_text_message( """ Note: Activities defined in the "Activity" area are deprecated, please use the "Lesson Body" area instead. Old-style activities are automatically converted during "Import Course". """, ("https://code.google.com/p/course-builder/wiki/CreateActivities" "#Writing_activities"), ) # TODO(johncox): replace placeholder URL once target link is determined. LESSON_ALLOW_PROGRESS_OVERRIDE_DESCRIPTION = safe_dom.assemble_text_message( """ If checked, the manual progress REST API permits users to manually mark a unit or lesson as complete, overriding the automatic progress tracking. """, "https://code.google.com/p/course-builder/wiki/Dashboard", ) LESSON_AVAILABILITY_DESCRIPTION = """ If this lesson is "%s", only admins can see it. If it is "%s", then anyone
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the math module.""" __author__ = ["[email protected] (John Cox)"] from common import safe_dom RTE_MATH_MATHEMATICAL_FORMULA = """ This is the formula to display. """ # TODO(johncox): replace placeholder URL once target link is determined. RTE_MATH_TYPE = safe_dom.assemble_text_message( """ This is the type of formula script. """, "https://code.google.com/p/course-builder/wiki/Dashboard", )
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ASSIGNMENTS_MENU_DESCRIPTION = safe_dom.assemble_text_message( """ Select a peer-reviewed assignment and enter a student's email address to view their assignment submission and any associated reviews. """, None)
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ABOUT_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message( """ This information is configured by an administrator from the Admin pages. """, None) DATA_FILES_DESCRIPTION = safe_dom.assemble_text_message( """ The lesson.csv file contains the contents of your lesson. The unit.csv file contains the course related content shown on the homepage. These files are located in your Course Builder installation. Edit them directly with an editor like Notepad++. Be careful, some editors will add extra characters, which may prevent the uploading of these files. """, 'https://code.google.com/p/course-builder/wiki/Dashboard#Outline') CONTENTS_OF_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message( """ The course.yaml file contains all course-level settings. It can be modified from other settings sub-tabs, or directly edited in its
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ABOUT_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" This information is configured by an administrator from the Admin pages. """, None) CONTENTS_OF_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" The course.yaml file contains all course-level settings. It can be modified from other settings sub-tabs, or directly edited in its raw form here. """, 'https://code.google.com/p/course-builder/wiki/CourseSettings') COURSE_TEMPLATE_DESCRIPTION = safe_dom.assemble_text_message(""" The course_template.yaml file provides default values for course settings. These values are not dynamically editable, but you can override them by editing your course.yaml file directly, or by changing settings in the other Settings sub-tabs. You can also change the default settings for all courses by editing
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'John Orr ([email protected])' from common import safe_dom ABOUT_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" This information is configured by an administrator from the Admin pages. """, None) ADMIN_PREFERENCES_DESCRIPTION = safe_dom.assemble_text_message(""" Preferences settings for individual course admins. """, None) ADMINISTERED_COURSES_DESCRIPTION = safe_dom.assemble_text_message(""" Courses for which you have administrator privileges """, None) ASSESSMENT_EDITOR_DESCRIPTION = safe_dom.assemble_text_message( None, 'https://code.google.com/p/course-builder/wiki/CreateAssessments') ASSETS_DESCRIPTION = safe_dom.assemble_text_message(""" These are all the assets for your course. You can upload new images and
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the questionnaire module.""" __author__ = [ '[email protected] (John Cox)', ] from common import safe_dom # TODO(johncox): replace placeholder URL once target link is determined. RTE_QUESTIONNAIRE_DISABLE_FIELDS = safe_dom.assemble_text_message(""" If checked, the form will display with all fields disabled. This is used to display the results of a questionnaire on a different page. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') # TODO(johncox): replace placeholder URL once target link is determined. RTE_QUESTIONNAIRE_FORM_ID = safe_dom.assemble_text_message(""" This is the unique ID for this form. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') RTE_QUESTIONNAIRE_SUBMISSION_TEXT = """ This text is displayed to the student after they submit their responses. """ RTE_QUESTIONNAIRE_SUBMIT_LABEL = """ This text is displayed on the submit button. """
"""Messages used in the core_tags module.""" __author__ = [ '[email protected] (John Cox)', ] from common import safe_dom RTE_GOOGLE_GROUP_CATEGORY_NAME = """ This is the name of the Google Group Category, if any was set up. """ # TODO(johncox): replace placeholder URL once target link is determined. RTE_GOOGLE_GROUP_GROUP_NAME = safe_dom.assemble_text_message(""" This is the name of the Google Group. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') RTE_IFRAME_EMBED_URL = """ This is the URL to be embedded as an iframe. Links to other sites must start with "https". """ RTE_IFRAME_HEIGHT = """ This is the height of the iframe, in pixels. """ RTE_IFRAME_TITLE = """ This is used for the "title" parameter of the iframe. """ RTE_IFRAME_WIDTH = """
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ASSETS_DESCRIPTION = safe_dom.assemble_text_message( """ These are all the assets for your course. You can upload new images and documents here, after which you can use them in your lessons and activities. You may create, edit, and delete activities and assessments from the Outline page. All other assets must be edited by an administrator. """, None) COURSE_OUTLINE_DESCRIPTION = safe_dom.assemble_text_message( 'Build, organize and preview your course here.', 'https://code.google.com/p/course-builder/wiki/Dashboard#Outline') EDIT_SETTINGS_DESCRIPTION = safe_dom.assemble_text_message( """ The course.yaml file contains many course settings. """, 'https://code.google.com/p/course-builder/wiki/CourseSettings') EDIT_HTML_HOOK_DESCRIPTION = safe_dom.assemble_text_message( """
__author__ = [ '[email protected] (John Cox)', ] from common import safe_dom DATASET_NAME = """ This is the name of the BigQuery dataset to which to pump the tables. If it is not set, it will default to the name of this course. """ # TODO(johncox): replace placeholder URL once target link is determined. JSON_KEY = safe_dom.assemble_text_message(""" This is the JSON key for the instance where BigQuery is to be run. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') # TODO(johncox): replace placeholder URL once target link is determined. PII_ENCRYPTION_TOKEN = safe_dom.assemble_text_message(""" This encryption secret is used to obscure PII fields when they are pushed to BigQuery. It will be automatically generated after all required fields are satisfied and you click 'Save'. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') # TODO(johncox): replace placeholder URL once target link is determined. PROJECT_ID = safe_dom.assemble_text_message(""" This is the ID of the Google Cloud project to which to send data. """, 'https://code.google.com/p/course-builder/wiki/Dashboard') # TODO(johncox): replace placeholder URL once target link is determined.
# distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the models.""" __author__ = 'Boris Roussev ([email protected])' from common import safe_dom PEER_MATCHER_NAME = 'Peer' ASSESSMENT_CONTENT_DESCRIPTION = safe_dom.assemble_text_message(""" Assessment questions and answers (JavaScript format). """, 'https://code.google.com/p/course-builder/wiki/CreateAssessments') ASSESSMENT_DETAILS_DESCRIPTION = safe_dom.assemble_text_message(""" Properties and restrictions of your assessment. """, 'https://code.google.com/p/course-builder/wiki/PeerReview') DUE_DATE_FORMAT_DESCRIPTION = safe_dom.assemble_text_message(""" Should be formatted as YYYY-MM-DD hh:mm (e.g. 1997-07-16 19:20) and be specified in the UTC timezone.""", None) REVIEWER_FEEDBACK_FORM_DESCRIPTION = safe_dom.assemble_text_message(""" Review form questions and answers (JavaScript format). """, 'https://code.google.com/p/course-builder/wiki/PeerReview') REVIEWER_FEEDBACK_FORM_HTML_DESCRIPTION = """
""" LABELS_TYPE_DESCRIPTION = """ You can put students in different <b>Course tracks</b> to show them different units. """ GIFT_GROUP_DESCRIPTION_DESCRIPTION = """ This is the description of the question group created for the imported questions. """ # TODO(johncox): replace placeholder URL once target link is determined. GIFT_QUESTIONS_DESCRIPTION = safe_dom.assemble_text_message(""" Each question is imported as a separate question (named Q1, Q2, etc.). Additionally, a question group is added with all the questions. Course Builder supports multiple choice, true-false, short answer, and numerical questions. """, "https://code.google.com/p/course-builder/wiki/Dashboard") ROLE_NAME_DESCRIPTION = """ This is the name of this role. """ ROLE_DESCRIPTION_DESCRIPTION = """ This describes this role for your reference. """ ROLE_USER_EMAILS_DESCRIPTION = """ This list of email addresses represents the members of this role. Separate addresses with a comma or space. """
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ABOUT_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" This information is configured by an administrator from the Admin pages. """, None) DATA_FILES_DESCRIPTION = safe_dom.assemble_text_message(""" The lesson.csv file contains the contents of your lesson. The unit.csv file contains the course related content shown on the homepage. These files are located in your Course Builder installation. Edit them directly with an editor like Notepad++. Be careful, some editors will add extra characters, which may prevent the uploading of these files. """, 'https://code.google.com/p/course-builder/wiki/Dashboard#Outline') CONTENTS_OF_THE_COURSE_DESCRIPTION = safe_dom.assemble_text_message(""" The course.yaml file contains all course-level settings. It can be modified from other settings sub-tabs, or directly edited in its raw form here. """, 'https://code.google.com/p/course-builder/wiki/CourseSettings')
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS-IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Messages used in the dashboard.""" __author__ = 'Mike Gainer ([email protected])' from common import safe_dom ASSETS_DESCRIPTION = safe_dom.assemble_text_message(""" These are all the assets for your course. You can upload new images and documents here, after which you can use them in your lessons and activities. You may create, edit, and delete activities and assessments from the Outline page. All other assets must be edited by an administrator. """, None) COURSE_OUTLINE_DESCRIPTION = safe_dom.assemble_text_message( 'Build, organize and preview your course here.', 'https://code.google.com/p/course-builder/wiki/Dashboard#Outline') EDIT_SETTINGS_DESCRIPTION = safe_dom.assemble_text_message(""" The course.yaml file contains many course settings. """, 'https://code.google.com/p/course-builder/wiki/CourseSettings') EDIT_HTML_HOOK_DESCRIPTION = safe_dom.assemble_text_message(""" HTML hooks are snippets of HTML code that are inserted at different points on the pages of a course. Editing these snippets here permits you to make global changes to these items.