Fix tranlations test.

"Library" is translated to "Fonoteca" since
1504d8be1c so we can adapt the test.
This commit is contained in:
Pierre Langlois 2020-04-16 21:48:06 +02:00 committed by John Maguire
parent b0c92ae784
commit 6285c11bc3
1 changed files with 2 additions and 2 deletions

View File

@ -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"));
}