eliminate @MINIMIZEREXTENSIONPRODUCTNAME@ variable
This commit is contained in:
@@ -79,8 +79,6 @@ SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
|
||||
SHL1RPATH= OXT
|
||||
DEF1NAME= $(SHL1TARGET)
|
||||
|
||||
COMPONENT_XCU_REPLACEMENT=s/@MINIMIZEREXTENSIONPRODUCTNAME@/Presentation Minimizer/g
|
||||
|
||||
COMPONENT_MERGED_XCU= \
|
||||
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Addons.xcu \
|
||||
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ProtocolHandler.xcu \
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
<node oor:name="Strings">
|
||||
<prop oor:name="STR_SUN_OPTIMIZATION_WIZARD2">
|
||||
<value xml:lang="en-US">@MINIMIZEREXTENSIONPRODUCTNAME@</value>
|
||||
<value xml:lang="en-US">Presentation Minimizer</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_STEPS">
|
||||
<value xml:lang="en-US">Steps</value>
|
||||
@@ -35,12 +35,12 @@
|
||||
<value xml:lang="en-US">Introduction</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_INTRODUCTION_T">
|
||||
<value xml:lang="en-US">The @MINIMIZEREXTENSIONPRODUCTNAME@ is used to reduce the file size of the current presentation. Images will be compressed and data, that is no longer needed, will be removed.
|
||||
<value xml:lang="en-US">The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed and data, that is no longer needed, will be removed.
|
||||
|
||||
At the last step of the wizard you can choose to apply the changes to the current presentation or to create an optimized new version of the presentation.</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_CHOSE_SETTINGS">
|
||||
<value xml:lang="en-US">~Choose settings for @MINIMIZEREXTENSIONPRODUCTNAME@</value>
|
||||
<value xml:lang="en-US">~Choose settings for Presentation Minimizer</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_REMOVE">
|
||||
<value xml:lang="en-US">~Delete</value>
|
||||
@@ -185,16 +185,16 @@ The current presentation contains no OLE objects.</value>
|
||||
<value xml:lang="en-US">OK</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_INFO_1">
|
||||
<value xml:lang="en-US">The @MINIMIZEREXTENSIONPRODUCTNAME@ has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to %NEWFILESIZE MB.</value>
|
||||
<value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to %NEWFILESIZE MB.</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_INFO_2">
|
||||
<value xml:lang="en-US">The @MINIMIZEREXTENSIONPRODUCTNAME@ has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to approximated %NEWFILESIZE MB.</value>
|
||||
<value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed from %OLDFILESIZE MB to approximated %NEWFILESIZE MB.</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_INFO_3">
|
||||
<value xml:lang="en-US">The @MINIMIZEREXTENSIONPRODUCTNAME@ has successfully updated the presentation '%TITLE'. The file size has changed to %NEWFILESIZE MB.</value>
|
||||
<value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to %NEWFILESIZE MB.</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_INFO_4">
|
||||
<value xml:lang="en-US">The @MINIMIZEREXTENSIONPRODUCTNAME@ has successfully updated the presentation '%TITLE'. The file size has changed to approximated %NEWFILESIZE MB.</value>
|
||||
<value xml:lang="en-US">The Presentation Minimizer has successfully updated the presentation '%TITLE'. The file size has changed to approximated %NEWFILESIZE MB.</value>
|
||||
</prop>
|
||||
<prop oor:name="STR_DUPLICATING_PRESENTATION">
|
||||
<value xml:lang="en-US">Duplicating presentation...</value>
|
||||
|
@@ -39,11 +39,7 @@ fixme4=$(fixme:n)
|
||||
$(EXTENSIONDIR)/$(COMPONENT_CONFIGDEST)/%.xcu : %.xcu
|
||||
# ugly hacking to workaround prepended first source path
|
||||
@@-$(MKDIRHIER) $(subst,$(fixme2),$(MISC) $(@:d))
|
||||
.IF "$(COMPONENT_XCU_REPLACEMENT)"!=""
|
||||
$(TYPE) $< | sed '$(COMPONENT_XCU_REPLACEMENT)' > $(subst,$(fixme2),$(MISC) $@)
|
||||
.ELSE # "$(COMPONENT_REPLACEMENT)"!=""
|
||||
$(GNUCOPY) $< $(subst,$(fixme2),$(MISC) $@)
|
||||
.ENDIF # "$(COMPONENT_REPLACEMENT)"!=""
|
||||
|
||||
$(EXTENSIONDIR)/$(COMPONENT_CONFIGDESTSCHEMA)/%.xcs : %.xcs
|
||||
@@-$(MKDIRHIER) $(subst,$(fixme4),$(MISC) $(@:d))
|
||||
|
Reference in New Issue
Block a user