You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2018/11/11 15:58:09 UTC
svn commit: r1846354 -
/openoffice/trunk/main/wizards/source/importwizard/Language.xba
Author: mseidel
Date: Sun Nov 11 15:58:09 2018
New Revision: 1846354
URL: http://svn.apache.org/viewvc?rev=1846354&view=rev
Log:
Corrected StarOffice -> OpenOffice, cleanup
Modified:
openoffice/trunk/main/wizards/source/importwizard/Language.xba
Modified: openoffice/trunk/main/wizards/source/importwizard/Language.xba
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/wizards/source/importwizard/Language.xba?rev=1846354&r1=1846353&r2=1846354&view=diff
==============================================================================
--- openoffice/trunk/main/wizards/source/importwizard/Language.xba (original)
+++ openoffice/trunk/main/wizards/source/importwizard/Language.xba Sun Nov 11 15:58:09 2018
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<!--***********************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -9,16 +9,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
***********************************************************-->
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Language" script:language="StarBasic">Option Explicit
@@ -39,7 +39,7 @@ Public SOApplicationName(5) As String
Public sHelpButton As String, sCancelButton As String, sBackButton As String, sNextButton As String
Public sSumInclusiveSubDir As String, sSumSaveDocuments As String
Public sSummaryHeader As String
-Public sWelcometextLabel1 As String, sWelcometextLabel2 As String, sWelcometextLabel3 As String
+Public sWelcometextLabel1 As String, sWelcometextLabel2 As String, sWelcometextLabel3 As String
Public sBeginButton As String, sMsgDirNotThere As String
Public sQueryForNewCreation As String, sPathError3 As String
Public sNoDirCreation As String
@@ -76,7 +76,7 @@ Sub LoadLanguage()
sNextButton = GetResText(1003)
sBeginButton = GetResText(1004)
sCloseButton = GetResText(1005)
-
+
sWelcometextLabel1 = ReplaceString(GetResText(1006), GetProductName(),"%PRODUCTNAME")
sWelcometextLabel2 = GetResText(1007)
sWelcometextLabel3 = GetResText(1008)
@@ -90,19 +90,19 @@ Sub LoadLanguage()
' DocumentCheckbox- Captions
GetApplResourceArray(2013, 5, sSODocumentCheckBox())
- 'StarOffice Applicationnames
+ ' OpenOffice Applicationnames
sSOHelperDocuments(0,0) = GetResText(2017)
sSOHelperDocuments(0,1) = "com.sun.star.text.GlobalDocument"
sSOHelperDocuments(1,0) = GetResText(2018)
sSOHelperDocuments(1,1) = "com.sun.star.formula.FormulaProperties"
-
- GetApplResourceArray(2017,2, sSOHelperDocuments())
-
+
+ GetApplResourceArray(2017,2, sSOHelperDocuments())
+
sContainerName(0) = GetResText(1030)
' Note: for the version 5.2 there was no Productname "StarSuite"
- sContainerName(1) = "StarOffice"
-
+ sContainerName(1) = "OpenOffice"
+
sSummaryHeader = GetResText(1031)
sTemplateGroupName = GetResText(1036)
@@ -120,7 +120,7 @@ Sub LoadLanguage()
sRTErrorHeader = GetResText(1058)
sOverwriteallFiles = GetResText(1070)
sReeditMacro = GetResText(1071)
- scouldnotsaveDocument = GetResText(1072)
+ scouldnotsaveDocument = GetResText(1072)
scouldnotopenDocument = GetResText(1073)
sPathDialogMessage = GetResText(1080)
sTitle = GetResText(1081)
@@ -136,7 +136,7 @@ Sub LoadLanguage()
sLogSummary = GetResText(2034)
sSumInclusiveSubDir = GetResText(3000)
sSumSaveDocuments = GetResText(3001)
- 'StarOffice Applicationnames
+ 'OpenOffice Applicationnames
GetApplResourceArray(3100, 4, sSumSODocuments())
GetApplResourceArray(3110, 4, sSumSOTemplates())
GetApplResourceArray(3200, 3, sSumMSDocuments())
@@ -172,6 +172,6 @@ Dim a as Integer
For i = StartResIndex To StartResIndex + Count-1
BigArray(a) = GetResText(i)
a = a + 1
- Next
+ Next
End Sub
</script:module>