Skip to content

Commit

Permalink
Fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
HMBSbige committed Oct 9, 2019
1 parent a8768fb commit 0ea0661
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shadowsocks-csharp/Model/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ public bool IsSelected
}

[JsonIgnore]
public string GroupName => string.IsNullOrEmpty(Group) ? @"(empty group)" : Group;

[JsonIgnore]
public string RemarkName => string.IsNullOrEmpty(Remarks) ? @"(empty remark)" : Remarks;
public string GroupName => string.IsNullOrEmpty(Group) ? I18NUtil.GetAppStringValue(@"EmptyGroup") : Group;

[JsonIgnore]
public string Remarks
Expand Down Expand Up @@ -354,7 +351,6 @@ public string Remarks_Base64
remarks_base64 = value;
OnPropertyChanged();
OnPropertyChanged(nameof(Remarks));
OnPropertyChanged(nameof(RemarkName));
OnPropertyChanged(nameof(FriendlyName));
}
}
Expand Down

0 comments on commit 0ea0661

Please sign in to comment.