File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments