Closed mattias-p closed 1 year ago
I fixed the broken test. I also changed the tag from V-Minor to V-Major because this is a breaking change.
Release testing successful:
LANGUAGE.locale
to an empty value, attempting to start zm-rpcapi fails with an error about LANGUAGE.locale
being empty.LANGUAGE.locale
to fr_FR fr_BE
, attempting to start zm-rpcapi fails with an error about a repeated language code.LANGUAGE.locale
back to its default value and starting zm-rpcapi, calling the job_results
method with language
set to fr
gives messages in French, but fr_FR
fails with an Invalid language tag format
error.
Purpose
This PR cleans up deprecations related to LANGUAGE.locale.
Context
It fixes #1061. It integrates a commit from #1060 which cleans up one of the deprecations.
Changes
_clear_LANGUAGE_locale
and_add_LANGUAGE_locale
methods are replaced with a_set_locales
method.How to test this PR
zm-rpcapi
with LANGUAGE.locale set to an empty value.zm-rpcapi
with LANGUAGE.locale including multiple locale tags with the same language code.language
argument with an exact locale tag present in LANGUAGE.locale.