Skip to content

Commit

Permalink
fix: add Arabic font support and SVG upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BasselArt committed Dec 31, 2024
1 parent 850e562 commit 6473523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/handlers/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ func Favicon() web.HandlerFunc {

opts := []imagic.ImageOperation{}
if size > 0 {
opts = append(opts, imagic.Padding(size*10/100))
opts = append(opts, imagic.Resize(size))
opts = append(opts, imagic.FitToWidth(size))
}

if c.QueryParam("bg") != "" {
Expand Down
2 changes: 1 addition & 1 deletion locale/ar/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"enum.poststatus.started": "بدأ العمل",
"error.expired.text": "الرابط الذي نقرت عليه قد انتهت صلاحيته.",
"error.expired.title": "منتهي الصلاحية",
"error.forbidden.text": "أنت غير مخول لعرض هذه الصفحة.",
"error.forbidden.text": "أنت غير مخول لعرض هذه الصفحة، قد يكون حسابك محظور.",
"error.forbidden.title": "ممنوع",
"error.internalerror.text": "حدث خطأ ونحن نعمل على إصلاح المشكلة! سنكون في الخدمة قريباً.",
"error.internalerror.title": "عفواً! هذا غير متوقع...",
Expand Down

0 comments on commit 6473523

Please sign in to comment.