ssg: advanced config authoring: use strings
This commit is contained in:
parent
7706b85796
commit
232708a3f3
|
@ -4714,6 +4714,10 @@ namespace OpenLiveWriter.Localization
|
||||||
/// Pages
|
/// Pages
|
||||||
/// </summary>
|
/// </summary>
|
||||||
SSGConfigAuthoringPagesGroup,
|
SSGConfigAuthoringPagesGroup,
|
||||||
|
/// <summary>
|
||||||
|
/// Pages Stored In Project Root
|
||||||
|
/// </summary>
|
||||||
|
SSGConfigAuthoringPagesInRoot,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Pages Path: (relative)
|
/// Pages Path: (relative)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1460,6 +1460,7 @@ SSGConfigAuthoringDraftsPath,Drafts Path: (relative),
|
||||||
SSGConfigAuthoringPagesGroup,Pages,
|
SSGConfigAuthoringPagesGroup,Pages,
|
||||||
SSGConfigAuthoringEnablePages,Enable P&ages,
|
SSGConfigAuthoringEnablePages,Enable P&ages,
|
||||||
SSGConfigAuthoringPagesPath,Pages Path: (relative),
|
SSGConfigAuthoringPagesPath,Pages Path: (relative),
|
||||||
|
SSGConfigAuthoringPagesInRoot,Pages Stored In Project Root,
|
||||||
SSGConfigAuthoringImagesGroup,Images,
|
SSGConfigAuthoringImagesGroup,Images,
|
||||||
SSGConfigAuthoringEnableImages,Enable &Images,
|
SSGConfigAuthoringEnableImages,Enable &Images,
|
||||||
SSGConfigAuthoringImagesPath,Images Path: (relative),
|
SSGConfigAuthoringImagesPath,Images Path: (relative),
|
||||||
|
|
Can't render this file because it contains an unexpected character in line 146 and column 69.
|
|
@ -3663,6 +3663,9 @@ Command STDERR:
|
||||||
<data name="SSGConfigAuthoringPagesGroup" xml:space="preserve">
|
<data name="SSGConfigAuthoringPagesGroup" xml:space="preserve">
|
||||||
<value>Pages</value>
|
<value>Pages</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="SSGConfigAuthoringPagesInRoot" xml:space="preserve">
|
||||||
|
<value>Pages Stored In Project Root</value>
|
||||||
|
</data>
|
||||||
<data name="SSGConfigAuthoringPagesPath" xml:space="preserve">
|
<data name="SSGConfigAuthoringPagesPath" xml:space="preserve">
|
||||||
<value>Pages Path: (relative)</value>
|
<value>Pages Path: (relative)</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
@ -98,12 +98,33 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
||||||
public AuthoringPanel() : base()
|
public AuthoringPanel() : base()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
LocalizeStrings();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AuthoringPanel(StaticSitePreferencesController controller)
|
public AuthoringPanel(StaticSitePreferencesController controller)
|
||||||
: base(controller)
|
: base(controller)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
LocalizeStrings();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LocalizeStrings()
|
||||||
|
{
|
||||||
|
PanelName = Res.Get(StringId.SSGConfigAuthoringTitle);
|
||||||
|
|
||||||
|
groupBoxPosts.Text = Res.Get(StringId.SSGConfigAuthoringPostsDraftsGroup);
|
||||||
|
labelPostsPath.Text = Res.Get(StringId.SSGConfigAuthoringPostsPath);
|
||||||
|
checkBoxDraftsEnabled.Text = Res.Get(StringId.SSGConfigAuthoringEnableDrafts);
|
||||||
|
labelDraftsPath.Text = Res.Get(StringId.SSGConfigAuthoringDraftsPath);
|
||||||
|
|
||||||
|
groupBoxPages.Text = Res.Get(StringId.SSGConfigAuthoringPagesGroup);
|
||||||
|
checkBoxPagesEnabled.Text = Res.Get(StringId.SSGConfigAuthoringEnablePages);
|
||||||
|
labelPagesPath.Text = Res.Get(StringId.SSGConfigAuthoringPagesPath);
|
||||||
|
checkBoxPagesStoredInRoot.Text = Res.Get(StringId.SSGConfigAuthoringPagesInRoot);
|
||||||
|
|
||||||
|
groupBoxImages.Text = Res.Get(StringId.SSGConfigAuthoringImagesGroup);
|
||||||
|
checkBoxImagesEnabled.Text = Res.Get(StringId.SSGConfigAuthoringEnableImages);
|
||||||
|
labelImagesPath.Text = Res.Get(StringId.SSGConfigAuthoringImagesPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void LoadConfig()
|
public override void LoadConfig()
|
||||||
|
|
Loading…
Reference in New Issue