OSDN Git Service

This updated set of files is for the localized version of DeletePreviousStartMenu...
authorChristian Blackburn <seier@users.sourceforge.net>
Wed, 21 Apr 2004 13:51:05 +0000 (13:51 +0000)
committerChristian Blackburn <seier@users.sourceforge.net>
Wed, 21 Apr 2004 13:51:05 +0000 (13:51 +0000)
20 files changed:
Installer/InnoSetup/Languages/Brazilian_Portuguese.isl
Installer/InnoSetup/Languages/Bulgarian.isl
Installer/InnoSetup/Languages/Catalan.isl
Installer/InnoSetup/Languages/Chinese_Simplified.isl
Installer/InnoSetup/Languages/Chinese_Traditional.isl
Installer/InnoSetup/Languages/Czech.isl
Installer/InnoSetup/Languages/Danish.isl
Installer/InnoSetup/Languages/Dutch.isl
Installer/InnoSetup/Languages/English.isl
Installer/InnoSetup/Languages/French.isl
Installer/InnoSetup/Languages/German.isl
Installer/InnoSetup/Languages/Italian.isl
Installer/InnoSetup/Languages/Korean.isl
Installer/InnoSetup/Languages/Norwegian.isl
Installer/InnoSetup/Languages/Polish.isl
Installer/InnoSetup/Languages/Russian.isl
Installer/InnoSetup/Languages/Slovak.isl
Installer/InnoSetup/Languages/Spanish.isl
Installer/InnoSetup/Languages/Swedish.isl
Installer/InnoSetup/WinMerge Localized.iss

index e43b9b1..3d20ba2 100755 (executable)
@@ -358,4 +358,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 695d822..dc7b81d 100755 (executable)
@@ -358,4 +358,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index b351fb8..34c2543 100755 (executable)
@@ -349,4 +349,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index e1ea811..2317d17 100755 (executable)
@@ -358,4 +358,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index b09ec80..cea5d0c 100755 (executable)
@@ -359,4 +359,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 9215f87..6b9386a 100755 (executable)
@@ -365,6 +365,9 @@ UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
 ViewStartMenuFolder=&View the WinMerge Start Menu Folder
 
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
+
 ;Things we can also localize
 CompanyName=Thingamahoochie Software
 
@@ -412,4 +415,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 2c846d9..ae35ef8 100755 (executable)
@@ -362,4 +362,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 27ffc93..77a9b19 100755 (executable)
@@ -340,6 +340,9 @@ UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
 ViewStartMenuFolder=&View the WinMerge Start Menu Folder
 
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
+
 ;Things we can also localize
 CompanyName=Thingamahoochie Software
 
@@ -387,4 +390,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 1ab550b..70463af 100755 (executable)
@@ -361,6 +361,9 @@ UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
 ViewStartMenuFolder=&View the WinMerge Start Menu Folder
 
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
+
 ;Things we can also localize
 CompanyName=Thingamahoochie Software
 
@@ -408,4 +411,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 1dc8eb0..20e8e09 100755 (executable)
@@ -366,6 +366,9 @@ UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
 ViewStartMenuFolder=&View the WinMerge Start Menu Folder
 
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
+
 ;Things we can also localize
 CompanyName=Thingamahoochie Software
 
@@ -413,4 +416,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 3ed09a8..c207022 100755 (executable)
@@ -350,6 +350,9 @@ UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
 ViewStartMenuFolder=&View the WinMerge Start Menu Folder
 
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
+
 ;Things we can also localize
 CompanyName=Thingamahoochie Software
 
@@ -397,4 +400,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 074d0b4..b8b05e9 100755 (executable)
@@ -362,4 +362,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index fd69449..457f318 100755 (executable)
@@ -364,4 +364,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index c0c5591..a02a654 100755 (executable)
@@ -361,4 +361,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 8640995..b1b3db3 100755 (executable)
@@ -361,4 +361,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 1468408..52274a4 100755 (executable)
@@ -358,4 +358,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 659d53e..6988a3b 100755 (executable)
@@ -361,4 +361,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 4b05058..d28577a 100755 (executable)
@@ -364,4 +364,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 37706e8..3298154 100755 (executable)
@@ -349,4 +349,7 @@ UpdatingCommonControls=Updating the System's Common Controls
 ReadMe=Read Me
 UsersGuide=User's Guide
 UpdatingCommonControls=Updating the System's Common Controls
