aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usb-snap.cpp2
-rw-r--r--tests/integration/usb-manager-test.cpp2
-rw-r--r--tests/unit/usb-snap-test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/usb-snap.cpp b/src/usb-snap.cpp
index 41c78c6..ba964fb 100644
--- a/src/usb-snap.cpp
+++ b/src/usb-snap.cpp
@@ -111,7 +111,7 @@ private:
g_variant_builder_add(&actions_builder, "s", ACTION_ALLOW);
g_variant_builder_add(&actions_builder, "s", _("Allow"));
g_variant_builder_add(&actions_builder, "s", ACTION_DENY);
- g_variant_builder_add(&actions_builder, "s", _("Deny"));
+ g_variant_builder_add(&actions_builder, "s", _("Don't Allow"));
GVariantBuilder hints_builder;
g_variant_builder_init(&hints_builder, G_VARIANT_TYPE_VARDICT);
diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp
index 03c80c7..d62756f 100644
--- a/tests/integration/usb-manager-test.cpp
+++ b/tests/integration/usb-manager-test.cpp
@@ -122,7 +122,7 @@ TEST_F(UsbManagerFixture, Allow)
EXPECT_EQ("computer-symbolic", args.at(2)); // icon name
EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary
EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + QString::fromUtf8(fingerprint.c_str()), args.at(4)); // body
- EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Deny"}), args.at(5)); // actions
+ EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions
EXPECT_EQ(-1, args.at(7));
QVariantMap hints;
diff --git a/tests/unit/usb-snap-test.cpp b/tests/unit/usb-snap-test.cpp
index 40de94a..3b778dd 100644
--- a/tests/unit/usb-snap-test.cpp
+++ b/tests/unit/usb-snap-test.cpp
@@ -106,7 +106,7 @@ TEST_F(UsbSnapFixture, TestRoundTrip)
EXPECT_EQ("computer-symbolic", args.at(2)); // icon name
EXPECT_EQ("Allow USB Debugging?", args.at(3)); // summary
EXPECT_EQ(QString::fromUtf8("The computer's RSA key fingerprint is: ") + test.fingerprint, args.at(4)); // body
- EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Deny"}), args.at(5)); // actions
+ EXPECT_EQ(QStringList({"allow", "Allow", "deny", "Don't Allow"}), args.at(5)); // actions
EXPECT_EQ(-1, args.at(7));
QVariantMap hints;