Improve localization (#5008)
* Update QrCode.tsx * Update generate-starterpack.ts
This commit is contained in:
parent
05b73d4d1e
commit
2ef2ae1c6c
2 changed files with 19 additions and 16 deletions
|
@ -65,7 +65,6 @@ export function useGenerateStarterPackMutation({
|
|||
}) {
|
||||
const {_} = useLingui()
|
||||
const agent = useAgent()
|
||||
const starterPackString = _(msg`Starter Pack`)
|
||||
|
||||
return useMutation<{uri: string; cid: string}, Error, void>({
|
||||
mutationFn: async () => {
|
||||
|
@ -106,7 +105,7 @@ export function useGenerateStarterPackMutation({
|
|||
25,
|
||||
true,
|
||||
)
|
||||
const starterPackName = `${displayName}'s ${starterPackString}`
|
||||
const starterPackName = _(msg`${displayName}'s Starter Pack`)
|
||||
|
||||
const list = await createStarterPackList({
|
||||
name: starterPackName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue