From 4cb3a60a348b5362927bf5225d1c1367d461d401 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 26 Jul 2018 23:29:40 +0200 Subject: Imrpoved locatliztion variable names with underscore --- subprojects/freeamo/src/unmaintained/bad_names | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'subprojects/freeamo/src/unmaintained/bad_names') diff --git a/subprojects/freeamo/src/unmaintained/bad_names b/subprojects/freeamo/src/unmaintained/bad_names index c55cb34..d919a00 100644 --- a/subprojects/freeamo/src/unmaintained/bad_names +++ b/subprojects/freeamo/src/unmaintained/bad_names @@ -1,15 +1,5 @@ - - function search-pages--filter__bad_names() { -name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-US|enUS|;" | jq -r .enUS); - -if [ "$name" == "null" ]; then - -name=$(jq .results[$entry].name "$run_path/build/json/$file" | sed "s|en-GB|enGB|;" | jq -r .enGB); - -fi - # The API `name` parameter makes bad MediaWiki URL's - https://github.com/mozilla/addons-server/issues/8790 # Clean titles. Example of bad titles: "Ghostery – Privacy Ad Blocker" -- cgit v1.2.3