Commit 2ae18c00 by Giulio Gratta

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

parent 61a4aaa9
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
${_('Email Settings for {course_number}').format(course_number='<span id="email_settings_course_number"></span>')} ${_('Email Settings for {course_number}').format(course_number='<span id="email_settings_course_number"></span>')}
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
${_('Password Reset Email Sent')} ${_('Password Reset Email Sent')}
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
<span id="change_email_title">${_("Change Email")}</span> <span id="change_email_title">${_("Change Email")}</span>
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
...@@ -392,7 +392,7 @@ ...@@ -392,7 +392,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
${_("Change your name")} ${_("Change your name")}
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -443,7 +443,7 @@ ...@@ -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 id="track-info"></span> {course_number}? <span id="refund-info"></span>').format(course_number='<span id="unenroll_course_number"></span>')}
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
&#10005; &#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -72,7 +72,7 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -72,7 +72,7 @@ discussion_link = get_discussion_link(course) if course else None
&#10005; &#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -106,7 +106,7 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -106,7 +106,7 @@ discussion_link = get_discussion_link(course) if course else None
&#10005; &#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<span id="change_language_title">${_("Change Preferred Language")}</span> <span id="change_language_title">${_("Change Preferred Language")}</span>
<span class="sr">, <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 ## 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> </span>
</h2> </h2>
<hr/> <hr/>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<button class="close-modal">&#10005; <button class="close-modal">&#10005;
<span class="sr"> <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) ## 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> </span>
</button> </button>
......
...@@ -45,10 +45,10 @@ ...@@ -45,10 +45,10 @@
</div> </div>
<section id="previewModal" class="modal" aria-hidden="true"> <section id="previewModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="preview-title"> <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> <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/> <hr/>
</header> </header>
......
...@@ -201,10 +201,10 @@ ...@@ -201,10 +201,10 @@
<input type="hidden" name="r" value="" /> <input type="hidden" name="r" value="" />
<section id="previewRevisionModal" class="modal" aria-hidden="true"> <section id="previewRevisionModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="preview-title"> <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> <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/> <hr/>
</header> </header>
<div class="modal-body"> <div class="modal-body">
...@@ -232,10 +232,10 @@ ...@@ -232,10 +232,10 @@
<section id="mergeModal" class="modal" aria-hidden="true"> <section id="mergeModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="merge-title"> <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> <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/> <hr/>
</header> </header>
<div class="modal-header"> <div class="modal-header">
......
{% load i18n %} {% load i18n %}
<section id="cheatsheetModal" class="modal" aria-hidden="true"> <section id="cheatsheetModal" class="modal" aria-hidden="true">
<div class="inner-wrapper" role="dialog" aria-labelledby="cheatsheet-title"> <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> <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/> <hr/>
</header> </header>
<div id="cheatsheet-body" class="modal-body"> <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