mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Preparations for the language changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1783 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
d6c608bf65
commit
53af559d22
44 changed files with 472 additions and 874 deletions
|
@ -30,7 +30,6 @@ namespace Greenshot.Forms {
|
|||
/// </summary>
|
||||
public partial class PrintOptionsDialog : Form {
|
||||
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
ILanguage lang;
|
||||
|
||||
public bool AllowPrintCenter;
|
||||
public bool AllowPrintEnlarge;
|
||||
|
@ -45,8 +44,7 @@ namespace Greenshot.Forms {
|
|||
//
|
||||
InitializeComponent();
|
||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
lang = Language.GetInstance();
|
||||
|
||||
|
||||
this.AllowPrintCenter = this.checkboxAllowCenter.Checked = conf.OutputPrintCenter;
|
||||
this.AllowPrintEnlarge = this.checkboxAllowEnlarge.Checked = conf.OutputPrintAllowEnlarge;
|
||||
this.AllowPrintRotate = this.checkboxAllowRotate.Checked = conf.OutputPrintAllowRotate;
|
||||
|
@ -58,14 +56,14 @@ namespace Greenshot.Forms {
|
|||
}
|
||||
|
||||
void UpdateUI() {
|
||||
this.Text = lang.GetString(LangKey.printoptions_title);
|
||||
this.checkboxAllowCenter.Text = lang.GetString(LangKey.printoptions_allowcenter);
|
||||
this.checkboxAllowEnlarge.Text = lang.GetString(LangKey.printoptions_allowenlarge);
|
||||
this.checkboxAllowRotate.Text = lang.GetString(LangKey.printoptions_allowrotate);
|
||||
this.checkboxAllowShrink.Text = lang.GetString(LangKey.printoptions_allowshrink);
|
||||
this.checkbox_dontaskagain.Text = lang.GetString(LangKey.printoptions_dontaskagain);
|
||||
this.checkboxDateTime.Text = lang.GetString(LangKey.printoptions_timestamp);
|
||||
this.checkboxPrintInverted.Text = lang.GetString(LangKey.printoptions_inverted);
|
||||
this.Text = Language.GetString(LangKey.printoptions_title);
|
||||
this.checkboxAllowCenter.Text = Language.GetString(LangKey.printoptions_allowcenter);
|
||||
this.checkboxAllowEnlarge.Text = Language.GetString(LangKey.printoptions_allowenlarge);
|
||||
this.checkboxAllowRotate.Text = Language.GetString(LangKey.printoptions_allowrotate);
|
||||
this.checkboxAllowShrink.Text = Language.GetString(LangKey.printoptions_allowshrink);
|
||||
this.checkbox_dontaskagain.Text = Language.GetString(LangKey.printoptions_dontaskagain);
|
||||
this.checkboxDateTime.Text = Language.GetString(LangKey.printoptions_timestamp);
|
||||
this.checkboxPrintInverted.Text = Language.GetString(LangKey.printoptions_inverted);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue