Skip to content

Commit fe0959f

Browse files
committed
minimal docs adjustments
1 parent f27ab73 commit fe0959f

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

adminforth/documentation/docs/tutorial/001-gettingStarted.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ export default {
393393
name: 'email',
394394
required: true,
395395
isUnique: true,
396+
type: AdminForthDataTypes.STRING,
396397
validation: [
397398
// you can also use AdminForth.Utils.EMAIL_VALIDATOR which is alias to this object
398399
{

adminforth/documentation/docs/tutorial/05-Plugins/10-i18n.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ If you don't use params, you can use `tr` without third param:
387387
388388
## Translating messages within bulk action
389389
390-
Label adn confirm strings of bulk actions are already translated by AdminForth, but
390+
Label and confirm strings of bulk actions are already translated by AdminForth, but
391391
`succesMessage` returned by action function should be translated manually because of the dynamic nature of the message.
392392
393-
Let's rework the bulk action from [bulkActions](/docs/tutorial/Customization/bulkActions/) to use translations:
393+
Let's rework the bulk action from [bulkActions example](/docs/tutorial/Customization/bulkActions/) to use translations:
394394
395395
```ts title="./resources/apartments.ts"
396396
import { AdminUser } from 'adminforth';

adminforth/plugins/i18n/Changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.0.22] - next
8+
## [1.0.22]
99

1010
### Fixed
1111

1212
- More predictable class name
13+
- When loading unique translations from category, they were not registered if existing in other category
14+
1315

1416
## [1.0.21] - 2024-12-30
1517

adminforth/plugins/i18n/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

adminforth/plugins/i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@adminforth/i18n",
3-
"version": "1.0.22-next.0",
3+
"version": "1.0.23-next.0",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"type": "module",
77
"scripts": {
88
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/",
9-
"rollout": "npm run build && npm version patch && npm publish --access public",
9+
"rollout": "npm run build && npm version patch && npm publish --access public && npm run rollout-next",
1010
"rollout-next": "npm run build && npm version prerelease --preid=next && npm publish --tag next",
1111
"prepare": "npm link adminforth"
1212
},

0 commit comments

Comments
 (0)