diff options
author | david <public@beloved.name> | 2018-07-26 23:29:40 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-07-26 23:29:40 +0200 |
commit | 4cb3a60a348b5362927bf5225d1c1367d461d401 (patch) | |
tree | 2d354edadc04e0e6812f18b4e6363faa198beb64 /subprojects/freeamo/src/unmaintained | |
parent | 931df51d9354e0c67e7329096de86411270a5db7 (diff) |
Imrpoved locatliztion variable names with underscore
Diffstat (limited to 'subprojects/freeamo/src/unmaintained')
-rw-r--r-- | subprojects/freeamo/src/unmaintained/bad_names | 10 |
1 files changed, 0 insertions, 10 deletions
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" |