Changeset 382


Ignore:
Timestamp:
02/14/08 10:53:02 (12 years ago)
Author:
Eoin
Message:

Toying with WiX.

Location:
trunk
Files:
3 added
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/Halite.sln

    r380 r382  
    1616EndProject 
    1717Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asio", "sln\asio\asio.vcproj", "{00A33D18-879A-4143-BCAD-45993CCB5A8C}" 
     18EndProject 
     19Project("{A49CE20D-CE64-4A08-9F24-92A6443D6699}") = "HalWiX", "sln\HalWiX\HalWiX.wixproj", "{8D768897-96D3-48DB-A7AB-9242E4D27DB4}" 
    1820EndProject 
    1921Global 
     
    7274                {00A33D18-879A-4143-BCAD-45993CCB5A8C}.Release|Win32.Build.0 = Release|Win32 
    7375                {00A33D18-879A-4143-BCAD-45993CCB5A8C}.Release|x64.ActiveCfg = Release|Win32 
     76                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Debug|Win32.ActiveCfg = Debug 
     77                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Debug|Win32.Build.0 = Debug 
     78                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Debug|x64.ActiveCfg = Debug 
     79                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Debug|x64.Build.0 = Debug 
     80                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release Logging|Win32.ActiveCfg = Release 
     81                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release Logging|Win32.Build.0 = Release 
     82                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release Logging|x64.ActiveCfg = Release 
     83                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release Logging|x64.Build.0 = Release 
     84                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release|Win32.ActiveCfg = Release 
     85                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release|Win32.Build.0 = Release 
     86                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release|x64.ActiveCfg = Release 
     87                {8D768897-96D3-48DB-A7AB-9242E4D27DB4}.Release|x64.Build.0 = Release 
    7488        EndGlobalSection 
    7589        GlobalSection(SolutionProperties) = preSolution 
  • trunk/lang/Italian.txt

    r381 r382  
    175175"DHT session could not start. Try selecting another port in the settings." ---> "La sessione DHT non si Ú avviata. Prova a selezionare un'altra porta nelle Opzioni." 
    176176"Select a directory to save the files to or cancel to not download torrent at all." ---> "Seleziona una directory in cui salvare i files, o annulla per non scaricare il torrent." 
    177 "inf" --->  ???  
     177"∞" --->  ???  
    178178"%1$.2fMB of %2$.2fMB" ---> "%1$.2fMB su %2$.2fMB" 
    179179"This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "In questa Sessione: Scaricati %1$.2fMB, Inviati %2$.2fMB, Ratio %3$.2f." 
  • trunk/lang/Norwegian.txt

    r381 r382  
    177177"DHT session could not start. Try selecting another port in the settings." ---> "DHT sesjonen kunne ikke starte. PrÞv en annen port i instillingene." 
    178178"Select a directory to save the files to or cancel to not download torrent at all." ---> "Velg en mappe for lagring av filene eller avbryt for ikke Ã¥ laste ned torrenten." 
    179 "inf" --->  ???  
     179"∞" --->  ???  
    180180"%1$.2fMB of %2$.2fMB" --->  ???  
    181181"This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." --->  ???  
  • trunk/lang/Slovenian.txt

    r381 r382  
    175175"DHT session could not start. Try selecting another port in the settings." ---> "Napaka DHT vtičnika, prosimo spremenite port." 
    176176"Select a directory to save the files to or cancel to not download torrent at all." ---> "Izberite mapo za shrambo datotek." 
    177 "inf" --->  ???  
     177"∞" --->  ???  
    178178"%1$.2fMB of %2$.2fMB" ---> "%1$.2fMB od %2$.2fMB" 
    179179"This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "V tej seji ste prenesli  %1$.2fMB podatkov in oddali %2$.2fMB podatkov. Delilno razmerje seje: %3$.2f." 
  • trunk/lang/Spanish.txt

    r381 r382  
    175175"DHT session could not start. Try selecting another port in the settings." ---> "No se pudo iniciar la sesión DHT. Prueba a seleccionar otro puerto en las opciones." 
    176176"Select a directory to save the files to or cancel to not download torrent at all." ---> "Elige el directorio donde guardar los archivos o pulsa Cancelar para no descargar el torrent." 
    177 "inf" --->  ???  
     177"∞" --->  ???  
    178178"%1$.2fMB of %2$.2fMB" ---> "%1$.2fMB de %2$.2fMB" 
    179179"This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "En esta sesión se han descargado %1$.2fMB y subido %2$.2fMB. Ratio %3$.2f." 
  • trunk/lang/Turkish.txt

    r381 r382  
    175175"DHT session could not start. Try selecting another port in the settings." ---> "DHT oturumu başlatılamadı. Ayarlardan başka bir port seçin." 
    176176"Select a directory to save the files to or cancel to not download torrent at all." ---> "Dosyaları kaydetmek için bir dizin seçin veya torrenti indirmemek için iptal edin." 
    177 "inf" --->  ???  
     177"∞" --->  ???  
    178178"%1$.2fMB of %2$.2fMB" --->  ???  
    179179"This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." --->  ???  
  • trunk/src/global/TinyXml.rb

    r329 r382  
    88# We'll go through each file to generate the map prior to making any changes 
    99 
    10 ARGV.each do |arg|  
     10ARGV.each do |arg| 
    1111    whole_file = File.open(arg).gets(nil) 
    1212 
     
    5555# EXCEPT within quoted text. 
    5656 
    57 ARGV.each do |arg|  
     57ARGV.each do |arg| 
    5858    whole_file = File.open(arg).gets(nil) 
    59          
    60         cycle = true 
    61          
     59 
     60    cycle = true 
     61 
    6262    whole_file.gsub!(/\\"/) { "escaped-single-quote" } 
    6363    whole_file.gsub!(/""/) { "empty-double-quote" } 
    64          
     64 
    6565    r = Regexp.new('[^"]+', Regexp::MULTILINE) 
    66          
     66 
    6767    whole_file.gsub!(r) do |non_quote| 
    68                          
    69                 if (cycle)               
    70                         non_quote.gsub!(/\w+/) do |word|                                 
    7168 
    72                                 if map.has_key?(word) 
    73                                         map[word] 
    74                                 elsif map.has_value?(word) 
    75                                         word+'_' 
    76                                 else 
    77                                         word 
    78                                 end 
    79                         end              
    80                 end              
    81                 cycle = !cycle 
    82                  
    83                 non_quote                
    84         end 
    85          
     69        if (cycle) 
     70            non_quote.gsub!(/\w+/) do |word| 
     71 
     72                if map.has_key?(word) 
     73                    map[word] 
     74                elsif map.has_value?(word) 
     75                    word+'_' 
     76                else 
     77                    word 
     78                end 
     79            end 
     80        end 
     81        cycle = !cycle 
     82 
     83        non_quote 
     84    end 
     85 
    8686    whole_file.gsub!(/escaped-single-quote/) { '\"' } 
    8787    whole_file.gsub!(/empty-double-quote/) { '""' } 
Note: See TracChangeset for help on using the changeset viewer.