Skip to content

Commit

Permalink
adds estonian (ET) locale (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhenry authored Aug 18, 2023
1 parent feab2f3 commit 499353b
Show file tree
Hide file tree
Showing 18 changed files with 2,631 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import DA_Table from '../examples/localization-i18n-da';
import DE_Table from '../examples/localization-i18n-de';
import EN_Table from '../examples/localization-i18n-en';
import ES_Table from '../examples/localization-i18n-es';
import ET_Table from '../examples/localization-i18n-et';
import FA_Table from '../examples/localization-i18n-fa';
import FI_Table from '../examples/localization-i18n-fi';
import FR_Table from '../examples/localization-i18n-fr';
Expand Down Expand Up @@ -40,6 +41,7 @@ const supportedLocales = [
'de',
'en',
'es',
'et',
'fa',
'fi',
'fr',
Expand Down Expand Up @@ -90,6 +92,7 @@ const LocaleExamples = () => {
{currentLocale === 'de' && <DE_Table />}
{currentLocale === 'en' && <EN_Table />}
{currentLocale === 'es' && <ES_Table />}
{currentLocale === 'et' && <ET_Table />}
{currentLocale === 'fa' && <FA_Table />}
{currentLocale === 'fi' && <FI_Table />}
{currentLocale === 'fr' && <FR_Table />}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { SourceCodeSnippet } from '../../components/mdx/SourceCodeSnippet';
import Example from './sandbox/src/TS';
const JS = require('!!raw-loader!./sandbox/src/JS.js').default;
const TS = require('!!raw-loader!./sandbox/src/TS.tsx').default;

const ExampleTable = () => {
return (
<SourceCodeSnippet
Component={Example}
javaScriptCode={JS}
typeScriptCode={TS}
tableId="localization-i18n-et"
/>
);
};

export default ExampleTable;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.DS_Store
dist
dist-ssr
*.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Example

To run this example:

- `npm install` or `yarn`
- `npm run start` or `yarn start`
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mantine React Table Example</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

2 comments on commit 499353b

@vercel
Copy link

@vercel vercel bot commented on 499353b Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 499353b Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.