From f05fb22380ff18d9b523382081525812f60373a6 Mon Sep 17 00:00:00 2001 From: flow0284 Date: Sun, 25 Oct 2020 01:20:14 +0200 Subject: [PATCH] Delete get-translations.sh --- .github/workflows/get-translations.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/get-translations.sh diff --git a/.github/workflows/get-translations.sh b/.github/workflows/get-translations.sh deleted file mode 100644 index 4e018e0..0000000 --- a/.github/workflows/get-translations.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -function get-translations(){ - curl -H "X-Api-Token: bd16e94f-a16e-4446-a8ee-88ce6a862a4f" -X GET -H \ - "Content-type: application/json" \ - >temp.lua \ - "https://wow.curseforge.com/api/projects/82538/localization/export?lang=$1" - - sed -e '/--.*$/{r temp.lua' -e 'd}' ProspectButton/locales/$1.lua >temp2.lua - awk '{gsub("\\\\\\\\n", "\\n", $0); print}' temp2.lua >temp.lua - mv temp.lua ProspectButton/locales/$1.lua - rm temp2.lua -} -get-translations $1