Skip to content

Commit

Permalink
feat!: deprecate tc and $tc for Legacy API mode (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed May 6, 2024
1 parent 84266f3 commit f3ea368
Show file tree
Hide file tree
Showing 8 changed files with 453 additions and 6 deletions.
32 changes: 32 additions & 0 deletions docs/api/injection.md
Expand Up @@ -599,6 +599,10 @@ Translation message

### $tc(key)

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -632,6 +636,10 @@ Translation message that is pluraled

### $tc(key, locale)

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -659,6 +667,10 @@ Translation message that is pluraled

### $tc(key, list)

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -686,6 +698,10 @@ Translation message that is pluraled

### $tc(key, named)

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -713,6 +729,10 @@ Translation message that is pluraled

### $tc(key, choice)

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -740,6 +760,10 @@ Translation message that is pluraled

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

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -768,6 +792,10 @@ Translation message that is pluraled

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

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down Expand Up @@ -796,6 +824,10 @@ Translation message that is pluraled

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

:::danger NOTICE
**`$tc` has been deprecated in v10. Use `$t` instead. `$tc` is going to remove in v11.**
:::

Locale message pluralization

**Signature:**
Expand Down

0 comments on commit f3ea368

Please sign in to comment.