sailfishos / sailfish-components-webview

Mozilla Public License 2.0
13 stars 23 forks source link

Support translation keys in dialogs #117

Closed llewelld closed 3 years ago

llewelld commented 3 years ago

Updates the default dialogs to use translation keys passed from the gecko engine for localisation of messages presented to the user.

Updates the documentation with info about the translation keys for custom dialog creation.

Adds a customisable Select custom dialog type for selecting multiple values in a dialog with a message.

llewelld commented 3 years ago

Requires https://github.com/sailfishos/embedlite-components/pull/5

llewelld commented 3 years ago

Rebased.

llewelld commented 3 years ago

I've updated this PR to use qtTrIds generated direction from the gecko properties files using the generate_property_translations.py tool.

This should now be ready for review so I'm removing the WIP prefix.

llewelld commented 3 years ago

I've added the commits for "JB#54829/OMP#JOLLA-221 - Find outstanding gecko strings for conversion to Qt id" on top of this one since it relates.

llewelld commented 3 years ago

Added sledges as a review for l10n support. Added Tomi as a review in relation to the gecko-key-to-qt-id conversion.

rainemak commented 3 years ago

Rebase and resolve conflicts.

rainemak commented 3 years ago

Rebased here https://github.com/sailfishos/sailfish-components-webview/pull/124