You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/05/13 00:53:05 UTC
[10/15] docs commit: Fix Russian headers correctly
Fix Russian headers correctly
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/119ef676
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/119ef676
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/119ef676
Branch: refs/heads/master
Commit: 119ef67656f7c763086c7c1acfedf48743689b83
Parents: da177f8
Author: Andrey Kurdyumov <ka...@gmail.com>
Authored: Mon May 11 20:08:24 2015 +0600
Committer: Andrey Kurdyumov <ka...@gmail.com>
Committed: Mon May 11 20:08:24 2015 +0600
----------------------------------------------------------------------
lib/docs_validator.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/119ef676/lib/docs_validator.js
----------------------------------------------------------------------
diff --git a/lib/docs_validator.js b/lib/docs_validator.js
index 0df395c..200bece 100644
--- a/lib/docs_validator.js
+++ b/lib/docs_validator.js
@@ -444,7 +444,7 @@ var DocsValidator = (function () {
'---' + eol + eol;
if (validationResult !== 0) {
- yamlReplaceRegex1 = /^(\* \* \*\s*\n[\s\S]*?\n?)^(\#\# (under the License\.|unter der Lizenz\.|aux termes de la licence\.|con la licenza\.|ライセンス。|라이센스\.|根據許可證。)\s*$\n?)/m;
+ yamlReplaceRegex1 = /^(\* \* \*\s*\n[\s\S]*?\n?)^(\#\# (under the License\.|unter der Lizenz\.|по лицензии\.|aux termes de la licence\.|con la licenza\.|ライセンス。|라이센스\.|根據許可證。)\s*$\n?)/m;
if (yamlReplaceRegex1.exec(content)) {
content = correctLicense + content.replace(yamlReplaceRegex1, '');
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org