Skip to content

Commit

Permalink
feat: add markdown alert component and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
hexart committed Jan 23, 2025
1 parent 85c98ea commit 8529c1a
Show file tree
Hide file tree
Showing 21 changed files with 1,491 additions and 5 deletions.
17 changes: 17 additions & 0 deletions backend/chainlit/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "সফলভাবে সংরক্ষিত হয়েছে"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "Saved successfully"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "સફળતાપૂર્વક સાચવ્યું"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/he-IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "נשמר בהצלחה"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "सफलतापूर्वक सहेजा गया"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
19 changes: 18 additions & 1 deletion backend/chainlit/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "保存が完了しました"
}
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/kn.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "ಯಶಸ್ವಿಯಾಗಿ ಉಳಿಸಲಾಗಿದೆ"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "വിജയകരമായി സംരക്ഷിച്ചു"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/mr.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "यशस्वीरित्या जतन केले"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
19 changes: 18 additions & 1 deletion backend/chainlit/translations/nl-NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "Succesvol opgeslagen"
}
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/ta.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "வெற்றிகரமாக சேமிக்கப்பட்டது"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/te.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "విజయవంతంగా సేవ్ చేయబడింది"
}
},
"alerts": {
"info": "Info",
"note": "Note",
"tip": "Tip",
"important": "Important",
"warning": "Warning",
"caution": "Caution",
"debug": "Debug",
"example": "Example",
"success": "Success",
"help": "Help",
"idea": "Idea",
"pending": "Pending",
"security": "Security",
"beta": "Beta",
"bestPractice": "Best Practice"
}
}
17 changes: 17 additions & 0 deletions backend/chainlit/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,22 @@
"success": {
"saved": "保存成功"
}
},
"alerts": {
"info": "信息",
"note": "注释",
"tip": "提示",
"important": "重要",
"warning": "警告",
"caution": "注意",
"debug": "调试",
"example": "示例",
"success": "成功",
"help": "帮助",
"idea": "想法",
"pending": "待处理",
"security": "安全",
"beta": "测试",
"best-practice": "最佳实践"
}
}
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"recoil": "^0.7.7",
"rehype-katex": "^7.0.0",
"rehype-raw": "^7.0.0",
"remark-directive": "^3.0.1",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"sonner": "^1.2.3",
Expand Down
Loading

0 comments on commit 8529c1a

Please sign in to comment.