mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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>
|
||||
|
||||
* Makefile.am: remove accidentally committed xforms file
|
||||
|
@ -16,7 +16,12 @@ DISTCLEANFILES = $(UIDIALOGS) *.orig *.rej *~ *.bak core
|
||||
|
||||
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
|
||||
$(UIC) $< -o $@
|
||||
%Base.C: %Base.h %.ui
|
||||
$(UIC) -impl $^ -o $@
|
||||
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QAboutDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
@ -11,7 +13,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>448</width>
|
||||
<width>444</width>
|
||||
<height>454</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QBibitemDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QBibtexDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QCharacterDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QCitationDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QDocumentDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QERTDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QErrorDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QExternalDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QIndexDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QParagraphDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrintDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QRefDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QSearchDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QTabularCreateDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QThesaurusDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QTocDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QURLDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
|
Loading…
Reference in New Issue
Block a user