Commit 988c814f by Sarina Canelake

Merge pull request #2740 from edx/sarina/update-help-modal-language

Add change for help modal in anticipation of i18n support
parents c777f9c1 25833471
......@@ -37,8 +37,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n"
"POT-Creation-Date: 2014-02-26 16:15-0500\n"
"PO-Revision-Date: 2014-02-26 21:15:47.512922\n"
"POT-Creation-Date: 2014-02-27 08:57-0500\n"
"PO-Revision-Date: 2014-02-27 13:57:20.220825\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
"MIME-Version: 1.0\n"
......@@ -4457,6 +4457,16 @@ msgid "Ask a question"
msgstr "Àsk ä qüéstïön Ⱡ'#"
#: 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
msgid "Name"
msgstr "Nämé Ⱡ'σяєм#"
......
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n"
"POT-Creation-Date: 2014-02-26 16:14-0500\n"
"PO-Revision-Date: 2014-02-26 21:15:47.937196\n"
"POT-Creation-Date: 2014-02-27 08:56-0500\n"
"PO-Revision-Date: 2014-02-27 13:57:20.650962\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
"MIME-Version: 1.0\n"
......
......@@ -304,7 +304,12 @@
padding-left: 0;
}
.note {
@include font-size(12);
@include line-height(12);
margin-top: ($baseline/2);
color: $lighter-base-font-color;
}
}
.discussion-alert-wrapper button {
......
......@@ -6,6 +6,7 @@
<%! from django.conf import settings %>
<%! from courseware.tabs import get_discussion_link %>
<%! 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):
......@@ -13,7 +14,7 @@
<a href="#help-modal" rel="leanModal" role="button">${_("Help")}</a>
</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">
## TODO: find a way to refactor this
<button class="close-modal "tabindex="0">
......@@ -25,7 +26,7 @@
</button>
<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>
</header>
......@@ -46,10 +47,13 @@ discussion_link = get_discussion_link(course) if course else None
url=marketing_link('FAQ')
),
link_end='</a>',
platform_name=MicrositeConfiguration.get_microsite_configuration_value('platform_name', settings.PLATFORM_NAME))}
platform_name=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=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>
<div class="help-buttons">
......@@ -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_question">${_('Ask a question')}</a>
</div>
<p class="note">${_('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 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