Skip to content

Localize alias #193

Answered by alexandercerutti
cuni0716 asked this question in Q&A
Mar 25, 2024 · 1 comments · 12 replies
Discussion options

You must be logged in to vote

Hey there, @cuni0716, I tried to give a look and I successfully obtained what we talked about.

Look at this:

trim.75526A3B-F8EF-4EC9-B5D0-14CF64C8701C.MOV

The issue is that the html quotes must be escaped, as the pass format requires string to be surrounded by double quotes. Something like this must appear in the final file:

"rewards.html" = "<a href=\"https://github.com/alexandercerutti/passkit-generator\">View all rewards</a>";

I don't know if, in both cases, single quotes work.

I'm not sure if there's anything that should be fixed in passkit-generator, but in your code you just need to double-escape the double quotes, like \\", as the first will be interpreted by JS I guess.

A…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@alexandercerutti
Comment options

@cuni0716
Comment options

@alexandercerutti
Comment options

@alexandercerutti
Comment options

Answer selected by cuni0716
@cuni0716
Comment options

@alexandercerutti
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants