Reland "Revert "Adding run_localization_check.py""
This change relands Adding run_localization_check.py which exposed
a bug in esprima that has been fixed in here:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1931277
Bug: 1027052
Change-Id: I93a406a15cf5ba21b3a594e8a8593e49518c9a90
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1931279
Commit-Queue: Vidal Diazleal <vidorteg@microsoft.com>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
diff --git a/scripts/devtools_paths.py b/scripts/devtools_paths.py
index d8d43a2..b62c397 100644
--- a/scripts/devtools_paths.py
+++ b/scripts/devtools_paths.py
@@ -57,6 +57,14 @@
return path.join(node_modules_path(), 'eslint', 'bin', 'eslint.js')
+def check_localizable_resources_path():
+ return path.join(devtools_root_path(), 'scripts', 'check_localizable_resources.js')
+
+
+def check_localized_strings_path():
+ return path.join(devtools_root_path(), 'scripts', 'check_localizability.js')
+
+
def karma_path():
return path.join(node_modules_path(), 'karma', 'bin', 'karma')