Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kazanec18 authored Oct 30, 2023
2 parents f4bce07 + 0916d2c commit 906354b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ const UserDetailModalContent: React.FC<{user: User}> = ({user}) => {
await deleteUser(_user?.id);
modal?.remove();
mainModal?.remove();
navigateOnClose();
showToast({
message: 'User deleted',
type: 'success'
Expand Down Expand Up @@ -505,7 +506,7 @@ const UserDetailModal: React.FC<RoutingModalProps> = ({params}) => {
const user = currentUser.slug === params?.slug ? currentUser : users.find(({slug}) => slug === params?.slug);

useEffect(() => {
if (!user && !hasNextPage) {
if (!user && hasNextPage) {
fetchNextPage();
}
}, [fetchNextPage, hasNextPage, user]);
Expand Down
8 changes: 8 additions & 0 deletions ghost/admin/app/components/gh-post-settings-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,14 @@
<span class="gh-key" data-tooltip="Return">&#8617;</span>
</div>
</div>
{{#if (feature "editorEmojiPicker")}}
<div class="gh-shortcut">
<div>Emoji</div>
<div class="gh-keys">
<span class="gh-key mono">:emoji_name:</span>
</div>
</div>
{{/if}}
<div class="gh-shortcut">
<div>Image</div>
<div class="gh-keys">
Expand Down
2 changes: 1 addition & 1 deletion ghost/i18n/locales/vi/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"{{amount}} hours ago": "{{amount}} giờ trước",
"{{amount}} minutes ago": "{{amount}} phút trước",
"{{amount}} months ago": "{{amount}} tháng trước",
"{{amount}} more": "",
"{{amount}} more": "{{amount}} nữa",
"{{amount}} seconds ago": "{{amount}} giây trước",
"{{amount}} weeks ago": "{{amount}} tuần trước",
"{{amount}} years ago": "{{amount}} năm trước",
Expand Down
18 changes: 9 additions & 9 deletions ghost/i18n/locales/vi/portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"Get notified when someone replies to your comment": "Nhận thông báo khi có ai đó trả lời bình luận",
"Give feedback on this post": "Phản hồi bài viết này",
"Help! I'm not receiving emails": "Giúp tôi! Tôi không nhận được email",
"Here are a few other sites you may enjoy.": "",
"Here are a few other sites you may enjoy.": "Đây là vài trang khác mà bạn có thể thích.",
"If a newsletter is flagged as spam, emails are automatically disabled for that address to make sure you no longer receive any unwanted messages.": "Nếu một bản tin bị gắn nhãn thư rác, email sẽ tự động bị vô hiệu hóa đối với địa chỉ đó để đảm bảo bạn không còn nhận được bất kỳ email không mong muốn nào nữa.",
"If the spam complaint was accidental, or you would like to begin receiving emails again, you can resubscribe to emails by clicking the button on the previous screen.": "Nếu khiếu nại về thư rác là vô tình hoặc bạn muốn bắt đầu nhận lại email, bạn có thể đăng ký lại email bằng cách nhấp vào nút trên màn hình trước đó.",
"If you cancel your subscription now, you will continue to have access until {{periodEnd}}.": "Nếu bạn hủy đăng ký ngay bây giờ, bạn sẽ tiếp tục có quyền truy cập cho đến {{periodEnd}}.",
Expand All @@ -76,7 +76,7 @@
"Make sure emails aren't accidentally ending up in the Spam or Promotions folders of your inbox. If they are, click on \"Mark as not spam\" and/or \"Move to inbox\".": "Hãy chắc rằng email không đang trong hộp thư Spam hoặc Quảng cáo. Nếu đang vậy, chọn \"Đánh dấu không phải spam\" hoặc \"Chuyển tới Hộp thư đến\".",
"Manage": "Quản lý",
"Maybe later": "",
"Memberships unavailable, contact the owner for access.": "",
"Memberships unavailable, contact the owner for access.": "Chưa phải là thành viên, liên hệ với chủ sở hữu để truy cập.",
"Monthly": "Hàng tháng",
"More like this": "Thích bài viết như này",
"Name": "Tên",
Expand All @@ -89,19 +89,19 @@
"Plan": "Gói",
"Plan checkout was cancelled.": "Đã hủy thanh toán.",
"Plan upgrade was cancelled.": "Đã hủy nâng cấp gói.",
"Please contact {{supportAddress}} to adjust your complimentary subscription.": "",
"Please contact {{supportAddress}} to adjust your complimentary subscription.": "Vui lòng liên hệ {{supportAddress}} để điều chỉnh gói đăng ký.",
"Please fill in required fields": "Vui lòng điền các mục bắt buộc",
"Price": "Giá",
"Re-enable emails": "Kích hoạt lại email",
"Recommendations": "",
"Renews at {{price}}.": "Gia hạn giá {{price}}.",
"Recommendations": "Đề xuất",
"Renews at {{price}}.": "Giá gia hạn {{price}}.",
"Retry": "Thử lại",
"Save": "Lưu",
"Send an email and say hi!": "Gửi một email và nói xin chào!",
"Send an email to {{senderEmail}} and say hello. This can also help signal to your mail provider that emails to-and-from this address should be trusted.": "Gửi email tới {{senderEmail}} và gửi lời chào. Điều này cũng có thể giúp báo hiệu cho nhà cung cấp dịch vụ email của bạn rằng các email đến và đi từ địa chỉ này là đáng tin cậy.",
"Sending login link...": "Đang gửi liên kết đăng nhập...",
"Sending...": "Đang gửi...",
"Show all": "",
"Show all": "Hiện toàn bộ",
"Sign in": "Đăng nhập",
"Sign out": "Đăng xuất",
"Sign up": "Đăng ký",
Expand Down Expand Up @@ -133,13 +133,13 @@
"Unsubscribing from emails will not cancel your paid subscription to {{title}}": "Việc hủy theo dõi qua email sẽ không hủy gói đăng ký trả phí của bạn đối với {{title}}",
"Update": "Cập nhật",
"Update your preferences": "Cập nhật thiết lập",
"Verification link sent, check your inbox": "",
"Verification link sent, check your inbox": "Đã gửi liên kết xác minh, hãy kiểm tra hộp thư đến",
"Verify your email address is correct": "Xác minh địa chỉ mail của bạn là đúng",
"View plans": "Xem các gói",
"We couldn't unsubscribe you as the email address was not found. Please contact the site owner.": "Chúng tôi không thể hủy theo dõi vì không tìm thấy địa chỉ email. Vui lòng liên hệ với chủ sở hữu trang web.",
"Welcome back, {{name}}!": "Chào mừng trở lại, {{name}}!",
"Welcome back!": "Chào mừng trở lại!",
"Welcome to {{siteTitle}}": "",
"Welcome to {{siteTitle}}": "Chào mừng tham gia {{siteTitle}}",
"When an inbox fails to accept an email it is commonly called a bounce. In many cases, this can be temporary. However, in some cases, a bounced email can be returned as a permanent failure when an email address is invalid or non-existent.": "Khi hộp thư đến không nhận được email, nó thường được gọi là email bị trả lại. Điều này có thể là tạm thời. Tuy nhiên, trong một số trường hợp, email bị trả lại có thể là lỗi vĩnh viễn nếu địa chỉ email không hợp lệ hoặc không tồn tại.",
"Why has my email been disabled?": "Tại sao email của tôi bị vô hiệu hóa?",
"Yearly": "Hàng năm",
Expand All @@ -149,7 +149,7 @@
"You're not receiving emails": "Bạn không nhận được email",
"You're not receiving emails because you either marked a recent message as spam, or because messages could not be delivered to your provided email address.": "Bạn không nhận được email vì bạn đã đánh dấu một email gần đây là thư rác, hoặc vì không thể gửi đến địa chỉ email bạn đã cung cấp.",
"You've successfully signed in.": "Bạn đã đăng nhập.",
"You've successfully subscribed to": "",
"You've successfully subscribed to": "Bạn đã hoàn tất đăng ký",
"Your account": "Tài khoản của bạn",
"Your input helps shape what gets published.": "Thông tin của bạn giúp định hình nội dung được xuất bản.",
"Your subscription will expire on {{expiryDate}}": "Gói của bạn sẽ hết hạn vào {{expiryDate}}",
Expand Down
2 changes: 1 addition & 1 deletion ghost/minifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@tryghost/errors": "1.2.26",
"@tryghost/tpl": "0.1.24",
"csso": "5.0.5",
"terser": "5.22.0",
"terser": "5.23.0",
"tiny-glob": "0.2.9"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29948,10 +29948,10 @@ terser-webpack-plugin@^5.3.7:
serialize-javascript "^6.0.1"
terser "^5.16.8"

terser@5.22.0, terser@^5.16.8, terser@^5.3.0:
version "5.22.0"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.22.0.tgz#4f18103f84c5c9437aafb7a14918273310a8a49d"
integrity sha512-hHZVLgRA2z4NWcN6aS5rQDc+7Dcy58HOf2zbYwmFcQ+ua3h6eEFf5lIDKTzbWwlazPyOZsFQO8V80/IjVNExEw==
terser@5.23.0, terser@^5.16.8, terser@^5.3.0:
version "5.23.0"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.23.0.tgz#a9c02bc3087d0f5b1cc63bbfb4fe0f7e5dbbde82"
integrity sha512-Iyy83LN0uX9ZZLCX4Qbu5JiHiWjOCTwrmM9InWOzVeM++KNWEsqV4YgN9U9E8AlohQ6Gs42ztczlWOG/lwDAMA==
dependencies:
"@jridgewell/source-map" "^0.3.3"
acorn "^8.8.2"
Expand Down

0 comments on commit 906354b

Please sign in to comment.