Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUI][Cleanup] Stop translating placeholder strings #2635

Merged
merged 6 commits into from
Nov 18, 2021

Conversation

Fuzzbawls
Copy link
Collaborator

Stop passing placeholder strings that will never be shown in the GUI to Transifex. This includes many unused WindowTitle instances, as well as dynamic strings that are always set programmatically.

Additionally, we can simplify the fee-per-kb text by not passing a string literal, and instead use a dynamic string that doesn't need translating. The same goes for the payment request UI, where we can simply insert the current network's acronym (PIV or tPIV, for example) instead of a static string that doesn't need translation.

Lastly, the export UI had some strings that were either too vague, or multiple strings that described the same thing.


Net difference in number of strings is 3 new and 75 removed.

As we base the inclusion of a translation language into the wallet client on it's translation completion percentage; getting rid of these placeholder strings, as well as unifying multiple strings to describe the same thing, will ultimately improve the translation process and make it easier for a language to reach the 80% translation threshold for inclusion.

This string can be generated dynamically and using the current network's
 display unit. `kB` is also universally accepted in most languages so no
  translation is needed.
Stop translating the `PIV` string literal, and use the current network's
 display unit.
Cleans up the CSV export UI to reduce the number of strings being
translated.
After the previous commits, net result is 3 new strings and 75 removed
strings
@Fuzzbawls Fuzzbawls added this to the 5.4.0 milestone Nov 10, 2021
@Fuzzbawls Fuzzbawls self-assigned this Nov 10, 2021
@furszy
Copy link

furszy commented Nov 10, 2021

JSYK, the failing GA job is solved in #2634.

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 40f2f12

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 40f2f12

@furszy furszy merged commit 692a713 into PIVX-Project:master Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants