Ignore:
Timestamp:
Jan 7, 2011, 2:25:21 PM (11 years ago)
Author:
Sven Rech
Message:

Prepared KeySearcher for Localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcherSettings.cs

    r2282 r2295  
    66using System.Collections.ObjectModel;
    77using KeySearcher.P2P.Storage;
     8using KeySearcher.Properties;
    89using OpenCLNet;
    910
     
    8182                OnPropertyChanged("Key");
    8283                if (!(keysearcher.Pattern != null && keysearcher.Pattern.testWildcardKey(value)))
    83                     keysearcher.GuiLogMessage("Wrong key pattern!", NotificationLevel.Error);
     84                    keysearcher.GuiLogMessage(Resources.Wrong_key_pattern_, NotificationLevel.Error);
    8485                HasChanges = true;
    8586            }
     
    180181            if (!keysearcher.IsKeySearcherRunning)
    181182            {
    182                 keysearcher.GuiLogMessage("KeySearcher must be running to copy the status key.", NotificationLevel.Error);
     183                keysearcher.GuiLogMessage(Resources.KeySearcher_must_be_running_to_copy_the_status_key_, NotificationLevel.Error);
    183184                return;
    184185            }
     
    188189
    189190            Clipboard.SetDataObject(statusKey, true);
    190             keysearcher.GuiLogMessage("Status key '" + statusKey + "' has been copied to clipboard.",
     191            keysearcher.GuiLogMessage(string.Format(Resources.Status_key___0___has_been_copied_to_clipboard_, statusKey),
    191192                                      NotificationLevel.Info);
    192193        }
     
    273274        public string NoOpenCL
    274275        {
    275             get { return "No OpenCL Device available!"; }
     276            get { return Resources.No_OpenCL_Device_available_; }
    276277            set {}
    277278        }
Note: See TracChangeset for help on using the changeset viewer.