Skip to content

Commit

Permalink
Merge branch 'main' into i18n-precommit
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki authored Oct 4, 2024
2 parents 3ec81a6 + 9da5f9b commit c9e23c6
Show file tree
Hide file tree
Showing 317 changed files with 9,038 additions and 2,778 deletions.
77 changes: 0 additions & 77 deletions .i18nrc.json

This file was deleted.

1 change: 1 addition & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
| Sean Li | [sejli](https://github.com/sejli) | Amazon |
| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon |
| Huy Nguyen | [huyaboo](https://github.com/huyaboo) | Amazon |
| Hailong Cui | [Hailong-am](https://github.com/Hailong-am) | Amazon |

## Emeritus

Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/7938.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Change dev tools to a modal ([#7938](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7938))
2 changes: 2 additions & 0 deletions changelogs/fragments/8214.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add last updated time and cache refresh button to Discover Advanced Dataset Selector ([#8214](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8214))
2 changes: 2 additions & 0 deletions changelogs/fragments/8255.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Support data connections and multi-select table in dataset picker ([#8255](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8255))
2 changes: 2 additions & 0 deletions changelogs/fragments/8268.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Validate if the workspaces param is valid or not when consume it in the wrapper. ([#8268](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8268))
3 changes: 3 additions & 0 deletions changelogs/fragments/8332.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
feat:
- [navigation] flatten left nav in Analytics(all) use case ([#8332](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8332))
- [navigation] Adjust the appearances of the left navigation menu and the landing page ([#8332](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8332))
2 changes: 2 additions & 0 deletions changelogs/fragments/8392.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n in core ([#8392](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8392))
2 changes: 2 additions & 0 deletions changelogs/fragments/8393.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n and correct duplicate i18n identifiers in console plugin ([#8393](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8393))
2 changes: 2 additions & 0 deletions changelogs/fragments/8394.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic and correct unprefixed and duplicate i18n identifiers in dataSourceManagement plugin ([#8394](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8394))
2 changes: 2 additions & 0 deletions changelogs/fragments/8396.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n in discover plugin ([#8396](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8396))
2 changes: 2 additions & 0 deletions changelogs/fragments/8397.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n and correct unprefixed i18n identifiers in queryEnhancements plugin ([#8397](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8397))
2 changes: 2 additions & 0 deletions changelogs/fragments/8398.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n in indexPatternManagement plugin ([#8398](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8398))
2 changes: 2 additions & 0 deletions changelogs/fragments/8399.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n and correct unprefixed and duplicate i18n identifiers in visBuilder plugin ([#8399](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8399))
2 changes: 2 additions & 0 deletions changelogs/fragments/8401.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix unprefixed i18n identifiers in dashboard plugin ([#8401](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8401))
2 changes: 2 additions & 0 deletions changelogs/fragments/8402.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix incorrect use of TopNavControlDescriptionData in dataSourceManagement plugin ([#8402](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8402))
2 changes: 2 additions & 0 deletions changelogs/fragments/8403.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n in home plugin ([#8403](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8403))
2 changes: 2 additions & 0 deletions changelogs/fragments/8404.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix dynamic uses of i18n in opensearchDashboardsReact plugin ([#8404](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8404))
2 changes: 2 additions & 0 deletions changelogs/fragments/8406.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix unprefixed i18n identifiers in visTypeVega plugin ([#8406](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8406))
2 changes: 2 additions & 0 deletions changelogs/fragments/8407.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix duplicate i18n identifiers in visualize plugin ([#8407](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8407))
2 changes: 2 additions & 0 deletions changelogs/fragments/8408.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix unprefixed i18n identifiers in management plugin ([#8408](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8408))
2 changes: 2 additions & 0 deletions changelogs/fragments/8409.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix unprefixed and duplicate i18n identifiers in visAugmenter plugin ([#8409](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8409))
2 changes: 2 additions & 0 deletions changelogs/fragments/8412.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix unprefixed i18n identifiers in examples ([#8412](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8412))
2 changes: 2 additions & 0 deletions changelogs/fragments/8413.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Refactor use case selector in workspace creation page ([#8413](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8413))
2 changes: 2 additions & 0 deletions changelogs/fragments/8415.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
doc:
- Add Hailong-am as maintainer ([#8415](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8415))
2 changes: 2 additions & 0 deletions changelogs/fragments/8422.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Support use case populate for workspace create and list page ([#8422](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8422))
2 changes: 2 additions & 0 deletions changelogs/fragments/8424.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add some preliminary translations ([#8424](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8424))
2 changes: 2 additions & 0 deletions changelogs/fragments/8435.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- [Workspace]Remove what's new card in workspace overview page ([#8435](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8435))
2 changes: 2 additions & 0 deletions changelogs/fragments/8445.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- [Workspace]Fix use case hidden features not accessible ([#8445](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8445))
2 changes: 2 additions & 0 deletions changelogs/fragments/8461.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Restrict at least one data source in workspace creation page ([#8461](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8461))
12 changes: 12 additions & 0 deletions examples/.i18nrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"paths": {
"embeddableExamples": "embeddable_examples",
"expressionsExample": "expressions_example",
"multipleDataSourceExample": "multiple_data_source_examples",
"searchExamples": "search_examples",
"stateContainerExamples": "state_containers_examples",
"uiActionsExamples": "ui_action_examples",
"uiActionsExplorer": "ui_actions_explorer"
},
"translations": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class ListContainerFactoryDefinition
};

public getDisplayName() {
return i18n.translate('embeddableExamples.searchableListContainer.displayName', {
return i18n.translate('embeddableExamples.listContainer.displayName', {
defaultMessage: 'List container',
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class TodoRefEmbeddableFactoryDefinition
}

public getDisplayName() {
return i18n.translate('embeddableExamples.todo.displayName', {
return i18n.translate('embeddableExamples.todoByReference.displayName', {
defaultMessage: 'Todo (by reference)',
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const quickFormFn = (): ExpressionFunctionDefinition<
> => ({
name: 'quick-form',
type: 'render',
help: i18n.translate('expressionsExample.function.avatar.help', {
help: i18n.translate('expressionsExample.function.form.help', {
defaultMessage: 'Render a simple form that sends the value back as an event on click',
}),
args: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const DataSourceViaTopNavMenuExample = ({
iconType: 'save',
emphasize: true,
id: 'save',
label: i18n.translate('exampleApp.topNav', {
label: i18n.translate('multipleDataSourceExample.topNav', {
defaultMessage: `Save`,
}),
testId: 'mapSaveButton',
Expand Down
2 changes: 1 addition & 1 deletion examples/search_examples/public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export const SearchExamplesApp = ({
<IndexPatternSelect
savedObjectsClient={savedObjectsClient}
placeholder={i18n.translate(
'backgroundSessionExample.selectIndexPatternPlaceholder',
'searchExamples.selectIndexPatternPlaceholder',
{
defaultMessage: 'Select index pattern',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const App = ({ navigation, data, history, osdUrlStateStorage }: StateDemoAppDeps
<EuiTitle size="l">
<h1>
<FormattedMessage
id="stateDemo.helloWorldText"
id="stateContainerExamples.helloWorldText"
defaultMessage="{name}!"
values={{ name: PLUGIN_NAME }}
/>
Expand Down
8 changes: 8 additions & 0 deletions packages/.i18nrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"paths": {
"flot": "osd-ui-shared-deps/flot_charts"
},
"translations": [
"translations/tr-TR.json"
]
}
24 changes: 24 additions & 0 deletions packages/translations/tr-TR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"messages": {
"flot.pie.unableToDrawLabelsInsideCanvasErrorMessage": "Etiketler tuval içine çizilemedi",
"flot.time.janLabel": "Oca",
"flot.time.febLabel": "Şub",
"flot.time.marLabel": "Mar",
"flot.time.aprLabel": "Nis",
"flot.time.mayLabel": "May",
"flot.time.junLabel": "Haz",
"flot.time.julLabel": "Tem",
"flot.time.augLabel": "Ağu",
"flot.time.sepLabel": "Eyl",
"flot.time.novLabel": "Kas",
"flot.time.octLabel": "Eki",
"flot.time.decLabel": "Ara",
"flot.time.monLabel": "Pzt",
"flot.time.tueLabel": "Sal",
"flot.time.wedLabel": "Çar",
"flot.time.thuLabel": "Per",
"flot.time.friLabel": "Cum",
"flot.time.satLabel": "Cmt",
"flot.time.sunLabel": "Paz"
}
}
Loading

0 comments on commit c9e23c6

Please sign in to comment.