Signal-iOS/Scripts
Evan Hahn 32476f0fa7 Improve script to find unused strings
This script broke in the migration to Python 3 (see
1101db6a29). This change fixes those bugs,
and also:

1. Allows you to supply multiple source directories. Previously, you
   could only provide one, which meant that you'd see lots of unused
   strings, even though they were used in a different folder.
2. Adds usage instructions with `--help`, thanks to Python's `argparse`
   module.
3. Quits with a `1` status code if any unused strings are found.
4. Prints unused strings instead of used ones.
5. Speeds up the script by only searching for keys. Previously, it'd
   also look for comments and blank lines in the `Localizable.strings`
   file.
6. Speeds up the script by only reading files once, instead of once per
   key.
2022-04-15 15:28:15 -05:00
..
git_hooks dedupe git hooks 2018-03-02 17:57:58 -05:00
sds_codegen SSK: Remove obsolete OWSMessageDecryptJob 2022-04-11 14:46:43 -07:00
translation auto-genstrings: Fix OWSLocalizedString breakage 2022-04-05 10:48:05 -07:00
AuditStringH.py More Python 3 script fixes 2022-03-24 10:28:27 -05:00
bump_build_tag.py Scripts: subprocess.check_output should use text=True for compatibility 2022-03-24 17:28:12 -05:00
ClearDerivedData.sh Respond to CR. 2018-02-09 10:31:29 -05:00
debug_log_upload.py Scripts: subprocess.check_output should use text=True for compatibility 2022-03-24 17:28:12 -05:00
disableUniversalDeviceSupport More Python 3 script fixes 2022-03-24 10:28:27 -05:00
emoji_ranges.py Upgrade scripts to Python 3 2022-03-21 12:58:33 -05:00
emoji-data.txt Respond to CR. 2017-10-30 12:11:42 -04:00
EmojiGenerator.swift Perform emoji mapping in EmojiGenerator 2022-04-01 14:55:30 -07:00
enableUniversalDeviceSupport More Python 3 script fixes 2022-03-24 10:28:27 -05:00
feature_flags_beta.py Upgrade scripts to Python 3 2022-03-21 12:58:33 -05:00
feature_flags_common.py Scripts: subprocess.check_output should use text=True for compatibility 2022-03-24 17:28:12 -05:00
feature_flags_openPreview.py Upgrade scripts to Python 3 2022-03-21 12:58:33 -05:00
feature_flags_production.py Upgrade scripts to Python 3 2022-03-21 12:58:33 -05:00
feature_flags_qa.py Upgrade scripts to Python 3 2022-03-21 12:58:33 -05:00
HardResetGit.sh Hard reset git script. 2017-01-31 13:58:13 -05:00
precommit.py Speed up pre-commit script 2022-03-23 09:43:21 -05:00
ProtoWrappers.py More Python 3 script fixes 2022-03-24 10:28:27 -05:00
reverse_integration_check.py Fix Python deprecation warning in reverse integration check script 2022-04-09 16:36:44 -05:00
schema_dump Firm up database schema 2021-11-09 14:25:42 -08:00
set_release_notes Fix release notes 2021-05-02 11:51:36 -07:00
setup_private_pods Fix setup_private_pods script for newly-cloned repos 2022-01-28 10:04:00 -08:00
sqlclient PR Feedback, update schema_dump to support sqlclient updates 2020-08-20 13:07:23 -07:00
sqlclient-legacy sql client scripts 2019-04-05 10:50:45 -06:00
unused_strings.py Improve script to find unused strings 2022-04-15 15:28:15 -05:00
update_plist_info.sh A couple small changes to improve visibility of build configuration 2021-10-05 20:43:42 -07:00
update_share_plist_info.sh PR Feedback 2019-05-28 13:07:34 -07:00
upload_metadata Manage app store metadata with transifex 2021-04-22 12:53:43 -07:00