#32 added information string for filename placeholders and implemented info button
This commit is contained in:
parent
ee161a7f1a
commit
238900fea3
|
@ -101,6 +101,7 @@
|
|||
this.btnFileNameHelp.Size = new System.Drawing.Size(25, 23);
|
||||
this.btnFileNameHelp.TabIndex = 8;
|
||||
this.btnFileNameHelp.UseVisualStyleBackColor = true;
|
||||
this.btnFileNameHelp.Click += new System.EventHandler(this.btnFileNameHelp_Click);
|
||||
//
|
||||
// lbThreadLimit
|
||||
//
|
||||
|
|
|
@ -289,5 +289,10 @@ namespace DML.Application
|
|||
MessageBox.Show(this, "Your login token has been copied to your clipboard.", "Discord Media Loader",
|
||||
MessageBoxButtons.OK);
|
||||
}
|
||||
|
||||
private void btnFileNameHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show(Properties.Resources.FileNameInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,6 +79,23 @@ namespace DML.Application.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die You can use the following placeholders for your filenames:
|
||||
///
|
||||
///%guild% -> server name
|
||||
///%channel% -> channel name
|
||||
///%timestamp% -> message timestamp (Unix timestamp)
|
||||
///%name% -> attachment filename
|
||||
///%username% -> author name
|
||||
///%id% -> attachment id (given by Discord)
|
||||
///%userid% -> author id (given by discord) ähnelt.
|
||||
/// </summary>
|
||||
internal static string FileNameInfo {
|
||||
get {
|
||||
return ResourceManager.GetString("FileNameInfo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -131,6 +131,17 @@ WebSocket4Net (Copyright (c) kerryjiang - Apache 2.0 License)
|
|||
LiteDB (Copyright (c) 2014 - 2015 Mauricio David - MIT License)
|
||||
Octokit (Copyright (c) 2012 GitHub, Inc - MIT License)
|
||||
Flaticons (Roundicons Circle Flat) - Flaticon Basic License</value>
|
||||
</data>
|
||||
<data name="FileNameInfo" xml:space="preserve">
|
||||
<value>You can use the following placeholders for your filenames:
|
||||
|
||||
%guild% -> server name
|
||||
%channel% -> channel name
|
||||
%timestamp% -> message timestamp (Unix timestamp)
|
||||
%name% -> attachment filename
|
||||
%username% -> author name
|
||||
%id% -> attachment id (given by Discord)
|
||||
%userid% -> author id (given by discord)</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="info_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
|
|
Loading…
Reference in a new issue