From 17e3ef1960c2a214805306b236d0d1562233a055 Mon Sep 17 00:00:00 2001 From: sheng zhang Date: Wed, 21 Feb 2018 18:19:13 +0800 Subject: [PATCH] Fix typo in i18n.js (#2832) runned -> ran desription -> description --- build/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/i18n.js b/build/i18n.js index 9280ecd58..7a89e6541 100644 --- a/build/i18n.js +++ b/build/i18n.js @@ -118,7 +118,7 @@ gulp.task('sort-translations', ['remove-duplicated-translations'], function() { /** * Task to remove duplicated translations (should remove old translations from XTB when entries are - * updated in source code). It has to be runned before 'sort-translations' as original translation + * updated in source code). It has to be ran before 'sort-translations' as original translation * order is required. */ gulp.task('remove-duplicated-translations', ['extract-translations'], function() { @@ -212,7 +212,7 @@ export let translationsManager = (function() { // Regex to match [[Foo | Bar]] or [[Foo]] i18n placeholders. // Technical details: // * First capturing group is lazy math for any string not-containing |. This is to make -// both [[ message | desription ]] and [[ message ]] work. +// both [[ message | description ]] and [[ message ]] work. // * Second is non-capturing and optional. It has a capturing group inside. This is to // extract description that is optional. const I18N_REGEX = /\[\[([^|]*?)(?:\|(.*?))?\]\]/g; -- GitLab