IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved
Replaced by an explicit list of forms only (ten exported names, runtime env names, project file names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are not touched. package.json keeps the five old bin names beside the five new ones. The old names stop working in this commit and come back as aliases in the next; docs follow. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
414a4702df
commit
0a4f001797
@@ -3,7 +3,7 @@
|
||||
import { toast, useConfig, useTranslation } from '@payloadcms/ui'
|
||||
import { useState } from 'react'
|
||||
|
||||
import { ipalT } from '../../admin-i18n/t.js'
|
||||
import { iaplT } from '../../admin-i18n/t.js'
|
||||
|
||||
type Props = {
|
||||
/** `reopen`: the account has no TOTP (window passed or still open). `reset`: it has one (lost phone). */
|
||||
@@ -14,7 +14,7 @@ type Props = {
|
||||
/** The admin's button on an account: clears its TOTP so it can (or must) set it up again. */
|
||||
export function TwoFactorResetButton({ kind, userId }: Props) {
|
||||
const { t } = useTranslation()
|
||||
const text = (key: Parameters<typeof ipalT>[1]) => ipalT(t as never, key)
|
||||
const text = (key: Parameters<typeof iaplT>[1]) => iaplT(t as never, key)
|
||||
const { config } = useConfig()
|
||||
const [busy, setBusy] = useState(false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user