Repository navigation
decklink: Ship en-US locales for the captions and output UI plugins - #421
Merged
Merged
Conversation
…GREEN) Both plugins load a default locale they never shipped, so every launch warned and their menu and button text showed raw keys. decklink-captions also asked for "decklink-captons". Closes #157 Local-Gate: v1 tree=0747898a03376292fdaaad3ff8c917eb74f4fa90 secs=121 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791853423,"gate":"rust/all/fmt","host":"linux-x86_64","key":"a3b918b91985eadfb32a3d54894472a9266cab37dc2a0c38af56f0aa2fc18a50","lane":"lint","parents":["5c865d880ac2dd6dcd03efc75318c4e1f597d482"],"secs":16,"stamp":"91c7a6717e242f7bf793a2981d22e607","tree":"0747898a03376292fdaaad3ff8c917eb74f4fa90","v":1,"via":"run"} Ci-Attestation: {"at":1791853423,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"a3b918b91985eadfb32a3d54894472a9266cab37dc2a0c38af56f0aa2fc18a50","lane":"lint","parents":["5c865d880ac2dd6dcd03efc75318c4e1f597d482"],"secs":16,"stamp":"4d9a92828943c50e0a448c82d6c20965","tree":"0747898a03376292fdaaad3ff8c917eb74f4fa90","v":1,"via":"run"} Ci-Attestation: {"at":1791853423,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"b026be0107e72b1203c234f313852b99929cd9110f7f46e9f708776e22326a4f","lane":"rust-test","parents":["5c865d880ac2dd6dcd03efc75318c4e1f597d482"],"secs":44,"stamp":"0d0995f3b08dc5e4f499e61bfebf59ff","tree":"0747898a03376292fdaaad3ff8c917eb74f4fa90","v":1,"via":"run"} Ci-Attestation: {"at":1791853423,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"d954da2fb86f8c7279ba7f4bf71bd06753a32251b04f577451d6090a76100d63","lane":"tier2-linux","parents":["5c865d880ac2dd6dcd03efc75318c4e1f597d482"],"secs":61,"stamp":"7e5d8e86a3644fd0aef5868adfed76ec","tree":"0747898a03376292fdaaad3ff8c917eb74f4fa90","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #157.
decklink-captionsanddecklink-output-uicallOBS_MODULE_USE_DEFAULT_LOCALE, but theirdata/held only.keepme. Every Linux launch warnedFailed to load 'en-US' textfor both, and their Tools-menu and button strings fell back to raw keys.decklink-captionsalso asked for"decklink-captons".ci/test_plugin_locale.py(run by./lint) checks, for these two plugins, thatOBS_MODULE_USE_DEFAULT_LOCALEnames the module and thatdata/locale/en-US.inidefines every literalobs_module_textkey. It fails on the typo and the missing files. Other plugins can be added toCHECKEDonce their locales are verified.en-US.inifor both plugins (Decklink Captions, andDecklink Output/Start/Stop), the module-name typo fixed, and.keepmedropped.set_target_properties_obsalready installsdata/.The local gate passed and is stamped.