mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-213045: Rework on comments to change string format
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
This commit is contained in:
parent
76f7946ec4
commit
a682811ed5
@ -80,7 +80,7 @@ namespace XenAdmin.Commands
|
||||
{
|
||||
SaveFileDialog dialog = new SaveFileDialog();
|
||||
dialog.AddExtension = true;
|
||||
dialog.Filter = string.Format("{0} (*." + Branding.BACKUP + ")|*." + Branding.BACKUP + "|{1} (*.*)|*.*", Messages.XS_BACKUP_FILES, Messages.ALL_FILES);
|
||||
dialog.Filter = string.Format("{0} (*.{1})|*.{1}|{2} (*.*)|*.*", Messages.XS_BACKUP_FILES, Branding.BACKUP, Messages.ALL_FILES);
|
||||
dialog.FilterIndex = 0;
|
||||
dialog.RestoreDirectory = true;
|
||||
dialog.DefaultExt = Branding.BACKUP;
|
||||
|
@ -98,7 +98,7 @@ namespace XenAdmin.Commands
|
||||
oldDir = Directory.GetCurrentDirectory();
|
||||
OpenFileDialog dialog = new OpenFileDialog();
|
||||
dialog.AddExtension = true;
|
||||
dialog.Filter = string.Format("{0} (*." + Branding.BACKUP + ")|*." + Branding.BACKUP + "|{1} (*.*)|*.*", Messages.XS_BACKUP_FILES, Messages.ALL_FILES);
|
||||
dialog.Filter = string.Format("{0} (*.{1})|*.{1}|{2} (*.*)|*.*", Messages.XS_BACKUP_FILES, Branding.BACKUP, Messages.ALL_FILES);
|
||||
dialog.FilterIndex = 0;
|
||||
dialog.RestoreDirectory = true;
|
||||
dialog.DefaultExt = Branding.BACKUP;
|
||||
|
Loading…
Reference in New Issue
Block a user