Changeset 1481


Ignore:
Timestamp:
1/6/2010 8:55:05 AM (4 years ago)
Author:
lowjoel
Message:

Proper error message when we are unable to load a setting; the old one did not include the value we were reading.

Location:
branches/eraser6/6.0/Eraser
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/Settings.cs

    r1480 r1481  
    9393                            { 
    9494                                key.DeleteValue(setting); 
    95                                 MessageBox.Show(S._("Could not load the setting {0} for plugin {1}. " + 
    96                                     "The setting has been lost.", key, pluginID.ToString()), 
     95                                MessageBox.Show(S._("Could not load the setting {0}\\{1} for " + 
     96                                        "plugin {2}. The setting has been lost.", key, setting, 
     97                                        pluginID.ToString()), 
    9798                                    S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 
    9899                                    MessageBoxDefaultButton.Button1, 
  • branches/eraser6/6.0/Eraser/Strings.NL.resx

    r1356 r1481  
    223223    <value>(Untranslated)</value> 
    224224  </data> 
    225   <data name="Could not load the setting {0} for plugin {1}. The setting has been lost." xml:space="preserve"> 
    226     <value>(Untranslated)</value> 
    227   </data> 
    228   <data name="User interface language" xml:space="preserve"> 
    229     <value>Gebruikers interface taal</value> 
     225  <data name="Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost." xml:space="preserve"> 
     226    <value>(Untranslated)</value> 
    230227  </data> 
    231228  <data name="Default file erasure method" xml:space="preserve"> 
  • branches/eraser6/6.0/Eraser/Strings.en.resx

    r1356 r1481  
    223223    <value>Could not import task list from {0}. The error returned was: {1}</value> 
    224224  </data> 
    225   <data name="Could not load the setting {0} for plugin {1}. The setting has been lost." xml:space="preserve"> 
    226     <value>Could not load the setting {0} for plugin {1}. The setting has been lost.</value> 
    227   </data> 
    228   <data name="User interface language" xml:space="preserve"> 
    229     <value>User interface language</value> 
     225  <data name="Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost." xml:space="preserve"> 
     226    <value>Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost.</value> 
    230227  </data> 
    231228  <data name="Default file erasure method" xml:space="preserve"> 
  • branches/eraser6/6.0/Eraser/Strings.it.resx

    r1365 r1481  
    223223    <value>Importazione della lista di operazioni da {0} non riuscita. L'errore è stato: {1}</value> 
    224224  </data> 
    225   <data name="Could not load the setting {0} for plugin {1}. The setting has been lost." xml:space="preserve"> 
    226     <value>Impossibile caricare l'impostazione {0} per il plugin {1}. L'impostazione è stata persa.</value> 
    227   </data> 
    228   <data name="User interface language" xml:space="preserve"> 
    229     <value>Linguaggio di Interfaccia Utente</value> 
     225  <data name="Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost." xml:space="preserve"> 
     226    <value>(Untranslated)</value> 
    230227  </data> 
    231228  <data name="Default file erasure method" xml:space="preserve"> 
  • branches/eraser6/6.0/Eraser/Strings.resx

    r1356 r1481  
    223223    <value>Could not import task list from {0}. The error returned was: {1}</value> 
    224224  </data> 
    225   <data name="Could not load the setting {0} for plugin {1}. The setting has been lost." xml:space="preserve"> 
    226     <value>Could not load the setting {0} for plugin {1}. The setting has been lost.</value> 
    227   </data> 
    228   <data name="User interface language" xml:space="preserve"> 
    229     <value>User interface language</value> 
     225  <data name="Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost." xml:space="preserve"> 
     226    <value>Could not load the setting {0}\\{1} for plugin {2}. The setting has been lost.</value> 
    230227  </data> 
    231228  <data name="Default file erasure method" xml:space="preserve"> 
Note: See TracChangeset for help on using the changeset viewer.