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

[l10n] Improve Turkish (tr-TR) locale on the data grid and pickers #6542

Merged
merged 7 commits into from Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
712 changes: 712 additions & 0 deletions docs/translations/api-docs/data-grid/data-grid-premium-tr.json

Large diffs are not rendered by default.

702 changes: 702 additions & 0 deletions docs/translations/api-docs/data-grid/data-grid-pro-tr.json

Large diffs are not rendered by default.

670 changes: 670 additions & 0 deletions docs/translations/api-docs/data-grid/data-grid-tr.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/translations/api-docs/data-grid/grid-filter-form-tr.json
@@ -0,0 +1,24 @@
{
"componentDescription": "",
"propDescriptions": {
"applyFilterChanges": "Callback called when the operator, column field or value is changed.<br><br><strong>Signature:</strong><br><code>function(item: GridFilterItem) =&gt; void</code><br><em>item:</em> The updated <a href=\"/x/api/data-grid/grid-filter-item/\">GridFilterItem</a>.",
"applyMultiFilterOperatorChanges": "Callback called when the logic operator is changed.<br><br><strong>Signature:</strong><br><code>function(operator: GridLinkOperator) =&gt; void</code><br><em>operator:</em> The new logic operator.",
"columnInputProps": "Props passed to the column input component.",
"columnsSort": "Changes how the options in the columns selector should be ordered. If not specified, the order is derived from the <code>columns</code> prop.",
"deleteFilter": "Callback called when the delete button is clicked.<br><br><strong>Signature:</strong><br><code>function(item: GridFilterItem) =&gt; void</code><br><em>item:</em> The deleted <a href=\"/x/api/data-grid/grid-filter-item/\">GridFilterItem</a>.",
"deleteIconProps": "Props passed to the delete icon.",
"disableMultiFilterOperator": "If <code>true</code>, disables the logic operator field but still renders it.",
"filterColumns": "Allows to filter the columns displayed in the filter form.<br><br><strong>Signature:</strong><br><code>function(args: FilterColumnsArgs) =&gt; void</code><br><em>args:</em> The columns of the grid and name of field.",
"focusElementRef": "A ref allowing to set imperative focus. It can be passed to the el",
"hasMultipleFilters": "If <code>true</code>, the logic operator field is rendered. The field will be invisible if <code>showMultiFilterOperators</code> is also <code>true</code>.",
"item": "The <a href=\"/x/api/data-grid/grid-filter-item/\">GridFilterItem</a> representing this form.",
"linkOperatorInputProps": "Props passed to the logic operator input component.",
"linkOperators": "Sets the available logic operators.",
"multiFilterOperator": "The current logic operator applied.",
"operatorInputProps": "Props passed to the operator input component.",
"showMultiFilterOperators": "If <code>true</code>, the logic operator field is visible.",
"valueInputProps": "Props passed to the value input component."
},
"classDescriptions": {},
"slotDescriptions": {}
}
12 changes: 12 additions & 0 deletions docs/translations/api-docs/data-grid/grid-filter-panel-tr.json
@@ -0,0 +1,12 @@
{
"componentDescription": "",
"propDescriptions": {
"columnsSort": "Changes how the options in the columns selector should be ordered. If not specified, the order is derived from the <code>columns</code> prop.",
"filterFormProps": "Props passed to each filter form.",
"getColumnForNewFilter": "Function that returns the next filter item to be picked as default filter.<br><br><strong>Signature:</strong><br><code>function(args: GetColumnForNewFilterArgs) =&gt; void</code><br><em>args:</em> Currently configured filters and columns.",
"linkOperators": "Sets the available logic operators.",
"sx": "The system prop that allows defining system overrides as well as additional CSS styles. See the <a href=\"/system/getting-started/the-sx-prop/\">`sx` page</a> for more details."
},
"classDescriptions": {},
"slotDescriptions": {}
}
40 changes: 40 additions & 0 deletions docs/translations/api-docs/date-pickers/clock-picker-tr.json
@@ -0,0 +1,40 @@
{
"componentDescription": "",
"propDescriptions": {
"ampm": "12h/24h view for hour selection clock.",
"ampmInClock": "Display ampm controls under the clock (instead of in the toolbar).",
"autoFocus": "Set to <code>true</code> if focus should be moved to clock picker.",
"classes": "Override or extend the styles applied to the component. See <a href=\"#css\">CSS API</a> below for more details.",
"components": "Overrideable components.",
"componentsProps": "The props used for each component slot.",
"disabled": "If <code>true</code>, the picker and text field are disabled.",
"disableFuture": "If <code>true</code> disable values before the current time",
"disableIgnoringDatePartForTimeValidation": "Do not ignore date part when validating min/max time.",
"disablePast": "If <code>true</code> disable values after the current time.",
"maxTime": "Max time acceptable time. For input validation date part of passed object will be ignored if <code>disableIgnoringDatePartForTimeValidation</code> not specified.",
"minTime": "Min time acceptable time. For input validation date part of passed object will be ignored if <code>disableIgnoringDatePartForTimeValidation</code> not specified.",
"minutesStep": "Step over minutes.",
"onChange": "On change callback @DateIOType.",
"onViewChange": "Callback fired on view change.<br><br><strong>Signature:</strong><br><code>function(view: ClockPickerView) =&gt; void</code><br><em>view:</em> The new view.",
"openTo": "Initially open view.",
"readOnly": "Make picker read only.",
"shouldDisableTime": "Dynamically check if time is disabled or not. If returns <code>false</code> appropriate time point will ot be acceptable.<br><br><strong>Signature:</strong><br><code>function(timeValue: number, view: ClockPickerView) =&gt; boolean</code><br><em>timeValue:</em> The value to check.<br><em>view:</em> The clock type of the timeValue.<br> <em>returns</em> (boolean): Returns <code>true</code> if the time should be disabled",
"sx": "The system prop that allows defining system overrides as well as additional CSS styles. See the <a href=\"/system/getting-started/the-sx-prop/\">`sx` page</a> for more details.",
"value": "Selected date @DateIOType.",
"view": "Controlled open view.",
"views": "Views for calendar picker."
},
"classDescriptions": {
"root": { "description": "Styles applied to the root element." },
"arrowSwitcher": {
"description": "Styles applied to {{nodeName}}.",
"nodeName": "the arrowSwitcher element"
}
},
"slotDescriptions": {
"PreviousIconButton": "Button allowing to switch to the left view.",
"NextIconButton": "Button allowing to switch to the right view.",
"LeftArrowIcon": "Icon displayed in the left view switch button.",
"RightArrowIcon": "Icon displayed in the right view switch button."
}
}
48 changes: 48 additions & 0 deletions docs/translations/api-docs/date-pickers/date-calendar-tr.json
@@ -0,0 +1,48 @@
{
"componentDescription": "",
"propDescriptions": {
"components": "Overrideable components.",
"componentsProps": "The props used for each component slot.",
"dayOfWeekFormatter": "Formats the day of week displayed in the calendar header.<br><br><strong>Signature:</strong><br><code>function(day: string) =&gt; string</code><br><em>day:</em> The day of week provided by the adapter&#39;s method <code>getWeekdays</code>.<br> <em>returns</em> (string): The name to display.",
"defaultCalendarMonth": "Default calendar month displayed when <code>value={null}</code>.",
"disabled": "If <code>true</code>, the picker and text field are disabled.",
"disableFuture": "If <code>true</code> disable values before the current time",
"disableHighlightToday": "If <code>true</code>, today&#39;s date is rendering without highlighting with circle.",
"disablePast": "If <code>true</code> disable values after the current time.",
"fixedWeekNumber": "Calendar will show more weeks in order to match this value. Put it to 6 for having fix number of week in Gregorian calendars",
"loading": "If <code>true</code> renders <code>LoadingComponent</code> in calendar instead of calendar view. Can be used to preload information and show it in calendar.",
"maxDate": "Maximal selectable date. @DateIOType",
"minDate": "Minimal selectable date. @DateIOType",
"onChange": "Callback fired on date change",
"onMonthChange": "Callback firing on month change @DateIOType.<br><br><strong>Signature:</strong><br><code>function(month: TDate) =&gt; void | Promise</code><br><em>month:</em> The new month.<br> <em>returns</em> (void | Promise): -",
"onViewChange": "Callback fired on view change.<br><br><strong>Signature:</strong><br><code>function(view: CalendarPickerView) =&gt; void</code><br><em>view:</em> The new view.",
"onYearChange": "Callback firing on year change @DateIOType.<br><br><strong>Signature:</strong><br><code>function(year: TDate) =&gt; void</code><br><em>year:</em> The new year.",
"openTo": "Initially open view.",
"readOnly": "Make picker read only.",
"reduceAnimations": "Disable heavy animations.",
"renderLoading": "Component displaying when passed <code>loading</code> true.<br><br><strong>Signature:</strong><br><code>function() =&gt; React.ReactNode</code><br><br> <em>returns</em> (React.ReactNode): The node to render when loading.",
"shouldDisableDate": "Disable specific date. @DateIOType<br><br><strong>Signature:</strong><br><code>function(day: TDate) =&gt; boolean</code><br><em>day:</em> The date to test.<br> <em>returns</em> (boolean): Returns <code>true</code> if the date should be disabled.",
"shouldDisableMonth": "Disable specific months dynamically. Works like <code>shouldDisableDate</code> but for month selection view @DateIOType.<br><br><strong>Signature:</strong><br><code>function(month: TDate) =&gt; boolean</code><br><em>month:</em> The month to check.<br> <em>returns</em> (boolean): If <code>true</code> the month will be disabled.",
"shouldDisableYear": "Disable specific years dynamically. Works like <code>shouldDisableDate</code> but for year selection view @DateIOType.<br><br><strong>Signature:</strong><br><code>function(year: TDate) =&gt; boolean</code><br><em>year:</em> The year to test.<br> <em>returns</em> (boolean): Returns <code>true</code> if the year should be disabled.",
"showDaysOutsideCurrentMonth": "If <code>true</code>, days that have <code>outsideCurrentMonth={true}</code> are displayed.",
"sx": "The system prop that allows defining system overrides as well as additional CSS styles. See the <a href=\"/system/getting-started/the-sx-prop/\">`sx` page</a> for more details.",
"view": "Controlled open view.",
"views": "Views for calendar picker."
},
"classDescriptions": {
"root": { "description": "Styles applied to the root element." },
"viewTransitionContainer": {
"description": "Styles applied to {{nodeName}}.",
"nodeName": "the transition group element"
}
},
"slotDescriptions": {
"SwitchViewButton": "Button displayed to switch between different calendar views.",
"SwitchViewIcon": "Icon displayed in the SwitchViewButton. Rotated by 180° when the open view is &#39;year&#39;.",
"PreviousIconButton": "Button allowing to switch to the left view.",
"NextIconButton": "Button allowing to switch to the right view.",
"LeftArrowIcon": "Icon displayed in the left view switch button.",
"RightArrowIcon": "Icon displayed in the right view switch button.",
"Day": "Custom component for day.\nCheck the <a href=\"https://mui.com/x/api/date-pickers/pickers-day/\">PickersDay</a> component."
}
}