Skip to content

Commit 7d7023c

Browse files
committed
[Translator] Mark the component as experimental
1 parent 18b4604 commit 7d7023c

17 files changed

+33
-0
lines changed

src/Translator/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Symfony UX Translator
22

3+
**EXPERIMENTAL** This component is currently experimental and is
4+
likely to change, or even change drastically.
5+
36
Symfony UX Translator integrates [Symfony Translation](https://symfony.com/doc/current/translation.html) for JavaScript.
47

58
**This repository is a READ-ONLY sub-tree split**. See

src/Translator/src/CacheWarmer/TranslationsCacheWarmer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
/**
1919
* @author Hugo Alliaume <hugo@alliau.me>
20+
*
21+
* @experimental
2022
*/
2123
class TranslationsCacheWarmer implements CacheWarmerInterface
2224
{

src/Translator/src/DependencyInjection/Configuration.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* @author Hugo Alliaume <hugo@alliau.me>
10+
*
11+
* @experimental
1012
*/
1113
class Configuration implements ConfigurationInterface
1214
{

src/Translator/src/DependencyInjection/TranslatorExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @author Hugo Alliaume <hugo@alliau.me>
2121
*
2222
* @internal
23+
* @experimental
2324
*/
2425
class TranslatorExtension extends Extension
2526
{

src/Translator/src/Intl/ErrorKind.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/error.ts#L9-L77.
7+
*
8+
* @experimental
79
*/
810
final class ErrorKind
911
{

src/Translator/src/Intl/IntlMessageParser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/parser.ts.
9+
*
10+
* @experimental
911
*/
1012
class IntlMessageParser
1113
{

src/Translator/src/Intl/Location.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/types.ts#L58-L61.
7+
*
8+
* @experimental
79
*/
810
final class Location
911
{

src/Translator/src/Intl/Position.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/types.ts#L53-L57.
7+
*
8+
* @experimental
79
*/
810
final class Position
911
{

src/Translator/src/Intl/SkeletonType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/types.ts#L48-L51.
7+
*
8+
* @experimental
79
*/
810
final class SkeletonType
911
{

src/Translator/src/Intl/Type.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Adapted from https://github.com/formatjs/formatjs/blob/590f1f81b26934c6dc7a55fff938df5436c6f158/packages/icu-messageformat-parser/types.ts#L8-L46.
7+
*
8+
* @experimental
79
*/
810
final class Type
911
{

src/Translator/src/Intl/Utils.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use function Symfony\Component\String\s;
66

7+
/**
8+
* @experimental
9+
*/
710
final class Utils
811
{
912
private function __construct()

src/Translator/src/MessageParameters/Extractor/ExtractorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* @author Hugo Alliaume <hugo@alliau.me>
16+
*
17+
* @experimental
1618
*/
1719
interface ExtractorInterface
1820
{

src/Translator/src/MessageParameters/Extractor/IntlMessageParametersExtractor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
/**
1818
* @author Hugo Alliaume <hugo@alliau.me>
19+
*
20+
* @experimental
1921
*/
2022
final class IntlMessageParametersExtractor implements ExtractorInterface
2123
{

src/Translator/src/MessageParameters/Extractor/MessageParametersExtractor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* @author Hugo Alliaume <hugo@alliau.me>
16+
*
17+
* @experimental
1618
*/
1719
final class MessageParametersExtractor implements ExtractorInterface
1820
{

src/Translator/src/MessageParameters/Printer/TypeScriptMessageParametersPrinter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* @author Hugo Alliaume <hugo@alliau.me>
16+
*
17+
* @experimental
1618
*/
1719
final class TypeScriptMessageParametersPrinter
1820
{

src/Translator/src/TranslationsDumper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* @author Hugo Alliaume <hugo@alliau.me>
2424
*
2525
* @final
26+
* @experimental
2627
*
2728
* @phpstan-type Domain string
2829
* @phpstan-type Locale string

src/Translator/src/TranslatorBundle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @author Hugo Alliaume <hugo@alliau.me>
1818
*
1919
* @final
20+
* @experimental
2021
*/
2122
class TranslatorBundle extends Bundle
2223
{

0 commit comments

Comments
 (0)