Skip to content

Commit aa195f0

Browse files
committed
feat: updat translation
log: test translation
1 parent 47b41d1 commit aa195f0

2 files changed

Lines changed: 785 additions & 322 deletions

File tree

src/deepin-draw/main.cpp

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

94+
// 测试翻译
95+
QString text1 = QObject::tr("The quick brown fox jumps over the lazy dog");
96+
QString text2 = QObject::tr("All work and no play makes Jack a dull boy");
97+
QString text3 = QObject::tr("To be or not to be, that is the question");
98+
99+
94100
QCommandLineOption openImageOption(QStringList() << "o" << "open",
95101
"Specify a path to load an image.", "PATH");
96102
QCommandLineOption activeWindowOption(QStringList() << "s" << "show",

0 commit comments

Comments
 (0)