errorSplash strings should use interpolation instead of concateration
See original GitHub issueWhile working on Korean translation I noticed errorSplash
strings are based on concateration approach, which may not work in all languages due to the differences in ordering of words.
I suggest using string interpolation instead of concatenating a variable between pre
and post
strings.
References
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
String concatenation vs string interpolation in Python
So when we're concatenating two strings, we're gluing them together by using the + sign. Now, string concatenation is great, but it can...
Read more >Is it best practice to use string concatenation or string ...
Answer. String interpolation was a new feature of ES6 - string interpolation, using template literals, allows us to include variables and ...
Read more >String concatenation vs. interpolation in Ruby - Stack Overflow
Using "string interpolation" (the second) instead of "string concatenation" (the first):. Pros: Is less typing; Automatically calls to_s for you ...
Read more >What is the difference between concatenation and ...
Concatenation allows you to combine to strings together and it only works on two strings. Swift uses string interpolation to include the ...
Read more >String interpolation - IBM
Format locale-sensitive information. The following example shows two expressions that would produce the same output, using string concatenation and string ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there since I have been caught up in other things. I’m removing my self as assignee from this issue. Thanks for being awesome 😃
It’s still unclear to me how we’d interpolate JSX elements, esp with event handlers and such:
https://github.com/excalidraw/excalidraw/blob/778e4b08af13a0e1a4a2a4c8052d51af40c87da3/src/components/TopErrorBoundary.tsx#L115-L131