Skip to content

Commit b2ee2c8

Browse files
committed
translate Migration Guide > Filters
1 parent 42c83e9 commit b2ee2c8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/guide/migration/filters.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ badges:
33
- removed
44
---
55

6-
# Filters <MigrationBadges :badges="$frontmatter.badges" />
6+
# フィルター <MigrationBadges :badges="$frontmatter.badges" />
77

8-
## Overview
8+
## 概要
99

10-
Filters are removed from Vue 3.0 and no longer be supported.
10+
フィルターは Vue 3.0 で削除され、サポートされません。
1111

12-
## 2.x Syntax
12+
## 2.x での構文
1313

14-
In 2.x, developers could use filters in order to apply common text formatting.
14+
2.0 で開発者は共通のテキストフォーマットを適用するためにフィルターを使うことができました。
1515

16-
For example:
16+
:
1717

1818
```html
1919
<template>
@@ -38,13 +38,13 @@ For example:
3838
</script>
3939
```
4040

41-
While this seems like a convenience, it requires a custom syntax that breaks the assumption of expressions inside of curly braces being "just JavaScript," which has both learning and implementation costs.
41+
これは便利に見える一方、括弧の中の式は"ただのJavaScript"になるという前提を崩すカスタム構文が必要であり、学習コストと実装コストの両方がかかります。
4242

43-
## 3.x Update
43+
## 3.x での更新
4444

45-
In 3.x, filters are removed and no longer supported. Instead, we recommend replacing them with method calls or computed properties.
45+
3.x ではフィルターは削除され、サポートされません。代わりに、関数の呼び出しか算出プロパティに置き換えることを推奨します。
4646

47-
Using the example above, here is one example of how it could be implemented.
47+
上記の例を用いて、実装する方法の一例です。
4848

4949
```html
5050
<template>
@@ -69,6 +69,6 @@ Using the example above, here is one example of how it could be implemented.
6969
</script>
7070
```
7171

72-
## Migration Strategy
72+
## 移行方法
7373

74-
Instead of using filters, we recommend replacing them with computed properties or methods.
74+
フィルターを使う代わりに、算出プロパティか関数に置き換えることを推奨します。

0 commit comments

Comments
 (0)