diff options
author | F. Phoenix <fphoenix@email.com> | 2016-12-10 04:00:39 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2017-01-12 17:51:18 +0300 |
commit | a2cf1e282aa530779749eaafa996057bc38f312d (patch) | |
tree | 7c261c27a2b7efdbce5129c4b4a26b96f85d86a0 /main/src/core/MonoDevelop.Ide/gtk-gui | |
parent | 0a38411d8f03b0c34f90dcb7f377595522ce05c0 (diff) |
[i18n] Misc translation support
WelcomePageFeedItem.cs:
English only has 2 word forms for numbers: singular and plural, so there will be 1 day and 2-7 days.
But Russian has 3 forms (different for 1, 2-4 and 5-7) and another languages can have another number of forms.
MonoRuntimePanelWidget.cs:
For Russian language translation only works fine this way if avoid to use markup tags.
Otherways this option panel just wont show.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtk-gui')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MonoRuntimePanelWidget.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MonoRuntimePanelWidget.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MonoRuntimePanelWidget.cs index 035cd9e3e6..7b7ff856ce 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MonoRuntimePanelWidget.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MonoRuntimePanelWidget.cs @@ -54,7 +54,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels w2.BottomAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.textview1 = new global::Gtk.TextView (); - this.textview1.Buffer.Text = "If you have a parallel installation of Mono you can register it here, so you can use it for building and running projects. The <b>default runtime</b> is the .NET runtime to be used for building and running applications when none is specifically selected."; + this.textview1.Buffer.Text = global::Mono.Unix.Catalog.GetString ("If you have a parallel installation of Mono you can register it here, so you can use it for building and running projects. The <b>default runtime</b> is the .NET runtime to be used for building and running applications when none is specifically selected."); this.textview1.Sensitive = false; this.textview1.Name = "textview1"; this.textview1.Editable = false; |