ssg: advanced config authoring: use strings
This commit is contained in:
parent
7706b85796
commit
232708a3f3
|
@ -4714,6 +4714,10 @@ namespace OpenLiveWriter.Localization
|
|||
/// Pages
|
||||
/// </summary>
|
||||
SSGConfigAuthoringPagesGroup,
|
||||
/// <summary>
|
||||
/// Pages Stored In Project Root
|
||||
/// </summary>
|
||||
SSGConfigAuthoringPagesInRoot,
|
||||
/// <summary>
|
||||
/// Pages Path: (relative)
|
||||
/// </summary>
|
||||
|
|
|
@ -1460,6 +1460,7 @@ SSGConfigAuthoringDraftsPath,Drafts Path: (relative),
|
|||
SSGConfigAuthoringPagesGroup,Pages,
|
||||
SSGConfigAuthoringEnablePages,Enable P&ages,
|
||||
SSGConfigAuthoringPagesPath,Pages Path: (relative),
|
||||
SSGConfigAuthoringPagesInRoot,Pages Stored In Project Root,
|
||||
SSGConfigAuthoringImagesGroup,Images,
|
||||
SSGConfigAuthoringEnableImages,Enable &Images,
|
||||
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">
|
||||
<value>Pages</value>
|
||||
</data>
|
||||
<data name="SSGConfigAuthoringPagesInRoot" xml:space="preserve">
|
||||
<value>Pages Stored In Project Root</value>
|
||||
</data>
|
||||
<data name="SSGConfigAuthoringPagesPath" xml:space="preserve">
|
||||
<value>Pages Path: (relative)</value>
|
||||
</data>
|
||||
|
|
|
@ -98,12 +98,33 @@ namespace OpenLiveWriter.PostEditor.Configuration.StaticSiteAdvanced
|
|||
public AuthoringPanel() : base()
|
||||
{
|
||||
InitializeComponent();
|
||||
LocalizeStrings();
|
||||
}
|
||||
|
||||
public AuthoringPanel(StaticSitePreferencesController controller)
|
||||
: base(controller)
|
||||
{
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue