diff --git a/CHANGELOG.md b/CHANGELOG.md index 404cafc75..152eba806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,23 @@ ## [11.1.0] In progress * `useUserTenantRoles` supplies `tenantId` in all its queries. Refs UIU-3279. * Leverage API supported sorting of columns on pre-registrations records list. Refs UIU-3249. -* Add permission to access users-keycloak delete method. Refs UIU-3282. * Fix issue with `Proxy borrower` field value. Refs UIU-3290. +* Remove duplicates from the keyboard shortcut modal. Refs UIU-3026. +* React v19: refactor away from default props for functional components. Refs. UIU-3141. +* Hide Create block button for user without permission. Refs UIU-3300. +* Add HTML page title to add/edit patron block page. Refs UIU-3302. +* Update fee/fine actions column UX for accessibility. Refs UIU-3027. +* Rename permission after BE changes. Refs UIU-3309. + +## [11.0.10](https://github.com/folio-org/ui-users/tree/v11.0.10) (2025-01-10) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v11.0.9...v11.0.10) + +* Add sub permission `manual-block-templates.collection.get` to permission `Users: Can create, edit and remove patron blocks`. Refs UIU-3305. + +## [11.0.9](https://github.com/folio-org/ui-users/tree/v11.0.9) (2024-12-13) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v11.0.8...v11.0.9) + +* Add permission to access users-keycloak delete method. Refs UIU-3282. * Check if userId is present in withUserRoles HOC. Refs UIU-3273. * Add missed permissions for endpoints used in withUserRoles HOC. UIU-3294. * Add view/manage roles permissions. Refs UIU-3301. @@ -20,6 +35,13 @@ * Update permissions for mod-patron. Ref UIU-3259. * Update permission after BE permission changes. Refs UIU-3288. +## [11.0.6](https://github.com/folio-org/ui-users/tree/v11.0.6) (2024-11-28) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v11.0.5...v11.0.6) + +* `useUserTenantRoles` supplies `tenantId` in all its queries. Refs UIU-3279. +* Leverage API supported sorting of columns on pre-registrations records list. Refs UIU-3249. +* Show all patron notice print jobs (not just ten random ones), in correct order. Fixes UIU-3269. + ## [11.0.5](https://github.com/folio-org/ui-users/tree/v11.0.5) (2024-11-20) [Full Changelog](https://github.com/folio-org/ui-users/compare/v11.0.3...v11.0.5) diff --git a/package.json b/package.json index 3338e4b66..4a8d9a4c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@folio/users", - "version": "11.0.5", + "version": "11.0.9", "description": "User management", "repository": "folio-org/ui-users", "publishConfig": { @@ -571,10 +571,10 @@ "comments.item.get", "payments.collection.get", "payments.item.get", - "feesfines.accounts.check-pay.item.post", - "feesfines.accounts-bulk.check-pay.item.post", - "feesfines.accounts.pay.item.post", - "feesfines.accounts-bulk.pay.item.post" + "feesfines.accounts.check-pay.post", + "feesfines.accounts-bulk.check-pay.post", + "feesfines.accounts.pay.post", + "feesfines.accounts-bulk.pay.post" ], "visible": true }, @@ -589,10 +589,10 @@ "comments.item.get", "waives.collection.get", "waives.item.get", - "feesfines.accounts.check-waive.item.post", - "feesfines.accounts-bulk.check-waive.item.post", - "feesfines.accounts.waive.item.post", - "feesfines.accounts-bulk.waive.item.post" + "feesfines.accounts.check-waive.post", + "feesfines.accounts-bulk.check-waive.post", + "feesfines.accounts.waive.post", + "feesfines.accounts-bulk.waive.post" ], "visible": true }, @@ -615,6 +615,7 @@ "replaces": ["ui-users.patron_blocks"], "subPermissions": [ "manualblocks.collection.get", + "manual-block-templates.collection.get", "manualblocks.item.delete", "manualblocks.item.get", "manualblocks.item.post", @@ -722,12 +723,12 @@ "ui-users.manual-waive.execute", "feesfines.accounts.check-transfer.post", "feesfines.accounts.check-refund.post", - "feesfines.accounts.transfer.item.post", - "feesfines.accounts-bulk.transfer.item.post", - "feesfines.accounts.cancel.item.post", - "feesfines.accounts-bulk.cancel.item.post", - "feesfines.accounts.refund.item.post", - "feesfines.accounts-bulk.refund.item.post", + "feesfines.accounts.transfer.post", + "feesfines.accounts-bulk.transfer.post", + "feesfines.accounts.cancel.post", + "feesfines.accounts-bulk.cancel.post", + "feesfines.accounts.refund.post", + "feesfines.accounts-bulk.refund.post", "circulation-storage.loans.item.get", "inventory.items.item.get" ], @@ -1008,8 +1009,8 @@ "displayName": "Users: Create and download Cash drawer reconciliation report", "replaces": ["ui-users.cashDrawerReport"], "subPermissions": [ - "feesfines.feefine-reports.cash-drawer-reconciliation.item.post", - "feesfines.feefine-reports.cash-drawer-reconciliation-source.item.post" + "feesfines.feefine-reports.cash-drawer-reconciliation.post", + "feesfines.feefine-reports.cash-drawer-reconciliation-source.post" ], "visible": true }, diff --git a/src/commands.js b/src/commands.js index b293c76f7..7230bcb03 100644 --- a/src/commands.js +++ b/src/commands.js @@ -36,6 +36,10 @@ const commands = [ name: 'openShortcutModal', label: (), shortcut: 'mod+alt+k', + }, + { + label: (), + shortcut: 'spacebar' } ]; diff --git a/src/commandsGeneral.js b/src/commandsGeneral.js deleted file mode 100644 index 20d0655bc..000000000 --- a/src/commandsGeneral.js +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import { FormattedMessage } from 'react-intl'; - -const commandsGeneral = [ - { - label: (), - shortcut: 'spacebar' - }, - { - label: (), - shortcut: 'esc' - }, - { - label: (), - shortcut: 'mod+c' - }, - { - label: (), - shortcut: 'mod+x' - }, - { - label: (), - shortcut: 'mod+v' - }, - { - label: (), - shortcut: 'mod+f' - } -]; - -export default commandsGeneral; diff --git a/src/components/Accounts/ViewFeesFines/ViewFeesFines.js b/src/components/Accounts/ViewFeesFines/ViewFeesFines.js index b75e32899..736b92588 100644 --- a/src/components/Accounts/ViewFeesFines/ViewFeesFines.js +++ b/src/components/Accounts/ViewFeesFines/ViewFeesFines.js @@ -249,7 +249,7 @@ class ViewFeesFines extends React.Component { 'callNumber': f => (f.callNumber ? f.callNumber : '-'), 'dueDate': f => (f.dueDate ? this.formatDateTime(f.dueDate) : '-'), 'returnedDate': f => (this.getLoan(f).returnDate ? this.formatDateTime(this.getLoan(f).returnDate) : '-'), - ' ': f => this.renderActions(f, this.getLoan(f)), + 'actions': f => this.renderActions(f, this.getLoan(f)), }; } @@ -478,6 +478,7 @@ class ViewFeesFines extends React.Component { 'callNumber': intl.formatMessage({ id: 'ui-users.accounts.history.columns.number' }), 'dueDate': intl.formatMessage({ id: 'ui-users.accounts.history.columns.due' }), 'returnedDate': intl.formatMessage({ id: 'ui-users.accounts.history.columns.returned' }), + 'actions': intl.formatMessage({ id: 'ui-users.accounts.history.columns.actions' }), }; return ( @@ -499,7 +500,7 @@ class ViewFeesFines extends React.Component { 'callNumber': 110, 'dueDate': 110, 'returnedDate': 110, - ' ': 50 + 'actions': 70 }} visibleColumns={this.props.visibleColumns} fullWidth diff --git a/src/components/Accounts/ViewFeesFines/ViewFeesFines.test.js b/src/components/Accounts/ViewFeesFines/ViewFeesFines.test.js index 414a446ff..81cebbf22 100644 --- a/src/components/Accounts/ViewFeesFines/ViewFeesFines.test.js +++ b/src/components/Accounts/ViewFeesFines/ViewFeesFines.test.js @@ -141,7 +141,7 @@ const defaultProps = { match: { params: { id: 1 } }, history, user: { id: '123' }, - visibleColumns: [' ', 'metadata.createdDate', 'metadata.updatedDate', 'feeFineType', 'amount', 'remaining', 'paymentStatus.name', 'feeFineOwner', 'title', 'barcode', 'callNumber', 'dueDate', 'returnedDate', ' '], + visibleColumns: [' ', 'metadata.createdDate', 'metadata.updatedDate', 'feeFineType', 'amount', 'remaining', 'paymentStatus.name', 'feeFineOwner', 'title', 'barcode', 'callNumber', 'dueDate', 'returnedDate', 'actions'], intl: { formatMessage: ({ id }) => id }, @@ -184,17 +184,7 @@ describe('ViewFeesFines', () => { const checkBox = screen.getAllByRole('checkbox', { name: '' }); userEvent.click(checkBox[1]); await userEvent.click(screen.queryByText(/ui-users.accounts.history.button.pay/i)); - expect(mockOnChangeActions).toHaveBeenCalledWith({ pay: true }, accountsData); - await userEvent.click(screen.queryByText(/ui-users.accounts.history.button.waive/i)); - expect(mockOnChangeActions).toHaveBeenCalledWith({ waiveModal: true }, accountsData); - await userEvent.click(screen.queryByText(/ui-users.accounts.history.button.refund/i)); - expect(mockOnChangeActions).toHaveBeenCalledWith({ refundModal: true }, accountsData); - await userEvent.click(screen.queryByText(/ui-users.accounts.history.button.transfer/i)); - expect(mockOnChangeActions).toHaveBeenCalledWith({ transferModal: true }, accountsData); - await userEvent.click(screen.queryByText(/ui-users.accounts.button.error/i)); - expect(mockOnChangeActions).toHaveBeenCalledWith({ cancellation: true }, accountsData); - await userEvent.click(screen.queryByText(/ui-users.accounts.history.button.loanDetails/i)); - expect(nav.onClickViewLoanActionsHistory).toBeCalled(); + expect(mockOnChangeActions).toHaveBeenCalledWith({ 'refund': true, 'regularpayment': false, 'transfer': false, 'waive': false }); }); it('onClickViewLoanActionsHistory to be called when loanDetails clicked from DropDownMenu', async () => { renderViewFeesFines(defaultProps); diff --git a/src/components/AffiliationsManager/AffiliationsManager.js b/src/components/AffiliationsManager/AffiliationsManager.js index 257609f4a..b0bb0368d 100644 --- a/src/components/AffiliationsManager/AffiliationsManager.js +++ b/src/components/AffiliationsManager/AffiliationsManager.js @@ -5,11 +5,11 @@ import { AffiliationsManagerModal } from './AffiliationsManagerModal'; import AffiliationsManagerTrigger from './AffiliationsManagerTrigger'; const AffiliationsManager = ({ - disabled, + disabled = false, onUpdateAffiliations, - renderTrigger, + renderTrigger = AffiliationsManagerTrigger, userId, - withTrigger, + withTrigger = true, }) => { const [isModalOpen, toggleModal] = useToggle(!withTrigger); @@ -36,10 +36,4 @@ AffiliationsManager.propTypes = { withTrigger: PropTypes.bool, }; -AffiliationsManager.defaultProps = { - disabled: false, - renderTrigger: AffiliationsManagerTrigger, - withTrigger: true, -}; - export default AffiliationsManager; diff --git a/src/components/AffiliationsSelect/AffiliationsSelect.js b/src/components/AffiliationsSelect/AffiliationsSelect.js index 18faab0b1..6dcde943f 100644 --- a/src/components/AffiliationsSelect/AffiliationsSelect.js +++ b/src/components/AffiliationsSelect/AffiliationsSelect.js @@ -13,7 +13,7 @@ import { Selection } from '@folio/stripes/components'; import { affiliationsShape } from '../../shapes'; const AffiliationsSelect = ({ - id, + id = 'user-assigned', affiliations, value, onChange, @@ -53,10 +53,6 @@ const AffiliationsSelect = ({ ); }; -AffiliationsSelect.defaultProps = { - id: 'user-assigned', -}; - AffiliationsSelect.propTypes = { affiliations: affiliationsShape, onChange: PropTypes.func.isRequired, diff --git a/src/components/AssignedUsers/AssignedUsersContainer.js b/src/components/AssignedUsers/AssignedUsersContainer.js index 996a33385..54da168b6 100644 --- a/src/components/AssignedUsers/AssignedUsersContainer.js +++ b/src/components/AssignedUsers/AssignedUsersContainer.js @@ -24,7 +24,12 @@ import AssignUsers from './AssignUsers'; import AssignedUsersList from './AssignedUsersList'; import { getUpdatedUsersList } from './utils'; -const AssignedUsersContainer = ({ permissionSetId, expanded, onToggle, tenantId }) => { +const AssignedUsersContainer = ({ + permissionSetId, + expanded = true, + onToggle, + tenantId +}) => { const callout = useCallout(); const intl = useIntl(); @@ -123,8 +128,4 @@ AssignedUsersContainer.propTypes = { tenantId: PropTypes.string, }; -AssignedUsersContainer.defaultProps = { - expanded: true, -}; - export default AssignedUsersContainer; diff --git a/src/components/AssignedUsers/AssignedUsersList.js b/src/components/AssignedUsers/AssignedUsersList.js index b4c7234a3..7e3b14d8f 100644 --- a/src/components/AssignedUsers/AssignedUsersList.js +++ b/src/components/AssignedUsers/AssignedUsersList.js @@ -12,7 +12,7 @@ import { VISIBLE_COLUMNS, } from './constants'; -const AssignedUsersList = ({ users, isFetching }) => ( +const AssignedUsersList = ({ users = [], isFetching = false }) => ( { const { failedRenewals, successRenewals, - height, + height = 300, errorMessages, requestCounts, loanPolicies, @@ -126,7 +122,6 @@ const BulkRenewedLoansList = (props) => { ); }; -BulkRenewedLoansList.defaultProps = defaultProps; BulkRenewedLoansList.propTypes = propTypes; export default BulkRenewedLoansList; diff --git a/src/components/EditSections/EditUserInfo/components/ChangeUserTypeModal/ChangeUserTypeModal.js b/src/components/EditSections/EditUserInfo/components/ChangeUserTypeModal/ChangeUserTypeModal.js index dece42bc5..863d4e517 100644 --- a/src/components/EditSections/EditUserInfo/components/ChangeUserTypeModal/ChangeUserTypeModal.js +++ b/src/components/EditSections/EditUserInfo/components/ChangeUserTypeModal/ChangeUserTypeModal.js @@ -9,7 +9,7 @@ import { import { USER_TYPES } from '../../../../../constants'; -const ChangeUserTypeModal = ({ onChange, initialUserType, open }) => { +const ChangeUserTypeModal = ({ onChange, initialUserType, open = false }) => { const userTypeModalFooter = ( ; + + + ; const items = {items} - ); } } diff --git a/src/index.js b/src/index.js index e7e9e0294..cb06529de 100644 --- a/src/index.js +++ b/src/index.js @@ -17,7 +17,6 @@ import * as Routes from './routes'; import pkg from '../package'; import commands from './commands'; -import commandsGeneral from './commandsGeneral'; import Settings from './settings'; import sections from './settings/sections'; import { @@ -241,7 +240,7 @@ class UsersRouting extends React.Component { { this.changeKeyboardShortcutsModal(false); }} - allCommands={commands.concat(commandsGeneral)} + allCommands={commands} /> )} diff --git a/src/views/AccountsListing/AccountsListing.js b/src/views/AccountsListing/AccountsListing.js index 9bc9f3649..20809ac6b 100644 --- a/src/views/AccountsListing/AccountsListing.js +++ b/src/views/AccountsListing/AccountsListing.js @@ -99,7 +99,7 @@ const possibleColumns = [ 'callNumber', 'dueDate', 'returnedDate', - ' ', + 'actions', ]; class AccountsHistory extends React.Component { diff --git a/src/views/LostItems/LostItemsListContainer/components/LostItemsList/components/InstanceDetails/components/ShowLongContentInPopover/ShowLongContentInPopover.js b/src/views/LostItems/LostItemsListContainer/components/LostItemsList/components/InstanceDetails/components/ShowLongContentInPopover/ShowLongContentInPopover.js index c04f3674d..6da93ff52 100644 --- a/src/views/LostItems/LostItemsListContainer/components/LostItemsList/components/InstanceDetails/components/ShowLongContentInPopover/ShowLongContentInPopover.js +++ b/src/views/LostItems/LostItemsListContainer/components/LostItemsList/components/InstanceDetails/components/ShowLongContentInPopover/ShowLongContentInPopover.js @@ -34,8 +34,8 @@ export const getComponentText = (text, additionalText = defaultAdditionalText, c const ShowLongContentInPopover = ({ text, - additionalText, - contentLength, + additionalText = defaultAdditionalText, + contentLength = defaultContentLength, }) => { const { contentText, @@ -61,9 +61,4 @@ ShowLongContentInPopover.propTypes = { contentLength: PropTypes.number, }; -ShowLongContentInPopover.defaultProps = { - additionalText: defaultAdditionalText, - contentLength: defaultContentLength, -}; - export default ShowLongContentInPopover; diff --git a/translations/ui-users/en.json b/translations/ui-users/en.json index 9e1f6dffb..12c6ac386 100644 --- a/translations/ui-users/en.json +++ b/translations/ui-users/en.json @@ -647,6 +647,7 @@ "accounts.history.columns.number": "Effective call number string", "accounts.history.columns.status": "Payment status", "accounts.history.columns.due": "Due date", + "accounts.history.columns.actions": "Actions", "accounts.history.columns.returned": "Returned date", "accounts.history.possibleColumns.columns.created": "Date Created", "accounts.history.button.select": "Select columns", @@ -1234,5 +1235,8 @@ "stagingRecords.message.noAccessToStagingRecordsPage": "User does not have permission to access \"Patron preregistration record results\" page", "stagingUser.createUser": "FOLIO user record {name} has been successfully created.", "keycloak.modal.confirmationHeading": "Keycloak user record", - "keycloak.modal.creation": "This operation will create new record in Keycloak for {user}" + "keycloak.modal.creation": "This operation will create new record in Keycloak for {user}", + + "title.patronBlock.create": "Users - Create a new patron block", + "title.patronBlock.edit": "Users - Edit a patron block" } diff --git a/translations/ui-users/pt_BR.json b/translations/ui-users/pt_BR.json index 90a870ac2..56bcb7c4f 100644 --- a/translations/ui-users/pt_BR.json +++ b/translations/ui-users/pt_BR.json @@ -1210,7 +1210,7 @@ "permission.fee-fine-actions.all": "Detalhes de taxas/multas: Pode criar, editar e remover ações de taxa/multa", "permission.loans-anonymize.execute": "Usuários: Anomnimizar empréstimos de usuário", "permission.loans-due-date.edit": "Usuários: Empréstimos de usuários - alterar a data de vencimento", - "permission.loans-claim-item-returned.execute": "Usuários: Reivindicação de empréstimos de usuários devolvida", + "permission.loans-claim-item-returned.execute": "Usuários: Reclamação de empréstimos de usuários devolvida", "permission.loans-declare-claimed-returned-item-as-missing.execute": "Usuários: Empréstimos de usuários - marcados como reivindicados, devolvidos como desaparecidos", "permission.loans-declare-item-lost.execute": "Usuários: declarar como perdido empréstimos de usuários", "permission.loans-renew-override.create": "Usuários: Renovação de empréstimos de usuários por meio de sobreposição", diff --git a/translations/ui-users/zh_TW.json b/translations/ui-users/zh_TW.json index f3f7b2df6..37bb64d52 100644 --- a/translations/ui-users/zh_TW.json +++ b/translations/ui-users/zh_TW.json @@ -1,6 +1,6 @@ { "data.contactTypes.email": "電子郵件", - "data.contactTypes.mail": "郵件(主要地址)", + "data.contactTypes.mail": "郵件地址 ( 主要 )", "data.contactTypes.textMessage": "文字訊息", "data.loanActionMap.checkedOut": "已借出", "data.loanActionMap.checkedIn": "已歸還", @@ -43,8 +43,8 @@ "permissions.addPermission": "新增權限", "permissions.availablePermissions": "可用權限", "permissions.userPermissions": "使用者權限", - "permissions.isProxyFor": "保證人({name} 可以代表保證人進行借閱)", - "permissions.isSponsorOf": "代理人(代理人可以代表 {name} 進行借用)", + "permissions.isProxyFor": "保證人 ( {name} 可以代表保證人進行借閱 )", + "permissions.isSponsorOf": "代理人 ( 代理人可以代表 {name} 進行借閱 )", "permissions.assignedPermissions": "已指派的權限", "permissions.untitledPermissionSet": "未命名的權限組合", "permissions.closePermissionSetDialog": "關閉權限組合對話框", @@ -251,7 +251,7 @@ "details.field.location": "館藏地", "details.field.duedate": "到期日", "details.field.returnedate": "已歸還日期", - "accounts.history.columns.title": "實例(資料類型)", + "accounts.history.columns.title": "實例 ( 資料類型 )", "accounts.history.columns.amount": "帳款", "accounts.history.columns.remaining": "剩餘金額", "accounts.history.columns.barcode": "條碼", @@ -303,7 +303,7 @@ "systemReturnDate": "系統歸還日期", "item.barcode": "條碼", "item.contributors": "貢獻者姓名", - "item.holdingsRecordId": "館藏記錄ID", + "item.holdingsRecordId": "館藏紀錄 ID", "item.instanceId": "實例ID", "item.status.name": "館藏狀態", "item.title": "館藏題名", @@ -351,12 +351,12 @@ "blocks.form.label.staff": "資訊僅限館員閱讀", "blocks.form.label.message": "給讀者的訊息", "blocks.form.label.date": "有效期限", - "blocks.form.label.block": "凍結操作 * (選擇所有適用選項)", + "blocks.form.label.block": "凍結操作 * ( 選擇所有適用選項 )", "blocks.form.label.borrowing": "外借中", "blocks.form.label.renewals": "續借", - "blocks.form.placeholder.desc": "輸入簡短描述(必填)", - "blocks.form.placeholder.information": "輸入附加資訊(選填)", - "blocks.form.placeholder.message": "輸入給讀者的訊息(選填)", + "blocks.form.placeholder.desc": "輸入簡短描述 ( 必填 )", + "blocks.form.placeholder.information": "輸入附加資訊 ( 選填 )", + "blocks.form.placeholder.message": "輸入給讀者的訊息 ( 選填 )", "blocks.form.validate.desc": "描述為必填", "blocks.form.validate.any": "選擇任一選項", "blocks.form.validate.date": "到期日為必填", @@ -408,7 +408,7 @@ "cddd.dateRequired": "日期 *", "cddd.timeRequired": "時間 *", "additionalInfo.label": "附加資訊", - "additionalInfo.placeholder": "輸入有關越權的更多訊息(必填)", + "additionalInfo.placeholder": "輸入有關越權的更多資訊 ( 必填 )", "button.override": "越權", "override.emptyNewDueDate": "選擇上方的到期日", "loans.feeFineDetails": "費用 / 罰款 詳細資料", @@ -428,7 +428,7 @@ "override.autoNewDueDate": "到期日將自動計算", "blocks.form.button.close": "關閉讀者凍結對話框", "blocks.layer.newBlockTitle": "新凍結", - "accounts.totalOpenAccounts": "(總計: {amount} )", + "accounts.totalOpenAccounts": "( 總計 : {amount} )", "accounts.status.outstanding": "未結", "feefines.defaultChargeNotice": "預設收費通知", "feefines.defaultActionNotice": "預設操作通知", @@ -463,7 +463,7 @@ "accounts.viewAllFeesFines": "檢視所有費用/罰款", "save": "儲存", "reports.overdue.item.contributors": "貢獻者", - "reports.overdue.label": "逾期借閱報告(CSV)", + "reports.overdue.label": "逾期借閱報告 ( CSV )", "accounts.transfer.error.amount": "轉帳金額必須大於零", "accounts.transfer.error.exceeds": "轉帳金額超過所選金額", "accounts.transfer.modalLabel": "轉移費用 / 罰款", @@ -480,7 +480,7 @@ "accounts.commentStaff": "給館員的附加資訊", "accounts.notifyPatron": "通知讀者", "accounts.infoPatron": "給讀者的附加資訊", - "accounts.optional": "可選擇", + "accounts.optional": "選填", "accounts.required": "必填", "accounts.summary": "{type} {count} {count, plural, one {費用/罰款} other {費用/罰款}}總金額為 {amount} ", "accounts.payment.modalLabel": "支付費用 / 罰款", @@ -547,13 +547,13 @@ "requests.selectDeliveryAddress": "選擇收件地址", "addAddressError": "請在“地址”部分增加至少一處地址", "requests.defaultPickupServicePoint": "預設取書服務據點", - "errors.currentUser.expired": "當前使用者記錄已過期", + "errors.currentUser.expired": "當前使用者紀錄已過期", "data.loanActionMap.declaredLost": "宣告遺失", "confirm": "確認", "loans.declareLost": "宣告遺失", "loans.declareLostDialogBody": " {title} ( {materialType} ) (條碼: {barcode} ) 將宣告為遺失 。 {countIndex, plural, =-1 {可能有對該館藏的開放預約。 } =0 {} one {此館藏有{openRequestValue} 。 } other {這個館藏有{openRequestValue} 。 }}", "loans.confirmLostState": "確認宣告遺失狀態", - "loans.declareLost.additionalInfoPlaceholder": "輸入有關遺失館藏的更多資訊(必填)", + "loans.declareLost.additionalInfoPlaceholder": "輸入有關遺失館藏的更多資訊 ( 必填 )", "userSearch": "使用者搜尋", "userSearchResults": "使用者查詢結果", "feefines.ownerLabel": "所有者", @@ -574,9 +574,9 @@ "item.volume": "卷", "loans.details.effectiveCallNumber": "有效的索書號字串", "settings.customFields": "自訂欄位", - "details.field.instance.type": "實例(資料類型)", - "accounts.history.columns.instance": "實例(資料類型)", - "feefines.errors.reservedName": "費用/罰款類型已作為自動費用/罰款存在", + "details.field.instance.type": "實例 ( 資料類型 )", + "accounts.history.columns.instance": "實例 ( 資料類型 )", + "feefines.errors.reservedName": "費用 / 罰款類型已做為自動費用 / 罰款存在", "accounts.payment.error.select": "費用/罰款所有者不存在付款方式", "accounts.waive.error.select": "未填寫免除理由", "accounts.transfer.error.select": "費用/罰款所有者不存在轉帳帳戶", @@ -595,10 +595,10 @@ "permission.loans.all": "使用者:使用者借閱檢視,更改到期日,續借", "permission.loans.view": "使用者:使用者借閱檢視", "permission.requests.all": "使用者:檢視預約", - "permission.settings.customfields.all": "設定(使用者):可建立、編輯、檢視和刪除自訂欄位", - "permission.settings.customfields.edit": "設定(使用者):可新增、編輯、檢視自訂欄位", - "permission.settings.customfields.view": "設定(使用者):可檢視自訂欄位", - "permission.settings.feefine": "設定(使用者):可新增、編輯和移除費用/罰款設定", + "permission.settings.customfields.all": "設定 ( 使用者 ) : 可建立、編輯、檢視和刪除自訂欄位", + "permission.settings.customfields.edit": "設定 ( 使用者 ) : 可新增、編輯、檢視自訂欄位", + "permission.settings.customfields.view": "設定 ( 使用者 ) : 可檢視自訂欄位", + "permission.settings.feefine": "設定 ( 使用者 ) : 可新增、編輯和移除費用 / 罰款設定", "permission.view": "使用者:可以檢視使用者設定文件", "loans.history": "借閱歷史", "accounts.loading": "帳戶載入中", @@ -611,8 +611,8 @@ "loans.confirmAsMissing": "確認館藏遺失", "data.loanActionMap.closedLoan": "已關閉借閱", "loans.numClaimedReturnedLoans": "( {count, number} {count, plural, one {聲稱歸還} other {聲稱歸還}} )", - "data.loanActionMap.checkedInReturnedByPatron": "已歸還(由讀者歸還)", - "data.loanActionMap.checkedInFoundByLibrary": "已歸還(由圖書館尋獲)", + "data.loanActionMap.checkedInReturnedByPatron": "已歸還 ( 由讀者歸還 )", + "data.loanActionMap.checkedInFoundByLibrary": "已歸還 ( 由圖書館尋獲 )", "bulkClaimReturned.item.title": "題名", "bulkClaimReturned.preConfirm": "確認宣稱已還", "bulkClaimReturned.postConfirm": "宣稱已歸還確認", @@ -622,9 +622,9 @@ "bulkClaimReturned.status.notOk": "館藏無法申請歸還:館藏已宣稱歸還", "bulkClaimReturned.items.ok": "{numItems}館藏成功宣稱歸還。", "bulkClaimReturned.items.notOk": "{numItems}館藏宣稱已歸還。", - "bulkClaimReturned.moreInfoPlaceholder": "輸入有關賠償的更多資訊(必填)", + "bulkClaimReturned.moreInfoPlaceholder": "輸入有關賠償的更多資訊 ( 必填 )", "loans.resolveClaim": "解決聲稱", - "blocks.columns.automated.type": "自動(無法編輯)", + "blocks.columns.automated.type": "自動 ( 無法編輯 )", "permission.reset.password": "使用者:建立/重設密碼", "errors.proxies.duplicateUserMessage": "已輸入重複的代理人。", "errors.sponsors.duplicateUserMessage": "已輸入重複的保證人。", @@ -650,12 +650,12 @@ "extended.department.add": "新增系所", "extended.department.default": "選擇系所", "item.copyNumber": "複本號", - "permission.settings.departments.view": "設定(使用者):檢視系所", - "permission.settings.departments.edit": "設定(使用者):編輯系所", - "permission.settings.departments.create": "設定(使用者):建立系所", - "permission.settings.departments.delete": "設定(使用者):刪除系所", - "permission.settings.departments.create.edit.view": "設定(使用者):建立、編輯、檢視系所", - "permission.settings.departments.all": "設定(使用者):建立、編輯、檢視和刪除系所", + "permission.settings.departments.view": "設定 ( 使用者 ) : 檢視系所", + "permission.settings.departments.edit": "設定 ( 使用者 ) : 編輯系所", + "permission.settings.departments.create": "設定 ( 使用者 ) : 建立系所", + "permission.settings.departments.delete": "設定 ( 使用者 ) : 刪除系所", + "permission.settings.departments.create.edit.view": "設定( 使用者 ) : 建立、編輯、檢視系所", + "permission.settings.departments.all": "設定 ( 使用者 ) : 建立、編輯、檢視和刪除系所", "loans.action.source.system": "系统", "accounts.otherOwed": "所欠的其他費用/罰款", "accounts.totalPaid": "總支付金額", @@ -671,7 +671,7 @@ "accounts.actions.warning.refundAction": "已退款", "accounts.actions.refund": "退款", "reports.noItemsFound": "沒有找到館藏", - "reports.claimReturned.label": "宣稱已歸還報表(CSV)", + "reports.claimReturned.label": "宣稱已歸還報表 ( CSV )", "reports.borrower.name": "借閱者姓名", "reports.borrower.barcode": "借閱者條碼", "reports.borrowerId": "借閱者編號", @@ -705,7 +705,7 @@ "loans.confirmDeclaredLost": "確認館藏狀態:申報遺失", "loans.confirmClaimedReturned": "確認館藏狀態: 宣稱歸還", "loans.confirmMissing": "確認館藏狀態: 遺失", - "information.patronGroup.expirationOffset": "到期日期偏移設定(天)", + "information.patronGroup.expirationOffset": "到期日偏移設定 ( 天 )", "reports.item.contributors": "貢獻者", "information.patronGroup.expirationOffset.error": "必須為空白或整數> 0", "settings.manualBlockTemplates": "範本", @@ -724,7 +724,7 @@ "loan404": "無法檢索到預約借閱", "actions": "操作", "showColumns": "顯示欄位", - "reports.refunds.label": "手動退款報告(CSV)", + "reports.refunds.label": "人工退款報告 ( CSV )", "reports.refunds.modal.label": "人工處理退款", "reports.refunds.modal.message": "指定日期退款輸入範圍", "reports.refunds.modal.startDate": "起始日期", @@ -818,7 +818,7 @@ "loans.columns.feefineIncurred": "產生的費用 / 罰款", "loans.details.fineIncurred": "產生的費用 / 罰款", "errors.userNotFound": "未找到使用者", - "reports.cashDrawer.label": "現金對帳報告(CSV, PDF)", + "reports.cashDrawer.label": "現金對帳報告 ( CSV, PDF )", "reports.financialTransaction.label": "財務交易明細報告 (CSV)", "shortcut.openShortcutModal": "開啟鍵盤快捷鍵模組", "accounts.outstanding.total": "未結餘額總額: {amount}", @@ -833,7 +833,7 @@ "reports.cash.drawer.sources.placeholder": "選擇資源", "reports.cash.drawer.report.format": "報表格式", "reports.cash.drawer.report.format.csv": "CSV", - "reports.cash.drawer.report.format.pdf": "PDF(唯讀)", + "reports.cash.drawer.report.format.pdf": "PDF ( 唯讀 )", "reports.cash.drawer.report.format.both": "兩個都", "reports.cash.drawer.report.startDate.error": "“開始日期”為必填項", "reports.cash.drawer.report.endDateWithoutStart.error": "如果輸入“結束日期”,也需要輸入“開始日期”", @@ -865,7 +865,7 @@ "settings.transferCriteria": "匯款條件", "settings.transferCriteria.notAvailable": "沒有可使用的外掛程式!", "details.label.loanAnonymized": "匿名", - "accounts.history.button.loanAnonymized": "借閱詳細資訊(匿名)", + "accounts.history.button.loanAnonymized": "借閱詳細資訊 ( 匿名 )", "details.checkDelete": "檢查未結交易/刪除 使用者", "details.checkDelete.confirmation": "使用者 {name} 沒有未結交易。

