[Notifications] Fix translations in popup
ClosedPublic

Authored by broulik on May 27 2019, 7:15 AM.

Details

Summary

The popup is a pure QML singleton and as such doesn't inherit the i18n context from the applet. Use i18nd explicitly.

BUG: 407927

Test Plan
  • Stuff in popup is translated properly now

main.qml and FullRepresentation.qml aren't changed as they are items that are used in the applet like normal.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.May 27 2019, 7:15 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 27 2019, 7:15 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.May 27 2019, 7:15 AM
yurchor accepted this revision.May 27 2019, 7:20 AM

Thanks.

This revision is now accepted and ready to land.May 27 2019, 7:20 AM
This revision was automatically updated to reflect the committed changes.
victorr added a subscriber: victorr.EditedMay 27 2019, 10:15 AM

This does not fix all files.

Which files are you missing? main.qml and FullRepresentation.qml aren't changed on purpose as it's not neccessary there.

Which files are you missing? main.qml and FullRepresentation.qml aren't changed on purpose as it's not neccessary there.

We also need this patch.

Which files are you missing? main.qml and FullRepresentation.qml aren't changed on purpose as it's not neccessary there.

We also need this patch.

It is possible that I am mistaken.
Need to check again.
Today, a little later, check it out.

We also need this patch.

It is possible that I am mistaken.
Need to check again.
Today, a little later, check it out.

I was wrong.
Patch is not needed.
Everything is working.
I'm sorry.