[PR #891] Fix translations dictionary #1080

Open
opened 2026-03-02 16:03:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/prasathmani/tinyfilemanager/pull/891
Author: @mlocati
Created: 11/23/2022
Status: 🔄 Open

Base: masterHead: fix-translations


📝 Commits (6)

  • c2b801e Make English strings array easier to be read
  • bfd52d1 Sort strings alphabetically
  • 18fed63 Comment out English strings no more in use
  • b5d5924 Add missing translatable strings
  • df12fe3 Use a separate method to retrieve translatable strings
  • f493dc6 Remove duplicated string

📊 Changes

1 file changed (+142 additions, -64 deletions)

View changed files

📝 tinyfilemanager.php (+142 -64)

📄 Description

The English dictionary currently available in the lng() method has some missing strings, and some strings are no more used.

I've checked the used strings with the output of

xgettext --default-domain=messages --output=test.pot --output-dir=. --language=PHP --from-code=UTF-8 --add-comments=i18n --keyword --keyword=lng:1 --no-escape --add-location tinyfilemanager.php

I added the missing strings, and commented out the ones that are no more in use.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/prasathmani/tinyfilemanager/pull/891 **Author:** [@mlocati](https://github.com/mlocati) **Created:** 11/23/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix-translations` --- ### 📝 Commits (6) - [`c2b801e`](https://github.com/prasathmani/tinyfilemanager/commit/c2b801ef330f44970313ac7edee127f6145b875a) Make English strings array easier to be read - [`bfd52d1`](https://github.com/prasathmani/tinyfilemanager/commit/bfd52d1095b29c6eb0f68f8b1925d8a2bc7419db) Sort strings alphabetically - [`18fed63`](https://github.com/prasathmani/tinyfilemanager/commit/18fed6336facd5f278a53e10d12bc5171c6b62ac) Comment out English strings no more in use - [`b5d5924`](https://github.com/prasathmani/tinyfilemanager/commit/b5d592425deb5dde379e860fd00ec2e960ab0e53) Add missing translatable strings - [`df12fe3`](https://github.com/prasathmani/tinyfilemanager/commit/df12fe300503ed0684499844ea818df99e61ea42) Use a separate method to retrieve translatable strings - [`f493dc6`](https://github.com/prasathmani/tinyfilemanager/commit/f493dc62d9909165aef403710667e56045686527) Remove duplicated string ### 📊 Changes **1 file changed** (+142 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `tinyfilemanager.php` (+142 -64) </details> ### 📄 Description The English dictionary currently available in the `lng()` method has some missing strings, and some strings are no more used. I've checked the used strings with the output of ``` xgettext --default-domain=messages --output=test.pot --output-dir=. --language=PHP --from-code=UTF-8 --add-comments=i18n --keyword --keyword=lng:1 --no-escape --add-location tinyfilemanager.php ``` I added the missing strings, and commented out the ones that are no more in use. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#1080
No description provided.