[longomatch] Use ModifyFont instead of makerkup to ease translations
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use ModifyFont instead of makerkup to ease translations
- Date: Wed, 8 Oct 2014 00:11:53 +0000 (UTC)
commit 92ea312f83f69016cd0fcd46adfa50a7728c5473
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Oct 6 07:20:19 2014 +0200
Use ModifyFont instead of makerkup to ease translations
LongoMatch.GUI/Gui/Component/CategoryProperties.cs | 4 +-
LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs | 39 ++++++++++--------
LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs | 32 ++++++++-------
.../LongoMatch.Gui.Component.CategoryProperties.cs | 32 +++++++-------
.../LongoMatch.Gui.Panel.SportsTemplatesPanel.cs | 4 +-
.../LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs | 4 +-
LongoMatch.GUI/gtk-gui/gui.stetic | 42 ++++++++++----------
7 files changed, 83 insertions(+), 74 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
index efd5841..2961589 100644
--- a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
@@ -19,12 +19,14 @@
//
using System;
using Gtk;
+using Pango;
using Mono.Unix;
using LongoMatch.Core.Common;
using LongoMatch.Core.Store;
using LongoMatch.Gui.Dialog;
using Point = LongoMatch.Core.Common.Point;
+
namespace LongoMatch.Gui.Component
{
public delegate void HotKeyChangeHandler (HotKey prevHotKey,DashboardButton button);
@@ -51,7 +53,6 @@ namespace LongoMatch.Gui.Component
public CategoryProperties ()
{
this.Build ();
-
nameentry.Changed += HandleNameentryChanged;
colorbutton1.ColorSet += HandleColorSet;
textcolorbutton.ColorSet += HandleColorSet;
@@ -78,6 +79,7 @@ namespace LongoMatch.Gui.Component
foreach (Widget w in vbox3.Children) {
foreach (Widget t in (w as Table).Children) {
if ((t is Label)) {
+ t.ModifyFont (FontDescription.FromString (Config.Style.Font +
" 10"));
sizegroupLeft.AddWidget (t);
}
}
diff --git a/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
index e21bbf2..bff385e 100644
--- a/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
@@ -16,17 +16,18 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
//
using System;
-using LongoMatch.Core.Interfaces.GUI;
-using Gtk;
using System.Collections.Generic;
-using LongoMatch.Core.Store.Templates;
-using LongoMatch.Core.Interfaces;
-using LongoMatch.Core.Handlers;
using Gdk;
-using Mono.Unix;
+using Gtk;
+using LongoMatch.Core.Common;
+using LongoMatch.Core.Handlers;
+using LongoMatch.Core.Interfaces;
+using LongoMatch.Core.Interfaces.GUI;
+using LongoMatch.Core.Store.Templates;
using LongoMatch.Gui.Helpers;
+using Mono.Unix;
+using Pango;
using LongoMatch.Gui.Dialog;
-using LongoMatch.Core.Common;
namespace LongoMatch.Gui.Panel
{
@@ -113,6 +114,10 @@ namespace LongoMatch.Gui.Panel
newtemplatebutton.Clicked += HandleNewTeamClicked;
deletetemplatebutton.Clicked += HandleDeleteTeamClicked;
savetemplatebutton.Clicked += (sender, e) => Save (false);
+
+ editdashboardslabel.ModifyFont (FontDescription.FromString (Config.Style.Font + "
8"));
+ editbuttonslabel.ModifyFont (FontDescription.FromString (Config.Style.Font + " 8"));
+
Load (null);
}
@@ -174,37 +179,37 @@ namespace LongoMatch.Gui.Panel
void HandleEnterTemplateButton (object sender, EventArgs e)
{
if (sender == newtemplatebutton) {
- editdashboardslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">New
dashboard</span>");
+ editdashboardslabel.Markup = Catalog.GetString ("New dashboard");
} else if (sender == deletetemplatebutton) {
- editdashboardslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Delete
dashboard</span>");
+ editdashboardslabel.Markup = Catalog.GetString ("Delete dashboard");
} else if (sender == savetemplatebutton) {
- editdashboardslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Save
dashboard</span>");
+ editdashboardslabel.Markup = Catalog.GetString ("Save dashboard");
}
}
void HandleLeftTemplateButton (object sender, EventArgs e)
{
- editdashboardslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Manage
dashboards</span>");
+ editdashboardslabel.Markup = Catalog.GetString ("Manage dashboards");
}
void HandleEnterTagButton (object sender, EventArgs e)
{
if (sender == addcategorybutton) {
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Add
category button</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Add category button");
} else if (sender == addtagbutton1) {
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Add tag
button</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Add tag button");
} else if (sender == scorebutton) {
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Add score
button</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Add score button");
} else if (sender == timerbutton) {
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Add timer
button</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Add timer button");
} else if (sender == cardbutton) {
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Add card
button</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Add card button");
}
}
void HandleLeftTagButton (object sender, EventArgs e)
{
- editbuttonslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Manage dashboard
buttons</span>");
+ editbuttonslabel.Markup = Catalog.GetString ("Manage dashboard buttons");
}
void HandleSelectionChanged (object sender, EventArgs e)
diff --git a/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
index 0b05b68..86a330a 100644
--- a/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
@@ -19,18 +19,16 @@ using System;
using System.Collections.Generic;
using Gdk;
using Gtk;
-using Mono.Unix;
-using Stetic;
-
-using Image = LongoMatch.Core.Common.Image;
using LongoMatch.Core.Common;
-using LongoMatch.Gui.Dialog;
+using LongoMatch.Core.Handlers;
using LongoMatch.Core.Interfaces;
-using LongoMatch.Core.Store;
+using LongoMatch.Core.Interfaces.GUI;
using LongoMatch.Core.Store.Templates;
using LongoMatch.Gui.Helpers;
-using LongoMatch.Core.Handlers;
-using LongoMatch.Core.Interfaces.GUI;
+using Mono.Unix;
+using Pango;
+using LongoMatch.Gui.Dialog;
+using Image = LongoMatch.Core.Common.Image;
namespace LongoMatch.Gui.Panel
{
@@ -104,6 +102,10 @@ namespace LongoMatch.Gui.Panel
if (BackEvent != null)
BackEvent();
};
+
+ editteamslabel.ModifyFont (FontDescription.FromString (Config.Style.Font + " 8"));
+ editplayerslabel.ModifyFont (FontDescription.FromString (Config.Style.Font + " 8"));
+
Load (null);
}
@@ -147,31 +149,31 @@ namespace LongoMatch.Gui.Panel
void HandleEnterTeamButton (object sender, EventArgs e)
{
if (sender == newteambutton) {
- editteamslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">New
team</span>");
+ editteamslabel.Markup = Catalog.GetString ("New team");
} else if (sender == deleteteambutton) {
- editteamslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Delete
team</span>");
+ editteamslabel.Markup = Catalog.GetString ("Delete team");
} else if (sender == saveteambutton) {
- editteamslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Save
team</span>");
+ editteamslabel.Markup = Catalog.GetString ("Save team");
}
}
void HandleLeftTeamButton (object sender, EventArgs e)
{
- editteamslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Manage
teams</span>");
+ editteamslabel.Markup = Catalog.GetString ("Manage teams");
}
void HandleEnterPlayerButton (object sender, EventArgs e)
{
if (sender == newplayerbutton1) {
- editplayerslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">New
player</span>");
+ editplayerslabel.Markup = Catalog.GetString ("New player");
} else if (sender == deleteplayerbutton) {
- editplayerslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Delete
player</span>");
+ editplayerslabel.Markup = Catalog.GetString ("Delete player");
}
}
void HandleLeftPlayerButton (object sender, EventArgs e)
{
- editplayerslabel.Markup = Catalog.GetString ("<span font_desc=\"8\">Manage
players</span>");
+ editplayerslabel.Markup = Catalog.GetString ("Manage players");
}
void SaveLoadedTeam () {
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
index 172ba12..e984d23 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
@@ -79,7 +79,7 @@ namespace LongoMatch.Gui.Component
this.label1 = new global::Gtk.Label ();
this.label1.Name = "label1";
this.label1.Xalign = 1F;
- this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Name</span>");
+ this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name");
this.label1.UseMarkup = true;
this.maintable.Add (this.label1);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.maintable
[this.label1]));
@@ -89,7 +89,7 @@ namespace LongoMatch.Gui.Component
this.label4 = new global::Gtk.Label ();
this.label4.Name = "label4";
this.label4.Xalign = 1F;
- this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Color</span>");
+ this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Color");
this.label4.UseMarkup = true;
this.maintable.Add (this.label4);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.maintable
[this.label4]));
@@ -152,7 +152,7 @@ namespace LongoMatch.Gui.Component
this.label6 = new global::Gtk.Label ();
this.label6.Name = "label6";
this.label6.Xalign = 1F;
- this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">HotKey</span>");
+ this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("HotKey");
this.label6.UseMarkup = true;
this.texttable.Add (this.label6);
global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.texttable
[this.label6]));
@@ -174,7 +174,7 @@ namespace LongoMatch.Gui.Component
this.textcolorlabel = new global::Gtk.Label ();
this.textcolorlabel.Name = "textcolorlabel";
this.textcolorlabel.Xalign = 1F;
- this.textcolorlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Text color</span>");
+ this.textcolorlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Text color");
this.textcolorlabel.UseMarkup = true;
this.texttable.Add (this.textcolorlabel);
global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.texttable
[this.textcolorlabel]));
@@ -196,7 +196,7 @@ namespace LongoMatch.Gui.Component
this.label7 = new global::Gtk.Label ();
this.label7.Name = "label7";
this.label7.Xalign = 1F;
- this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Lead time (s)</span>");
+ this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Lead time (s)");
this.label7.UseMarkup = true;
this.timetable.Add (this.label7);
global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.timetable
[this.label7]));
@@ -208,7 +208,7 @@ namespace LongoMatch.Gui.Component
this.label8 = new global::Gtk.Label ();
this.label8.Name = "label8";
this.label8.Xalign = 1F;
- this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Lag time (s)</span>");
+ this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Lag time (s)");
this.label8.UseMarkup = true;
this.timetable.Add (this.label8);
global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.timetable
[this.label8]));
@@ -248,7 +248,7 @@ namespace LongoMatch.Gui.Component
this.taglabel = new global::Gtk.Label ();
this.taglabel.Name = "taglabel";
this.taglabel.Xalign = 1F;
- this.taglabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Tag mode</span>");
+ this.taglabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Tag mode");
this.taglabel.UseMarkup = true;
this.timetable.Add (this.taglabel);
global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.timetable
[this.taglabel]));
@@ -317,7 +317,7 @@ namespace LongoMatch.Gui.Component
this.label10 = new global::Gtk.Label ();
this.label10.Name = "label10";
this.label10.Xalign = 1F;
- this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Field position</span>");
+ this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Field position");
this.label10.UseMarkup = true;
this.postable.Add (this.label10);
global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.postable
[this.label10]));
@@ -327,7 +327,7 @@ namespace LongoMatch.Gui.Component
this.label11 = new global::Gtk.Label ();
this.label11.Name = "label11";
this.label11.Xalign = 1F;
- this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Half field position</span>");
+ this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Half field position");
this.label11.UseMarkup = true;
this.postable.Add (this.label11);
global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.postable
[this.label11]));
@@ -339,7 +339,7 @@ namespace LongoMatch.Gui.Component
this.label12 = new global::Gtk.Label ();
this.label12.Name = "label12";
this.label12.Xalign = 1F;
- this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Goal position</span>");
+ this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Goal position");
this.label12.UseMarkup = true;
this.postable.Add (this.label12);
global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.postable
[this.label12]));
@@ -351,7 +351,7 @@ namespace LongoMatch.Gui.Component
this.label9 = new global::Gtk.Label ();
this.label9.Name = "label9";
this.label9.Xalign = 1F;
- this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Sort Method</span>");
+ this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Sort Method");
this.label9.UseMarkup = true;
this.postable.Add (this.label9);
global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.postable
[this.label9]));
@@ -387,7 +387,7 @@ namespace LongoMatch.Gui.Component
this.label15 = new global::Gtk.Label ();
this.label15.Name = "label15";
this.label15.Xalign = 1F;
- this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Tags per row</span>");
+ this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Tags per row");
this.label15.UseMarkup = true;
this.cattable.Add (this.label15);
global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.cattable
[this.label15]));
@@ -399,7 +399,7 @@ namespace LongoMatch.Gui.Component
this.showtagslabel = new global::Gtk.Label ();
this.showtagslabel.Name = "showtagslabel";
this.showtagslabel.Xalign = 1F;
- this.showtagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Show tags</span>");
+ this.showtagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Show tags");
this.showtagslabel.UseMarkup = true;
this.cattable.Add (this.showtagslabel);
global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.cattable
[this.showtagslabel]));
@@ -445,7 +445,7 @@ namespace LongoMatch.Gui.Component
this.label16 = new global::Gtk.Label ();
this.label16.Name = "label16";
this.label16.Xalign = 1F;
- this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Shape</span>");
+ this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Shape");
this.label16.UseMarkup = true;
this.cardtable.Add (this.label16);
global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.cardtable
[this.label16]));
@@ -476,7 +476,7 @@ namespace LongoMatch.Gui.Component
this.label17 = new global::Gtk.Label ();
this.label17.Name = "label17";
this.label17.Xalign = 1F;
- this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Points</span>");
+ this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Points");
this.label17.UseMarkup = true;
this.scoretable.Add (this.label17);
global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.scoretable
[this.label17]));
@@ -507,7 +507,7 @@ namespace LongoMatch.Gui.Component
this.label18 = new global::Gtk.Label ();
this.label18.Name = "label18";
this.label18.Xalign = 1F;
- this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"10\">Team</span>");
+ this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Team");
this.label18.UseMarkup = true;
this.timertable.Add (this.label18);
global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.timertable
[this.label18]));
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
index d82b114..b674fcc 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
@@ -103,7 +103,7 @@ namespace LongoMatch.Gui.Panel
this.editdashboardslabel = new global::Gtk.Label ();
this.editdashboardslabel.Name = "editdashboardslabel";
this.editdashboardslabel.Xalign = 0F;
- this.editdashboardslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"8\">Manage dashboards</span>");
+ this.editdashboardslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Manage
dashboards");
this.editdashboardslabel.UseMarkup = true;
this.vbox3.Add (this.editdashboardslabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.editdashboardslabel]));
@@ -188,7 +188,7 @@ namespace LongoMatch.Gui.Panel
this.editbuttonslabel = new global::Gtk.Label ();
this.editbuttonslabel.Name = "editbuttonslabel";
this.editbuttonslabel.Xalign = 0F;
- this.editbuttonslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"8\">Manage dashboard buttons</span>");
+ this.editbuttonslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Manage
dashboard buttons");
this.editbuttonslabel.UseMarkup = true;
this.vbox17.Add (this.editbuttonslabel);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox17
[this.editbuttonslabel]));
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
index 30ab7e0..e4d9245 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
@@ -96,7 +96,7 @@ namespace LongoMatch.Gui.Panel
this.editteamslabel = new global::Gtk.Label ();
this.editteamslabel.Name = "editteamslabel";
this.editteamslabel.Xalign = 0F;
- this.editteamslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"8\">Manage teams</span>");
+ this.editteamslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Manage teams");
this.editteamslabel.UseMarkup = true;
this.editteamsvbox.Add (this.editteamslabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.editteamsvbox
[this.editteamslabel]));
@@ -182,7 +182,7 @@ namespace LongoMatch.Gui.Panel
this.editplayerslabel = new global::Gtk.Label ();
this.editplayerslabel.Name = "editplayerslabel";
this.editplayerslabel.Xalign = 0F;
- this.editplayerslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span
font_desc=\"8\">Manage players</span>");
+ this.editplayerslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Manage
players");
this.editplayerslabel.UseMarkup = true;
this.editplayersvbox.Add (this.editplayerslabel);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.editplayersvbox
[this.editplayerslabel]));
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 3fccc25..a488a81 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -929,7 +929,7 @@
<widget class="Gtk.Label" id="label1">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">Name</span></property>
+ <property name="LabelProp" translatable="yes">Name</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -948,7 +948,7 @@
<widget class="Gtk.Label" id="label4">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">Color</span></property>
+ <property name="LabelProp" translatable="yes">Color</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1050,7 +1050,7 @@
<widget class="Gtk.Label" id="label6">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">HotKey</span></property>
+ <property name="LabelProp" translatable="yes">HotKey</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1091,7 +1091,7 @@
<widget class="Gtk.Label" id="textcolorlabel">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Text
color</span></property>
+ <property name="LabelProp" translatable="yes">Text color</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1127,7 +1127,7 @@
<widget class="Gtk.Label" id="label7">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Lead time
(s)</span></property>
+ <property name="LabelProp" translatable="yes">Lead time (s)</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1148,7 +1148,7 @@
<widget class="Gtk.Label" id="label8">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Lag time
(s)</span></property>
+ <property name="LabelProp" translatable="yes">Lag time (s)</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1219,7 +1219,7 @@
<widget class="Gtk.Label" id="taglabel">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Tag
mode</span></property>
+ <property name="LabelProp" translatable="yes">Tag mode</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1342,7 +1342,7 @@ Tag as trayectory</property>
<widget class="Gtk.Label" id="label10">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Field
position</span></property>
+ <property name="LabelProp" translatable="yes">Field position</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1361,7 +1361,7 @@ Tag as trayectory</property>
<widget class="Gtk.Label" id="label11">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Half field
position</span></property>
+ <property name="LabelProp" translatable="yes">Half field position</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1382,7 +1382,7 @@ Tag as trayectory</property>
<widget class="Gtk.Label" id="label12">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Goal
position</span></property>
+ <property name="LabelProp" translatable="yes">Goal position</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1403,7 +1403,7 @@ Tag as trayectory</property>
<widget class="Gtk.Label" id="label9">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Sort
Method</span></property>
+ <property name="LabelProp" translatable="yes">Sort Method</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1464,7 +1464,7 @@ Sort by duration</property>
<widget class="Gtk.Label" id="label15">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Tags per
row</span></property>
+ <property name="LabelProp" translatable="yes">Tags per row</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1485,7 +1485,7 @@ Sort by duration</property>
<widget class="Gtk.Label" id="showtagslabel">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span font_desc="10">Show
tags</span></property>
+ <property name="LabelProp" translatable="yes">Show tags</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1567,7 +1567,7 @@ Sort by duration</property>
<widget class="Gtk.Label" id="label16">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">Shape</span></property>
+ <property name="LabelProp" translatable="yes">Shape</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1622,7 +1622,7 @@ Circle</property>
<widget class="Gtk.Label" id="label17">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">Points</span></property>
+ <property name="LabelProp" translatable="yes">Points</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -1678,7 +1678,7 @@ Circle</property>
<widget class="Gtk.Label" id="label18">
<property name="MemberName" />
<property name="Xalign">1</property>
- <property name="LabelProp" translatable="yes"><span
font_desc="10">Team</span></property>
+ <property name="LabelProp" translatable="yes">Team</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -7483,7 +7483,7 @@ You can continue with the current capture, cancel it or save your project.
</widget>
</child>
</widget>
- <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.TeamsTemplatesPanel" design-size="1325 587">
+ <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.TeamsTemplatesPanel" design-size="1325 622">
<property name="MemberName" />
<property name="Visible">False</property>
<child>
@@ -7547,7 +7547,7 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Label" id="editteamslabel">
<property name="MemberName" />
<property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes"><span font_desc="8">Manage
teams</span></property>
+ <property name="LabelProp" translatable="yes">Manage teams</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -7660,7 +7660,7 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Label" id="editplayerslabel">
<property name="MemberName" />
<property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes"><span font_desc="8">Manage
players</span></property>
+ <property name="LabelProp" translatable="yes">Manage players</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -9718,7 +9718,7 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Label" id="editdashboardslabel">
<property name="MemberName" />
<property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes"><span font_desc="8">Manage
dashboards</span></property>
+ <property name="LabelProp" translatable="yes">Manage dashboards</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
@@ -9830,7 +9830,7 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Label" id="editbuttonslabel">
<property name="MemberName" />
<property name="Xalign">0</property>
- <property name="LabelProp" translatable="yes"><span font_desc="8">Manage
dashboard buttons</span></property>
+ <property name="LabelProp" translatable="yes">Manage dashboard buttons</property>
<property name="UseMarkup">True</property>
</widget>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]