Commit f061c002 by Sarina Canelake

Add change for help modal in anticipation of i18n support

parent 4440a859
...@@ -37,8 +37,8 @@ msgid "" ...@@ -37,8 +37,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.1a\n" "Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n" "Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n"
"POT-Creation-Date: 2014-02-26 16:15-0500\n" "POT-Creation-Date: 2014-02-27 08:57-0500\n"
"PO-Revision-Date: 2014-02-26 21:15:47.512922\n" "PO-Revision-Date: 2014-02-27 13:57:20.220825\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n" "Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -4457,6 +4457,16 @@ msgid "Ask a question" ...@@ -4457,6 +4457,16 @@ msgid "Ask a question"
msgstr "Àsk ä qüéstïön Ⱡ'#" msgstr "Àsk ä qüéstïön Ⱡ'#"
#: lms/templates/help_modal.html #: lms/templates/help_modal.html
msgid ""
"Please note: The {platform_name} support team is English speaking. While we "
"will do our best to address your inquiry in any language, our responses will"
" be in English."
msgstr ""
"Pléäsé nöté: Thé {platform_name} süppört téäm ïs Énglïsh spéäkïng. Whïlé wé "
"wïll dö öür ßést tö äddréss ýöür ïnqüïrý ïn äný längüägé, öür réspönsés wïll"
" ßé ïn Énglïsh. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢#"
#: lms/templates/help_modal.html
#: lms/templates/open_ended_problems/open_ended_flagged_problems.html #: lms/templates/open_ended_problems/open_ended_flagged_problems.html
msgid "Name" msgid "Name"
msgstr "Nämé Ⱡ'σяєм#" msgstr "Nämé Ⱡ'σяєм#"
......
...@@ -7,8 +7,8 @@ msgid "" ...@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.1a\n" "Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n" "Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n"
"POT-Creation-Date: 2014-02-26 16:14-0500\n" "POT-Creation-Date: 2014-02-27 08:56-0500\n"
"PO-Revision-Date: 2014-02-26 21:15:47.937196\n" "PO-Revision-Date: 2014-02-27 13:57:20.650962\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n" "Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<%! from django.conf import settings %> <%! from django.conf import settings %>
<%! from courseware.tabs import get_discussion_link %> <%! from courseware.tabs import get_discussion_link %>
<%! from microsite_configuration.middleware import MicrositeConfiguration %> <%! from microsite_configuration.middleware import MicrositeConfiguration %>
<%! platform_name = MicrositeConfiguration.get_microsite_configuration_value("platform_name", settings.PLATFORM_NAME) %>
% if settings.FEATURES.get('ENABLE_FEEDBACK_SUBMISSION', False): % if settings.FEATURES.get('ENABLE_FEEDBACK_SUBMISSION', False):
...@@ -13,7 +14,7 @@ ...@@ -13,7 +14,7 @@
<a href="#help-modal" rel="leanModal" role="button">${_("Help")}</a> <a href="#help-modal" rel="leanModal" role="button">${_("Help")}</a>
</div> </div>
<section id="help-modal" class="modal" aria-hidden="true" role="dialog" aria-label="${_("{platform_name} Help").format(platform_name=MicrositeConfiguration.get_microsite_configuration_value("platform_name", settings.PLATFORM_NAME))}"> <section id="help-modal" class="modal" aria-hidden="true" role="dialog" aria-label="${_("{platform_name} Help").format(platform_name=platform_name)}">
<div class="inner-wrapper" id="help_wrapper"> <div class="inner-wrapper" id="help_wrapper">
## TODO: find a way to refactor this ## TODO: find a way to refactor this
<button class="close-modal "tabindex="0"> <button class="close-modal "tabindex="0">
...@@ -25,7 +26,7 @@ ...@@ -25,7 +26,7 @@
</button> </button>
<header> <header>
<h2>${_('{span_start}{platform_name}{span_end} Help').format(span_start='<span class="edx">', span_end='</span>', platform_name=MicrositeConfiguration.get_microsite_configuration_value('platform_name', settings.PLATFORM_NAME))}</h2> <h2>${_('{span_start}{platform_name}{span_end} Help').format(span_start='<span class="edx">', span_end='</span>', platform_name=platform_name)}</h2>
<hr> <hr>
</header> </header>
...@@ -46,10 +47,13 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -46,10 +47,13 @@ discussion_link = get_discussion_link(course) if course else None
url=marketing_link('FAQ') url=marketing_link('FAQ')
), ),
link_end='</a>', link_end='</a>',
platform_name=MicrositeConfiguration.get_microsite_configuration_value('platform_name', settings.PLATFORM_NAME))} platform_name=platform_name)}
</p> </p>
<p>${_('Have a <strong>question about something specific</strong>? You can contact the {platform_name} general support team directly:').format(platform_name=MicrositeConfiguration.get_microsite_configuration_value('platform_name', settings.PLATFORM_NAME))}</p> <p>${_('Have a <strong>question about something specific</strong>? You can contact the {platform_name} general support team directly:').format(
platform_name=platform_name
)}</p>
<hr> <hr>
<div class="help-buttons"> <div class="help-buttons">
...@@ -57,6 +61,11 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -57,6 +61,11 @@ discussion_link = get_discussion_link(course) if course else None
<a href="#" id="feedback_link_suggestion">${_('Make a suggestion')}</a> <a href="#" id="feedback_link_suggestion">${_('Make a suggestion')}</a>
<a href="#" id="feedback_link_question">${_('Ask a question')}</a> <a href="#" id="feedback_link_question">${_('Ask a question')}</a>
</div> </div>
<p>${_('Please note: The {platform_name} support team is English speaking. While we will do our best to address your inquiry in any language, our responses will be in English.').format(
platform_name=platform_name
)}</p>
</div> </div>
<div class="inner-wrapper" id="feedback_form_wrapper"> <div class="inner-wrapper" id="feedback_form_wrapper">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment