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

wxGUI: Change caption of Data Catalog to Data #2833

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

wenzeslaus
Copy link
Member

The multi-window layout is/was using just Data which worked well, so this changes the label of the pane/panel to just Data for simplicity and consistency. Now both the top caption and notebook tab/page label (if in a notebook) are Data.

Screenshot Before: Single-window layout

A layout similar to the multi-window interface - all floating panels placed together in one notebook.

Screenshot from 2023-02-16 14-04-52

Screenshot After: Single-window layout

Same layout as above. Before this PR, the Data tab would be Data Catalog.

Screenshot from 2023-02-16 13-55-24

Screenshot for Comparison: Multi-window layout

Data catalog is under Data tab (unchanged by this PR).

Screenshot from 2023-02-16 14-01-32

The multi-window layout is/was using just Data which worked well, so this changes the label of the pane/panel to just Data for simplicity and consistency. Now both the top caption and notebook page label (if in a notebook) are Data.
@wenzeslaus wenzeslaus added enhancement New feature or request GUI wxGUI related Python Related code is in Python labels Feb 16, 2023
@wenzeslaus wenzeslaus added this to the 8.3.0 milestone Feb 16, 2023
@echoix
Copy link
Member

echoix commented Feb 16, 2023

And does the translation keys need to be updated to uniformise the names in other languages too?

@wenzeslaus
Copy link
Member Author

I'm happy to take an advise on that.

@@ -614,7 +614,7 @@ def BuildPanes(self):
self.datacatalog,
aui.AuiPaneInfo()
.Name("datacatalog")
.Caption("Data Catalog")
.Caption("Data")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these should be translatable. At least they are translatable in multiple-window GUI.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for catching that. None of the pane captions were translatable. Fixed.

@wenzeslaus wenzeslaus merged commit 731505b into OSGeo:main Feb 17, 2023
@wenzeslaus wenzeslaus deleted the rename-data-catalog-tab-to-data-tab branch February 17, 2023 22:32
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
The multi-window layout is/was using just Data which worked well, so this changes the label of the pane/panel to just Data for simplicity and consistency. Now both the top caption and notebook page label (if in a notebook) are Data.

Makes all pane captions translatable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GUI wxGUI related Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants