Skip to content

Commit 7d8c2c5

Browse files
authored
feat: updat translation (#148)
log: test translation
1 parent 47b41d1 commit 7d8c2c5

2 files changed

Lines changed: 814 additions & 322 deletions

File tree

src/deepin-draw/main.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ int main(int argc, char *argv[])
9191
Application a(argc, argv);
9292
a.dApplication()->loadTranslator();
9393

94+
// 测试翻译
95+
qWarning() << QObject::tr("The quick brown fox jumps over the lazy dog");
96+
qWarning() << QObject::tr("All work and no play makes Jack a dull boy");
97+
qWarning() << QObject::tr("To be or not to be, that is the question");
98+
qWarning() << QObject::tr("Now is the time for all good men to come to the aid of their country");
99+
qWarning() << QObject::tr("The early bird catches the worm");
100+
qWarning() << QObject::tr("A picture is worth a thousand words");
101+
qWarning() << QObject::tr("Actions speak louder than words");
102+
qWarning() << QObject::tr("Better late than never");
103+
94104
QCommandLineOption openImageOption(QStringList() << "o" << "open",
95105
"Specify a path to load an image.", "PATH");
96106
QCommandLineOption activeWindowOption(QStringList() << "s" << "show",

0 commit comments

Comments
 (0)