-ViewStartMenuFolder=&View the WinMerge Start Menu Folder
\ No newline at end of file
+ViewStartMenuFolder=&View the WinMerge Start Menu Folder
+
+;Code Dialogs
+DeletePreviousStartMenu=The installer has detected that you changed the location of your start menu from "%s" to "%s". Would you like to delete the previous start menu folder?
\ No newline at end of file
index 734926e..62ba96b 100755 (executable)
@@ -1106,6 +1106,8 @@ Procedure DeletePreviousStartMenu();
 Var
         strOld: string;
         strNew: string;
+        strMessage: string;
+        strShortcut: string;
 Begin
     {Detects the previous start menu group's path, if any}
     strOld := OldGroup();
@@ -1122,16 +1124,45 @@ Begin
             {If the current and previous start menu locations are different then...}
                    If Uppercase(strOld) <> UpperCase(strNew) Then
                        Begin
+                           strMessage := ExpandConstant('{cm:DeletePreviousStartMenu}');
+                    strMessage := Format2(strMessage, strOld, strNew);
+
                              {Display a dialog asking the user if they'd like to delete the previous start menu group}
                            {If they'd like to delete the previous start menu group then...}
-                                       If Msgbox('The installer has detected that you changed the location of your start menu from "' + strOld + '" to "' + strNew + '". Would you like to delete the previous start menu folder?', mbConfirmation, mb_YesNo) = mrYes Then
+                                       If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then
                                                Begin
-                                       {Removes each of the start menu icons to make the folder empty}
-                                       DeleteFile(strOld + '\Read Me.lnk')
-                                       DeleteFile(strOld + '\Uninstall WinMerge.lnk')
-                                       DeleteFile(strOld + '\User''s Guide.lnk')
-                                       DeleteFile(strOld + '\WinMerge on the Web.lnk')
-                                       DeleteFile(strOld + '\WinMerge.lnk')
+                                                   strOld := ExpandConstant('{commonstartmenu}\Programs\') + strOld;
+                       
+                            {Removes each of the start menu icons to make the folder empty}
+                            strShortcut := strOld + '\' + ExpandConstant('{cm:ReadMe}') + '.lnk';
+                                       DeleteFile(strShortcut)
+                                       
+                                       strShortcut := strOld + '\Read Me.lnk';
+                                       DeleteFile(strShortcut)
+                                                               
+                                       strShortcut := strOld + '\' + ExpandConstant('{cm:UninstallProgram,WinMerge}') + '.lnk';
+                                       DeleteFile(strShortcut)
+                                       
+                                       strShortcut := strOld + '\Uninstall WinMerge.lnk';
+                                       DeleteFile(strShortcut)
+                       
+                                       strShortcut := strOld + '\' + ExpandConstant('{cm:UsersGuide}') + '.lnk';
+                            DeleteFile(strShortcut)
+                            
+                            strShortcut := strOld + '\User''s Guide.lnk';
+                                       DeleteFile(strShortcut)
+                            
+                            strShortcut := strOld + '\' + ExpandConstant('{cm:ProgramOnTheWeb,WinMerge}') + '.url';
+                                       DeleteFile(strShortcut)
+                                       
+                                       strShortcut := strOld + '\Winmerge on the Web.lnk';
+                                       DeleteFile(strShortcut)
+                                       
+                                       strShortcut := strOld + '\Winmerge on the Web.url';
+                                       DeleteFile(strShortcut)
+                                       
+                                       strShortcut := strOld + '\WinMerge.lnk';
+                                       DeleteFile(strShortcut)
 
                                        {Deletes the empty start menu directory (This has to already be empty in order for this to work, hence the
                                        file deletions above)}
@@ -1156,6 +1187,7 @@ End;
 {This event procedure is queed each time the user changes pages within the installer}
 Procedure CurPageChanged(CurPage: integer);
 Begin
+
     {if the installer reaches the file copy page then...}
     If CurPage = wpInstalling Then