Commit Graph

7223 Commits

Author SHA1 Message Date
Jacob Overgaard
a5802fdce6 add comments and requirements for language 2023-08-02 15:11:54 +02:00
Niels Lyngsø
bd10d0492a fix type of translation method 2023-08-02 14:10:28 +02:00
Niels Lyngsø
053f23daac Merge branch 'feature/localization' of https://github.com/umbraco/Umbraco.CMS.Backoffice into feature/localization 2023-08-02 12:28:18 +02:00
Niels Lyngsø
4e4ab39465 rename Translation types to set 2023-08-02 12:28:04 +02:00
Jacob Overgaard
a5bee4b89a add display:contents to umb-localize 2023-08-02 12:06:47 +02:00
Jacob Overgaard
d9fa3b9460 remove unused operators 2023-08-02 12:04:05 +02:00
Jacob Overgaard
bc9b4d1529 Merge branch 'main' into feature/localization 2023-08-02 10:01:16 +00:00
Niels Lyngsø
a6065e8ed1 note 2023-08-02 11:29:18 +02:00
Niels Lyngsø
57709ed356 type imports 2023-08-02 11:25:53 +02:00
Niels Lyngsø
b8731b2a40 note on media helper server. 2023-08-02 11:24:33 +02:00
Niels Lyngsø
0a6b1dbec1 more sorting... 2023-08-02 11:22:59 +02:00
Niels Lyngsø
96ee7d1d99 more import ordering 2023-08-02 11:22:32 +02:00
Niels Lyngsø
0f7488d0c2 correct import order 2023-08-02 11:20:55 +02:00
Niels Lyngsø
aba2fdf414 type for translation entry method 2023-08-02 11:17:08 +02:00
Niels Lyngsø
aee130add0 add code explanation 2023-08-02 11:13:35 +02:00
Niels Lyngsø
bbd0bc52bc change translations info typescript for strictness 2023-08-02 11:12:53 +02:00
Niels Lyngsø
b910f174eb rename to flat. 2023-08-02 10:59:48 +02:00
Niels Lyngsø
b4af716fa6 adjusting types for registry 2023-08-02 10:59:05 +02:00
Niels Lyngsø
32b19e65ee adjusting some types 2023-08-02 10:00:06 +02:00
dependabot[bot]
a0630236fc Bump vite from 4.4.4 to 4.4.8
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.4 to 4.4.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:33:34 +00:00
dependabot[bot]
967416bb1c Bump @typescript-eslint/eslint-plugin from 6.1.0 to 6.2.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.1.0 to 6.2.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:08:06 +00:00
dependabot[bot]
7e6cb8b043 Bump eslint from 8.45.0 to 8.46.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:07:57 +00:00
dependabot[bot]
a443c19f75 Bump web-component-analyzer from 2.0.0-next.4 to 2.0.0-next.5
Bumps [web-component-analyzer](https://github.com/runem/web-component-analyzer) from 2.0.0-next.4 to 2.0.0-next.5.
- [Release notes](https://github.com/runem/web-component-analyzer/releases)
- [Changelog](https://github.com/runem/web-component-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/runem/web-component-analyzer/commits)

---
updated-dependencies:
- dependency-name: web-component-analyzer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:07:34 +00:00
dependabot[bot]
41c09557e2 Bump @playwright/test from 1.36.1 to 1.36.2
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.36.1 to 1.36.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.36.1...v1.36.2)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:07:08 +00:00
Jacob Overgaard
650173acba Merge branch 'main' into feature/localization 2023-08-01 13:19:25 +00:00
Jacob Overgaard
6ec966162d only export the known type 2023-08-01 15:18:56 +02:00
Jacob Overgaard
a3445d8467 Merge branch 'main' into feature/localization 2023-08-01 13:11:02 +00:00
Jacob Overgaard
dd0dc39f76 fix vite warnings for circular imports 2023-08-01 15:09:03 +02:00
Jacob Overgaard
26e5be142f update link 2023-08-01 14:46:29 +02:00
Jacob Overgaard
b77e08ae57 move stories into API/Localization 2023-08-01 14:45:45 +02:00
Jacob Overgaard
42696df04f Merge branch 'main' into feature/localization 2023-08-01 14:40:14 +02:00
Jacob Overgaard
b8131bf896 update storybook 2023-08-01 14:39:52 +02:00
Jacob Overgaard
d656e69cb2 update link to default story 2023-08-01 14:33:37 +02:00
Jacob Overgaard
3e1eca7609 add inverted token test 2023-08-01 14:24:12 +02:00
Jacob Overgaard
8d4e5cd603 add source code 2023-08-01 14:20:44 +02:00
Jacob Overgaard
60d8b49f5c set access level on inner getter 2023-08-01 14:08:29 +02:00
Jacob Overgaard
1cf90e8eb5 clean language files 2023-08-01 13:33:24 +02:00
Jacob Overgaard
b340e65951 storybook: add story for args 2023-08-01 13:32:01 +02:00
Jacob Overgaard
ddb81576cf add support to replace tokens 2023-08-01 13:28:21 +02:00
Jacob Overgaard
3350e4a95a umb-localize: add support to forward args to localize controller using default converter to Array 2023-08-01 12:01:24 +02:00
Jacob Overgaard
f4a0ce73a7 add support for functions in translation values 2023-08-01 11:46:25 +02:00
Jacob Overgaard
3dd545a296 Merge branch 'main' into feature/localization 2023-08-01 09:30:10 +00:00
Jacob Overgaard
c84b482a2f add exports to support type-checking of translation keys 2023-08-01 11:29:09 +02:00
Jacob Overgaard
6b1ea7d272 set lang and dir when language is loaded 2023-08-01 11:17:05 +02:00
Jacob Overgaard
7b48cead7a add docs for default slot 2023-08-01 11:01:47 +02:00
Jacob Overgaard
b6016bd9d3 add test for custom format 2023-08-01 11:00:54 +02:00
Jacob Overgaard
e270844b24 add documentation 2023-08-01 10:57:21 +02:00
Jacob Overgaard
6bacd22d84 add appropriate copyright 2023-08-01 10:52:30 +02:00
Jacob Overgaard
13c6a29ce3 add support for supplying ltr and rtl 2023-08-01 10:42:56 +02:00
Jacob Overgaard
95a57c249c add tests for other Intl wrappers 2023-08-01 10:41:08 +02:00