summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGord Caswell <ve4jhj@gmail.com>2017-07-16 14:43:03 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-17 02:15:48 +0000
commit572d1a9d8baad44160fb9e472b0ef475980b88c8 (patch)
tree93f385bfd5a7f89588e8ff2325939efe79fd5b5b
parentcmake: autogenerate Windows .rc files for inkscape and inkview (diff)
downloadinkscape-572d1a9d8baad44160fb9e472b0ef475980b88c8.tar.gz
inkscape-572d1a9d8baad44160fb9e472b0ef475980b88c8.zip
Update InkscapePortable.ini to use \share\locale instead of \locale for language handling.
-rw-r--r--packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini144
1 files changed, 72 insertions, 72 deletions
diff --git a/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini b/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
index b196ef61f..76188e6e1 100644
--- a/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
+++ b/packaging/win32/portable/App/AppInfo/Launcher/InkscapePortable.ini
@@ -1,72 +1,72 @@
-[Launch]
-ProgramExecutable=Inkscape\inkscape.exe
-DirectoryMoveOK=yes
-SupportsUNC=yes
-
-[Activate]
-Ghostscript=find
-XML=true
-
-[Environment]
-INKSCAPE_PORTABLE_PROFILE_DIR=%PAL:DataDir%\settings
-HOME=%PAL:DataDir%\settings
-APPDATA=%PAL:DataDir%\settings
-PYTHONHOME=%PAL:AppDir%\Inkscape\python
-PATH=%PATH%
-
-[FilesMove]
-recently-used.xbel=%LOCALAPPDATA%
-
-[Language]
-Base=%PortableApps.comLocaleglibc%
-CheckIfExists=%PAL:AppDir%\Inkscape\locale\%PAL:LanguageCustom%\*.*
-DefaultIfNotExists=en_US
-
-[LanguageFile]
-Type=XML attribute
-File=%PAL:DataDir%\settings\preferences.xml
-XPath=/inkscape/group[@id="ui"]
-Attribute=language
-
-[FileWrite1]
-Type=XML attribute
-File=%PAL:DataDir%\settings\preferences.xml
-XPath=/inkscape/group[@id="ui"]
-Attribute=language
-Value=%PAL:LanguageCustom%
-
-[FileWrite2]
-Type=Replace
-File=%PAL:DataDir%\settings\preferences.xml
-Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
-Replace=%PAL:Drive%%PAL:PackagePartialDir%\
-
-[FileWrite3]
-Type=Replace
-File=%PAL:DataDir%\settings\preferences.xml
-Find=%PAL:LastPortableAppsBaseDir%\
-Replace=%PAL:PortableAppsBaseDir%\
-
-[FileWrite4]
-Type=Replace
-File=%PAL:DataDir%\settings\preferences.xml
-Find=%PAL:LastDrive%\
-Replace=%PAL:Drive%\
-
-[FileWrite5]
-Type=Replace
-File=%PAL:DataDir%\settings\.recently-used.xbel
-Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
-Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/
-
-[FileWrite6]
-Type=Replace
-File=%PAL:DataDir%\settings\.recently-used.xbel
-Find=file:///%PAL:LastPortableAppsBaseDir:ForwardSlash%/
-Replace=file:///%PAL:PortableAppsBaseDir:ForwardSlash%/
-
-[FileWrite7]
-Type=Replace
-File=%PAL:DataDir%\settings\.recently-used.xbel
-Find=file:///%PAL:LastDrive%/
-Replace=file:///%PAL:Drive%/
+[Launch]
+ProgramExecutable=Inkscape\inkscape.exe
+DirectoryMoveOK=yes
+SupportsUNC=yes
+
+[Activate]
+Ghostscript=find
+XML=true
+
+[Environment]
+INKSCAPE_PORTABLE_PROFILE_DIR=%PAL:DataDir%\settings
+HOME=%PAL:DataDir%\settings
+APPDATA=%PAL:DataDir%\settings
+PYTHONHOME=%PAL:AppDir%\Inkscape\python
+PATH=%PATH%
+
+[FilesMove]
+recently-used.xbel=%LOCALAPPDATA%
+
+[Language]
+Base=%PortableApps.comLocaleglibc%
+CheckIfExists=%PAL:AppDir%\Inkscape\share\locale\%PAL:LanguageCustom%\*.*
+DefaultIfNotExists=en_US
+
+[LanguageFile]
+Type=XML attribute
+File=%PAL:DataDir%\settings\preferences.xml
+XPath=/inkscape/group[@id="ui"]
+Attribute=language
+
+[FileWrite1]
+Type=XML attribute
+File=%PAL:DataDir%\settings\preferences.xml
+XPath=/inkscape/group[@id="ui"]
+Attribute=language
+Value=%PAL:LanguageCustom%
+
+[FileWrite2]
+Type=Replace
+File=%PAL:DataDir%\settings\preferences.xml
+Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
+Replace=%PAL:Drive%%PAL:PackagePartialDir%\
+
+[FileWrite3]
+Type=Replace
+File=%PAL:DataDir%\settings\preferences.xml
+Find=%PAL:LastPortableAppsBaseDir%\
+Replace=%PAL:PortableAppsBaseDir%\
+
+[FileWrite4]
+Type=Replace
+File=%PAL:DataDir%\settings\preferences.xml
+Find=%PAL:LastDrive%\
+Replace=%PAL:Drive%\
+
+[FileWrite5]
+Type=Replace
+File=%PAL:DataDir%\settings\.recently-used.xbel
+Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
+Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/
+
+[FileWrite6]
+Type=Replace
+File=%PAL:DataDir%\settings\.recently-used.xbel
+Find=file:///%PAL:LastPortableAppsBaseDir:ForwardSlash%/
+Replace=file:///%PAL:PortableAppsBaseDir:ForwardSlash%/
+
+[FileWrite7]
+Type=Replace
+File=%PAL:DataDir%\settings\.recently-used.xbel
+Find=file:///%PAL:LastDrive%/
+Replace=file:///%PAL:Drive%/