1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

Added 1 year SyncTimeFrame support

This commit is contained in:
Michele Lunardi 2021-03-10 10:35:58 +01:00
parent 40601388ee
commit 2b00694b50
5 changed files with 22 additions and 3 deletions

View File

@ -155,7 +155,8 @@
resources.GetString("comboTimeFrame.Items4"),
resources.GetString("comboTimeFrame.Items5"),
resources.GetString("comboTimeFrame.Items6"),
resources.GetString("comboTimeFrame.Items7")});
resources.GetString("comboTimeFrame.Items7"),
resources.GetString("comboTimeFrame.Items8")});
this.comboTimeFrame.Name = "comboTimeFrame";
this.comboTimeFrame.SelectedIndexChanged += new System.EventHandler(this.comboTimeFrame_SelectedIndexChanged);
//

View File

@ -444,6 +444,9 @@
<data name="comboTimeFrame.Items7" xml:space="preserve">
<value>6 months</value>
</data>
<data name="comboTimeFrame.Items8" xml:space="preserve">
<value>1 year</value>
</data>
<data name="comboTimeFrame.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 5</value>
</data>

View File

@ -1438,7 +1438,18 @@ namespace Acacia.Properties {
return ResourceManager.GetString("SyncTimeFrame_WEEK_2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 1 year.
/// </summary>
internal static string SyncTimeFrame_YEAR_1
{
get
{
return ResourceManager.GetString("SyncTimeFrame_YEAR_1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Kopano.
/// </summary>

View File

@ -578,6 +578,9 @@ New sync window: {1}</value>
<data name="SyncTimeFrame_MONTH_6" xml:space="preserve">
<value>6 months</value>
</data>
<data name="SyncTimeFrame_YEAR_1" xml:space="preserve">
<value>1 year</value>
</data>
<data name="SyncTimeFrame_WEEK_1" xml:space="preserve">
<value>1 week</value>
</data>

View File

@ -161,7 +161,8 @@ namespace Acacia.ZPush
WEEK_2,
MONTH_1,
MONTH_3,
MONTH_6
MONTH_6,
YEAR_1
}
public static class SyncTimeFrameMethods