Skip to content

Make more stuff translatable#601

Draft
reosarevok wants to merge 19 commits into
oauth-phase-2from
make-stuff-translatable
Draft

Make more stuff translatable#601
reosarevok wants to merge 19 commits into
oauth-phase-2from
make-stuff-translatable

Conversation

@reosarevok

Copy link
Copy Markdown
Member

Please double check if this is the right way to do these things - I've aped what I saw @MonkeyDo do for the combined strings.

For the policy docs, ideally we should fix all these to have strings as variables, but before doing it like we have done elsewhere (which keeps the <a> in the string and only replaces the URL itself) I thought I'd ask if it can be done as in the tsx files and have the whole <a> element replaced by a variable?

It looks like this was intended to be used for a tier upgrade process, but
we currently just do that by letting the user mail us.
is_upgrade does not seem to be set anywhere in the codebase.
Otherwise we are promising more than we should.
As worded this suggests we would block access to all our APIs, but most
of them are public. This seems to be meant specifically for the replication
API only.
This seems to not change the meaning at all, but require double
the translator effort.
We have received several checks every year, including some for
thousands of dollars - we should not say we don't accept them entirely,
but we should discourage their use.
For what it's worth, we pay $10 or more in fees every time we make
someone go to the bank and cash a check for us.
We already do so for "Commercial".
Without that the order wouldn't make sense in many languages.
This makes it a lot more clear for translation.
This is otherwise almost entirely untranslateable.
This makes it a lot more clear for translation.
@reosarevok
reosarevok requested review from MonkeyDo and amCap1712 and removed request for amCap1712 July 16, 2026 15:19
@reosarevok
reosarevok changed the base branch from master to oauth-phase-2 July 16, 2026 15:19
@github-actions

Copy link
Copy Markdown

Test Results

401 tests  +176   384 ✅ +164   3m 12s ⏱️ + 2m 20s
  1 suites ±  0     5 💤 ±  0 
  1 files   ±  0    12 ❌ + 12 

For more details on these failures, see this check.

Results for commit fe82364. ± Comparison against base commit 2a8e235.

This pull request removes 153 and adds 329 tests. Note that renamed tests count towards both.
metabrainz.supporter.views_test.SupportersViewsTestCase ‑ test_musicbrainz
metabrainz.supporter.views_test.SupportersViewsTestCase ‑ test_musicbrainz_post
metabrainz.supporter.views_test.SupportersViewsTestCase ‑ test_signup
metabrainz.views_test.IndexViewsTestCase ‑ test_about
metabrainz.views_test.IndexViewsTestCase ‑ test_about_customers
metabrainz.views_test.IndexViewsTestCase ‑ test_bad_customers
metabrainz.views_test.IndexViewsTestCase ‑ test_code_of_conduct
metabrainz.views_test.IndexViewsTestCase ‑ test_contact
metabrainz.views_test.IndexViewsTestCase ‑ test_dataset_download
metabrainz.views_test.IndexViewsTestCase ‑ test_dataset_signup
…
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_access
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_delete_supporter
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_delete_user
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_supporter_delete_missing_confirmation
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_supporter_delete_missing_reason
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_supporter_delete_requires_auth
metabrainz.admin.views_test.AdminViewsTestCase ‑ test_admin_verify_email
metabrainz.index.views_test.IndexViewsTestCase ‑ test_about
metabrainz.index.views_test.IndexViewsTestCase ‑ test_about_customers
metabrainz.index.views_test.IndexViewsTestCase ‑ test_bad_customers
…
This pull request removes 5 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
oauth.tests.test_oauth_authorization_code.AuthorizationCodeGrantTestCase ‑ test_oauth_authorize_parameter_reuse
oauth.tests.test_oauth_authorization_code.AuthorizationCodeGrantTestCase ‑ test_oauth_token_parameter_reuse
oauth.tests.test_oauth_authorization_code_pkce.AuthorizationCodeGrantPKCETestCase ‑ test_oauth_pkce_invalid_code_challenge
oauth.tests.test_oauth_implicit.ImplicitGrantTestCase ‑ test_oauth_authorize_parameter_reuse
oauth.tests.test_oauth_revocation.RevocationTestCase ‑ test_oauth_revoke_different_credentials
metabrainz.oauth.tests.test_oauth_authorization_code.AuthorizationCodeGrantTestCase ‑ test_oauth_authorize_parameter_reuse
metabrainz.oauth.tests.test_oauth_authorization_code.AuthorizationCodeGrantTestCase ‑ test_oauth_token_parameter_reuse
metabrainz.oauth.tests.test_oauth_authorization_code_pkce.AuthorizationCodeGrantPKCETestCase ‑ test_oauth_pkce_invalid_code_challenge
metabrainz.oauth.tests.test_oauth_implicit.ImplicitGrantTestCase ‑ test_oauth_authorize_parameter_reuse
metabrainz.oauth.tests.test_oauth_revocation.RevocationTestCase ‑ test_oauth_revoke_different_credentials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant