Page MenuHomekolab.org

Pass on a language identifier even if we couldn't find a translation file
ClosedPublic

Authored by mollekopf on Jan 18 2021, 1:07 PM.

Details

Summary

This fixes translating the collabora online UI for languages other than
german and english.

Diff Detail

Repository
rC chwala
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mollekopf requested review of this revision.Jan 18 2021, 1:07 PM
mollekopf created this revision.
machniak added inline comments.Jan 18 2021, 1:21 PM
lib/file_locale.php
107

It is probably all right. These three lines are already executed in this file, so I see a room for improvement. I.e. set $fallback in the foreach loop above. Also, add space after //.

mollekopf updated this revision to Diff 5848.Jan 18 2021, 1:28 PM

Addressed comments

machniak accepted this revision.Jan 18 2021, 1:29 PM
This revision is now accepted and ready to land.Jan 18 2021, 1:29 PM
This revision was automatically updated to reflect the committed changes.