Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

docs(i18n-zh): translate conditional operators #311

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions src/i18n/zh/conditional/defaultIfEmpty.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { OperatorDoc } from '../../../operator-docs';

export const defaultIfEmpty: OperatorDoc = {
name: 'defaultIfEmpty',
operatorType: 'conditional'
};
6 changes: 6 additions & 0 deletions src/i18n/zh/conditional/every.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { OperatorDoc } from '../../../operator-docs';

export const every: OperatorDoc = {
name: 'every',
operatorType: 'conditional'
};
7 changes: 7 additions & 0 deletions src/i18n/zh/conditional/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defaultIfEmpty } from './defaultIfEmpty';
import { every } from './every';

export const CONDITIONAL_OPERATORS = [
defaultIfEmpty,
every
];