Enhance PaidUntilBadge and UserManageDialog to display billing date
- Updated the PaidUntilBadge component to accept a new `showDate` prop, allowing it to display the billing date alongside the remaining days. - Modified UserManageDialog and admin user management components to utilize the updated PaidUntilBadge, improving context for billing information. - Added internationalization support for the new date format in both English and Russian.
This commit is contained in:
@@ -116,6 +116,7 @@ const resources = {
|
||||
minutesRemaining: '{{count}} мин',
|
||||
pendingReviewShort: 'На проверке',
|
||||
pendingReviewHint: 'Оплата отправлена на проверку администратору — доступ не будет приостановлен, пока заявка не решена.',
|
||||
paidUntilWithRemaining: 'до {{date}} ({{remaining}})',
|
||||
newRequest: 'Оформить оплату',
|
||||
period: 'Период',
|
||||
periods: {
|
||||
@@ -642,6 +643,7 @@ const resources = {
|
||||
minutesRemaining: '{{count}}m',
|
||||
pendingReviewShort: 'Under review',
|
||||
pendingReviewHint: 'Payment sent for admin review — access will not be suspended until the request is decided.',
|
||||
paidUntilWithRemaining: 'until {{date}} ({{remaining}})',
|
||||
newRequest: 'Set up payment',
|
||||
period: 'Period',
|
||||
periods: {
|
||||
|
||||
Reference in New Issue
Block a user