forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GUI] Generate FAQ answer content programmatically
Each FAQ answer content is formatted as a self-contained HTML page for styling purposes, however, having raw HTML in the `.ui` file's `<string>` properties means that said HTML tags are also exported to Transifex. This leads to a very ugly and confusing translation experience that is prone to errors. Here, we split up the content into shorter HTML-less strings: each list item is it's own string, and each paragraph is it's own string. No HTML tags are exported to Transifex. The necessary HTML tags are added by way of helper functions that wrap each string programmatically. Github-Pull: #2260 Rebased-From: ea7f593
- Loading branch information
Showing
3 changed files
with
116 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters