You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a few cases, I'd like the label and the link to "be the same." Notice that the url (https://example.com) and the email address ('[email protected]') is in both the ruby and the translation file. In my case these are dynamic values coming from the code.
If you'd like me to suggest a PR for the readme, let me know.
Example 1
It.it "example", link: "https://example.com"
en:
example:
'Go see %{link:https://example.com}.'
In a few cases, I'd like the label and the link to "be the same." Notice that the url (
https://example.com
) and the email address ('[email protected]') is in both the ruby and the translation file. In my case these are dynamic values coming from the code.If you'd like me to suggest a PR for the readme, let me know.
Example 1
Example 2
The following solution works. I'm not sure if there is something better for Example 2.
Example 1 Solution
CORRECTION: this does not work.
This does work:
Example 2 Solution
CORRECTION: this does not work.
This does work:
The text was updated successfully, but these errors were encountered: