Skip to content

Commit f3ea368

Browse files
authored
feat!: deprecate tc and $tc for Legacy API mode (#1839)
1 parent 84266f3 commit f3ea368

File tree

8 files changed

+453
-6
lines changed

8 files changed

+453
-6
lines changed

docs/api/injection.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,10 @@ Translation message
599599

600600
### $tc(key)
601601

602+
:::danger NOTICE
603+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
604+
:::
605+
602606
Locale message pluralization
603607

604608
**Signature:**
@@ -632,6 +636,10 @@ Translation message that is pluraled
632636

633637
### $tc(key, locale)
634638

639+
:::danger NOTICE
640+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
641+
:::
642+
635643
Locale message pluralization
636644

637645
**Signature:**
@@ -659,6 +667,10 @@ Translation message that is pluraled
659667

660668
### $tc(key, list)
661669

670+
:::danger NOTICE
671+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
672+
:::
673+
662674
Locale message pluralization
663675

664676
**Signature:**
@@ -686,6 +698,10 @@ Translation message that is pluraled
686698

687699
### $tc(key, named)
688700

701+
:::danger NOTICE
702+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
703+
:::
704+
689705
Locale message pluralization
690706

691707
**Signature:**
@@ -713,6 +729,10 @@ Translation message that is pluraled
713729

714730
### $tc(key, choice)
715731

732+
:::danger NOTICE
733+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
734+
:::
735+
716736
Locale message pluralization
717737

718738
**Signature:**
@@ -740,6 +760,10 @@ Translation message that is pluraled
740760

741761
### $tc(key, choice, locale)
742762

763+
:::danger NOTICE
764+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
765+
:::
766+
743767
Locale message pluralization
744768

745769
**Signature:**
@@ -768,6 +792,10 @@ Translation message that is pluraled
768792

769793
### $tc(key, choice, list)
770794

795+
:::danger NOTICE
796+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
797+
:::
798+
771799
Locale message pluralization
772800

773801
**Signature:**
@@ -796,6 +824,10 @@ Translation message that is pluraled
796824

797825
### $tc(key, choice, named)
798826

827+
:::danger NOTICE
828+
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
829+
:::
830+
799831
Locale message pluralization
800832

801833
**Signature:**

0 commit comments

Comments
 (0)