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

Added a utility class for generating a report on i18n strings. #4652

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

bubblobill
Copy link
Collaborator

@bubblobill bubblobill commented Jan 19, 2024

Specifically to identify duplicated value strings with a couple of other bits thrown in.
Progresses #4651

Description of the Change

Added a class I18nTools
Added call in I18N I18nTools report = new I18nTools(false);
When true, adds lists of strings and associated duplicating key names to the log.

Purely an administrative tool helping identify things for maintenance

Example log
maptool.log

Shows there are 97 strings duplicated over 220 instances.
e.g.
OK:
lightDialog.ok
Button.ok
Ok:
msg.title.messageDialog.ok
dialog.button.ok

Possible Drawbacks

None

Documentation Notes

N/A

Release Notes

N/A


This change is Reviewable

Specifically to identify duplicated value strings
@bubblobill bubblobill added refactor Refactoring the code for optimal awesomeness. translations labels Jan 19, 2024
@cwisniew cwisniew added this pull request to the merge queue Jan 21, 2024
Merged via the queue into RPTools:develop with commit b29054f Jan 21, 2024
4 checks passed
@cwisniew cwisniew added the code-maintenance Adding/editing javadocs, unit tests, formatting. label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-maintenance Adding/editing javadocs, unit tests, formatting. refactor Refactoring the code for optimal awesomeness. translations
Projects
Development

Successfully merging this pull request may close these issues.

2 participants