Kaydet (Commit) bce48fb9 authored tarafından Andras Timar's avatar Andras Timar

Revert "localize description.xml of presenter-screen extension"

This reverts commit 89f7e176.
üst ada31480
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</icon> </icon>
<extension-description> <extension-description>
<src xlink:href="description.txt" lang="en-US" /> <src xlink:href="help/component.txt" lang="en-US" />
</extension-description> </extension-description>
</description> </description>
...@@ -247,12 +247,9 @@ COMPONENT_LIBRARY= \ ...@@ -247,12 +247,9 @@ COMPONENT_LIBRARY= \
PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l) PLATFORMID:=$(RTL_OS:l)_$(RTL_ARCH:l)
COMPONENT_HELP= \ COMPONENT_HELP= \
$(ZIP1DIR)$/help/component.txt \
$(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp) $(foreach,l,$(alllangiso) $(ZIP1DIR)$/help$/$l$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp)
COMPONENT_DESCRIPTION= \
$(foreach,l,$(alllangiso:s/en-US//) $(ZIP1DIR)$/$l-description.txt) \
$(ZIP1DIR)$/description.txt
ZIP1DEPS= \ ZIP1DEPS= \
$(DESCRIPTION) \ $(DESCRIPTION) \
$(COMPONENT_MANIFEST) \ $(COMPONENT_MANIFEST) \
...@@ -260,8 +257,7 @@ ZIP1DEPS= \ ...@@ -260,8 +257,7 @@ ZIP1DEPS= \
$(COMPONENT_BITMAPS) \ $(COMPONENT_BITMAPS) \
$(COMPONENT_IMAGES) \ $(COMPONENT_IMAGES) \
$(COMPONENT_LIBRARY) \ $(COMPONENT_LIBRARY) \
$(COMPONENT_HELP) \ $(COMPONENT_HELP)
$(COMPONENT_DESCRIPTION)
LINKNAME:=help LINKNAME:=help
XHPLINKSRC:=$(ZIP1DIR)/help XHPLINKSRC:=$(ZIP1DIR)/help
...@@ -288,6 +284,10 @@ $(COMPONENT_MANIFEST) : $$(@:f) ...@@ -288,6 +284,10 @@ $(COMPONENT_MANIFEST) : $$(@:f)
@-$(MKDIRHIER) $(@:d) @-$(MKDIRHIER) $(@:d)
+$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@ +$(TYPE) $< | $(SED) "s/SHARED_EXTENSION/$(DLLPOST)/" > $@
$(ZIP1DIR)$/help$/component.txt : help$/$$(@:f)
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : $(COMMONMISC)$/%$/com.sun.PresenterScreen$/presenter.xhp $(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : $(COMMONMISC)$/%$/com.sun.PresenterScreen$/presenter.xhp
@echo creating $@ @echo creating $@
@-$(MKDIRHIER) $(@:d) @-$(MKDIRHIER) $(@:d)
...@@ -368,11 +368,7 @@ PHONYDESC=.PHONY ...@@ -368,11 +368,7 @@ PHONYDESC=.PHONY
$(DESCRIPTION) $(PHONYDESC) : $$(@:f) $(DESCRIPTION) $(PHONYDESC) : $$(@:f)
@-$(MKDIRHIER) $(@:d) @-$(MKDIRHIER) $(@:d)
@echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk @echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk
$(GNUCOPY) description.txt $(ZIP1DIR)/description.txt $(TYPE) description.xml | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@
$(XRMEX) -p $(PRJNAME) -i description.xml -o $@ -m $(LOCALIZESDF) -l all
$(TYPE) $@ | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@.new
mv $@.new $@
ALLTAR: $(MISC)/../bin/presenter-screen.oxt ALLTAR: $(MISC)/../bin/presenter-screen.oxt
# hotfix to missing localizations # hotfix to missing localizations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment