Commit a7c68f8
committed
Localize disclaimer confirmation phrase
Use the localized disclaimer placeholder as the expected confirmation phrase instead of the hardcoded English string. Updates pt-BR translation to use "Eu Entendo", and changes luatools.js to derive expectedPhrase via t('disclaimer.inputPlaceholder', 'I Understand') (trimmed/lowercased) for input validation and confirmation click, improving localization and consistency while keeping a fallback.1 parent c67f20b commit a7c68f8
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4438 | 4438 | | |
4439 | 4439 | | |
4440 | 4440 | | |
| 4441 | + | |
4441 | 4442 | | |
4442 | | - | |
| 4443 | + | |
4443 | 4444 | | |
4444 | 4445 | | |
4445 | 4446 | | |
| |||
4452 | 4453 | | |
4453 | 4454 | | |
4454 | 4455 | | |
4455 | | - | |
| 4456 | + | |
4456 | 4457 | | |
4457 | 4458 | | |
4458 | 4459 | | |
| |||
0 commit comments