Skip to content

Translate filters guide to Korean #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions source/guide/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@ order: 4

## Synopsis

A Vue.js filter is essentially a function that takes a value, processes it, and then returns the processed value. In the markup it is denoted by a single pipe (`|`) and can be followed by one or more arguments:
Vue.js 필터는 기본적으로 값을 받아, 처리하고, 처리된 값을 반환하는 함수입니다. 마크업에서는 단일 파이프 (`|`)로 표현되며, 한개 이상의 인자가 붙을 수 있습니다.

``` html
<element directive="expression | filterId [args...]"></element>
```

## Examples

Filters must be placed at the end of a directive's value:
필터는 directive의 값의 끝에 붙어야 합니다.

``` html
<span v-text="message | capitalize"></span>
```

You can also use them inside mustache-style bindings:
mustache 스타일의 바인딩 안에서도 사용할 수 있습니다.

``` html
<span>{{message | uppercase}}</span>
```

Multiple filters can be chained together:
여러 필터를 체이닝하는 것도 가능합니다.

``` html
<span>{{message | lowercase | reverse}}</span>
```

## Arguments

Some filters can take optional arguments. Arguments are separated by spaces:
어떤 필터는 선택적인 인자를 받을 수 있습니다. 인자는 공백에 의해 구별합니다.

``` html
<span>{{order | pluralize 'st' 'nd' 'rd' 'th'}}</span>
Expand All @@ -43,8 +43,9 @@ Some filters can take optional arguments. Arguments are separated by spaces:
<input v-on="keyup: submitForm | key 'enter'">
```

Plain string arguments need to be enclosed in quotes. Non-quoted arguments will be evaluated dynamically against the current data scope, and we will discuss them in more details later when we talk about custom filters.
일반 문자열 인자는 홀따옴표로 감쌀 필요가 있습니다. 감싸지 않은 인자는 현재
데이터 스코프에서 동적으로 평가됩니다. 여기에 대한 더 자세한 이야기는 사용자정의 필터에서 다시 다루겠습니다.

For their specific use of the above examples see the [full list of built-in filters](/api/filters.html).
위의 예제에 사용된 필터들의 자세한 설명은 [full list of built-in filters](/api/filters.html)를 참조하세요.

Now that you know what directives and filters are, let's get our hands dirty and try to [display a list of items](/guide/list.html).
이제 directives와 filters를 알았으니 어려운 일을 해보도록 합시다. [아이템의 목록을 표시](/guide/list.html)해 보세요.