Skip to content

Commit

Permalink
MCKIN-29786 N/A string Marked for translations (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
musmanmalik authored Feb 1, 2021
1 parent 47a75fd commit d2768fe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions group_project_v2/stage_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,10 @@ def student_view(self, context):
if feedback:
render_context['mean'] = round_half_up(mean(feedback))
else:
render_context['mean'] = _(u"N/A")
render_context['mean'] = self._(u"N/A")
except ValueError as exc:
log.warn(exc) # pylint: disable=deprecated-method
render_context['mean'] = _(u"N/A")
render_context['mean'] = self._(u"N/A")

render_context.update(context)
fragment.add_content(loader.render_django_template(
Expand Down
Binary file modified group_project_v2/translations/de_DE/LC_MESSAGES/text.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion group_project_v2/translations/de_DE/LC_MESSAGES/text.po
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ msgstr "Notenanzeige"

#: stage/feedback_review.py:163 stage_components.py:746
msgid "N/A"
msgstr "Nicht zutreffend"
msgstr "N.Z."

#: stage/mixins.py:14
msgid "Completed"
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pytz

XBlock>=1.2.2

edx-opaque-keys>=0.4.0
edx-opaque-keys>=0.4.0,<2.2.0

-e git+https://github.com/mckinseyacademy/django-upload-validator.git@v1.0.2#egg=django-upload-validator==v1.0.2
xblock-utils<2.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def package_data(pkg, root_list):

setup(
name='xblock-group-project-v2',
version='0.12.13',
version='0.12.14',
description='XBlock - Group Project V2',
packages=find_packages(),
install_requires=[
Expand Down

0 comments on commit d2768fe

Please sign in to comment.