+
+ {showSettingModal && setShowSettingModal(false)} />}
+ >
+ );
+};
+
+export default QuotaOverflowBanner;
diff --git a/src/locales/en.json b/src/locales/en.json
index 89c58e9..2a6ceb6 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -72,6 +72,8 @@
"banner": {
"data-storage": "Connection settings are stored in your local browser",
"non-select-sql-warning": "The current statement may be non-SELECT SQL, which will result in a database schema or data change. Make sure you know what you are doing.",
- "product-hunt": "๐๐๐ We just launched on Product Hunt, please give us a vote! ๐๐๐"
+ "product-hunt": "๐๐๐ We just launched on Product Hunt, please give us a vote! ๐๐๐",
+ "quota-overflow": "Our quota is full and we are applying for additional credits. Please wait a moment.",
+ "use-my-key": "Use my key"
}
}
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 8ee4895..f770b57 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -72,6 +72,8 @@
"banner": {
"data-storage": "่ฟๆฅ่ฎพ็ฝฎๅญๅจๅจๆจ็ๆฌๅฐๆต่งๅจไธญ",
"non-select-sql-warning": "ๅฝๅ่ฏญๅฅๅฏ่ฝๆฏ้ SELECT SQL๏ผ่ฟๅฐๅฏผ่ดๆฐๆฎๅบๆจกๅผๆๆฐๆฎๅๅใ",
- "product-hunt": "๐๐๐ ๆไปฌๅๅจ Product Hunt ๅๅธ, ๆฅ็ปๆไปฌ็นไธช่ต! ๐๐๐"
+ "product-hunt": "๐๐๐ ๆไปฌๅๅจ Product Hunt ๅๅธ, ๆฅ็ปๆไปฌ็นไธช่ต! ๐๐๐",
+ "quota-overflow": "ๆไปฌ็ OpenAI ้ขๅบฆๅทฒๆปก๏ผๆญฃๅจ็ณ่ฏท้ขๅค็้ขๅบฆใ่ฏท็จๅๅๆฅใ",
+ "use-my-key": "็จๆ่ชๅทฑ็ Key"
}
}