Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: import translations from openedx-translations #45

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ geckodriver.log
.tox
*.egg-info
__pycache__

# Translations
feedback/conf/locale/*/LC_MESSAGES/*
build/
dist/
# Translations
feedback/conf/locale/*/LC_MESSAGES/*
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ install-dev:

install: install-test

compile_translations:
cd feedback && i18n_tool generate

quality: ## Run the quality checks
pycodestyle --max-line-length=120 --config=.pep8 feedback
pylint --rcfile=pylintrc feedback
Expand Down
2 changes: 2 additions & 0 deletions feedback/conf/locale/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

locales:
- en # English - Source Language
- es_419 # Spanish (Latin America)
- es_ES # Spanish (Spain)
Binary file added feedback/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
304 changes: 304 additions & 0 deletions feedback/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,304 @@
# edX translation file.
# Copyright (C) 2023 EdX
# This file is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.
# EdX Team <info@edx.org>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: 0.1a\n"
"Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n"
"POT-Creation-Date: 2023-06-13 08:00+0000\n"
"PO-Revision-Date: 2023-06-13 09:00+0000\n"
"Last-Translator: \n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: feedback.py:28
msgid "What did you learn from this? What was missing?"
msgstr ""

#: feedback.py:29
msgid "How would you rate this as a learning experience?"
msgstr ""

#: feedback.py:31
msgid ""
"Think about the material, and try to synthesize key lessons learned, as well"
" as key gaps in our presentation."
msgstr ""

#: feedback.py:35
msgid ""
"Take a little bit of time to reflect here. Research shows that a meaningful "
"synthesis will help you better understand and remember material from this "
"course."
msgstr ""

#: feedback.py:41 feedback.py:163
msgid "Excellent"
msgstr ""

#: feedback.py:41 feedback.py:164
msgid "Good"
msgstr ""

#: feedback.py:41 feedback.py:165
msgid "Average"
msgstr ""

#: feedback.py:41 feedback.py:166
msgid "Fair"
msgstr ""

#: feedback.py:41 feedback.py:167
msgid "Poor"
msgstr ""

#: feedback.py:76
msgid "Freeform user prompt"
msgstr ""

#: feedback.py:82 feedback.py:98
msgid "Random number generated for p. -1 if uninitialized"
msgstr ""

#: feedback.py:87
msgid "How user voted. -1 if didn't vote"
msgstr ""

#: feedback.py:93
msgid "What percent of the time should this show?"
msgstr ""

#: feedback.py:103
msgid "A list of user votes"
msgstr ""

#: feedback.py:107
msgid "Feedback"
msgstr ""

#: feedback.py:110
msgid "Display Name"
msgstr ""

#: feedback.py:111
msgid "Provide Feedback"
msgstr ""

#: feedback.py:116 templates/html/studio_view.html:17
msgid "Voting message"
msgstr ""

#: feedback.py:117
msgid "Thank you for voting!"
msgstr ""

#: feedback.py:122 templates/html/studio_view.html:25
msgid "Feedback message"
msgstr ""

#: feedback.py:123
msgid "Thank you for your feedback!"
msgstr ""

#: feedback.py:128
msgid "Show aggregate to students"
msgstr ""

#: feedback.py:158
msgid "Please reflect on this course material"
msgstr ""

#: feedback.py:159
msgid ""
"Please take time to meaningfully reflect on your experience with this course"
" material."
msgstr ""

#: feedback.py:162
msgid "Please rate your overall experience"
msgstr ""

#: feedback.py:169
msgid "Please take a moment to thoughtfully reflect."
msgstr ""

#: feedback.py:388
msgid "Please vote!"
msgstr ""

#: static/html/feedback_instructor.html:10
msgid "Unit"
msgstr ""

#: static/html/feedback_instructor.html:13
msgid "Number of ratings"
msgstr ""

#: static/html/feedback_instructor.html:16
msgid "Average rating"
msgstr ""

#: static/html/feedback_instructor.html:19
msgid "Feedback "
msgstr ""

#: static/html/feedback_instructor.html:27
msgid "See Unit"
msgstr ""

#: static/html/feedback_instructor.html:40
msgid "Comment"
msgstr ""

#: static/html/feedback_instructor.html:40
msgid "Vote"
msgstr ""

#: static/html/feedback_instructor.html:40
msgid "No vote"
msgstr ""

#: templates/html/feedback.html:17
msgid "Submit Feedback"
msgstr ""

#: templates/html/studio_view.html:5
msgid ""
"This XBlock allows you to collect student feedback on pieces of the course. "
"This may be helpful either for course improvement, or to give students a "
"chance to reflect on what they have done."
msgstr ""

#: templates/html/studio_view.html:9
msgid "Display name"
msgstr ""

#: templates/html/studio_view.html:12
msgid "The name of the component."
msgstr ""

#: templates/html/studio_view.html:20
msgid "The message to show after user vote."
msgstr ""

#: templates/html/studio_view.html:28
msgid "The message to show after user feedback."
msgstr ""

#: templates/html/studio_view.html:33
msgid "Show aggregate report to students"
msgstr ""

#: templates/html/studio_view.html:35
msgid "False"
msgstr ""

#: templates/html/studio_view.html:36
msgid "True"
msgstr ""

#: templates/html/studio_view.html:39
msgid "Wheter to show the aggregate report to students."
msgstr ""

#: templates/html/studio_view.html:44
msgid "Freeform prompt"
msgstr ""

#: templates/html/studio_view.html:47
msgid "Example: Please provide us feedback on this section."
msgstr ""

#: templates/html/studio_view.html:52
msgid "Freeform placeholder"
msgstr ""

#: templates/html/studio_view.html:55
msgid "This is shown as grayed out text before the student has answered."
msgstr ""

#: templates/html/studio_view.html:60
msgid "Likert icon set"
msgstr ""

#: templates/html/studio_view.html:62
msgid "Faces (happy to sad)"
msgstr ""

#: templates/html/studio_view.html:63
msgid "Faces (sad to happy to sad)"
msgstr ""

#: templates/html/studio_view.html:64
msgid "Numeric"
msgstr ""

#: templates/html/studio_view.html:65
msgid "Stars"
msgstr ""

#: templates/html/studio_view.html:68
msgid "We can either show happy/sad faces, numbers 1-5 or stars."
msgstr ""

#: templates/html/studio_view.html:73
msgid "Likert prompt"
msgstr ""

#: templates/html/studio_view.html:76
msgid "Example: Please rate your overall experience with this section."
msgstr ""

#: templates/html/studio_view.html:81
msgid "Likert option 1"
msgstr ""

#: templates/html/studio_view.html:84
msgid "Example: Excellent!"
msgstr ""

#: templates/html/studio_view.html:89
msgid "Likert option 2"
msgstr ""

#: templates/html/studio_view.html:92
msgid "Example: Good"
msgstr ""

#: templates/html/studio_view.html:97
msgid "Likert option 3"
msgstr ""

#: templates/html/studio_view.html:100
msgid "Example: Average"
msgstr ""

#: templates/html/studio_view.html:105
msgid "Likert option 4"
msgstr ""

#: templates/html/studio_view.html:108
msgid "Example: Fair"
msgstr ""

#: templates/html/studio_view.html:113
msgid "Likert option 5"
msgstr ""

#: templates/html/studio_view.html:116
msgid "Example: Poor"
msgstr ""

#: templates/html/studio_view.html:123
msgid "Save"
msgstr ""

#: templates/html/studio_view.html:126
msgid "Cancel"
msgstr ""
Binary file added feedback/conf/locale/es_419/LC_MESSAGES/django.mo
Binary file not shown.
Loading