Просмотр исходного кода

Remove scripts

It has done its job, let it rest in peace
Manav Rathi 1 год назад
Родитель
Сommit
568f4540e3
1 измененных файлов с 0 добавлено и 14 удалено
  1. 0 14
      web/scripts/find-unused-tr-keys.sh

+ 0 - 14
web/scripts/find-unused-tr-keys.sh

@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Find localization keys that are possibly not being used.
-#
-# Caveat emptor. Uses a heuristic grep, not perfect.
-
-jq -r 'keys[]' packages/next/locales/en-US/translation.json | while read key
-do
-    if ! git grep --quiet --fixed '"'$key'"' -- :^'**/translation.json'
-    then
-        echo "possibly unused key ${key}"
-    fi
-done
-