mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
use sed to replace tr() with _()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2597 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b755373819
commit
af9ab9d8b6
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-27 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* ui/*.ui:
|
||||||
|
* ui/Makefile.am: add some sed magic to replace tr() with _()
|
||||||
|
|
||||||
2001-08-27 John Levon <moz@compsoc.man.ac.uk>
|
2001-08-27 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* Makefile.am: remove accidentally committed xforms file
|
* Makefile.am: remove accidentally committed xforms file
|
||||||
|
@ -16,7 +16,12 @@ DISTCLEANFILES = $(UIDIALOGS) *.orig *.rej *~ *.bak core
|
|||||||
|
|
||||||
libqt2ui_la_SOURCES = $(UIDIALOGS)
|
libqt2ui_la_SOURCES = $(UIDIALOGS)
|
||||||
|
|
||||||
|
# a pattern to change tr() to _()
|
||||||
|
|
||||||
|
SED=sed
|
||||||
|
SEDREPLACETR=s,[^A-Za-z]tr[ ]*(,_(,g
|
||||||
|
SEDREMOVEEMPTY=s,_[ ]*([ ]*""[ ]*),"",g
|
||||||
%Base.h: %.ui
|
%Base.h: %.ui
|
||||||
$(UIC) $< -o $@
|
$(UIC) $< -o $@
|
||||||
%Base.C: %Base.h %.ui
|
%Base.C: %Base.h %.ui
|
||||||
$(UIC) -impl $^ -o $@
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QAboutDialogBase</class>
|
<class>QAboutDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
@ -11,7 +13,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>448</width>
|
<width>444</width>
|
||||||
<height>454</height>
|
<height>454</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QBibitemDialogBase</class>
|
<class>QBibitemDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QBibtexDialogBase</class>
|
<class>QBibtexDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QCharacterDialogBase</class>
|
<class>QCharacterDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QCitationDialogBase</class>
|
<class>QCitationDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QDocumentDialogBase</class>
|
<class>QDocumentDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QERTDialogBase</class>
|
<class>QERTDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QErrorDialogBase</class>
|
<class>QErrorDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QExternalDialogBase</class>
|
<class>QExternalDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QIndexDialogBase</class>
|
<class>QIndexDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QParagraphDialogBase</class>
|
<class>QParagraphDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrintDialogBase</class>
|
<class>QPrintDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QRefDialogBase</class>
|
<class>QRefDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QSearchDialogBase</class>
|
<class>QSearchDialogBase</class>
|
||||||
<include location="global">config.h</include>
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QTabularCreateDialogBase</class>
|
<class>QTabularCreateDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QThesaurusDialogBase</class>
|
<class>QThesaurusDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QTocDialogBase</class>
|
<class>QTocDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QURLDialogBase</class>
|
<class>QURLDialogBase</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QDialog</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
Loading…
Reference in New Issue
Block a user