nextcloud / officeonline

officeonline
43 stars 15 forks source link

2.1.0 on nextcloud 28.0.2 creation menu not in local language #522

Closed SteelPC closed 5 months ago

SteelPC commented 6 months ago

The main button "+ New file" for file creation is not in the local language anymore but defaults to english

Screenshot 2024-02-18 at 17-31-31

Orchal commented 6 months ago

Hi,

I found that in lib/AppInfo/Application.php, the text is : New document, New spreadsheet and New presentation. In l10n files, it's New Document, New Spreadsheet and New Presentation, with uppercase on the second word.

I changed that in Application.php and now it's translated.

Orchal commented 6 months ago

Hi,

I noticed that in Application.php, when new files are registered, the app is richdocuments. Maybe this is intended, I just wanted to bring that up in case of a copy paste not adapted.

Dennis1993 commented 6 months ago

Thank you very much, I created a pull request for you and your fix. :)