Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
20220dc3
Commit
20220dc3
authored
Jan 05, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6418 from edx/translate-placeholder-text
Placeholder text should be translated
parents
0dbfd174
609f6420
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
cms/templates/register.html
+6
-3
cms/templates/settings.html
+4
-2
No files found.
cms/templates/register.html
View file @
20220dc3
...
...
@@ -28,17 +28,20 @@
<ol
class=
"list-input"
>
<li
class=
"field text required"
id=
"field-email"
>
<label
for=
"email"
>
${_("E-mail")}
</label>
<input
id=
"email"
type=
"email"
name=
"email"
placeholder=
"example: username@domain.com"
/>
## Translators: This is the placeholder text for a field that requests an email address.
<input
id=
"email"
type=
"email"
name=
"email"
placeholder=
"${_("
example:
username
@
domain
.
com
")}"
/>
</li>
<li
class=
"field text required"
id=
"field-name"
>
<label
for=
"name"
>
${_("Full Name")}
</label>
<input
id=
"name"
type=
"text"
name=
"name"
placeholder=
"example: Jane Doe"
/>
## Translators: This is the placeholder text for a field that requests the user's full name.
<input
id=
"name"
type=
"text"
name=
"name"
placeholder=
"${_("
example:
Jane
Doe
")}"
/>
</li>
<li
class=
"field text required"
id=
"field-username"
>
<label
for=
"username"
>
${_("Public Username")}
</label>
<input
id=
"username"
type=
"text"
name=
"username"
placeholder=
"example: JaneDoe"
/>
## Translators: This is the placeholder text for a field that asks the user to pick a username
<input
id=
"username"
type=
"text"
name=
"username"
placeholder=
"$(_("
example:
JaneDoe
")}"
/>
<span
class=
"tip tip-stacked"
>
${_("This will be used in public discussions with your courses and in our edX101 support forums")}
</span>
</li>
...
...
cms/templates/settings.html
View file @
20220dc3
...
...
@@ -263,7 +263,8 @@ CMS.URL.UPLOAD_ASSET = '${upload_asset_url}';
<div
class=
"wrapper-input"
>
<div
class=
"input"
>
<input
type=
"text"
dir=
"ltr"
class=
"long new-course-image-url"
id=
"course-image-url"
value=
""
placeholder=
"Your course image URL"
autocomplete=
"off"
/>
## Translators: This is the placeholder text for a field that requests the URL for a course image
<input
type=
"text"
dir=
"ltr"
class=
"long new-course-image-url"
id=
"course-image-url"
value=
""
placeholder=
"${_("
Your
course
image
URL
")}"
autocomplete=
"off"
/>
<span
class=
"tip tip-stacked"
>
${_("Please provide a valid path and name to your course image (Note: only JPEG or PNG format supported)")}
</span>
</div>
<button
type=
"button"
class=
"action action-upload-image"
>
${_("Upload Course Image")}
</button>
...
...
@@ -283,7 +284,8 @@ CMS.URL.UPLOAD_ASSET = '${upload_asset_url}';
</div>
<div
class=
"input"
>
<input
type=
"text"
dir=
"ltr"
class=
"long new-course-introduction-video add-video-data"
id=
"course-introduction-video"
value=
""
placeholder=
"your YouTube video's ID"
autocomplete=
"off"
/>
## Translators: This is the placeholder text for a field that requests a YouTube video ID for a course video
<input
type=
"text"
dir=
"ltr"
class=
"long new-course-introduction-video add-video-data"
id=
"course-introduction-video"
value=
""
placeholder=
"${_("
your
YouTube
video
'
s
ID
")}"
autocomplete=
"off"
/>
<span
class=
"tip tip-stacked"
>
${_("Enter your YouTube video's ID (along with any restriction parameters)")}
</span>
</div>
</li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment