Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): added missing props translations #3367

Merged
merged 50 commits into from
May 26, 2023
Merged
Changes from 15 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2344a4f
Add description for sizesConfig and fontSizesConfig.
xiongmao86 Apr 21, 2023
742610d
Add groupBy prop description.
xiongmao86 Apr 21, 2023
42b49d1
Add grow description.
xiongmao86 Apr 21, 2023
55575a9
Add text-by description.
xiongmao86 Apr 21, 2023
617a0d6
Add description for track-by at button toggle
xiongmao86 Apr 22, 2023
584a598
Add description of value-by for button toggle.
xiongmao86 Apr 22, 2023
0ae25c9
Add description for aria-labels in carousel
xiongmao86 Apr 22, 2023
faed716
Add description for contain prop
xiongmao86 Apr 27, 2023
09cd562
Add more dependance for some proxy props
xiongmao86 Apr 27, 2023
6246572
Add description for lazy of carousel
xiongmao86 Apr 27, 2023
baba30a
Add max-width descriptions
xiongmao86 Apr 27, 2023
0cb3ca1
Add placeholder-src description
xiongmao86 Apr 27, 2023
2b9c5e7
Add referrerpolicy description
xiongmao86 Apr 27, 2023
fdcfe40
Add descriptions and finish carousel
xiongmao86 Apr 27, 2023
2ea5240
Add aria-close-label for Chip.
xiongmao86 Apr 28, 2023
a89eb0e
Hide contain prop description
xiongmao86 Apr 28, 2023
5bdb5fb
Finish aria-labels in DataTable
xiongmao86 Apr 28, 2023
39a0c45
Add missing descriptions for VaModal
xiongmao86 Apr 28, 2023
18c4afd
Finish VaCheckbox
xiongmao86 Apr 28, 2023
c730fc4
Finish ColorInput
xiongmao86 Apr 28, 2023
00c4e32
Finish Counter
xiongmao86 Apr 28, 2023
3b3b4ca
Add description for some of the aria-labels for DateInput
xiongmao86 Apr 29, 2023
f633a46
Add some description for DateInput
xiongmao86 May 1, 2023
fe3465b
Finish DateInput
xiongmao86 May 4, 2023
e42a208
finish DatePicker
xiongmao86 May 5, 2023
01ff426
Postpone `file`, finish other props of FileUpload.
xiongmao86 May 11, 2023
08c3531
Progress to Radio
xiongmao86 May 11, 2023
e71244c
Finish props in Rating
xiongmao86 May 11, 2023
bea963e
Finish VaSelect
xiongmao86 May 15, 2023
7e8c820
Finish VaSlider
xiongmao86 May 16, 2023
27d8473
Finish VaSwitch
xiongmao86 May 16, 2023
5250634
Finish VaTimePicker
xiongmao86 May 16, 2023
afbb1a8
Finish VaSkeleton
xiongmao86 May 17, 2023
82bda1d
finish VaSplit
xiongmao86 May 17, 2023
887bc9c
Finish VaBreadcrumbs
xiongmao86 May 17, 2023
658f4c7
FInish VaPagination
xiongmao86 May 17, 2023
1a10c61
Fix trailing comma
xiongmao86 May 17, 2023
936d683
Finish VaSidebar and VaSidebarItem
xiongmao86 May 18, 2023
914ab62
Finish VaStepper
xiongmao86 May 18, 2023
735c3cc
Finish VaTabs
xiongmao86 May 18, 2023
0d5cfc4
Finish VaDropdown
xiongmao86 May 18, 2023
b4f15b5
Finish VaValue
xiongmao86 May 18, 2023
ea79d1a
Finish VaBacktop
xiongmao86 May 18, 2023
9dbc204
Finish VaColorPalette
xiongmao86 May 18, 2023
ec90161
Finish VaModal
xiongmao86 May 18, 2023
b3f62cf
Finish VaToast
xiongmao86 May 18, 2023
305d1fc
Make sure all missing props is filled
xiongmao86 May 18, 2023
5492836
Merge branch 'develop' into pr/xiongmao86/3367-1
m0ksem May 25, 2023
010101e
Merge branch 'develop' into pr/xiongmao86/3367-1
m0ksem May 25, 2023
85b7e92
chore(docs): typo fix in translations
m0ksem May 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 32 additions & 6 deletions packages/docs/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
"name": "Applies `name` to internal input component. Useful for native forms.",
"tag": "Replaces html tag. This is useful for semantics and also to allow for valid markup in some cases (`ul > li` and `tr > td` etc.).",
"size": "Specify size for component. `\"small\"`, `\"medium\"`, `\"large\"` sizes are available. If you want more control, you can provide number (will be used as `px`) or string value (`rem` and `px` sizes are supported).",
"sizesConfig": "Provide a set of sizes as a global component specific setting.",
"fontSizesConfig": "Provide a set of sizes for fonts as a global component specific setting.",
"disabled": "Applies `disabled` style and removes all user interaction effects.",
"readonly": "Doesn't look disabled, but acts like one. Mostly useful for wrapper components.",
"success": "Show component in success state.",
Expand Down Expand Up @@ -217,7 +219,9 @@
"fallbackIcon": "Shows an icon if image failed to load or src doesn't specified.",
"fallbackRender": "Allows to use render function to render custom contents if image failed to load or src doesn't specified",
"delay": "Sets throttling delay (ms) for the components any data change (useful for huge data).",
"ratio": "Aspect ratio of the component's wrapper."
"ratio": "Aspect ratio of the component's wrapper.",
"groupBy": "When `options` prop is an object, this key will be used to group up options. Can be string (path to the key) or function of type: `(option) => option.group`",
"grow": "Take all container width"
}
},
"VaBadge": {
Expand Down Expand Up @@ -445,7 +449,6 @@
"left": "Align all items to the left",
"right": "Align all items to the right",
"center": "Align all items to the center",
"grow": "Take all container width",
"hideSlider": "Remove slider which underlines selected item",
"vertical": "Align all items vertically",
"prevIcon": "Icon to be used for scrolling backward in pagination",
Expand Down Expand Up @@ -587,7 +590,9 @@
"title": "Proxies the `title` attribute to the image [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#the_title_attribute)[[target=_blank]].",
"lazy": "Enables lazy load for the image.",
"draggable": "Proxies the `draggable` attribute to the image [MDN](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable)[[target=_blank]].",
"placeholderSrc": "`src` value for the placeholder image (can be replaced with `placeholder` slot)."
"placeholderSrc": "`src` value for the placeholder image (can be replaced with `placeholder` slot).",
"contain": "The image is scaled to maintain its aspect ratio while fitting within the element's content box.",
"maxWidth": "Maximal image's width"
},
"events": {
"loaded": "Emitted when image loading is finished.",
Expand Down Expand Up @@ -764,6 +769,7 @@
"VaChip": {
"props": {
"closeable": "Provides the ability to close the tag",
"ariaCloseLabel": "The aria-label of close button",
"outline": "Applies outline styling",
"flat": "Applies flat styling",
"icon": "The icon to be displayed inside a tag",
Expand Down Expand Up @@ -889,7 +895,6 @@
"valueBy": "When `options` prop is an object, this key will be used as `modelValue`. Can be string (path to the key) or function of type: `(option) => option.value`",
"trackBy": "When `options` prop is an object, this key will be used to track selected `options`. Can be string (path to the key) or function of type: `(option) => option.track`",
"textBy": "When `options` prop is an object, this key will be used as displayed text. Can be string (path to the key) or function of type: `(option) => option.text`",
"groupBy": "When `options` prop is an object, this key will be used to group up options. Can be string (path to the key) or function of type: `(option) => option.group`",
"placeholder": "Sets the placeholder text to input",
"placement": "Sets option list placement. [More about placements](/ui-elements/dropdown#placement-and-offset)",
"tagMax": "Sets maximum tag count after whom selection will be cropped",
Expand Down Expand Up @@ -1222,7 +1227,10 @@
"value": "Current toggle state",
"size": "Specify size for component. \"small\", \"medium\", \"large\" sizes are available",
"toggleColor": "Color of the toggle button",
"activeButtonTextColor": "The color of the button text with the selected value"
"activeButtonTextColor": "The color of the button text with the selected value",
"textBy": "When `options` prop is an object, this key will be used as displayed text. Can be string (path to the key) or function of type: `(option) => option.text`",
"trackBy": "When `options` prop is an object, this key will be used to track selected `options`. Can be string (path to the key) or function of type: `(option) => option.track`",
"valueBy": "When `options` prop is an object, this key will be used as `modelValue`. Can be string (path to the key) or function of type: `(option) => option.value`"
},
"events": {
"input": "Emits when toggling to the different button"
Expand Down Expand Up @@ -1420,7 +1428,25 @@
"fadeKeyframe": "Custom keyframe name for fade animation",
"swipable": "Enables swiping behavior.",
"swipeDirection": "Allowed directions for swiping: `all, horizontal, vertical, left, right, up, down`.",
"swipeDistance": "Distance in `px` considered sufficient for the swipe event."
"swipeDistance": "Distance in `px` considered sufficient for the swipe event.",
"ariaLabel": "The aria-label of carousel.",
"ariaGoToSlideLabel": "The aria-label of go to slide button.",
"ariaNextLabel": "The aria-label of next button.",
"ariaPreviousLabel": "The aria-label of previous button.",
"ariaSlideOfLabel": "The aria-label of the slide.",
"contain": "The image is scaled to maintain its aspect ratio while fitting within the carousel's content box.",
"crossorigin":"Proxies the `crossorigin` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#attr-crossorigin)[[target=_blank]].",
"decoding": "Proxies the `decoding` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#attr-decoding)[[target=_blank]].",
"draggable": "Proxies the `draggable` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable)[[target=_blank]].",
"fetchpriority": "Proxies the `fetchpriority` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#attr-fetchpriority)[[target=_blank]].",
"fit": "Proxies the `object-fit` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/CSS/object-fit)[[target=_blank]].",
"lazy": "Enables lazy load for the image of the component.",
"maxWidth": "Maximal the width of the image of the component",
"placeholderSrc": "`src` value for the placeholder image of the component.",
"referrerpolicy": "Proxies the `referrerpolicy` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#attr-referrerpolicy)[[target=_blank]].",
"sizes": "Proxies the `sizes` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#using_the_srcset_and_sizes_attributes)[[target=_blank]].",
"srcset": "Proxies the `srcset` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#using_the_srcset_and_sizes_attributes)[[target=_blank]].",
"title": "Proxies the `title` attribute to the image of the component [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/img#the_title_attribute)[[target=_blank]]."
},
"events": {},
"methods": {},
Expand Down