-
Notifications
You must be signed in to change notification settings - Fork 216
Unlocalizable strings #3045
Comments
I can take a look and include missing strings if they are hardcoded. |
address "Channels menu's label on the main screen" issue in LN-Zap#3045
address '"onchain" and "in channels" on the Pay screen' issue in LN-Zap#3045
address '"or" on the Connect screen during the onboarding' issue in LN-Zap#3045
@sohomang I addressed all issues except for the last one and the "bonus" one. I didn't address the last one
As these are error messages, do we wanna have them localizable @mrfelton? As for the bonus one
This makes sense to me. Is there a reason why we would want to keep it as "open" instead of "online" @mrfelton? |
address "Channels menu's label on the main screen" issue in LN-Zap#3045
address '"onchain" and "in channels" on the Pay screen' issue in LN-Zap#3045
address '"or" on the Connect screen during the onboarding' issue in LN-Zap#3045
address '"onchain" and "in channels" on the Pay screen' issue in LN-Zap#3045
Also, I'm wondering if we should have a lint rule to disallow hardcoded strings in JSX to avoid this sort of bug in the future. I found this rule: https://github.com/Shopify/eslint-plugin-shopify/blob/master/docs/rules/jsx-no-hardcoded-content.md There might be rules in other packages that do the same thing. Thoughts, @mrfelton? |
I think that makes sense - what we call So, we'd have:
I don't know of other lint rules to do this @bolatovumar . I'd definitely be interested to see if this package works well as this is a common problem and one thats too easy to overlook. |
address "bonus" issue in LN-Zap#3045
@mrfelton ok, i tried out that rule and it found 26 errors. I'm thinking it's worth it to create a separate issue for this and have a PR that enables this rule? |
Yes, please do @bolatovumar |
Closed via #3050 |
Description
The following strings do not exist in
translations/en.json
, so they're not showing up in Crowdin:Pay
screenConnect
screen during the onboardingBonus:
open
status label next to each channel sayonline
instead? In contrast to theoffline
status.Screenshots
Respectively:
The text was updated successfully, but these errors were encountered: