Skip to content

pt-PT translation - #1359

Closed
maghuro wants to merge 6 commits into
prasathmani:masterfrom
maghuro:master
Closed

pt-PT translation#1359
maghuro wants to merge 6 commits into
prasathmani:masterfrom
maghuro:master

Conversation

@maghuro

@maghuro maghuro commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

add pt-PT translation and fix some bugs related to translation

Add pt-PT translation and some bugfixes related to translati
correct is "Dialog" not "Dailog"
fix
And add translations in pt-PT

@ner00 ner00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Line 1674 (translation.json) needs some correction.

@maghuro

maghuro commented Dec 5, 2025

Copy link
Copy Markdown
Contributor Author

Line 1674 (translation.json) needs some correction.

How dare you, correcting me in my own language? ahah

Good catch! Thank you!

@ner00

ner00 commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

How dare you, correcting me in my own language? ahah

I guess we have something in common then ;)

@prasathmani

Copy link
Copy Markdown
Owner

@maghuro , I appreciate the PR! Please give me a little time, and I'll review and merge it.

@maghuro
maghuro requested a review from ner00 December 10, 2025 22:59

@Maikuolan Maikuolan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The title for this pull request is "pt-PT translation", which suggests its intention is to introduce translations for European Portuguese to tinyfilemanager, but I see it also contains corrections to the German translations, to the Brazilian Portuguese translations, fixes a few typos in the main tinyfilemanager.php file (e.g., Dailog -> Dialog), and introduces various other changes to that main file, too.

I think it would be better to split this up into multiple, separate, distinct pull requests. IMO, a pull request should just achieve whatever its suggested intention is, which is most cases, will just be achieving one specific thing, e.g., fixing a bug, fixing some typos, new translations, implementing a new feature or whatever else. All these things are good things to do, of course, but it's easier for maintainers to properly review and manage pull requests when each pull request has a narrow, specific focus. Better to have multiple, smaller pull requests, rather than just one giant pull request.

@maghuro

maghuro commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

The title for this pull request is "pt-PT translation", which suggests its intention is to introduce translations for European Portuguese to tinyfilemanager, but I see it also contains corrections to the German translations, to the Brazilian Portuguese translations, fixes a few typos in the main tinyfilemanager.php file (e.g., Dailog -> Dialog), and introduces various other changes to that main file, too.

I think it would be better to split this up into multiple, separate, distinct pull requests. IMO, a pull request should just achieve whatever its suggested intention is, which is most cases, will just be achieving one specific thing, e.g., fixing a bug, fixing some typos, new translations, implementing a new feature or whatever else. All these things are good things to do, of course, but it's easier for maintainers to properly review and manage pull requests when each pull request has a narrow, specific focus. Better to have multiple, smaller pull requests, rather than just one giant pull request.

Thank you for the careful review. I agree that this pull request grew beyond the scope suggested by its title.

Because the branch is now several months behind "master", I will not rebase the mixed set of changes as-is. Instead, I am rebuilding the work from the current upstream "master" and splitting it into focused pull requests:

  1. A pt-PT translation refresh, changing only "translation.json".
  2. A small i18n fix for the remaining hard-coded UI labels in "tinyfilemanager.php".

I will leave out the unrelated German and pt-BR edits, and I will not duplicate fixes that have since landed upstream. Once the replacement pull requests are open, I will close this superseded one.

Thanks again.

@maghuro

maghuro commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for the review. I agree that the original pull request had grown beyond the scope suggested by its title.

I rebuilt the work from the current upstream master and split it into two focused pull requests:

The replacement PRs intentionally exclude the unrelated German and Brazilian Portuguese changes, and fixes that had already landed upstream were not duplicated.

Closing this pull request as superseded by #1423 and #1424. Thank you again for the guidance.

@maghuro maghuro closed this Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants