Changeset 03badea in subsurface


Ignore:
Timestamp:
Jun 24, 2017, 9:56:04 PM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
196adb5
Parents:
d93280f
git-author:
Jan Mulder <jlmulder@…> (06/24/17 13:09:38)
git-committer:
Dirk Hohndel <dirk@…> (06/24/17 21:56:04)
Message:

QML UI: make toast message translatable

Restyle construction of toast message and enable translation for it.
Further, removed newline characters as they break the lines at
non-logical positions.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/main.qml

    re3cd671 r03badea  
    194194                                                syncToCloud = !syncToCloud
    195195                                                if (!syncToCloud) {
    196                                                         var alertText = "Turning off automatic sync to cloud causes all data\n"
    197                                                         alertText +="to only be stored locally.\n"
    198                                                         alertText += "This can be very useful in situations with\n"
    199                                                         alertText += "limited or no network access.\n"
    200                                                         alertText += "Please chose 'Manual sync with cloud' if you have network\n"
    201                                                         alertText += "connectivity and want to sync your data to cloud storage."
    202                                                         showPassiveNotification(alertText, 10000)
     196                                                        showPassiveNotification(qsTr("Turning off automatic sync to cloud causes all data to only be \
     197stored locally. This can be very useful in situations with limited or no network access. Please choose 'Manual sync with cloud' \
     198if you have network connectivity and want to sync your data to cloud storage."), 10000)
    203199                                                }
    204200                                        }
Note: See TracChangeset for help on using the changeset viewer.