From 935a984ccab2e369f4c27b6fc1fe0040ffc2c8a1 Mon Sep 17 00:00:00 2001 From: zombiej Date: Thu, 9 Jan 2020 14:08:02 +0800 Subject: [PATCH] chore: Update snapshot & generate log script --- .../__snapshots__/index.test.js.snap | 153 ------------------ scripts/print-changelog.js | 4 +- 2 files changed, 2 insertions(+), 155 deletions(-) diff --git a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap index 413c3388e5..623ec93239 100644 --- a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap +++ b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap @@ -5320,9 +5320,6 @@ exports[`Locale Provider should display the text as ar 1`] = ` - @@ -10407,9 +10404,6 @@ exports[`Locale Provider should display the text as bg 1`] = ` - @@ -15494,9 +15488,6 @@ exports[`Locale Provider should display the text as ca 1`] = ` - @@ -20581,9 +20572,6 @@ exports[`Locale Provider should display the text as cs 1`] = ` - @@ -25668,9 +25656,6 @@ exports[`Locale Provider should display the text as da 1`] = ` - @@ -30755,9 +30740,6 @@ exports[`Locale Provider should display the text as de 1`] = ` - @@ -35842,9 +35824,6 @@ exports[`Locale Provider should display the text as el 1`] = ` - @@ -40929,9 +40908,6 @@ exports[`Locale Provider should display the text as en 1`] = ` - @@ -46016,9 +45992,6 @@ exports[`Locale Provider should display the text as en-gb 1`] = ` - @@ -51103,9 +51076,6 @@ exports[`Locale Provider should display the text as es 1`] = ` - @@ -56190,9 +56160,6 @@ exports[`Locale Provider should display the text as et 1`] = ` - @@ -61277,9 +61244,6 @@ exports[`Locale Provider should display the text as fa 1`] = ` - @@ -66364,9 +66328,6 @@ exports[`Locale Provider should display the text as fi 1`] = ` - @@ -71451,9 +71412,6 @@ exports[`Locale Provider should display the text as fr 1`] = ` - @@ -76538,9 +76496,6 @@ exports[`Locale Provider should display the text as fr 2`] = ` - @@ -81625,9 +81580,6 @@ exports[`Locale Provider should display the text as he 1`] = ` - @@ -86712,9 +86664,6 @@ exports[`Locale Provider should display the text as hi 1`] = ` - @@ -91799,9 +91748,6 @@ exports[`Locale Provider should display the text as hr 1`] = ` - @@ -96886,9 +96832,6 @@ exports[`Locale Provider should display the text as hu 1`] = ` - @@ -101973,9 +101916,6 @@ exports[`Locale Provider should display the text as hy-am 1`] = ` - @@ -107060,9 +107000,6 @@ exports[`Locale Provider should display the text as id 1`] = ` - @@ -112147,9 +112084,6 @@ exports[`Locale Provider should display the text as is 1`] = ` - @@ -117234,9 +117168,6 @@ exports[`Locale Provider should display the text as it 1`] = ` - @@ -122321,9 +122252,6 @@ exports[`Locale Provider should display the text as ja 1`] = ` - @@ -127408,9 +127336,6 @@ exports[`Locale Provider should display the text as kn 1`] = ` - @@ -132495,9 +132420,6 @@ exports[`Locale Provider should display the text as ko 1`] = ` - @@ -137582,9 +137504,6 @@ exports[`Locale Provider should display the text as ku-iq 1`] = ` - @@ -142669,9 +142588,6 @@ exports[`Locale Provider should display the text as lv 1`] = ` - @@ -147756,9 +147672,6 @@ exports[`Locale Provider should display the text as mk 1`] = ` - @@ -152843,9 +152756,6 @@ exports[`Locale Provider should display the text as mn-mn 1`] = ` - @@ -157930,9 +157840,6 @@ exports[`Locale Provider should display the text as ms-my 1`] = ` - @@ -163017,9 +162924,6 @@ exports[`Locale Provider should display the text as nb 1`] = ` - @@ -168104,9 +168008,6 @@ exports[`Locale Provider should display the text as ne-np 1`] = ` - @@ -173191,9 +173092,6 @@ exports[`Locale Provider should display the text as nl 1`] = ` - @@ -178278,9 +178176,6 @@ exports[`Locale Provider should display the text as nl-be 1`] = ` - @@ -183365,9 +183260,6 @@ exports[`Locale Provider should display the text as pl 1`] = ` - @@ -188452,9 +188344,6 @@ exports[`Locale Provider should display the text as pt 1`] = ` - @@ -193539,9 +193428,6 @@ exports[`Locale Provider should display the text as pt-br 1`] = ` - @@ -198626,9 +198512,6 @@ exports[`Locale Provider should display the text as ro 1`] = ` - @@ -203713,9 +203596,6 @@ exports[`Locale Provider should display the text as ru 1`] = ` - @@ -208800,9 +208680,6 @@ exports[`Locale Provider should display the text as sk 1`] = ` - @@ -213887,9 +213764,6 @@ exports[`Locale Provider should display the text as sl 1`] = ` - @@ -218974,9 +218848,6 @@ exports[`Locale Provider should display the text as sr 1`] = ` - @@ -224061,9 +223932,6 @@ exports[`Locale Provider should display the text as sv 1`] = ` - @@ -229148,9 +229016,6 @@ exports[`Locale Provider should display the text as ta 1`] = ` - @@ -234235,9 +234100,6 @@ exports[`Locale Provider should display the text as th 1`] = ` - @@ -239322,9 +239184,6 @@ exports[`Locale Provider should display the text as tr 1`] = ` - @@ -244409,9 +244268,6 @@ exports[`Locale Provider should display the text as uk 1`] = ` - @@ -249496,9 +249352,6 @@ exports[`Locale Provider should display the text as vi 1`] = ` - @@ -254583,9 +254436,6 @@ exports[`Locale Provider should display the text as zh-cn 1`] = ` - @@ -259670,9 +259520,6 @@ exports[`Locale Provider should display the text as zh-tw 1`] = ` - diff --git a/scripts/print-changelog.js b/scripts/print-changelog.js index 510bb000fa..486cd44e4c 100644 --- a/scripts/print-changelog.js +++ b/scripts/print-changelog.js @@ -98,8 +98,8 @@ async function printLog() { hash, title: prTitle, author: prAuthor, - english: english || prTitle, - chinese: chinese || prTitle, + english: english || chinese || prTitle, + chinese: chinese || english || prTitle, }); }