diff --git a/popup.html b/popup.html
index 307af44..84737a3 100644
--- a/popup.html
+++ b/popup.html
@@ -96,6 +96,7 @@
模型设置
保存设置
+
diff --git a/popup.js b/popup.js
index 671c506..54ede32 100644
--- a/popup.js
+++ b/popup.js
@@ -526,5 +526,8 @@ document.addEventListener('DOMContentLoaded', () => {
if (newChatBtn) newChatBtn.addEventListener('click', startNewChatSession);
if (clearHistoryBtn) clearHistoryBtn.addEventListener('click', clearHistory);
+ const versionInfo = document.getElementById('versionInfo');
+ if (versionInfo) versionInfo.textContent = `AI-based Translator v${chrome.runtime.getManifest().version}`;
+
ensureDefaultConfig();
});
diff --git a/style.css b/style.css
index ca9bfab..c469a80 100644
--- a/style.css
+++ b/style.css
@@ -620,4 +620,11 @@ body {
/* Elevation */
.elevation-2 {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
+}
+
+#versionInfo {
+ margin: 12px 0 0;
+ text-align: center;
+ font-size: 11px;
+ color: var(--text-secondary-color);
}
\ No newline at end of file