A command which exits with a code of zero when the local strings are up to date with the upstream, or with a code of nonzero when there are changes to the strings that haven't been fetched yet.
I'd have two ideas how this could be implemented:
- reverse engineer the strings file that is already downloaded and compare between it and the upstream (though that would kinda defeat the purpose of only needing to download all strings if there is a difference + parsing the strings file might be quite a hassle)
- keep a "last modified" date field on the upstream and also download and save it in the strings file (just like there is right now the
texterify_timestamp), and compare these two dates if an update is necessary