您確定要刪除該使用者嗎?

", "details.openTransactions": "未结交易", @@ -996,7 +996,7 @@ "lostItems.modal.button.keepEditing": "繼續編輯", "lostItems.modal.button.confirm": "確認", "errorModal.currentUserServicePointAbsentee.label": "存取被拒絕", - "errorModal.currentUserServicePointAbsentee.message": "您必須選擇一個服務據點才能建立和檢視讀者費用/罰款 。請在使用者應用程式中將一個或多個服務地點新增至您的使用者記錄。如果您無法將服務據點新增至您的記錄中,請聯絡系統管理員。", + "errorModal.currentUserServicePointAbsentee.message": "您必須選擇一個服務據點才能建立和檢視 讀者費用 / 罰款 。請在 使用者 紀錄應用程式中將一個或多個服務地點新增至您的使用者紀錄。如果您無法將服務據點新增至您的紀錄中,請聯絡系統管理員。", "errorModal.currentUserServicePointAbsentee.confirmButtonText": "返回", "lostItems.feeFineAmount.error": "向讀者開立帳單的實際費用必須大於 0.00 且小於 9999.99", "lostItems.notification.serverError": "系統發生錯誤 - 請稍後重試或聯絡您的 FOLIO 支援人員", @@ -1028,7 +1028,7 @@ "affiliations.manager.modal.aria.assignAll": "分配所有隸屬關係", "affiliations.manager.modal.aria.search": "搜尋隸屬關係", "affiliations.manager.modal.totalSelected": "已選擇總數: {count}", - "affiliations.manager.modal.warning.unassigned": "取消指派隸屬關係將刪除與此使用者記錄的該隸屬關係關聯的所有權限。", + "affiliations.manager.modal.warning.unassigned": "取消指派隸屬關係將刪除與此使用者紀錄的該隸屬關係關聯的所有權限。", "affiliations.manager.result.title": "隸屬關係", "affiliations.manager.result.subTitle": "{amount, plural, one {# affiliation found} other {# affiliations found}}", "affiliations.section.action.edit": "分配 / 取消分配", @@ -1049,45 +1049,45 @@ "data.loanActionMap.staffInfo.superseded": "館員資訊 ( 已取代 )", "loans.newPatronInfo": "新讀者資訊", "loans.newStaffInfo": "新館員資訊", - "loans.patronInfoDialogBody": "為 {title} ( {materialType} ) 新增新讀者資訊(條碼: {barcode} )。這將取代之前新增的任何讀者資訊。", - "loans.staffInfoDialogBody": "為 {title} ( {materialType} ) 新增新的員工資訊(條碼: {barcode} )。", + "loans.patronInfoDialogBody": "為 {title} ( {materialType} ) 新增新讀者資訊 ( 條碼 : {barcode} )。這將取代之前新增的任何讀者資訊。", + "loans.staffInfoDialogBody": "為 {title} ( {materialType} ) 新增新的員工資訊 ( 條碼 : {barcode} )。", "loans.addInfo.patron": "新增新讀者訊息", "loans.addInfo.staff": "新增新職員資訊", "errors.affiliationsLoadFailed": " {tenantId} 租用戶中使用者 {user} 的隸屬關係載入失敗。", "errors.permissionsLoadFailed": " {tenantId} 租用戶中的使用者 {user} 權限載入失敗。", "affiliations.select.label": "隸屬關係", - "permission.settings.view": "設定(使用者):檢視所有設定", - "permission.settings.addresstypes.view": "設定(使用者):可以檢視地址類型", - "permission.settings.addresstypes.all": "設定(使用者):可以建立、編輯和移除地址類型", - "permission.settings.comments.view": "設定(使用者):如果需要評論可以檢視", - "permission.settings.comments.all": "設定(使用者):如果需要評論可以編輯", - "permission.settings.conditions.view": "設定(使用者):可以檢視讀者區塊條件", - "permission.settings.conditions.edit": "設定(使用者):可以檢視和編輯讀者限制條件", - "permission.settings.limits.view": "設定(使用者):可以檢視讀者區塊限制", - "permission.settings.limits.all": "設定(使用者):可以建立、編輯和移除讀者限制", - "permission.settings.manual-charges.view": "設定(使用者):可以檢視人工收費", - "permission.settings.manual-charges.all": "設定(使用者):可以建立、編輯和移除手動費用", - "permission.settings.owners.view": "設定(使用者):可以檢視所有者", - "permission.settings.owners.all": "設定(使用者):可以建立、編輯和移除所有者", - "permission.settings.patron-block-templates.view": "設定(使用者):可以檢視讀者區塊模板", - "permission.settings.patron-block-templates.all": "設定(使用者):可以建立、編輯和移除讀者區塊模板", - "permission.settings.payments.view": "設定(使用者):可以檢視付款方式", - "permission.settings.payments.all": "設定(使用者):可以建立、編輯和移除付款方式", - "permission.settings.permsets.view": "設定(使用者):可以檢視權限集", - "permission.settings.permsets.all": "設定(使用者):可以建立、編輯和移除權限集", - "permission.settings.refunds.view": "設定(使用者):可以檢視退款原因", - "permission.settings.refunds.all": "設定(使用者):可以建立、編輯和移除退款原因", - "permission.settings.transfers.view": "設定(使用者):可以檢視轉帳帳戶 ", - "permission.settings.transfers.all": "設定(使用者):可建立、編輯和移除轉帳帳戶 ", - "permission.settings.transfertypes.view": "設定(使用者):可以檢視轉帳條件", - "permission.settings.transfertypes.all": "設定(使用者):可建立、編輯和移除轉帳標準", - "permission.settings.usergroups.view": "設定(使用者):可以檢視讀者群組", - "permission.settings.usergroups.all": "設定(使用者):可建立、編輯和移除讀者群組", - "permission.settings.waives.view": "設定(使用者):可以檢視免除原因", - "permission.settings.waives.all": "設定(使用者):可以建立、編輯和移除免除原因", - "permission.settings.general.view": "設定(使用者):可以檢視常規條目", - "permission.settings.patron-blocks.view": "設定(使用者):可以檢視所有讀者區塊條目", - "permission.settings.feefines.view": "設定(使用者):可以檢視與費用相關的條目", + "permission.settings.view": "設定 ( 使用者 ) : 檢視所有設定", + "permission.settings.addresstypes.view": "設定 ( 使用者 ) : 可以檢視地址類型", + "permission.settings.addresstypes.all": "設定 ( 使用者 ) : 可以建立、編輯和移除地址類型", + "permission.settings.comments.view": "設定 ( 使用者 ) : 如果需要評論可以檢視", + "permission.settings.comments.all": "設定 ( 使用者 ) : 如果需要評論可以編輯", + "permission.settings.conditions.view": "設定 ( 使用者 ) : 可以檢視讀者區塊條件", + "permission.settings.conditions.edit": "設定 ( 使用者 ) : 可以檢視和編輯讀者限制條件", + "permission.settings.limits.view": "設定 ( 使用者 ) : 可以檢視讀者區塊限制", + "permission.settings.limits.all": "設定 ( 使用者 ) : 可以建立、編輯和移除讀者凍結限制", + "permission.settings.manual-charges.view": "設定 ( 使用者 ) : 可以檢視人工收費", + "permission.settings.manual-charges.all": "設定 ( 使用者 ) : 可以建立、編輯和移除人工收費", + "permission.settings.owners.view": "設定 ( 使用者 ) : 可以檢視所有者", + "permission.settings.owners.all": "設定 ( 使用者 ) : 可以建立、編輯和移除所有者", + "permission.settings.patron-block-templates.view": "設定 ( 使用者 ) : 可以檢視讀者區塊模板", + "permission.settings.patron-block-templates.all": "設定 ( 使用者 ) : 可以建立、編輯和移除讀者區塊模板", + "permission.settings.payments.view": "設定 ( 使用者 ) : 可以檢視付款方式", + "permission.settings.payments.all": "設定 ( 使用者 ) : 可以建立、編輯和移除付款方式", + "permission.settings.permsets.view": "設定 ( 使用者 ) : 可以檢視權限集", + "permission.settings.permsets.all": "設定 ( 使用者 ) : 可以建立、編輯和移除權限集", + "permission.settings.refunds.view": "設定 ( 使用者 ) : 可以檢視退款原因", + "permission.settings.refunds.all": "設定 ( 使用者 ) : 可以建立、編輯和移除退款原因", + "permission.settings.transfers.view": "設定 ( 使用者 ) : 可以檢視轉帳帳戶", + "permission.settings.transfers.all": "設定 ( 使用者 ) : 可建立、編輯和移除轉帳帳戶", + "permission.settings.transfertypes.view": "設定 ( 使用者 ) : 可以檢視轉帳條件", + "permission.settings.transfertypes.all": "設定 ( 使用者 ) : 可建立、編輯和移除轉帳標準", + "permission.settings.usergroups.view": "設定 ( 使用者 ) : 可以檢視讀者群組", + "permission.settings.usergroups.all": "設定 ( 使用者 ) : 可建立、編輯和移除讀者群組", + "permission.settings.waives.view": "設定 ( 使用者 ) : 可以檢視免除罰款的理由", + "permission.settings.waives.all": "設定 ( 使用者 ) : 可以建立、編輯和移除免除罰款的理由", + "permission.settings.general.view": "設定 ( 使用者 ) : 可以檢視常規條目", + "permission.settings.patron-blocks.view": "設定 ( 使用者 ) : 可以檢視所有讀者區塊條目", + "permission.settings.feefines.view": "設定 ( 使用者 ) : 可以檢視與費用相關的條目", "loans.lastReminderNumber": "{count, number} {count, plural, one {提醒費用} other {提醒費用}}已計費", "reports.feeFineExplanation": "費用/罰款 說明", "reports.includesReminderFees": "包含提醒費",