From d19af49c8ffc85f1a471e389ba2887acbfbc07b8 Mon Sep 17 00:00:00 2001 From: "SangKa.Z" Date: Thu, 12 Apr 2018 09:58:37 +0800 Subject: [PATCH] docs(i18n-zh): translate conditional operators --- src/i18n/zh/conditional/defaultIfEmpty.ts | 6 ++++++ src/i18n/zh/conditional/every.ts | 6 ++++++ src/i18n/zh/conditional/index.ts | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100644 src/i18n/zh/conditional/defaultIfEmpty.ts create mode 100644 src/i18n/zh/conditional/every.ts create mode 100644 src/i18n/zh/conditional/index.ts diff --git a/src/i18n/zh/conditional/defaultIfEmpty.ts b/src/i18n/zh/conditional/defaultIfEmpty.ts new file mode 100644 index 00000000..7578b056 --- /dev/null +++ b/src/i18n/zh/conditional/defaultIfEmpty.ts @@ -0,0 +1,6 @@ +import { OperatorDoc } from '../../../operator-docs'; + +export const defaultIfEmpty: OperatorDoc = { + name: 'defaultIfEmpty', + operatorType: 'conditional' +}; diff --git a/src/i18n/zh/conditional/every.ts b/src/i18n/zh/conditional/every.ts new file mode 100644 index 00000000..68706a7b --- /dev/null +++ b/src/i18n/zh/conditional/every.ts @@ -0,0 +1,6 @@ +import { OperatorDoc } from '../../../operator-docs'; + +export const every: OperatorDoc = { + name: 'every', + operatorType: 'conditional' +}; diff --git a/src/i18n/zh/conditional/index.ts b/src/i18n/zh/conditional/index.ts new file mode 100644 index 00000000..c7b1977f --- /dev/null +++ b/src/i18n/zh/conditional/index.ts @@ -0,0 +1,7 @@ +import { defaultIfEmpty } from './defaultIfEmpty'; +import { every } from './every'; + +export const CONDITIONAL_OPERATORS = [ + defaultIfEmpty, + every +];