Changeset 14200 in osm for applications/editors/josm/nsis
- Timestamp:
- 2009-03-21T17:44:47+01:00 (16 years ago)
- Location:
- applications/editors/josm/nsis
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/nsis/josm.nsi
r14198 r14200 298 298 dont_overwrite_bookmarks: 299 299 300 ; write reasonable defaults for some preferences 301 ; XXX - some of this should be done in JOSM itself, see also JOSM core, data\Preferences.java function resetToDefault() 302 ; XXX - just using JOSM defaults doesn't work here, as JOSM doesn't set some defaults if a preferences file doesn't exist 303 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "projection" "org.openstreetmap.josm.data.projection.Epsg4326" 304 ;${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "draw.segment.direction" "true" 305 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "layerlist.visible" "true" 306 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "selectionlist.visible" "true" 307 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "commandstack.visible" "true" 308 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "propertiesdialog.visible" "true" 309 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "osm-server.url" "http://www.openstreetmap.org/api" 310 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "laf" "com.sun.java.swing.plaf.windows.WindowsLookAndFeel" 311 312 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "validator.visible" "true" 313 300 314 SectionEnd 301 315 302 316 303 317 SectionGroup $(JOSM_SEC_PLUGINS_GROUP) SecPluginsGroup 318 319 Section $(JOSM_SEC_AGPIFOJ_PLUGIN) SecAgPifoJPlugin 320 ;------------------------------------------- 321 SectionIn 1 2 322 SetShellVarContext current 323 SetOutPath $APPDATA\JOSM\plugins 324 File "..\dist\AgPifoJ.jar" 325 SectionEnd 326 327 Section $(JOSM_SEC_VALIDATOR_PLUGIN) SecValidatorPlugin 328 ;------------------------------------------- 329 SectionIn 1 2 330 SetShellVarContext current 331 SetOutPath $APPDATA\JOSM\plugins 332 File "..\dist\validator.jar" 333 SectionEnd 304 334 305 335 Section $(JOSM_SEC_WMS_PLUGIN) SecWMSPlugin … … 318 348 File "webkit-image\QtWebKit4.dll" 319 349 File "webkit-image\webkit-image.exe" 320 SectionEnd321 322 Section $(JOSM_SEC_VALIDATOR_PLUGIN) SecValidatorPlugin323 ;-------------------------------------------324 SectionIn 1 2325 SetShellVarContext current326 SetOutPath $APPDATA\JOSM\plugins327 File "..\dist\validator.jar"328 350 SectionEnd 329 351 … … 378 400 SetShellVarContext current 379 401 !include LogicLib.nsh 380 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "plugins" " wmsplugin;validator"402 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "plugins" "AgPifoJ;validator;wmsplugin" 381 403 SectionEnd 382 404 … … 437 459 SectionIn 2 438 460 SetShellVarContext current 461 Delete "$APPDATA\JOSM\plugins\agpifoj\*.*" 462 RMDir "$APPDATA\JOSM\plugins\agpifoj" 463 Delete "$APPDATA\JOSM\plugins\validator\*.*" 464 RMDir "$APPDATA\JOSM\plugins\validator" 439 465 Delete "$APPDATA\JOSM\plugins\wmsplugin\*.*" 440 466 RMDir "$APPDATA\JOSM\plugins\wmsplugin" 441 Delete "$APPDATA\JOSM\plugins\validator\*.*"442 RMDir "$APPDATA\JOSM\plugins\validator"443 467 Delete "$APPDATA\JOSM\plugins\*.*" 444 468 RMDir "$APPDATA\JOSM\plugins" … … 467 491 !insertmacro MUI_DESCRIPTION_TEXT ${SecJosm} $(JOSM_SECDESC_JOSM) 468 492 !insertmacro MUI_DESCRIPTION_TEXT ${SecPluginsGroup} $(JOSM_SECDESC_PLUGINS_GROUP) 493 !insertmacro MUI_DESCRIPTION_TEXT ${SecAgPifoJPlugin} $(JOSM_SECDESC_AGPIFOJ_PLUGIN) 494 !insertmacro MUI_DESCRIPTION_TEXT ${SecValidatorPlugin} $(JOSM_SECDESC_VALIDATOR_PLUGIN) 469 495 !insertmacro MUI_DESCRIPTION_TEXT ${SecWMSPlugin} $(JOSM_SECDESC_WMS_PLUGIN) 470 !insertmacro MUI_DESCRIPTION_TEXT ${SecValidatorPlugin} $(JOSM_SECDESC_VALIDATOR_PLUGIN)471 496 !insertmacro MUI_DESCRIPTION_TEXT ${SecStartMenu} $(JOSM_SECDESC_STARTMENU) 472 497 !insertmacro MUI_DESCRIPTION_TEXT ${SecDesktopIcon} $(JOSM_SECDESC_DESKTOP_ICON) -
applications/editors/josm/nsis/langmacros.nsh
r14196 r14200 37 37 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_JOSM ${CUR_LANG} 38 38 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_PLUGINS_GROUP ${CUR_LANG} 39 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_AGPIFOJ_PLUGIN ${CUR_LANG} 40 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_VALIDATOR_PLUGIN ${CUR_LANG} 39 41 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_WMS_PLUGIN ${CUR_LANG} 40 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_NAMEFINDER_PLUGIN ${CUR_LANG}41 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_VALIDATOR_PLUGIN ${CUR_LANG}42 42 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_STARTMENU ${CUR_LANG} 43 43 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SEC_DESKTOP_ICON ${CUR_LANG} … … 47 47 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_JOSM ${CUR_LANG} 48 48 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_PLUGINS_GROUP ${CUR_LANG} 49 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_AGPIFOJ_PLUGIN ${CUR_LANG} 50 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_VALIDATOR_PLUGIN ${CUR_LANG} 49 51 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_WMS_PLUGIN ${CUR_LANG} 50 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_NAMEFINDER_PLUGIN ${CUR_LANG}51 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_VALIDATOR_PLUGIN ${CUR_LANG}52 52 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_STARTMENU ${CUR_LANG} 53 53 !insertmacro JOSM_MACRO_LANGSTRING_INSERT JOSM_SECDESC_DESKTOP_ICON ${CUR_LANG} -
applications/editors/josm/nsis/locale/english.nsh
r14196 r14200 18 18 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_JOSM "JOSM" 19 19 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_PLUGINS_GROUP "Plugins" 20 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_AGPIFOJ_PLUGIN "AgPifoJ" 21 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_VALIDATOR_PLUGIN "Validator" 20 22 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_WMS_PLUGIN "WMS" 21 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_NAMEFINDER_PLUGIN "namefinder"22 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_VALIDATOR_PLUGIN "validator"23 23 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_STARTMENU "Start Menu Entry" 24 24 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_DESKTOP_ICON "Desktop Icon" … … 27 27 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_JOSM "JOSM is the JAVA OpenStreetMap editor for .osm files." 28 28 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_PLUGINS_GROUP "An assortment of useful JOSM plugins." 29 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_AGPIFOJ_PLUGIN "Correlates pictures with GPS tracks or import EXIF geotagged pictures." 30 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_VALIDATOR_PLUGIN "Validates edited data if it conforms to common suggestions." 29 31 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_WMS_PLUGIN "Display background images from Web Map Service (WMS) sources." 30 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_NAMEFINDER_PLUGIN "Add a 'Find places by their name' tab to the download dialog."31 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_VALIDATOR_PLUGIN "Validates edited data if it conforms to common suggestions."32 32 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_STARTMENU "Add a JOSM start menu entry." 33 33 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_DESKTOP_ICON "Add a JOSM desktop icon." -
applications/editors/josm/nsis/locale/german.nsh
r14196 r14200 15 15 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_JOSM "JOSM" 16 16 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_PLUGINS_GROUP "Plugins" 17 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_AGPIFOJ_PLUGIN "AgPifoJ" 18 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_VALIDATOR_PLUGIN "Validator" 17 19 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_WMS_PLUGIN "WMS" 18 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_NAMEFINDER_PLUGIN "namefinder"19 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_VALIDATOR_PLUGIN "validator"20 20 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_STARTMENU "Startmenü Eintrag" 21 21 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SEC_DESKTOP_ICON "Desktop Icon" … … 24 24 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_JOSM "JOSM ist der JAVA OpenStreetMap Editor für .osm Dateien." 25 25 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_PLUGINS_GROUP "Eine Auswahl an nützlichen JOSM Plugins." 26 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_AGPIFOJ_PLUGIN "Bringt GPS Tracks mit Fotos in Übereinstimmung oder importiert EXIF Fotos" 27 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_VALIDATOR_PLUGIN "Validatiert geänderte Daten ob diese mit den üblichen Ratschlägen übereinstimmen." 26 28 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_WMS_PLUGIN "Hintergrundbilder von Web Map Service (WMS) Quellen." 27 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_NAMEFINDER_PLUGIN "Fügt eine 'Finde Orte über ihren Namen' Registerkarte zum Herunterladen Dialog hinzu."28 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_VALIDATOR_PLUGIN "Validatiert geänderte Daten ob diese mit den üblichen Ratschlägen übereinstimmen."29 29 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_STARTMENU "Fügt JOSM zum Startmenü hinzu." 30 30 !insertmacro JOSM_MACRO_DEFAULT_STRING JOSM_SECDESC_DESKTOP_ICON "Fügt ein JOSM Icon zum Desktop hinzu."
Note:
See TracChangeset
for help on using the changeset viewer.