Ignore:
Timestamp:
Jan 8, 2011, 1:57:40 PM (11 years ago)
Author:
Sven Rech
Message:

I18N most of KeySearcher (as a proof of concept)

File:
1 edited

Legend:

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

    r2295 r2301  
    4646{
    4747    [Author("Sven Rech, Nils Kopal, Raoul Falk, Dennis Nolte", "rech@cryptool.org", "Uni Duisburg-Essen", "http://www.uni-due.de")]
    48     [PluginInfo(false, "KeySearcher", "Bruteforces a decryption algorithm.", "KeySearcher/DetailedDescription/Description.xaml", "KeySearcher/Images/icon.png")]
     48    [PluginInfo("KeySearcher.Properties.Resources", false, "pluginName", "pluginToolTip", "KeySearcher/DetailedDescription/Description.xaml", "KeySearcher/Images/icon.png")]
    4949    public class KeySearcher : IAnalysisMisc
    5050    {
     
    101101
    102102        private IControlEncryption controlMaster;
    103         [PropertyInfo(Direction.ControlMaster, "Control Master", "Used for bruteforcing", "", DisplayLevel.Beginner)]
     103        [PropertyInfo(Direction.ControlMaster, "Control_Master", "ControlMasterDesc", "", DisplayLevel.Beginner)]
    104104        public IControlEncryption ControlMaster
    105105        {
     
    129129
    130130        private IControlCost costMaster;
    131         [PropertyInfo(Direction.ControlMaster, "Cost Master", "Used for cost calculation", "", DisplayLevel.Beginner)]
     131        [PropertyInfo(Direction.ControlMaster, "Cost_Master", "CostMasterDesc", "", DisplayLevel.Beginner)]
    132132        public IControlCost CostMaster
    133133        {
     
    144144        /* BEGIN: following lines are from Arnie - 2010.01.12 */
    145145        CryptoolStream csEncryptedData;
    146         [PropertyInfo(Direction.InputData, "CS Encrypted Data", "Encrypted data out of an Encryption PlugIn", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, "")]
     146        [PropertyInfo(Direction.InputData, "CS_Encrypted_Data", "csEncryptedDataDesc", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, "")]
    147147        public virtual CryptoolStream CSEncryptedData
    148148        {
     
    160160
    161161        byte[] encryptedData;
    162         [PropertyInfo(Direction.InputData,"Encrypted Data","Encrypted data out of an Encryption PlugIn","",false,false,DisplayLevel.Beginner,QuickWatchFormat.Hex,"")]
     162        [PropertyInfo(Direction.InputData,"Encrypted_Data","EcryptedDataDesc","",false,false,DisplayLevel.Beginner,QuickWatchFormat.Hex,"")]
    163163        public virtual byte[] EncryptedData
    164164        {
     
    194194
    195195        byte[] initVector;
    196         [PropertyInfo(Direction.InputData, "Initialization Vector", "Initialization vector with which the data were encrypted", "", DisplayLevel.Beginner)]
     196        [PropertyInfo(Direction.InputData, "Initialization_Vector", "InitVecDesc", "", DisplayLevel.Beginner)]
    197197        public virtual byte[] InitVector
    198198        {
     
    215215        }
    216216
    217         [PropertyInfo(Direction.OutputData, "Top1 Message", "The best message found", "", DisplayLevel.Beginner)]
     217        [PropertyInfo(Direction.OutputData, "Top1_Message", "top1MesDesc", "", DisplayLevel.Beginner)]
    218218        public virtual byte[] Top1Message
    219219        {
    220220            get { return top1ValueKey.decryption; }
    221221        }
    222         [PropertyInfo(Direction.OutputData, "Top1 Key", "The best key found", "", DisplayLevel.Beginner)]
     222        [PropertyInfo(Direction.OutputData, "Top1_Key", "Top1KeyDesc", "", DisplayLevel.Beginner)]
    223223        public virtual byte[] Top1Key
    224224        {
Note: See TracChangeset for help on using the changeset viewer.