mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Preparations for the language changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1783 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
d6c608bf65
commit
53af559d22
44 changed files with 472 additions and 874 deletions
|
@ -31,7 +31,6 @@ using GreenshotPlugin.Core;
|
|||
namespace GreenshotConfluencePlugin {
|
||||
public class EnumDisplayer : IValueConverter {
|
||||
private static readonly log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(EnumDisplayer));
|
||||
private ILanguage lang = Language.GetInstance();
|
||||
|
||||
private Type type;
|
||||
private IDictionary displayValues;
|
||||
|
@ -68,8 +67,8 @@ namespace GreenshotConfluencePlugin {
|
|||
object enumValue = field.GetValue(null);
|
||||
|
||||
string displayString = null;
|
||||
if (displayKey != null && lang.hasKey(displayKey)) {
|
||||
displayString = lang.GetString(displayKey);
|
||||
if (displayKey != null && Language.hasKey(displayKey)) {
|
||||
displayString = Language.GetString(displayKey);
|
||||
} if (displayKey != null) {
|
||||
displayString = displayKey;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue