Obsolete file check-localization-keys.txt

This commit is contained in:
Anton Georgiev 2022-01-10 16:08:05 -05:00 committed by GitHub
parent 1d3fe1c8f0
commit ae2155cd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +0,0 @@
These instructions help for determine which localization strings are used in the bigbluebutton-client
1) Get the keys from the properties file, execute:
awk 'match($0,"="){ print substr($0,1,RSTART-1) }' /home/firstuser/dev/bigbluebutton/bigbluebutton-client/locale/en_US/bbbResources.properties &> keys.properties
2) Copy the following text to a file called routine.sh:
for i in $(cat keys.properties)
do
if grep -nr --exclude-dir="locale" $i /home/firstuser/dev/bigbluebutton/bigbluebutton-client/
then
echo "$i" >> keys-used.properties
else
echo "$i" >> keys-not-used.properties
fi
done
Then run: sh routine.sh