Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displayable string language/dir support from document context #192

Closed
wants to merge 3 commits into from

Conversation

ianbjacobs
Copy link
Collaborator

@ianbjacobs ianbjacobs commented Jun 21, 2022

Borrow language from the Payment Request API Proposed Recommendation regarding inheritance of language and direction information from the document for use in the browser's native UX.

Intended to address #93


Preview | Diff

…regarding inheritance of language and direction information from the document for use in the browser's native UX.
spec.bs Outdated
@@ -692,6 +692,8 @@ on the value of the [=current transaction automation mode=]:
:: Act as if the user has seen the transaction details and rejected
the authentication.

NOTE: The language and direction of the {{CollectedClientAdditionalPaymentData/payeeName} and {{PaymentCredentialInstrument/displayName}} may often be determined from information inherited from the document. For discussion about enhanced support in JavaScript for language and direction of these displayable strings, see<a href="https://github.com/w3c/secure-payment-confirmation/issues/93">issue 93</a>.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
NOTE: The language and direction of the {{CollectedClientAdditionalPaymentData/payeeName} and {{PaymentCredentialInstrument/displayName}} may often be determined from information inherited from the document. For discussion about enhanced support in JavaScript for language and direction of these displayable strings, see<a href="https://github.com/w3c/secure-payment-confirmation/issues/93">issue 93</a>.
NOTE: The language and direction of the {{CollectedClientAdditionalPaymentData/payeeName} and {{PaymentCredentialInstrument/displayName}} may be determined from information inherited from the document. For discussion about enhanced support in JavaScript for language and direction of these displayable strings, see<a href="https://github.com/w3c/secure-payment-confirmation/issues/93">issue 93</a>.

(Remove often).

Copy link
Collaborator

@stephenmcgruer stephenmcgruer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo one comment

@ianbjacobs
Copy link
Collaborator Author

Thanks, Stephen. I've folded in your suggestion. Let's wait to hear from I18N folks before merging.

@ianbjacobs
Copy link
Collaborator Author

Closing this based on
#209

@ianbjacobs ianbjacobs closed this Sep 14, 2022
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.

None yet

2 participants