Skip to content

Commit ebd2f73

Browse files
authored
Merge pull request #1231 from pycontw/feat/llm-review-layout
[feature]-fix llm review bug
2 parents c68b143 + 123cfd4 commit ebd2f73

File tree

5 files changed

+209
-124
lines changed

5 files changed

+209
-124
lines changed

Diff for: src/locale/en_US/LC_MESSAGES/django.po

+45-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: PyCon TW\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-04-10 02:11+0800\n"
16+
"POT-Creation-Date: 2025-04-19 20:30+0800\n"
1717
"PO-Revision-Date: 2022-07-11 02:23+0800\n"
1818
"Last-Translator: Tom Chen <[email protected]>\n"
1919
"Language-Team: English (United States) (http://www.transifex.com/pycon-"
@@ -1760,12 +1760,12 @@ msgstr ""
17601760
"href=\"%(FRONTEND_HOST)s/%(LANGUAGE_CODE)s/speaking/tutorial\" target="
17611761
"\"_blank\">How to Propose a Tutorial</a> page."
17621762

1763-
#: templates/default/dashboard_base.html:6
1763+
#: templates/default/dashboard_base.html:7
17641764
#: templates/pycontw-2016/_includes/nav/front_nav.html:82
17651765
msgid "Dashboard"
17661766
msgstr "Dashboard"
17671767

1768-
#: templates/default/dashboard_base.html:15
1768+
#: templates/default/dashboard_base.html:16
17691769
#, python-format
17701770
msgid "Hi %(name)s, welcome!"
17711771
msgstr "Hi %(name)s, welcome!"
@@ -1786,12 +1786,53 @@ msgstr "Did not get the verification mail?"
17861786
msgid "Request a new one."
17871787
msgstr "Request a new one."
17881788

1789-
#: templates/default/dashboard_base.html:31
1789+
#: templates/default/dashboard_base.html:32
17901790
msgid ""
17911791
"You need to complete your speaker profile first before submitting a proposal."
17921792
msgstr ""
17931793
"You need to complete your speaker profile first before submitting a proposal."
17941794

1795+
#: templates/default/dashboard_base.html:57
1796+
msgid "View AI Summary and Comments "
1797+
msgstr ""
1798+
1799+
#: templates/default/dashboard_base.html:63
1800+
msgid " AI Summary and Comments "
1801+
msgstr ""
1802+
1803+
#: templates/default/dashboard_base.html:72
1804+
msgid "AI Recommendation Category"
1805+
msgstr ""
1806+
1807+
#: templates/default/dashboard_base.html:81
1808+
msgid "Summary"
1809+
msgstr ""
1810+
1811+
#: templates/default/dashboard_base.html:82
1812+
#: templates/default/reviews/_includes/previous_review_table.html:9
1813+
msgid "Comments"
1814+
msgstr "Comments"
1815+
1816+
#: templates/default/dashboard_base.html:90
1817+
#| msgid "AI-generated summary"
1818+
msgid "AI-Generated Summary"
1819+
msgstr "AI-generated summary"
1820+
1821+
#: templates/default/dashboard_base.html:95
1822+
#| msgid "translated summary"
1823+
msgid "Translated Summary"
1824+
msgstr "translated summary"
1825+
1826+
#: templates/default/dashboard_base.html:105
1827+
#| msgid "AI-generated comment"
1828+
msgid "AI-Generated Comments"
1829+
msgstr "AI-generated comment"
1830+
1831+
#: templates/default/dashboard_base.html:110
1832+
#| msgid "translated comment"
1833+
msgid "Translated Comments"
1834+
msgstr "translated comment"
1835+
17951836
#: templates/default/proposals/_proposal_create.html:14
17961837
msgid "Create Proposal"
17971838
msgstr "Create Proposal"
@@ -1977,10 +2018,6 @@ msgstr "Reviewer ID"
19772018
msgid "Vote"
19782019
msgstr "Vote"
19792020

1980-
#: templates/default/reviews/_includes/previous_review_table.html:9
1981-
msgid "Comments"
1982-
msgstr "Comments"
1983-
19842021
#: templates/default/reviews/_includes/previous_review_table.html:22
19852022
msgid "(Comment redacted by the reviewer or organizers.)"
19862023
msgstr "(Comment redacted by the reviewer or organizers.)"

Diff for: src/locale/zh_Hant/LC_MESSAGES/django.po

+45-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: PyCon TW\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2025-04-10 02:11+0800\n"
23+
"POT-Creation-Date: 2025-04-19 20:30+0800\n"
2424
"PO-Revision-Date: 2022-07-11 02:25+0800\n"
2525
"Last-Translator: Tom Chen <[email protected]>\n"
2626
"Language-Team: Chinese Traditional (http://www.transifex.com/pycon-taiwan/"
@@ -1705,15 +1705,15 @@ msgstr ""
17051705
"\"%(FRONTEND_HOST)s/%(LANGUAGE_CODE)s/speaking/tutorial\" target=\"_blank\">"
17061706
"如何投稿專業課程</a>頁面。"
17071707

1708-
#: templates/default/dashboard_base.html:6
1708+
#: templates/default/dashboard_base.html:7
17091709
#: templates/pycontw-2016/_includes/nav/front_nav.html:82
17101710
msgid "Dashboard"
17111711
msgstr "控制面板"
17121712

1713-
#: templates/default/dashboard_base.html:15
1714-
#, python-format
1713+
#: templates/default/dashboard_base.html:16
1714+
#| msgid "Hi %(name)s, welcome!"
17151715
msgid "Hi %(name)s, welcome!"
1716-
msgstr "%(name)s,歡迎!"
1716+
msgstr "%(name)s,歡迎!"
17171717

17181718
#: templates/default/dashboard_base.html:22
17191719
msgid ""
@@ -1729,11 +1729,50 @@ msgstr "沒有收到認證信嗎?"
17291729
msgid "Request a new one."
17301730
msgstr "重新寄送一封。"
17311731

1732-
#: templates/default/dashboard_base.html:31
1732+
#: templates/default/dashboard_base.html:32
17331733
msgid ""
17341734
"You need to complete your speaker profile first before submitting a proposal."
17351735
msgstr "在投稿前,您必須先完成填寫講者資訊。"
17361736

1737+
#: templates/default/dashboard_base.html:57
1738+
#| msgid "View AI Summary and Comments"
1739+
msgid "View AI Summary and Comments "
1740+
msgstr "檢視 AI 摘要評論"
1741+
1742+
#: templates/default/dashboard_base.html:63
1743+
#| msgid "AI Summary and Comments"
1744+
msgid " AI Summary and Comments "
1745+
msgstr " AI 摘要評論"
1746+
1747+
#: templates/default/dashboard_base.html:72
1748+
msgid "AI Recommendation Category"
1749+
msgstr "AI 建議分類"
1750+
1751+
#: templates/default/dashboard_base.html:81
1752+
msgid "Summary"
1753+
msgstr ""
1754+
1755+
#: templates/default/dashboard_base.html:82
1756+
#: templates/default/reviews/_includes/previous_review_table.html:9
1757+
msgid "Comments"
1758+
msgstr "評論"
1759+
1760+
#: templates/default/dashboard_base.html:90
1761+
msgid "AI-Generated Summary"
1762+
msgstr "AI 生成的摘要"
1763+
1764+
#: templates/default/dashboard_base.html:95
1765+
msgid "Translated Summary"
1766+
msgstr "翻譯後的摘要"
1767+
1768+
#: templates/default/dashboard_base.html:105
1769+
msgid "AI-Generated Comments"
1770+
msgstr "AI 生成的評論"
1771+
1772+
#: templates/default/dashboard_base.html:110
1773+
msgid "Translated Comments"
1774+
msgstr "翻譯後的評論"
1775+
17371776
#: templates/default/proposals/_proposal_create.html:14
17381777
msgid "Create Proposal"
17391778
msgstr "建立提案"
@@ -1916,10 +1955,6 @@ msgstr "審稿人代號"
19161955
msgid "Vote"
19171956
msgstr "投票"
19181957

1919-
#: templates/default/reviews/_includes/previous_review_table.html:9
1920-
msgid "Comments"
1921-
msgstr "評論"
1922-
19231958
#: templates/default/reviews/_includes/previous_review_table.html:22
19241959
msgid "(Comment redacted by the reviewer or organizers.)"
19251960
msgstr "(評論被審稿人或主辦單位隱藏。)"

Diff for: src/static/css/components/support_box.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@
8282
.support-box-content {
8383
padding: 16px;
8484
color: #333;
85-
85+
max-height: calc(70vh - 60px); // 根據 header 高度調整
86+
overflow-y: auto;
87+
-webkit-overflow-scrolling: touch;
88+
// white-space: pre-wrap;
89+
// word-break: break-word;
90+
8691
.nav-pills {
8792
>li {
8893
>a {

Diff for: src/static/css/vendors/bootstrap/_navs.scss

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@
228228
}
229229
> .active {
230230
display: block;
231+
margin-top: 24px;
231232
}
232233
}
233234

0 commit comments

Comments
 (0)