Skip to content

Commit

Permalink
fix: extracted display_name default for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Mar 11, 2024
1 parent fc0ce5e commit e41daae
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 44 deletions.
38 changes: 17 additions & 21 deletions platform_plugin_aspects/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,41 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: static/html/superset.html:9 templates/xblock/superset.html:8
#: static/html/superset.html:9
msgid ""
"Superset is not configured properly. Please contact your system "
"administrator."
msgstr ""

#: static/html/superset_edit.html:7 xblock.py:36 xblock.py:37
msgid "Display name"
msgstr ""

#: static/html/superset_edit.html:20 xblock.py:43
msgid "Dashboard UUID"
msgstr ""

#: static/html/superset_edit.html:33 xblock.py:52
msgid "Filters"
#: static/html/superset_student.html:4
msgid ""
"Superset is only visible to course staff and instructors. Please contact "
"your system administrator."
msgstr ""

#: static/html/superset_edit.html:50
msgid "Save"
#: xblock.py:31 xblock.py:32
msgid "Display name"
msgstr ""

#: static/html/superset_edit.html:53
msgid "Cancel"
#: xblock.py:33
msgid "Superset Dashboard"
msgstr ""

#: templates/xblock/superset_student.html:4
msgid ""
"Superset is only visible to course staff and instructors. Please contact "
"your system administrator."
#: xblock.py:38
msgid "Dashboard UUID"
msgstr ""

#: xblock.py:45
#: xblock.py:40
msgid ""
"The ID of the dashboard to embed. Available in the Superset embed dashboard "
"UI."
msgstr ""

#: xblock.py:54
#: xblock.py:47
msgid "Filters"
msgstr ""

#: xblock.py:49
msgid ""
"List of SQL filters to apply to the\n"
" dashboard. E.g: [\"org='edX'\", \"country in ('us', 'co')\"]\n"
Expand Down
Binary file modified platform_plugin_aspects/conf/locale/eo/LC_MESSAGES/django.mo
Binary file not shown.
40 changes: 18 additions & 22 deletions platform_plugin_aspects/conf/locale/eo/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,34 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: static/html/superset.html templates/xblock/superset.html
#: static/html/superset.html
msgid ""
"Superset is not configured properly. Please contact your system "
"administrator."
msgstr ""
"Süpérsét ïs nöt çönfïgüréd pröpérlý. Pléäsé çöntäçt ýöür sýstém "
"ädmïnïsträtör. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєт#"

#: static/html/superset_edit.html xblock.py xblock.py
msgid "Display name"
msgstr "Dïspläý nämé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"

#: static/html/superset_edit.html xblock.py
msgid "Dashboard UUID"
msgstr "Däshßöärd ÛÛÌD Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт#"

#: static/html/superset_edit.html xblock.py
msgid "Filters"
msgstr "Fïltérs Ⱡ'σяєм ιρѕυм #"

#: static/html/superset_edit.html
msgid "Save"
msgstr "Sävé Ⱡ'σяєм ι#"

#: static/html/superset_edit.html
msgid "Cancel"
msgstr "Çänçél Ⱡ'σяєм ιρѕυ#"

#: templates/xblock/superset_student.html
#: static/html/superset_student.html
msgid ""
"Superset is only visible to course staff and instructors. Please contact "
"your system administrator."
msgstr ""
"Süpérsét ïs önlý vïsïßlé tö çöürsé stäff änd ïnstrüçtörs. Pléäsé çöntäçt "
"ýöür sýstém ädmïnïsträtör. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"

#: xblock.py xblock.py
msgid "Display name"
msgstr "Dïspläý nämé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"

#: xblock.py
msgid "Superset Dashboard"
msgstr "Süpérsét Däshßöärd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"

#: xblock.py
msgid "Dashboard UUID"
msgstr "Däshßöärd ÛÛÌD Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт#"

#: xblock.py
msgid ""
"The ID of the dashboard to embed. Available in the Superset embed dashboard "
Expand All @@ -61,6 +53,10 @@ msgstr ""
"Thé ÌD öf thé däshßöärd tö émßéd. Àväïläßlé ïn thé Süpérsét émßéd däshßöärd "
"ÛÌ. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєт#"

#: xblock.py
msgid "Filters"
msgstr "Fïltérs Ⱡ'σяєм ιρѕυм #"

#: xblock.py
msgid ""
"List of SQL filters to apply to the\n"
Expand Down
2 changes: 1 addition & 1 deletion platform_plugin_aspects/xblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SupersetXBlock(StudioEditableXBlockMixin, XBlock):
display_name = String(
display_name=_("Display name"),
help=_("Display name"),
default="Superset Dashboard",
default=_("Superset Dashboard"),
scope=Scope.settings,
)

Expand Down

0 comments on commit e41daae

Please sign in to comment.