Commit 2ae18c00 by Giulio Gratta

change 'modal' wording to something more general and less jargony

parent 61a4aaa9
......@@ -288,7 +288,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -297,7 +297,7 @@
${_('Email Settings for {course_number}').format(course_number='<span id="email_settings_course_number"></span>')}
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......@@ -320,7 +320,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -329,7 +329,7 @@
${_('Password Reset Email Sent')}
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......@@ -349,7 +349,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -358,7 +358,7 @@
<span id="change_email_title">${_("Change Email")}</span>
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......@@ -392,7 +392,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -401,7 +401,7 @@
${_("Change your name")}
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......@@ -434,7 +434,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -443,7 +443,7 @@
${_('<span id="track-info"></span> {course_number}? <span id="refund-info"></span>').format(course_number='<span id="unenroll_course_number"></span>')}
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......
......@@ -7,7 +7,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......
......@@ -21,7 +21,7 @@
&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -72,7 +72,7 @@ discussion_link = get_discussion_link(course) if course else None
&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -106,7 +106,7 @@ discussion_link = get_discussion_link(course) if course else None
&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......
......@@ -8,7 +8,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......
......@@ -10,7 +10,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......@@ -19,7 +19,7 @@
<span id="change_language_title">${_("Change Preferred Language")}</span>
<span class="sr">,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("window open")}
</span>
</h2>
<hr/>
......
......@@ -13,7 +13,7 @@
<button class="close-modal">&#10005;
<span class="sr">
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close Modal')}
${_('Close')}
</span>
</button>
......
......@@ -45,10 +45,10 @@
</div>
<section id="previewModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="preview-title">
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close Modal' %}</span></button>
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close' %}</span></button>
<header>
<h2 id="preview-title">{% trans "Wiki Preview" %}<span class="sr">, {% trans "modal open" %}</span></h2>
<h2 id="preview-title">{% trans "Wiki Preview" %}<span class="sr">, {% trans "window open" %}</span></h2>
<hr/>
</header>
......
......@@ -201,10 +201,10 @@
<input type="hidden" name="r" value="" />
<section id="previewRevisionModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="preview-title">
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close Modal' %}</span></button>
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close' %}</span></button>
<header>
<h2 id="preview-title">{% trans "Wiki Revision Preview" %}<span class="sr">, {% trans "modal open" %}</span></h2>
<h2 id="preview-title">{% trans "Wiki Revision Preview" %}<span class="sr">, {% trans "window open" %}</span></h2>
<hr/>
</header>
<div class="modal-body">
......@@ -232,10 +232,10 @@
<section id="mergeModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="merge-title">
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close Modal' %}</span></button>
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close' %}</span></button>
<header>
<h2 id="merge-title">{% trans "Merge Revision" %}<span class="sr">, {% trans "modal open" %}</span></h2>
<h2 id="merge-title">{% trans "Merge Revision" %}<span class="sr">, {% trans "window open" %}</span></h2>
<hr/>
</header>
<div class="modal-header">
......
{% load i18n %}
<section id="cheatsheetModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="cheatsheet-title">
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close Modal' %}</span></button>
<button class="close-modal">&#10005; <span class="sr">{% trans 'Close' %}</span></button>
<header>
<h2 id="cheatsheet-title">{% trans "Wiki Cheatsheet" %}<span class="sr">, {% trans "modal open" %}</span></h2>
<h2 id="cheatsheet-title">{% trans "Wiki Cheatsheet" %}<span class="sr">, {% trans "window open" %}</span></h2>
<hr/>
</header>
<div id="cheatsheet-body" class="modal-body">
......
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