Skip to content

Commit

Permalink
Use macOS label instead of Mac for vector layer actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Jan 16, 2023
1 parent 33467dd commit 490a446
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/actions/qgsaction.cpp
Expand Up @@ -411,7 +411,7 @@ QString QgsAction::html() const
}
case Qgis::AttributeActionType::Mac:
{
typeText = QObject::tr( "Mac" );
typeText = QObject::tr( "macOS" );
break;
}
case Qgis::AttributeActionType::Windows:
Expand Down
2 changes: 1 addition & 1 deletion src/gui/vector/qgsattributeactiondialog.cpp
Expand Up @@ -247,7 +247,7 @@ QString QgsAttributeActionDialog::textForType( Qgis::AttributeActionType type )
case Qgis::AttributeActionType::GenericPython:
return tr( "Python" );
case Qgis::AttributeActionType::Mac:
return tr( "Mac" );
return tr( "macOS" );
case Qgis::AttributeActionType::Windows:
return tr( "Windows" );
case Qgis::AttributeActionType::Unix:
Expand Down
2 changes: 1 addition & 1 deletion src/gui/vector/qgsattributeactionpropertiesdialog.cpp
Expand Up @@ -247,7 +247,7 @@ void QgsAttributeActionPropertiesDialog::populateActionTypes()
{
mActionType->addItem( tr( "Generic" ), static_cast< int>( Qgis::AttributeActionType::Generic ) );
mActionType->addItem( tr( "Python" ), static_cast< int>( Qgis::AttributeActionType::GenericPython ) );
mActionType->addItem( tr( "Mac" ), static_cast< int>( Qgis::AttributeActionType::Mac ) );
mActionType->addItem( tr( "macOS" ), static_cast< int>( Qgis::AttributeActionType::Mac ) );
mActionType->addItem( tr( "Windows" ), static_cast< int>( Qgis::AttributeActionType::Windows ) );
mActionType->addItem( tr( "Unix" ), static_cast< int>( Qgis::AttributeActionType::Unix ) );
mActionType->addItem( tr( "Open URL" ), static_cast< int>( Qgis::AttributeActionType::OpenUrl ) );
Expand Down

0 comments on commit 490a446

Please sign in to comment.