From e642137934b4f37f12659b8ef763054f0d6a2c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Thu, 28 Aug 2014 22:43:28 +0200 Subject: [PATCH] =?UTF-8?q?Update=20of=20the=20InnoSetup-based=20installer?= =?UTF-8?q?,=20by=20Joan=20Montan=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also update the Romanian translation. --- extras/innosetup/eliot-setup.iss.in | 430 +++++++++++------- extras/innosetup/innosetup-langs/Romanian.isl | 237 +++++----- 2 files changed, 389 insertions(+), 278 deletions(-) diff --git a/extras/innosetup/eliot-setup.iss.in b/extras/innosetup/eliot-setup.iss.in index ec443df..a40ed3d 100644 --- a/extras/innosetup/eliot-setup.iss.in +++ b/extras/innosetup/eliot-setup.iss.in @@ -1,101 +1,166 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -#define MainBinaryName "eliot\eliot.exe" -#define SetupBaseName "setup_eliot_" -#define CurrentVersion "@VERSION@" -#define DicPathRegKey "Software\eliot\eliot\Interface" +#define AppName "Eliot" +#define SimpleName "eliot" +#define CurrentVersion "@VERSION@" +#define AppVersion "@VERSION@" +#define Homepage "http://www.nongnu.org/eliot" +#define MainBinaryName "eliot.exe" +#define SetupBaseName "setup_eliot_" +#define AppID "{4652A7B1-B7F2-43CF-A524-9ABACC0AAD25}" +#define AppIDStr "{" + AppID -#define EnglishDict "English, CSW12 (Worldwide)" -#define English2Dict "English, TWL06 (North America)" -#define CatalanDict "Catalan (Català), DISC 2.0.6" -#define CzechDict "Czech (Čeština)" -#define FrenchDict "French (Français)" -#define ItalianDict "Italian (Italiano), Zinga2011" -#define MalagasyDict "Malagasy (Malagasy), RAK 1" -#define RomanianDict "Romanian (Română), LOC 5" -#define SerbianDict "Serbian (Српски)" -#define SpanishDict "Spanish (Español), Lexicón FISE 2009" +#define DicPathRegKey "Software\eliot\eliot\Interface" + +#define EnglishDict "English (Worldwide), CSW12" +#define English2Dict "English (North America), TWL06" +#define BambaraDict "Bambara (Bambara), Bamanakan v1" +#define CatalanDict "Catalan (Català), DISC 2.4.10" +#define CzechDict "Czech (Čeština)" +#define FrenchDict "French (Français)" +#define ItalianDict "Italian (Italiano), Zinga2011" +#define MalagasyDict "Malagasy (Malagasy), RAK 1" +#define NorwegianDict "Norwegian (Norwegian), NSF" +#define PolishDict "Polish (Polish), SJP" +#define RomanianDict "Romanian (Română), LOC 5" +#define SerbianDict "Serbian (Српски)" +#define SpanishDict "Spanish (Español), Lexicón FISE 2009" ; add a new dictionary following the template -; #define LangDict "LangName_in_English (LangName_in_that_language), Dict_Name" +; #define LangDict "LangName_in_English (LangName_in_own_language)`[, Dict_Name [version_numer]]" -#define EnglishFile "\dicts\english\csw12.dawg" -#define English2File "\dicts\english\twl06.dawg" -#define CatalanFile "\dicts\catalan\disc2.0.6.dawg" -#define CzechFile "\dicts\czech\eliot-dic-cs.dawg" -#define FrenchFile "\dicts\french\eliot-dic-fr.dawg" -#define ItalianFile "\dicts\italian\zinga2011.dawg" -#define MalagasyFile "\dicts\malagasy\rak.dawg" -#define RomanianFile "\dicts\romanian\loc5.dawg" -#define SerbianFile "\dicts\serbian\serbian-unofficial.dawg" -#define SpanishFile "\dicts\spanish\lex-fise.dawg" - +#define EnglishFile "\dicts\english\csw12.dawg" +#define English2File "\dicts\english\twl06.dawg" +#define BambaraFile "\dicts\bambara\bamanakan-v1.dawg" +#define CatalanFile "\dicts\catalan\disc2.4.10.dawg" +#define CzechFile "\dicts\czech\eliot-dic-cs.dawg" +#define FrenchFile "\dicts\french\eliot-dic-fr.dawg" +#define ItalianFile "\dicts\italian\zinga2011.dawg" +#define MalagasyFile "\dicts\malagasy\rak.dawg" +#define NorwegianFile "\dicts\norwegian\nsf.dawg" +#define PolishFile "\dicts\polish\sjp.dawg" +#define RomanianFile "\dicts\romanian\loc5.dawg" +#define SerbianFile "\dicts\serbian\serbian-unofficial.dawg" +#define SpanishFile "\dicts\spanish\lex-fise.dawg" ; add a new dictionary following the template ; #define LangFile "filename.dawg" [LangOptions] -; change LanguageName when: -; a.- there are two or more dictionries for the same language +; Only change LanguageName in following 2 cases: + +; case a.- there at least 2 dictionaries for the same language english.LanguageName=English (Worldwide) english2.LanguageName=English (North America) -; b.- there isn't Inno Setup language file and we use English default file instead + +; case b.- there isn't Inno Setup language file and we use English default file instead malagasy.LanguageName=Malagasy +bambara.LanguageName=Bambara + [CustomMessages] -; please, translate following messages when adding a new language +; please, translate following 6 messages when adding a new installer language ;message1 CreateStartMenuFolder=Create start menu folder catalan.CreateStartMenuFolder=Crea una carpeta al menú d'inici spanish.CreateStartMenuFolder=Crea una carpeta en el Menú Inicio ;message2 -EliotDictionaries=DAWG dictionaries for Eliot -catalan.EliotDictionaries=Diccionaris DAWG per a l'Eliot -spanish.EliotDictionaries=Diccionarios DAWG para Eliot - +EliotDictionaries=DAWG dictionaries for {#AppName} +catalan.EliotDictionaries=Diccionaris DAWG per a l'{#AppName} +spanish.EliotDictionaries=Diccionarios DAWG para {#AppName} +;message3 +EliotIsInstalled={#AppName} is already installed in your computer. It must be uninstalled before install {#AppVersion} version. Do you want to continue? +catalan.EliotIsInstalled=L'{#AppName} ja és instal·lat a l'ordinador. Heu de desinstal·lar-lo abans d'instal·lar la versió {#AppVersion}. Voleu continuar? +spanish.EliotIsInstalled=L'{#AppName} ya está instalado en el equipo. Debe desinstalar-lo antes de instalar la versión {#AppVersion}. ¿Desea continuar? +;message4 +UninstallError=Error occurred uninstalling {#AppName}. +catalan.UninstallError=S'ha produït un error en la desinstal·lació de la versió de l'{#AppName} a l'ordinador. +spanish.UninstallError=Se ha producido un error en la desinstalación de la versión de l'{#AppName} en el equipo. +;message5 +AbortInstallation={#AppName} {#AppVersion} installation was cancelled. +catalan.AbortInstallation=S'ha cancel·lat la instal·lació de l'{#AppName} {#AppVersion}. +spanish.AbortInstallation=Se ha cancelado la instalación de {#AppName} {#AppVersion}. +;message6 +SeveralDicts=You can select any of installed {#AppName} dictionaries in "{app}\dicts". +catalan.SeveralDicts=Podeu seleccionar qualsevol dels diccionaris de l'{#AppName} instal·lats a la carpeta "{app}\dicts". +spanish.SeveralDicts=Puede seleccionar cualquiera de los diccionarios de {#AppName} instalados en la carpeta "{app}\dicts". [Types] Name: "compact"; Description: "{code:CompactInstall}" Name: "full"; Description: "{code:FullInstall}" Name: "custom"; Description: "{code:CustomInstall}"; Flags: iscustom [Setup] -; NOTE: The value of AppId uniquely identifies this application. -; Do not use the same AppId value in installers for other applications. -; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) -AppId={{4652A7B1-B7F2-43CF-A524-9ABACC0AAD25} -AppName=Eliot -AppVersion={#CurrentVersion} -;AppVerName=Eliot 2.0 +AppID={#AppIDStr} +AppName={#AppName} +AppVerName={#AppName} {#AppVersion} +AppVersion={#AppVersion} + AppPublisher=Olivier Teulière -AppPublisherURL=http://www.nongnu.org/eliot/en/ -AppSupportURL=http://www.nongnu.org/eliot/en/ -AppUpdatesURL=http://www.nongnu.org/eliot/en/ -DefaultDirName={pf}\Eliot -DefaultGroupName=Eliot -LicenseFile=.\eliot\COPYING.txt +AppPublisherURL={#Homepage} +AppSupportURL={#Homepage} +AppUpdatesURL={#Homepage} + +DefaultDirName={pf}\{#AppName} +DefaultGroupName={#AppName} +LicenseFile=.\{#SimpleName}\COPYING.txt OutputBaseFilename={#SetupBaseName}{#CurrentVersion} Compression=lzma SolidCompression=yes AllowNoIcons=yes DisableProgramGroupPage=auto AlwaysShowGroupOnReadyPage=yes +UninstallDisplayIcon={app}\{#MainBinaryName} +UsePreviousAppDir=no +UsePreviousSetupType=no +UsePreviousGroup=no +UsePreviousLanguage=no +UsePreviousTasks=no +UsePreviousUserInfo=no +MinVersion=5.1 +; installer UI language, used for dictionaries too. [Languages] -; installer UI language -; add a new installer language when adding a new game language -; current mangalasy is missing +; we have 2 English dictionaries, so create 2 English languages entries in installer language selection Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english2"; MessagesFile: "compiler:Default.isl" +; there is no Bambara language file for Inno Setup, so use English strings +Name: "bambara"; MessagesFile: "compiler:Default.isl" Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl" Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl" Name: "french"; MessagesFile: "compiler:Languages\French.isl" Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl" -; there is no Malagasy language file for Inno Setup, use English strings +; there is no Malagasy language file for Inno Setup, so use English strings Name: "malagasy"; MessagesFile: "compiler:Default.isl" +Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl" +Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl" Name: "serbian"; MessagesFile: "compiler:Languages\SerbianCyrillic.isl" Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl" Name: "romanian"; MessagesFile: ".\innosetup-langs\Romanian.isl" +; enable languages not supported by Eliot, but supported by InnoSetup +Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" +Name: "corsican"; MessagesFile: "compiler:Languages\Corsican.isl" +Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl" +Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl" +Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl" +Name: "german"; MessagesFile: "compiler:Languages\German.isl" +Name: "greek"; MessagesFile: "compiler:Languages\Greek.isl" +Name: "hebrew"; MessagesFile: "compiler:Languages\Hebrew.isl" +Name: "hungarian"; MessagesFile: "compiler:Languages\Hungarian.isl" +Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl" +Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl" +Name: "nepali"; MessagesFile: "compiler:Languages\Nepali.islu" +Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl" +Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl" +Name: "scottishgaelic"; MessagesFile: "compiler:Languages\ScottishGaelic.isl" +Name: "serbianlatin"; MessagesFile: "compiler:Languages\SerbianLatin.isl" +Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl" +Name: "turkish"; MessagesFile: "compiler:Languages\Turkish.isl" +Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl" +; add a new dictionary following the template +; Name: "langname"; MessagesFile: "compiler:Languages\LanguageFileName.isl" + + [Tasks] ;Name: "startmenufolder"; Description: "{cm:CreateStartMenuFolder}"; GroupDescription: "{cm:AdditionalIcons}"; Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; @@ -107,11 +172,14 @@ Source: ".\eliot\*"; DestDir: "{app}"; Components: main; Flags: ignoreversion re ; dictionaries, one line for dict. Source: ".{#EnglishFile}"; DestDir: "{app}\dicts\english"; Components:dicts\english; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#English2File}"; DestDir: "{app}\dicts\english"; Components:dicts\english2; Flags: ignoreversion recursesubdirs createallsubdirs +Source: ".{#BambaraFile}"; DestDir: "{app}\dicts\bambara"; Components:dicts\bambara; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#CatalanFile}"; DestDir: "{app}\dicts\catalan"; Components:dicts\catalan; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#CzechFile}"; DestDir: "{app}\dicts\czech"; Components:dicts\czech; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#FrenchFile}"; DestDir: "{app}\dicts\french"; Components:dicts\french; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#ItalianFile}"; DestDir: "{app}\dicts\italian"; Components:dicts\italian; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#MalagasyFile}"; DestDir: "{app}\dicts\malagasy"; Components:dicts\malagasy; Flags: ignoreversion recursesubdirs createallsubdirs +Source: ".{#NorwegianFile}"; DestDir: "{app}\dicts\norwegian"; Components:dicts\norwegian; Flags: ignoreversion recursesubdirs createallsubdirs +Source: ".{#PolishFile}"; DestDir: "{app}\dicts\polish"; Components:dicts\polish; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#RomanianFile}"; DestDir: "{app}\dicts\romanian"; Components:dicts\romanian; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#SerbianFile}"; DestDir: "{app}\dicts\serbian"; Components:dicts\serbian; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".{#SpanishFile}"; DestDir: "{app}\dicts\spanish"; Components:dicts\spanish; Flags: ignoreversion recursesubdirs createallsubdirs @@ -134,34 +202,43 @@ Filename: "{app}\eliot.exe"; Description: "{cm:LaunchProgram,Eliot}"; Flags: now [Components] Name: "main"; Description: "Eliot"; Types: full compact custom; Flags: fixed Name: "dicts"; Description: "{cm:EliotDictionaries}";Types: full -; english Worldwide +; English Worldwide Name: "dicts\english"; Description: {#EnglishDict}; Languages: english; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\english"; Description: {#EnglishDict}; Languages: not english; Types: full; Flags: disablenouninstallwarning -; english North America +; English North America Name: "dicts\english2"; Description: {#English2Dict}; Languages: english2; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\english2"; Description: {#English2Dict}; Languages: not english2; Types: full; Flags: disablenouninstallwarning -; catalan +; Bambara +Name: "dicts\bambara"; Description: {#BambaraDict}; Languages: bambara; Types: full compact; Flags: disablenouninstallwarning +Name: "dicts\bambara"; Description: {#BambaraDict}; Languages: not bambara; Types: full; Flags: disablenouninstallwarning +; Catalan Name: "dicts\catalan"; Description: {#CatalanDict}; Languages: catalan; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\catalan"; Description: {#CatalanDict}; Languages: not catalan; Types: full; Flags: disablenouninstallwarning -; czech +; Czech Name: "dicts\czech"; Description: {#CzechDict}; Languages: czech; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\czech"; Description: {#CzechDict}; Languages: not czech; Types: full; Flags: disablenouninstallwarning -;french +; French Name: "dicts\french"; Description: {#FrenchDict}; Languages: french; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\french"; Description: {#FrenchDict}; Languages: not french; Types: full; Flags: disablenouninstallwarning -; italian +; Italian Name: "dicts\italian"; Description: {#ItalianDict}; Languages: italian; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\italian"; Description: {#ItalianDict}; Languages: not italian; Types: full; Flags: disablenouninstallwarning -; malagasy +; Malagasy Name: "dicts\malagasy"; Description: {#MalagasyDict}; Languages: malagasy; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\malagasy"; Description: {#MalagasyDict}; Languages: not malagasy; Types: full; Flags: disablenouninstallwarning -; romanian +; Norwegian +Name: "dicts\norwegian"; Description: {#NorwegianDict}; Languages: norwegian; Types: full compact; Flags: disablenouninstallwarning +Name: "dicts\norwegian"; Description: {#NorwegianDict}; Languages: not norwegian; Types: full; Flags: disablenouninstallwarning +; Polish +Name: "dicts\polish"; Description: {#PolishDict}; Languages: polish; Types: full compact; Flags: disablenouninstallwarning +Name: "dicts\polish"; Description: {#PolishDict}; Languages: not polish; Types: full; Flags: disablenouninstallwarning +; Romanian Name: "dicts\romanian"; Description: {#RomanianDict}; Languages: romanian; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\romanian"; Description: {#RomanianDict}; Languages: not romanian; Types: full; Flags: disablenouninstallwarning -;serbian +; Serbian Name: "dicts\serbian"; Description: {#SerbianDict}; Languages: serbian; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\serbian"; Description: {#SerbianDict}; Languages: not serbian; Types: full; Flags: disablenouninstallwarning -;spanish +; Spanish Name: "dicts\spanish"; Description: {#SpanishDict}; Languages: spanish; Types: full compact; Flags: disablenouninstallwarning Name: "dicts\spanish"; Description: {#SpanishDict}; Languages: not spanish; Types: full; Flags: disablenouninstallwarning ; add a new dictionary following the template @@ -169,204 +246,219 @@ Name: "dicts\spanish"; Description: {#SpanishDict}; Languages: not spanish; Type ;Name: "dicts\language_name"; Description: {#LangNameDict}; Languages: language_name; Types: full compact; Flags: disablenouninstallwarning ;Name: "dicts\language_name"; Description: {#LangNameDict}; Languages: not language_name; Types: full; Flags: disablenouninstallwarning - [Code] +///////////////////////////////////////////////////////////////////// // following 3 functions are need to set Compact type as default +// function FullInstall(Param : String) : String; begin result := SetupMessage(msgFullInstallation); end; - +// function CustomInstall(Param : String) : String; begin result := SetupMessage(msgCustomInstallation); end; - +// function CompactInstall(Param : String) : String; begin result := SetupMessage(msgCompactInstallation); end; -// - ///////////////////////////////////////////////////////////////////// -function GetUninstallString(): String; +function GetUninstallCommand(): String; var - sUnInstPath: String; - sUnInstallString: String; + sUninstallPath: String; + sUninstallCommand: String; begin - sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\{#emit SetupSetting("AppId")}_is1'); - sUnInstallString := ''; - if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then - RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString); - Result := sUnInstallString; + sUnInstallPath := 'Software\Microsoft\Windows\CurrentVersion\Uninstall\{#AppID}_is1'; + sUninstallCommand := ''; + // get and return Eliot uninstall command and return + if not RegQueryStringValue(HKLM, sUninstallPath, 'UninstallString', sUninstallCommand) then + RegQueryStringValue(HKCU, sUninstallPath, 'UninstallString', sUninstallCommand); + + Result := sUninstallCommand; end; ///////////////////////////////////////////////////////////////////// -function IsUpgrade(): Boolean; +function IsEliotInstalled(): Boolean; begin - Result := (GetUninstallString() <> ''); + // check if Eliot uninstall command exits and is not empty + Result := (GetUninstallCommand() <> ''); end; ///////////////////////////////////////////////////////////////////// -function UnInstallOldVersion(): Integer; +function UninstallOldVersion(): Integer; var - sUnInstallString: String; + sUninstallCommand: String; iResultCode: Integer; begin // Return Values: -// 1 - uninstall string is empty -// 2 - error executing the UnInstallString -// 3 - successfully executed the UnInstallString +// 0 - successfully executed the UninstallCommand +// 1 - error executing the UninstallCommand +// 2 - UninstallCommand string is empty - // default return value - Result := 0; + Result := 2; - // get the uninstall string of the old app - sUnInstallString := GetUninstallString(); - if sUnInstallString <> '' then begin - sUnInstallString := RemoveQuotes(sUnInstallString); - if Exec(sUnInstallString, '/SILENT /NORESTART /SUPPRESSMSGBOXES','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then - Result := 3 + // get the uninstall command string for the old app + sUninstallCommand := GetUninstallCommand(); + if sUninstallCommand <> '' then begin + sUninstallCommand := RemoveQuotes(sUninstallCommand); + // run it. + if Exec(sUninstallCommand, '/NORESTART','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then + Result := 0 else - Result := 2; + // there was an error. + Result := 1; end else - Result := 1; + // there is no uninstall command, so there is no old Eliot version installed + Result := 2; end; ///////////////////////////////////////////////////////////////////// -function GetDefaultDict(): String; +function GetConfiguredDict(): String; var sDictRegKey: String; sDictPath: String; begin + // get path to current configured dictionary sDictRegKey := ExpandConstant('Software\eliot\eliot\Interface'); sDictPath := ''; if not RegQueryStringValue(HKCU, sDictRegKey, 'DicPath', sDictPath) then RegQueryStringValue(HKLM, sDictRegKey, 'DicPath', sDictPath); - + + // return it Result := sDictPath; end; ///////////////////////////////////////////////////////////////////// -function IsDefaultDict(): Boolean; +function IsConfiguredDict(): Boolean; begin - Result := (GetDefaultDict() <> ''); + // check if there is configured a dictionary + Result := (GetConfiguredDict() <> ''); end; ///////////////////////////////////////////////////////////////////// -function SetDefaultDict(): Integer; +function SetConfiguredDict(): Integer; var sSelectedComponents: String; - tmp: TArrayOfString; sSelectedDictPath: String; - sSelectedDicts: String; - sDictRegKey: String; - iResultCode: Integer; begin // Return Values: +// 0 - successfully executed the SetConfiguredDict // 1 - a dict is already set as default // 2 - error setting the default dict -// 3 - successfully executed the SetDefaultDict + // default return value - Result := 0; + Result := 2; + sSelectedComponents := WizardSelectedComponents(False); - + if ( CompareText('main,dicts,dicts/', sSelectedComponents) < 0) then begin - // remove 'main,dicts,dicts/' part + // remove 'main,dicts,dicts/' part: 17 chars. Delete(sSelectedComponents, 1, 17); - if (Pos (',', sSelectedComponents) = 0) then - // only one dictionary was selected. Set it as default dictionary - begin + // check if more than 1 dictionary/component was selected + if (Pos (',', sSelectedComponents) > 0) then + MsgBox(ExpandConstant(CustomMessage('SeveralDicts')), mbInformation, MB_OK) + else + begin + //Only 1 dictionary was selected, remove current regkeys RegDeleteValue(HKEY_CURRENT_USER, '{#DicPathRegKey}', 'DicPath'); RegDeleteValue(HKEY_LOCAL_MACHINE, '{#DicPathRegKey}', 'DicPath'); - if ( sSelectedComponents = 'english') then begin - sSelectedDictPath := '{#EnglishFile}'; - end - else if ( sSelectedComponents = 'english2') then begin - sSelectedDictPath := '{#English2File}'; - end - else if ( sSelectedComponents = 'catalan') then begin - sSelectedDictPath := '{#CatalanFile}'; - end - else if ( sSelectedComponents = 'czech') then begin - sSelectedDictPath := '{#CzechFile}'; - end - else if ( sSelectedComponents = 'french') then begin - sSelectedDictPath := '{#FrenchFile}'; - end - else if ( sSelectedComponents = 'italian') then begin - sSelectedDictPath := '{#ItalianFile}'; - end - else if ( sSelectedComponents = 'malagasy') then begin - sSelectedDictPath := '{#MalagasyFile}'; - end - else if ( sSelectedComponents = 'romanian') then begin - sSelectedDictPath := '{#RomanianFile}'; - end - else if ( sSelectedComponents = 'serbian') then begin - sSelectedDictPath := '{#SerbianFile}'; - end - else if ( sSelectedComponents = 'spanish') then begin - sSelectedDictPath := '{#SpanishFile}'; - end - else begin + sSelectedDictPath := ''; + if ( sSelectedComponents = 'english') then + sSelectedDictPath := '{#EnglishFile}' + else if ( sSelectedComponents = 'english2') then + sSelectedDictPath := '{#English2File}' + else if ( sSelectedComponents = 'bambara') then + sSelectedDictPath := '{#BambaraFile}' + else if ( sSelectedComponents = 'catalan') then + sSelectedDictPath := '{#CatalanFile}' + else if ( sSelectedComponents = 'czech') then + sSelectedDictPath := '{#CzechFile}' + else if ( sSelectedComponents = 'french') then + sSelectedDictPath := '{#FrenchFile}' + else if ( sSelectedComponents = 'italian') then + sSelectedDictPath := '{#ItalianFile}' + else if ( sSelectedComponents = 'malagasy') then + sSelectedDictPath := '{#MalagasyFile}' + else if ( sSelectedComponents = 'norwegian') then + sSelectedDictPath := '{#NorwegianFile}' + else if ( sSelectedComponents = 'polish') then + sSelectedDictPath := '{#PolishFile}' + else if ( sSelectedComponents = 'romanian') then + sSelectedDictPath := '{#RomanianFile}' + else if ( sSelectedComponents = 'serbian') then + sSelectedDictPath := '{#SerbianFile}' + else if ( sSelectedComponents = 'spanish') then + sSelectedDictPath := '{#SpanishFile}' + else // default, empty dict path sSelectedDictPath := ''; - end; - + + // Config selected dictionary as default RegWriteStringValue(HKEY_CURRENT_USER, '{#DicPathRegKey}','DicPath', ExpandConstant('{app}'+ sSelectedDictPath)); - - end else - // two or more dicts was selected. Delete DicPath value because the file is missing - begin - RegDeleteValue(HKEY_CURRENT_USER, '{#DicPathRegKey}', 'DicPath'); - RegDeleteValue(HKEY_LOCAL_MACHINE, '{#DicPathRegKey}', 'DicPath'); - end; - + Result:=0; + end end; Result := 1; end; ///////////////////////////////////////////////////////////////////// procedure CurStepChanged(CurStep: TSetupStep); -var - sDefaultDict: String; - begin - if (CurStep=ssInstall) then + if (CurStep=ssPostInstall) then // After installing files, check current configured dictionary. begin - if (IsUpgrade()) then + if (IsConfiguredDict = False) then // There is no configured/custom dict. + SetConfiguredDict() + else if (not FileExists(GetConfiguredDict)) then // the configured dictionary file doesn't exists. begin - UnInstallOldVersion(); - end; - end; + RegDeleteValue(HKEY_CURRENT_USER, '{#DicPathRegKey}', 'DicPath'); + RegDeleteValue(HKEY_LOCAL_MACHINE, '{#DicPathRegKey}', 'DicPath'); + SetConfiguredDict(); + end + // else + // There is a default/custom dict and the file exists. + // Keep untouched. Nothing to do. + end - if (CurStep=ssPostInstall) then - begin - if ( ( IsDefaultDict = False) or (not FileExists(GetDefaultDict)) ) then - begin - // There isn't a default dict or the file doesn't exists. - SetDefaultDict(); - - end else - // There is a default dict and the file exists. - // Nothing to do. - - end; - end; +///////////////////////////////////////////////////////////////////// +function InitializeSetup(): Boolean; +begin + if IsEliotInstalled then // Eliot is installed -> ask user to uninstall it. + begin + if MsgBox(CustomMessage('EliotIsInstalled'), mbConfirmation, MB_YESNO) = IDYES then + begin // user clicked yes -> uninstall old Eliot version + if UninstallOldVersion = 0 then + result:=True + else // unable to uninstall -> alert user + begin + MsgBox(CustomMessage('UninstallError'), mbInformation, MB_OK); + result:= False; + end + end + else // user clicked no -> abort installation + begin + MsgBox(CustomMessage('AbortInstallation'), mbInformation, MB_OK); + result:= False; + end + end + else + result:= True; + +end; diff --git a/extras/innosetup/innosetup-langs/Romanian.isl b/extras/innosetup/innosetup-langs/Romanian.isl index 2033da7..7a79acf 100644 --- a/extras/innosetup/innosetup-langs/Romanian.isl +++ b/extras/innosetup/innosetup-langs/Romanian.isl @@ -1,4 +1,4 @@ -; *** Inno Setup version 5.1.11+ Romanian messages *** +; *** Inno Setup version 5.5.3+ Romanian messages *** ; Translator : Alexandru Bogdan Munteanu (muntealb@gmail.com) ; ; To download user-contributed translations of this file, go to: @@ -7,12 +7,12 @@ ; Note: When translating this text, do not add periods (.) to the end of ; messages that didn't have them already, because on those messages Inno ; Setup adds the periods automatically (appending a period would result in -; two periods being displayed). +; two periods being displayed). [LangOptions] ; The following three entries are very important. Be sure to read and ; understand the '[LangOptions] section' topic in the help file. -LanguageName=Romn<0103> +LanguageName=Rom<00E2>n<0103> LanguageID=$0418 LanguageCodePage=1250 ; If the language you are translating to requires special font faces or @@ -40,33 +40,37 @@ ConfirmTitle=Confirmare ErrorTitle=Eroare ; *** SetupLdr messages -SetupLdrStartupMessage=Va fi instalat programul %1. Dorii s continuai? -LdrCannotCreateTemp=Nu se poate crea un fiier temporar. Instalare abandonat -LdrCannotExecTemp=Nu se poate executa un fiier din dosarul temporar. Instalare abandonat +SetupLdrStartupMessage=Va fi instalat programul %1. Vrei s continui? +LdrCannotCreateTemp=Nu pot crea o fil temporar. Instalare abandonat +LdrCannotExecTemp=Nu pot executa o fil din dosarul temporar. Instalare abandonat ; *** Startup error messages LastErrorMessage=%1.%n%nEroarea %2: %3 -SetupFileMissing=Fiierul %1 lipsete din dosarul de instalare. Corectai problema sau facei rost de o copie nou a programului. -SetupFileCorrupt=Fiierele de instalare snt deteriorate. Facei rost de o copie nou a programului. -SetupFileCorruptOrWrongVer=Fiierele de instalare snt deteriorate sau snt incompatibile cu aceast versiune a Instalatorului. Remediai problema sau obinei o copie nou a programului. +SetupFileMissing=Fila %1 lipsete din dosarul de instalare. Corecteaz problema sau folosete o alt copie a programului. +SetupFileCorrupt=Filele de instalare snt stricate (corupte). Folosete o alt copie a programului. +SetupFileCorruptOrWrongVer=Filele de instalare snt stricate (corupte) sau snt incompatibile cu aceast versiune a Instalatorului. Remediaz problema sau folosete o alt copie a programului. +InvalidParameter=Un parametru invalid a fost trecut ctre linia de comand:%n%n%1 +SetupAlreadyRunning=Instalarea ruleaz deja. +WindowsVersionNotSupported=Acest program nu suport versiunea de Windows care ruleaz pe calculatorul tu. +WindowsServicePackRequired=Acest program necesit %1 Service Pack %2 sau mai nou. NotOnThisPlatform=Acest program nu va rula pe %1. OnlyOnThisPlatform=Acest program trebuie s ruleze pe %1. OnlyOnTheseArchitectures=Acest program poate fi instalat doar pe versiuni de Windows proiectate pentru urmtoarele arhitecturi de procesor:%n%n%1 -MissingWOW64APIs=Versiunea de Windows pe care o rulai nu include funcionalitatea cerut de Instalator pentru a realiza o instalare pe 64-bii. Pentru a corecta problema, va trebui s instalai Service Pack %1. +MissingWOW64APIs=Versiunea de Windows pe care o rulezi nu include funcionalitatea cerut de Instalator pentru a realiza o instalare pe 64-bii. Pentru a corecta problema, va trebui s instalezi Service Pack %1. WinVersionTooLowError=Acest program necesit %1 versiunea %2 sau mai nou. WinVersionTooHighError=Acest program nu poate fi instalat pe %1 versiunea %2 sau mai nou. -AdminPrivilegesRequired=Trebuie s fii logat ca Administrator pentru instalarea acestui program. -PowerUserPrivilegesRequired=Trebuie s fii logat ca Administrator sau ca Membru al Grupului de Utilizatori mputernicii pentru a instala acest program. -SetupAppRunningError=Instalatorul a detectat c %1 ruleaz n acest moment.%n%nnchidei toate instanele programului respectiv, apoi clicai OK pentru a continua sau Anuleaz pentru a abandona instalarea. -UninstallAppRunningError=Dezinstalatorul a detectat c %1 ruleaz n acest moment.%n%nnchidei toate instanele programului respectiv, apoi clicai OK pentru a continua sau Anuleaz pentru a abandona dezinstalarea. +AdminPrivilegesRequired=Trebuie s fii logat ca Administrator pentru instalarea acestui program. +PowerUserPrivilegesRequired=Trebuie s fii logat ca Administrator sau ca Membru al Grupului de Utilizatori Pricepui ("Power Users") pentru a instala acest program. +SetupAppRunningError=Instalatorul a detectat c %1 ruleaz n acest moment.%n%nnchide toate instanele programului respectiv, apoi clicheaz OK pentru a continua sau Anuleaz pentru a abandona instalarea. +UninstallAppRunningError=Dezinstalatorul a detectat c %1 ruleaz n acest moment.%n%nnchide toate instanele programului respectiv, apoi clicheaz OK pentru a continua sau Anuleaz pentru a abandona dezinstalarea. ; *** Misc. errors ErrorCreatingDir=Instalatorul nu a putut crea dosarul "%1" -ErrorTooManyFilesInDir=Nu se poate crea un fiier n dosarul "%1" din cauz c are deja prea multe fiiere +ErrorTooManyFilesInDir=Nu pot crea o fil n dosarul "%1" din cauz c are deja prea multe file ; *** Setup common messages ExitSetupTitle=Abandonarea Instalrii -ExitSetupMessage=Instalarea nu este terminat. Dac o abandonai acum, programul nu va fi instalat.%n%nPutei s rulai Instalatorul din nou alt dat pentru a termina instalarea.%n%nAbandonai Instalarea? +ExitSetupMessage=Instalarea nu este terminat. Dac o abandonezi acum, programul nu va fi instalat.%n%nPoi s rulezi Instalatorul din nou alt dat pentru a termina instalarea.%n%nAbandonezi Instalarea? AboutSetupMenuItem=&Despre Instalator... AboutSetupTitle=Despre Instalator AboutSetupMessage=%1 versiunea %2%n%3%n%n%1 sit:%n%4 @@ -83,135 +87,141 @@ ButtonYes=&Da ButtonYesToAll=Da la &Tot ButtonNo=&Nu ButtonNoToAll=N&u la Tot -ButtonFinish=nchide +ButtonFinish=&Finalizeaz ButtonBrowse=&Exploreaz... ButtonWizardBrowse=Explo&reaz... ButtonNewFolder=Creea&z Dosar Nou ; *** "Select Language" dialog messages SelectLanguageTitle=Selectarea Limbii Instalatorului -SelectLanguageLabel=Selectai limba folosit pentru instalare: +SelectLanguageLabel=Selecteaz limba folosit pentru instalare: ; *** Common wizard text -ClickNext=Clicai Continu pentru a avansa cu instalarea sau Anuleaz pentru a o abandona. +ClickNext=Clicheaz pe Continu pentru a avansa cu instalarea sau pe Anuleaz pentru a o abandona. BeveledLabel= BrowseDialogTitle=Explorare dup Dosar -BrowseDialogLabel=Selectai un dosar din lista de mai jos, apoi clicai OK. +BrowseDialogLabel=Selecteaz un dosar din lista de mai jos, apoi clicheaz pe OK. NewFolderName=Dosar Nou ; *** "Welcome" wizard page WelcomeLabel1=Bun venit la Instalarea [name] -WelcomeLabel2=Programul [name/ver] va fi instalat pe calculator.%n%nEste recomandat s nchidei toate celelalte aplicaii nainte de a continua. +WelcomeLabel2=Programul [name/ver] va fi instalat pe calculator.%n%nEste recomandat s nchizi toate celelalte aplicaii nainte de a continua. ; *** "Password" wizard page WizardPassword=Parol PasswordLabel1=Aceast instalare este protejat prin parol. -PasswordLabel3=Completai parola, apoi clicai Continu pentru a merge mai departe. Se ia n considerare tipul literelor din parol (Majuscule/minuscule). +PasswordLabel3=Completeaz parola, apoi clicheaz pe Continu pentru a merge mai departe. Tipul literelor din parol (Majuscule/minuscule) este luat n considerare. PasswordEditLabel=&Parol: -IncorrectPassword=Parola pe care ai introdus-o nu este corect. Rencercai. +IncorrectPassword=Parola pe care ai introdus-o nu este corect. Rencearc. ; *** "License Agreement" wizard page WizardLicense=Acord de Liceniere -LicenseLabel=Citii informaiile urmtoare nainte de a continua, snt importante. -LicenseLabel3=Citii urmtorul Acord de Liceniere. Trebuie s acceptai termenii acestui acord nainte de a continua instalarea. +LicenseLabel=Citete informaiile urmtoare nainte de a continua, snt importante. +LicenseLabel3=Citete urmtorul Acord de Liceniere. Trebuie s accepi termenii acestui acord nainte de a continua instalarea. LicenseAccepted=&Accept licena LicenseNotAccepted=&Nu accept licena ; *** "Information" wizard pages WizardInfoBefore=Informaii -InfoBeforeLabel=Citii informaiile urmtoare nainte de a continua, snt importante. -InfoBeforeClickLabel=Cnd sntei gata de a trece la Instalare, clicai Continu. +InfoBeforeLabel=Citete informaiile urmtoare nainte de a continua, snt importante. +InfoBeforeClickLabel=Cnd eti gata de a trece la Instalare, clicheaz pe Continu. WizardInfoAfter=Informaii -InfoAfterLabel=Citii informaiile urmtoare nainte de a continua, snt importante. -InfoAfterClickLabel=Cnd sntei gata de a trece la Instalare, clicai Continu. +InfoAfterLabel=Citete informaiile urmtoare nainte de a continua, snt importante. +InfoAfterClickLabel=Cnd eti gata de a trece la Instalare, clicheaz pe Continu. ; *** "User Information" wizard page WizardUserInfo=Informaii despre Utilizator -UserInfoDesc=Introducei informaiile solicitate. +UserInfoDesc=Completeaz informaiile cerute. UserInfoName=&Utilizator: UserInfoOrg=&Organizaie: UserInfoSerial=Numr de &Serie: -UserInfoNameRequired=Trebuie s introducei un nume. +UserInfoNameRequired=Trebuie s introduci un nume. ; *** "Select Destination Location" wizard page WizardSelectDir=Selectarea Locului de Destinaie -SelectDirDesc=Unde dorii s instalai [name]? +SelectDirDesc=Unde vrei s instalezi [name]? SelectDirLabel3=Instalatorul va pune [name] n dosarul specificat mai jos. -SelectDirBrowseLabel=Pentru a avansa cu instalarea, clicai Continu. Dac dorii s selectai un alt dosar, clicai Exploreaz. +SelectDirBrowseLabel=Pentru a avansa cu instalarea, clicheaz pe Continu. Dac vrei s selectezi un alt dosar, clicheaz pe Exploreaz. DiskSpaceMBLabel=Este necesar un spaiu liber de stocare de cel puin [mb] MB. -ToUNCPathname=Instalatorul nu poate realiza instalarea pe o cale n format UNC. Dac ncercai s instalai ntr-o reea, va trebui s mapai un dispozitiv de reea. -InvalidPath=Trebuie s introducei o cale complet, inclusiv litera dispozitivului; de exemplu:%n%nC:\APP%n%nsau o cale UNC de forma:%n%n\\server\share -InvalidDrive=Dispozitivul sau partajul UNC pe care l-ai selectat nu exist sau nu este accesibil. Selectai altul. +CannotInstallToNetworkDrive=Instalatorul nu poate realiza instalarea pe un dispozitiv de reea. +CannotInstallToUNCPath=Instalatorul nu poate realiza instalarea pe o cale n format UNC. +InvalidPath=Trebuie s introduci o cale complet, inclusiv litera dispozitivului; de exemplu:%n%nC:\APP%n%nsau o cale UNC de forma:%n%n\\server\share +InvalidDrive=Dispozitivul sau partajul UNC pe care l-ai selectat nu exist sau nu este accesibil. Selecteaz altul. DiskSpaceWarningTitle=Spaiu de Stocare Insuficient -DiskSpaceWarning=Instalarea necesit cel puin %1 KB de spaiu de stocare liber, dar dispozitivul selectat are doar %2 KB liberi.%n%nDorii s continuai oricum? +DiskSpaceWarning=Instalarea necesit cel puin %1 KB de spaiu de stocare liber, dar dispozitivul selectat are doar %2 KB liberi.%n%nVrei s continui oricum? DirNameTooLong=Numele dosarului sau al cii este prea lung. InvalidDirName=Numele dosarului nu este valid. BadDirName32=Numele dosarelor nu pot include unul din urmtoarele caractere:%n%n%1 DirExistsTitle=Dosarul Exist -DirExists=Dosarul:%n%n%1%n%nexist deja. Dorii totui s instalai n acel dosar? +DirExists=Dosarul:%n%n%1%n%nexist deja. Vrei totui s instalezi n acel dosar? DirDoesntExistTitle=Dosarul Nu Exist -DirDoesntExist=Dosarul:%n%n%1%n%nnu exist. Dorii ca el s fie creat? +DirDoesntExist=Dosarul:%n%n%1%n%nnu exist. Vrei ca el s fie creat? ; *** "Select Components" wizard page WizardSelectComponents=Selectarea Componentelor -SelectComponentsDesc=Care dintre componente ar trebui instalate? -SelectComponentsLabel2=Selectai componentele de instalat; deselectai componentele pe care nu dorii s le instalai. Clicai Continu pentru a merge mai departe. +SelectComponentsDesc=Care dintre componente trebuie instalate? +SelectComponentsLabel2=Selecteaz componentele de instalat; deselecteaz componentele care nu trebuie instalate. Clicheaz pe Continu pentru a merge mai departe. FullInstallation=Instalare Complet ; if possible don't translate 'Compact' as 'Minimal' (I mean 'Minimal' in your language) CompactInstallation=Instalare Compact CustomInstallation=Instalare Personalizat NoUninstallWarningTitle=Componentele Exist -NoUninstallWarning=Instalatorul a detectat c urmtoarele componente snt deja instalate pe calculator:%n%n%1%n%nDeselectarea lor nu le va dezinstala.%n%nDorii s continuai oricum? +NoUninstallWarning=Instalatorul a detectat c urmtoarele componente snt deja instalate pe calculator:%n%n%1%n%nDeselectarea lor nu le va dezinstala.%n%nVrei s continui oricum? ComponentSize1=%1 KB ComponentSize2=%1 MB ComponentsDiskSpaceMBLabel=Selecia curent necesit cel puin [mb] MB spaiu de stocare. ; *** "Select Additional Tasks" wizard page WizardSelectTasks=Selectarea Sarcinilor Suplimentare -SelectTasksDesc=Ce sarcini suplimentare ar trebui ndeplinite? -SelectTasksLabel2=Selectai sarcinile suplimentare care ar trebui ndeplinite n timpul instalrii [name], apoi clicai Continu. +SelectTasksDesc=Ce sarcini suplimentare trebuie ndeplinite? +SelectTasksLabel2=Selecteaz sarcinile suplimentare care trebuie ndeplinite n timpul instalrii [name], apoi clicheaz pe Continu. ; *** "Select Start Menu Folder" wizard page -WizardSelectProgramGroup=Selectarea Dosarului din Meniul de Pornire -SelectStartMenuFolderDesc=Unde ar trebui s fie plasate scurtturile programului? -SelectStartMenuFolderLabel3=Scurtturile vor fi plasate n dosarul specificat mai jos al Meniului de Pornire (Start Menu). -SelectStartMenuFolderBrowseLabel=Pentru a avansa cu instalarea, clicai Continu. Dac dorii s selectai un alt dosar, clicai Exploreaz. -MustEnterGroupName=Trebuie s introducei numele dosarului. +WizardSelectProgramGroup=Selectarea Dosarului din Meniul de Start +SelectStartMenuFolderDesc=Unde trebuie s fie plasate scurtturile programului? +SelectStartMenuFolderLabel3=Scurtturile vor fi plasate n dosarul specificat mai jos al Meniului de Start. +SelectStartMenuFolderBrowseLabel=Pentru a avansa cu instalarea, clicheaz pe Continu. Dac vrei s selectezi un alt dosar, clicheaz pe Exploreaz. +MustEnterGroupName=Trebuie s introduci numele dosarului. GroupNameTooLong=Numele dosarului sau al cii este prea lung. InvalidGroupName=Numele dosarului nu este valid. BadGroupName=Numele dosarului nu poate include unul dintre caracterele urmtoarele:%n%n%1 -NoProgramGroupCheck2=Nu crea un &dosar n Meniul de Pornire +NoProgramGroupCheck2=Nu crea un &dosar n Meniul de Start ; *** "Ready to Install" wizard page WizardReady=Pregtit de Instalare ReadyLabel1=Instalatorul e pregtit pentru instalarea [name] pe calculator. -ReadyLabel2a=Clicai Instaleaz pentru a continua cu instalarea, sau clicai napoi dac dorii s revedei sau s schimbai setrile. -ReadyLabel2b=Clicai Instaleaz pentru a continua cu instalarea. +ReadyLabel2a=Clicheaz pe Instaleaz pentru a continua cu instalarea, sau clicheaz pe napoi dac vrei s revezi sau s schimbi setrile. +ReadyLabel2b=Clicheaz pe Instaleaz pentru a continua cu instalarea. ReadyMemoUserInfo=Info Utilizator: ReadyMemoDir=Loc de Destinaie: ReadyMemoType=Tip de Instalare: ReadyMemoComponents=Componente Selectate: -ReadyMemoGroup=Dosarul Meniului de Pornire: +ReadyMemoGroup=Dosarul Meniului de Start: ReadyMemoTasks=Sarcini Suplimentare: ; *** "Preparing to Install" wizard page WizardPreparing=Pregtire pentru Instalare PreparingDesc=Instalatorul pregtete instalarea [name] pe calculator. -PreviousInstallNotCompleted=Instalarea/dezinstalarea anterioar a unui program nu a fost terminat. Va trebui s repornii calculatorul pentru a termina operaiunea precedent.%n%nDup repornirea calculatorului, rulai Instalatorul din nou pentru a realiza instalarea [name]. -CannotContinue=Instalarea nu poate continua. Clicai Anuleaz pentru a o nchide. +PreviousInstallNotCompleted=Instalarea/dezinstalarea anterioar a unui program nu a fost terminat. Va trebui s reporneti calculatorul pentru a termina operaia precedent.%n%nDup repornirea calculatorului, ruleaz Instalatorul din nou pentru a realiza instalarea [name]. +CannotContinue=Instalarea nu poate continua. Clicheaz pe Anuleaz pentru a o nchide. +ApplicationsFound=Aplicaiile urmtoare folosesc file care trebuie actualizate de ctre Instalator. Este recomandat s permii Instalatorului s nchid automat aplicaiile respective. +ApplicationsFound2=Aplicaiile urmtoare folosesc file care trebuie actualizate de ctre Instalator. Este recomandat s permii Instalatorului s nchid automat aplicaiile respective. Dup ce instalarea e terminat, Instalatorul va ncerca s reporneasc aplicaiile. +CloseApplications=nchide &automat aplicaiile +DontCloseApplications=Nu nchi&de aplicaiile +ErrorCloseApplications=Instalatorul nu a putut nchide automat toate aplicaiile. nainte de a continua, e recomandat s nchizi manual toate aplicaiile care folosesc file ce trebuie actualizate de Instalator. ; *** "Installing" wizard page WizardInstalling=Instalare n Desfurare -InstallingLabel=Ateptai n timp ce se instaleaz [name] pe calculator. +InstallingLabel=Ateapt s se termine instalarea [name] pe calculator. ; *** "Setup Completed" wizard page FinishedHeadingLabel=Finalizarea Instalrii [name] FinishedLabelNoIcons=Instalarea [name] pe calculator a fost terminat. -FinishedLabel=Instalarea [name] pe calculator a fost terminat. Aplicaia poate fi lansat clicnd pe iconiele instalate. -ClickFinish=Clicai nchide pentru a prsi Instalatorul. -FinishedRestartLabel=Pentru a termina instalarea [name], trebuie repornit calculatorul. Dorii s fie repornit acum? -FinishedRestartMessage=Pentru a termina instalarea [name], trebuie repornit calculatorul.%n%nDorii s fie repornit acum? -ShowReadmeCheck=Da, a dori s vd fiierul de informare (README) +FinishedLabel=Instalarea [name] pe calculator a fost terminat. Aplicaia poate fi lansat prin clicarea pe icoanele instalate. +ClickFinish=Clicheaz pe Finalizeaz pentru a prsi Instalatorul. +FinishedRestartLabel=Pentru a termina instalarea [name], trebuie repornit calculatorul. Vrei s fie repornit acum? +FinishedRestartMessage=Pentru a termina instalarea [name], trebuie repornit calculatorul.%n%nVrei s fie repornit acum? +ShowReadmeCheck=Da, vreau s vd fila de informare (README) YesRadio=&Da, repornete calculatorul acum NoRadio=&Nu, voi reporni eu calculatorul mai trziu ; used for example as 'Run MyProg.exe' @@ -221,32 +231,34 @@ RunEntryShellExec=Vezi %1 ; *** "Setup Needs the Next Disk" stuff ChangeDiskTitle=Instalatorul Necesit Discul Urmtor -SelectDiskLabel2=Introducei Discul %1 i clicai OK.%n%nDac fiierele de pe acest disc pot fi gsite ntr-un alt dosar dect cel afiat mai jos, introducei calea corect sau clicai Exploreaz. +SelectDiskLabel2=Introdu Discul %1 i clicheaz pe OK.%n%nDac filele de pe acest disc pot fi gsite ntr-un alt dosar dect cel afiat mai jos, introdu calea corect sau clicheaz pe Exploreaz. PathLabel=&Cale: -FileNotInDir2=Fiierul "%1" nu poate fi gsit n "%2". Introducei discul corect sau selectai al dosar. -SelectDirectoryLabel=Specificai locul discului urmtor. +FileNotInDir2=Fila "%1" nu poate fi gsit n "%2". Introdu discul corect sau selecteaz alt dosar. +SelectDirectoryLabel=Specific locul discului urmtor. ; *** Installation phase messages -SetupAborted=Instalarea nu a fost terminat.%n%nCorectai problema i rulai Instalarea din nou. -EntryAbortRetryIgnore=Clicai Rencearc pentru a ncerca din nou, Ignor pentru a continua oricum, sau Abandoneaz pentru a anula instalarea. +SetupAborted=Instalarea nu a fost terminat.%n%nCorecteaz problema i apoi ruleaz Instalarea din nou. +EntryAbortRetryIgnore=Clicheaz pe Rencearc pentru a ncerca din nou, pe Ignor pentru a continua oricum, sau pe Abandoneaz pentru a anula instalarea. ; *** Installation status messages -StatusCreateDirs=Se creeaz dosarele... -StatusExtractFiles=Se extrag fiierele... -StatusCreateIcons=Se creeaz scurtturile... -StatusCreateIniEntries=Se creeaz intrrile INI... -StatusCreateRegistryEntries=Se creeaz intrrile n registru... -StatusRegisterFiles=Se nregistreaz fiierele... -StatusSavingUninstall=Se salveaz informaiile de dezinstalare... -StatusRunProgram=Se finalizeaz instalarea... -StatusRollback=Se revine la starea iniial, anulnd modificrile fcute... +StatusClosingApplications=nchid aplicaiile... +StatusCreateDirs=Creez dosarele... +StatusExtractFiles=Extrag filele... +StatusCreateIcons=Creez scurtturile... +StatusCreateIniEntries=Creez intrrile INI... +StatusCreateRegistryEntries=Creez intrrile n registru... +StatusRegisterFiles=nregistrez filele... +StatusSavingUninstall=Salvez informaiile de dezinstalare... +StatusRunProgram=Finalizez instalarea... +StatusRestartingApplications=Repornesc aplicaiile... +StatusRollback=Rentorc la starea iniial, prin anularea modificrilor fcute... ; *** Misc. errors ErrorInternal2=Eroare Intern: %1 ErrorFunctionFailedNoCode=%1 a euat ErrorFunctionFailed=%1 a euat; cod %2 ErrorFunctionFailedWithMessage=%1 a euat; cod %2.%n%3 -ErrorExecutingProgram=Nu se poate executa fiierul:%n%1 +ErrorExecutingProgram=Nu pot executa fila:%n%1 ; *** Registry errors ErrorRegOpenKey=Eroare la deschiderea cheii de registru:%n%1\%2 @@ -257,62 +269,69 @@ ErrorRegWriteKey=Eroare la scrierea ErrorIniEntry=Eroare la crearea intrrii INI n fiierul "%1". ; *** File copying errors -FileAbortRetryIgnore=Clicai Rencearc pentru a ncerca din nou, Ignor pentru a sri acest fiier (nerecomandat), sau Abandoneaz pentru a anula instalarea. -FileAbortRetryIgnore2=Clicai Rencearc pentru a ncerca din nou, Ignor pentru a continua oricum (nerecomandat), sau Abandoneaz pentru a anula instalarea. -SourceIsCorrupted=Fiierul surs este deteriorat -SourceDoesntExist=Fiierul surs "%1" nu exist -ExistingFileReadOnly=Fiierul deja existent este marcat doar-citire.%n%nClicai Rencearc pentru a nltura atributul doar-citire i a ncerca din nou, Ignor pentru a sri acest fiier, sau Abandoneaz pentru a anula instalarea. -ErrorReadingExistingDest=A aprut o eroare n timpul citirii fiierului deja existent: -FileExists=Fiierul exist deja.%n%Dorii ca el s fie suprascris de Instalator? -ExistingFileNewer=Fiierul deja existent este mai nou dect cel care trebuie instalat. Este recomandat s l pstrai pe cel existent.%n%nDorii s pstrai fiierul deja existent? -ErrorChangingAttr=A aprut o eroare n timpul schimbrii atributelor fiierului deja existent: -ErrorCreatingTemp=A aprut o eroare n timpul crerii fiierului n dosarul de destinaie: -ErrorReadingSource=A aprut o eroare n timpul citirii fiierului surs: -ErrorCopying=A aprut o eroare n timpul copierii fiierului: -ErrorReplacingExistingFile=A aprut o eroare n timpul nlocuirii fiierului deja existent: +FileAbortRetryIgnore=Clicheaz pe Rencearc pentru a ncerca din nou, pe Ignor pentru a sri aceast fil (nerecomandat), sau pe Abandoneaz pentru a anula instalarea. +FileAbortRetryIgnore2=Clicheaz pe Rencearc pentru a ncerca din nou, pe Ignor pentru a continua oricum (nerecomandat), sau pe Abandoneaz pentru a anula instalarea. +SourceIsCorrupted=Fila surs este stricat (corupt) +SourceDoesntExist=Fila surs "%1" nu exist +ExistingFileReadOnly=Fila deja existent este marcat doar-citire.%n%nClicheaz pe Rencearc pentru a nltura atributul doar-citire i a ncerca din nou, pe Ignor pentru a sri aceast fil, sau pe Abandoneaz pentru a anula instalarea. +ErrorReadingExistingDest=A aprut o eroare n timpul citirii filei deja existente: +FileExists=Fila exist deja.%n%Vrei ca ea s fie suprascris de Instalator? +ExistingFileNewer=Fila deja existent este mai nou dect cea care trebuie instalat. Este recomandat s-o pstrezi pe cea existent.%n%nVrei s pstrezi fila deja existent? +ErrorChangingAttr=A aprut o eroare n timpul schimbrii atributelor filei deja existente: +ErrorCreatingTemp=A aprut o eroare n timpul crerii filei n dosarul de destinaie: +ErrorReadingSource=A aprut o eroare n timpul citirii filei surs: +ErrorCopying=A aprut o eroare n timpul copierii filei: +ErrorReplacingExistingFile=A aprut o eroare n timpul nlocuirii filei deja existente: ErrorRestartReplace=Repornirea/nlocuirea a euat: -ErrorRenamingTemp=A aprut o eroare n timpul redenumirii fiierului din dosarul de destinaie: -ErrorRegisterServer=Nu se poate nregistra DLL/OCX: %1 +ErrorRenamingTemp=A aprut o eroare n timpul renumirii unei file din dosarul de destinaie: +ErrorRegisterServer=Nu pot nregistra DLL/OCX: %1 ErrorRegSvr32Failed=RegSvr32 a euat, avnd codul de ieire %1 -ErrorRegisterTypeLib=Nu se poate nregistra biblioteca de tipul: %1 +ErrorRegisterTypeLib=Nu pot nregistra biblioteca de tipuri: %1 ; *** Post-installation errors -ErrorOpeningReadme=A aprut o eroare n timp ce se ncerca deschiderea fiierului de informare (README). -ErrorRestartingComputer=Instalatorul nu a putut reporni calculatorul. Va trebui s-l repornii manual. +ErrorOpeningReadme=A aprut o eroare la deschiderea filei de informare (README). +ErrorRestartingComputer=Instalatorul nu a putut reporni calculatorul. Va trebui s-l reporneti manual. ; *** Uninstaller messages -UninstallNotFound=Fiierul "%1" nu exist. Dezinstalarea nu poate fi fcut. -UninstallOpenError=Fiierul "%1" nu poate fi deschis. Dezinstalarea nu poate fi fcut -UninstallUnsupportedVer=Fiierul "%1" ce conine jurnalul de dezinstalare este ntr-un format nerecunoscut de aceast versiune a dezinstalatorului. Dezinstalarea nu poate fi fcut +UninstallNotFound=Fila "%1" nu exist. Dezinstalarea nu poate fi fcut. +UninstallOpenError=Fila "%1" nu poate fi deschis. Dezinstalarea nu poate fi fcut +UninstallUnsupportedVer=Fila "%1" ce conine jurnalul de dezinstalare este ntr-un format nerecunoscut de aceast versiune a dezinstalatorului. Dezinstalarea nu poate fi fcut UninstallUnknownEntry=A fost ntlnit o intrare necunoscut (%1) n jurnalul de dezinstalare -ConfirmUninstall=Sigur dorii s nlturai complet %1 i componentele sale? +ConfirmUninstall=Sigur vrei s nlturi complet %1 i componentele sale? UninstallOnlyOnWin64=Aceast instalare poate fi dezinstalat doar pe un sistem Windows 64-bii. OnlyAdminCanUninstall=Aceast instalare poate fi dezinstalat doar de ctre un utilizator cu drepturi de Administrator. -UninstallStatusLabel=Ateptai ca %1 s fie nlturat de pe calculator. +UninstallStatusLabel=Ateapt ca %1 s fie nlturat de pe calculator. UninstalledAll=%1 a fost nlturat cu succes de pe calculator. UninstalledMost=Dezinstalare complet a %1.%n%nAnumite elemente nu au putut fi nlturate. Acestea pot fi nlturate manual. -UninstalledAndNeedsRestart=Pentru a termina dezinstalarea %1, calculatorul trebuie repornit.%n%nDorii s fie repornit acum? -UninstallDataCorrupted=Fiierul "%1" este deteriorat. Dezinstalarea nu poate fi fcut +UninstalledAndNeedsRestart=Pentru a termina dezinstalarea %1, calculatorul trebuie repornit.%n%nVrei s fie repornit acum? +UninstallDataCorrupted=Fila "%1" este stricat (corupt). Dezinstalarea nu poate fi fcut ; *** Uninstallation phase messages -ConfirmDeleteSharedFileTitle=terg Fiierul Partajat? -ConfirmDeleteSharedFile2=Sistemul indic faptul c fiierul partajat urmtor pare s nu mai fie folosit de vreun alt program. Dorii ca Dezinstalatorul s tearg acest fiier partajat?%n%nDac totui mai exist programe care folosesc fiierul i el este ters, acele programe ar putea s funcioneze defectuos. Dac nu sntei sigur, alegei Nu. Lsarea fiierului n sistem nu va produce nici o neplcere. -SharedFileNameLabel=Nume Fiier: +ConfirmDeleteSharedFileTitle=terg Fila Partajat? +ConfirmDeleteSharedFile2=Sistemul indic faptul c fila partajat urmtoare pare s nu mai fie folosit de vreun alt program. Vrei ca Dezinstalatorul s tearg aceast fil partajat?%n%nDac totui mai exist programe care folosesc fila i ea este tears, acele programe ar putea s funcioneze greit. Dac nu eti sigur, alege Nu. Lsarea filei n sistem nu va produce nici o neplcere. +SharedFileNameLabel=Nume Fil: SharedFileLocationLabel=Loc: WizardUninstalling=Starea Dezinstalrii StatusUninstalling=Dezinstalez %1... +; *** Shutdown block reasons +ShutdownBlockReasonInstallingApp=Instalez %1. +ShutdownBlockReasonUninstallingApp=Dezinstalez %1. + ; The custom messages below aren't used by Setup itself, but if you make ; use of them in your scripts, you'll want to translate them. [CustomMessages] NameAndVersion=%1 versiunea %2 -AdditionalIcons=Iconie suplimentare: -CreateDesktopIcon=Creeaz o iconi pe &Birou (Desktop) -CreateQuickLaunchIcon=Creeaz o iconi n Bara de &Lansare Rapid (Quick Launch) +AdditionalIcons=Icoane suplimentare: +CreateDesktopIcon=Creeaz o icoan pe &Birou ("Desktop") +CreateQuickLaunchIcon=Creeaz o icoan n Bara de &Lansare Rapid ("Quick Launch") ProgramOnTheWeb=%1 pe internet UninstallProgram=Dezinstaleaz %1 LaunchProgram=Lanseaz %1 -AssocFileExtension=&Asociaz %1 cu extensia de fiiere %2 -AssocingFileExtension=Asociez %1 cu extensia de fiiere %2... +AssocFileExtension=&Asociaz %1 cu extensia de file %2 +AssocingFileExtension=Asociez %1 cu extensia de file %2... +AutoStartProgramGroupDescription=Pornire: +AutoStartProgram=Pornete automat %1 +AddonHostProgramNotFound=%1 nu poate fi gsit n dosarul selectat.%n%nVrei s continui oricum?