Browse Source

skip keys starting with underscore

Markus-Rost 3 years ago
parent
commit
87157b9adc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/commands.yaml

+ 4 - 0
.github/workflows/commands.yaml

@@ -19,6 +19,10 @@ jobs:
           language=$(basename $language .json)
           language=$(basename $language .json)
           for file in `jq -r 'keys[]' interactions/i18n/$language.json`
           for file in `jq -r 'keys[]' interactions/i18n/$language.json`
           do
           do
+            if [[ "$file" =~ ^_ ]]
+            then
+              continue
+            fi
             echo $file
             echo $file
             for key in `jq -r ".$file | keys[]" interactions/i18n/$language.json`
             for key in `jq -r ".$file | keys[]" interactions/i18n/$language.json`
             do
             do