-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: Add gettext for JS translation #70
Merged
brian-smith-tcril
merged 1 commit into
openedx:master
from
Zeit-Labs:shadinaif/FC-0012-OEP-58.05
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
from django.core.management import execute_from_command_line | ||
|
||
if __name__ == "__main__": | ||
os.environ.setdefault( | ||
"DJANGO_SETTINGS_MODULE", | ||
"translation_settings" | ||
) | ||
|
||
execute_from_command_line(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
|
||
locales: | ||
- en # English - Source Language | ||
|
||
ignore_dirs: | ||
- public |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: \n" | ||
"POT-Creation-Date: 2016-05-27 11:04+0500\n" | ||
"PO-Revision-Date: 2016-05-27 11:04+0500\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \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" | ||
|
||
#: recommender.py | ||
msgid "The resource you are attempting to provide already exists" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "" | ||
"The resource you are attempting to provide has been disallowed by the staff. " | ||
"Reason: " | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "The selected resource does not exist" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "Size of uploaded file exceeds threshold" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "The configuration of pyfs is not properly set" | ||
msgstr "" | ||
|
||
#: recommender.py:729 | ||
msgid "Endorse resource without permission" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "You don't have the permission to remove this resource" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "Only staff can import resources" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "Please submit the JSON file obtained with the download resources button" | ||
msgstr "" | ||
|
||
#: recommender.py | ||
msgid "Tried to access flagged resources without staff permission" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ mako | |
simplejson | ||
webob | ||
web_fragments | ||
edx-i18n-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This stood out to me when I was looking through this PR so I'm leaving a comment to provide context
sphinx
in this repo https://github.com/search?q=repo%3Aopenedx%2FRecommenderXBlock%20sphinx&type=codeedx-sphinx-theme
is deprecated [DEPR]: edx-sphinx-theme public-engineering#200sphinx
on pypi as of writing is7.2.6
https://pypi.org/project/Sphinx/Removing this is definitely the right call.