From 6285c11bc3001e30c20b86c393702b4cc6ea6b32 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Thu, 16 Apr 2020 21:48:06 +0200 Subject: [PATCH] Fix tranlations test. "Library" is translated to "Fonoteca" since 1504d8be1c4906ac4767da6a20a0c32754b3a0fe so we can adapt the test. --- tests/translations_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/translations_test.cpp b/tests/translations_test.cpp index c1b641a03..f02630071 100644 --- a/tests/translations_test.cpp +++ b/tests/translations_test.cpp @@ -29,8 +29,8 @@ TEST(Translations, Basic) { PoTranslator t; t.load("clementine_es.qm", ":/translations"); - EXPECT_EQ(QString::fromUtf8("Colección"), + EXPECT_EQ(QString::fromUtf8("Fonoteca"), t.translate("MainWindow", "Library")); - EXPECT_EQ(QString::fromUtf8("Colección"), + EXPECT_EQ(QString::fromUtf8("Fonoteca"), t.translate("", "Library")); }