Ignore:
Timestamp:
Jan 8, 2011, 12:06:47 AM (11 years ago)
Author:
Sven Rech
Message:

internationalized CrypWin completely (except the GuiLogMessages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPluginBase/Miscellaneous/LocExtension.cs

    r2295 r2298  
    4949                var locAttribute = (LocalizationAttribute)Attribute.GetCustomAttribute(service.RootObject.GetType(), typeof(LocalizationAttribute));
    5050                ResourceManager resman = new ResourceManager(locAttribute.ResourceFile, service.RootObject.GetType().Assembly);
    51                 return resman.GetString(Key);
     51               
     52                if (resman.GetString(Key) != null)
     53                    return resman.GetString(Key);
     54                else
     55                    return Key;
    5256            }
    5357            catch (Exception ex)
Note: See TracChangeset for help on using the changeset viewer.