Open cwkuehl opened 5 years ago
I' m using Monodevelop 7.5 with gtk-sharp-2.0 2.12.45 on Ubuntu 18.04.
When designing a widget with translatable tooltip:
<widget class="Gtk.CheckButton" id="checkbutton1"> <property name="MemberName" /> <property name="Tooltip" translatable="yes">AM000.save.tt</property> <property name="CanFocus">True</property> <property name="Label" translatable="yes">AM000.save</property> <property name="DrawIndicator">True</property> <property name="HasLabel">True</property> <property name="UseUnderline">True</property> </widget>
the output cs file is not translatable for the tooltip:
this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.TooltipMarkup = "AM000.save.tt"; this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("AM000.save"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true;
I' m using Monodevelop 7.5 with gtk-sharp-2.0 2.12.45 on Ubuntu 18.04.
When designing a widget with translatable tooltip:
the output cs file is not translatable for the tooltip:
this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.TooltipMarkup = "AM000.save.tt"; this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("AM000.save"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true;