ssg: advanced config front matter: use strings
This commit is contained in:
parent
232708a3f3
commit
bf1e8adb6f
|
@ -45,12 +45,25 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
public FrontMatterPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
LocalizeStrings();
|
||||
}
|
||||
|
||||
public FrontMatterPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
{
|
||||
InitializeComponent();
|
||||
LocalizeStrings();
|
||||
}
|
||||
|
||||
private void LocalizeStrings()
|
||||
{
|
||||
PanelName = Res.Get(StringId.SSGConfigFrontMatterTitle);
|
||||
labelSubtitle.Text = Res.Get(StringId.SSGConfigFrontMatterSubtitle);
|
||||
|
||||
colKey.HeaderText = Res.Get(StringId.SSGConfigFrontMatterKeyCol);
|
||||
colProperty.HeaderText = Res.Get(StringId.SSGConfigFrontMatterPropertyCol);
|
||||
|
||||
buttonResetDefaults.Text = Res.Get(StringId.SSGConfigFrontMatterReset);
|
||||
}
|
||||
|
||||
public override void LoadConfig()
|
||||
|
|
Loading…
Reference in New Issue