Skip to content

Commit

Permalink
use UK english (#3407)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik authored May 2, 2024
1 parent 14ca9b7 commit df786d4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/qml/dialogs/MMMissingAuthDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ MMDrawerDialog {

imageSource: __style.signInImage
title: qsTr( "Sign in to your account" )
description: qsTr( "You need to be signed in to your Mergin Maps account in order to synchronize the project." )
description: qsTr( "You need to be signed in to your Mergin Maps account in order to synchronise the project." )
primaryButton.text: qsTr( "Yes, I want to sign in" )
secondaryButton.text: qsTr( "No, thanks" )

Expand Down
2 changes: 1 addition & 1 deletion app/qml/dialogs/MMNoPermissionsDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ MMDrawerDialog {

imageSource: __style.noPermissionsImage
title: qsTr( "No rights to access the project" )
description: qsTr( "You are not allowed to synchronize your changes in this project. Contact the project owner to assign you the correct permission. If you are the project owner, log in to the dashboard." )
description: qsTr( "You are not allowed to synchronise your changes in this project. Contact the project owner to assign you the correct permission. If you are the project owner, log in to the dashboard." )
primaryButton.text: qsTr( "Ok, I understand" )

onPrimaryButtonClicked: {
Expand Down
2 changes: 1 addition & 1 deletion app/qml/dialogs/MMRemoveProjectDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MMDrawerDialog {

imageSource: __style.negativeMMSymbolImage
title: qsTr( "Remove project" )
description: qsTr( "Any unsynchronized changes will be lost in project \n %1" ).arg( relatedProjectId )
description: qsTr( "Any unsynchronised changes will be lost in project \n %1" ).arg( relatedProjectId )
primaryButton.text: qsTr("Remove")
secondaryButton.text: qsTr("Cancel")

Expand Down
2 changes: 1 addition & 1 deletion app/qml/dialogs/MMSyncFailedDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MMComponents.MMDrawerDialog {

property string detailedText

title: qsTr( "Failed to synchronize your changes" )
title: qsTr( "Failed to synchronise your changes" )
imageSource: __style.syncFailedImage

description: qsTr( "Your changes could not be sent to the server, make sure you have a data connection and have permission to edit this project." )
Expand Down
4 changes: 2 additions & 2 deletions app/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ ApplicationWindow {

if ( success )
{
__notificationModel.addSuccess( qsTr( "Successfully synchronized" ) )
__notificationModel.addSuccess( qsTr( "Successfully synchronised" ) )

// refresh canvas
map.refreshMap()
Expand Down Expand Up @@ -838,7 +838,7 @@ ApplicationWindow {
if ( willRetry )
{
// TODO: open sync failed dialogue when clicked on the notification
__notificationModel.addError( qsTr( "There was an issue during synchronization, we will try again. Click to learn more" ) )
__notificationModel.addError( qsTr( "There was an issue during synchronisation, we will try again. Click to learn more" ) )
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion app/qml/project/MMProjectList.qml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Item {

onSyncRequested: {
if ( model.ProjectRemoteError ) {
__notificationModel.addError( qsTr( "Could not synchronize project, please make sure you are logged in and have sufficient rights." ) )
__notificationModel.addError( qsTr( "Could not synchronise project, please make sure you are logged in and have sufficient rights." ) )
}
else if ( !model.ProjectIsMergin ) {
controllerModel.migrateProject( projectId )
Expand Down
2 changes: 1 addition & 1 deletion app/qml/project/components/MMProjectDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Control {
"callback": () => root.syncRequested()
},
"sync": {
"name": qsTr("Synchronize project"),
"name": qsTr("Synchronise project"),
"iconSource": __style.syncGreenIcon,
"callback": () => root.syncRequested()
},
Expand Down
4 changes: 2 additions & 2 deletions app/synchronizationmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ class SynchronizationManager : public QObject

Q_INVOKABLE void migrateProjectToMergin( const QString &projectName );

//! Returns sync progress of specified project in range <0, 1>. Returns -1 if this project is not being synchronized.
//! Returns sync progress of specified project in range <0, 1>. Returns -1 if this project is not being synchronised.
qreal syncProgress( const QString &projectFullName ) const;

//! Returns true if specified project is being synchronized, false otherwise.
//! Returns true if specified project is being synchronised, false otherwise.
Q_INVOKABLE bool hasPendingSync( const QString &projectFullName ) const;

QList<QString> pendingProjects() const;
Expand Down

0 comments on commit df786d4

Please sign in to comment.