lupdate.1
来自「qt-x11-free-3.0.3.tar.gz minigui图形界面工具」· 1 代码 · 共 74 行
1
74 行
.TH lupdate 1 "9 September 2001" "Trolltech AS" \" -*- nroff -*-.\".\" Copyright 2001 Trolltech AS. All rights reserved..\".\" This file is part of Qt and may be distributed and used according to.\" the terms and conditions described in the LICENSE file..\".SH NAMElupdate \- update Qt Linguist translation files.SH SYNOPSIS.B lupdate[options] project-file.SH DESCRIPTIONThis page documents the.B Qt Linguist Updatetool for the Qt GUI application framework..B Lupdatereads a tmake/qmake project file (.pro file), finds the translatablestrings in the specified source, header and interface files, andupdates the translation files (.ts files) specified in it. Thetranslation files are given to the translator who uses.B Qt Linguistto read the files and insert the translations..PPThe .ts file format is a simple human-readable XML format that can beused with version control systems if required..SH OPTIONS.TP.I "-help"Display the usage and exit..TP.I "-noobsolete"Drop all obsolete strings..TP.I "-verbose"Explain what is being done..TP.I "-version"Display the version of.B lupdateand exit..SH USAGEHere is an example .pro file that can be given to.B lupdate:.PP.in +4.nfHEADERS = funnydialog.h \\ wackywidget.hSOURCES = funnydialog.cpp \\ main.cpp \\ wackywidget.cppFORMS = fancybox.uiTRANSLATIONS = gnomovision_dk.ts \\ gnomovision_fi.ts \\ gnomovision_no.ts \\ gnomovision_se.ts.fi.in -4.PPWhen running.B lupdateon this project file, the translatable strings in all the fileslisted in the HEADERS, SOURCES and FORMS entries will be put inthe translation files listed in the TRANSLATIONS entry. Previoustranslations will be reused as far as possible, and translatedstrings that have vanished from the source files are marked obsolete..SH "SEE ALSO".BR lrelease (1)and.BR http://doc.trolltech.com/i18n.html.SH AUTHORJasmin Blanchette, Trolltech AS <jasmin@trolltech.com>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?