[Monodevelop-patches-list] r1364 - in trunk/MonoDevelop: po src/AddIns/DisplayBindings/SourceEditor src/AddIns/DisplayBindings/SourceEditor/Gui src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels src/AddIns/DisplayBindings/SourceEditor/Gui/Pads src/AddIns/DisplayBindings/SourceEditor/Search
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Apr 3 23:57:14 EST 2004
Author: tberman
Date: 2004-04-03 23:57:14 -0500 (Sat, 03 Apr 2004)
New Revision: 1364
Modified:
trunk/MonoDevelop/po/POTFILES.in
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceInFilesManager.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs
Log:
gettextify.
Modified: trunk/MonoDevelop/po/POTFILES.in
===================================================================
--- trunk/MonoDevelop/po/POTFILES.in 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/po/POTFILES.in 2004-04-04 04:57:14 UTC (rev 1364)
@@ -75,3 +75,9 @@
src/AddIns/DisplayBindings/SourceEditor/Commands/ToolCommands.cs
src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/EditTemplateGroupDialog.cs
+src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
+src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
+src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs
+src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
+src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceInFilesManager.cs
+src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog 2004-04-04 04:57:14 UTC (rev 1364)
@@ -1,5 +1,19 @@
2004-04-03 Todd Berman <tberman at sevenl.net>
+ * Gui/Dialogs/ReplaceInFilesDialog.cs:
+ * Gui/SourceEditorView.cs:
+ * Gui/Pads/CompilerMessageView.cs:
+ * Gui/OptionPanels/BehaviorTextEditorPanel.cs:
+ * Gui/OptionPanels/MarkersTextEditorPanel.cs:
+ * Gui/OptionPanels/CodeTemplatePanel.cs:
+ * Gui/OptionPanels/GeneralTextEditorPanel.cs:
+ * Gui/SourceEditorDisplayBinding.cs:
+ * Search/SearchReplaceManager.cs:
+ * Search/SearchReplaceInFilesManager.cs:
+ gettextify
+
+2004-04-03 Todd Berman <tberman at sevenl.net>
+
* Commands/ToolCommands.cs:
* Gui/Dialogs/ReplaceDialog.cs:
* Gui/Dialogs/EditTemplateGroupDialog.cs:
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -64,20 +64,9 @@
void InitDialog ()
{
- label1.Text = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.FindWhat}");
- searchLocationLabel.Text = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.SearchIn}");
- label6.Text = stringParserService.Parse ("${res:NewProject.SearchReplace.FileMask}");
- label7.Text = stringParserService.Parse ("${res:NewProject.SearchReplace.Directory}");
- //findButton.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.FindNextButton}");
- //closeButton.Label = stringParserService.Parse ("${res:Global.CloseButtonText}");
findButton.UseUnderline = true;
closeButton.UseUnderline = true;
- includeSubdirectoriesCheckBox.Label = stringParserService.Parse ("${res:NewProject.SearchReplace.IncludeSubdirectories}");
- ignoreCaseCheckBox.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.CaseSensitive}");
- searchWholeWordOnlyCheckBox.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.WholeWord}");
- useSpecialSearchStrategyCheckBox.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.UseMethodLabel}");
-
//set up the size groups
SizeGroup labels = new SizeGroup(SizeGroupMode.Horizontal);
SizeGroup combos = new SizeGroup(SizeGroupMode.Horizontal);
@@ -106,9 +95,8 @@
// set replace dialog properties
if(replaceMode)
{
- ReplaceDialogPointer = this.ReplaceInFilesDialogWidget;
// set the label properties
- label2.Text = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.ReplaceWith}");
+ label2.Text = GettextCatalog.GetString ("Replace in Files");
//replaceButton.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.ReplaceButton}");
//replaceButton.UseUnderline = true;
@@ -185,9 +173,9 @@
//CancelButton = (Button)ControlDictionary["closeButton"];
Gtk.MenuItem tmpItem;
Gtk.Menu stratMenu = new Gtk.Menu ();
- tmpItem = new Gtk.MenuItem (resourceService.GetString("Dialog.NewProject.SearchReplace.SearchStrategy.WildcardSearch"));
+ tmpItem = new Gtk.MenuItem (GettextCatalog.GetString ("Wildcards"));
stratMenu.Append (tmpItem);
- tmpItem = new Gtk.MenuItem (resourceService.GetString("Dialog.NewProject.SearchReplace.SearchStrategy.RegexSearch"));
+ tmpItem = new Gtk.MenuItem (GettextCatalog.GetString ("Regular Expressions"));
stratMenu.Append (tmpItem);
specialSearchStrategyComboBox.Menu = stratMenu;
@@ -203,11 +191,11 @@
specialSearchStrategyComboBox.SetHistory (index);
Gtk.Menu locMenu = new Gtk.Menu ();
- tmpItem = new Gtk.MenuItem (resourceService.GetString("Global.Location.directories"));
+ tmpItem = new Gtk.MenuItem (GettextCatalog.GetString ("Directories"));
locMenu.Append (tmpItem);
- tmpItem = new Gtk.MenuItem (resourceService.GetString("Global.Location.allopenfiles"));
+ tmpItem = new Gtk.MenuItem (GettextCatalog.GetString ("All open files"));
locMenu.Append (tmpItem);
- tmpItem = new Gtk.MenuItem (resourceService.GetString("Global.Location.wholeproject"));
+ tmpItem = new Gtk.MenuItem (GettextCatalog.GetString ("Whole project"));
locMenu.Append (tmpItem);
searchLocationComboBox.Menu = locMenu;
@@ -265,7 +253,7 @@
void BrowseDirectoryEvent(object sender, EventArgs e)
{
- FolderDialog fd = new FolderDialog("Select directory");
+ FolderDialog fd = new FolderDialog(GettextCatalog.GetString ("Select directory"));
if (fd.Run() == (int)Gtk.ResponseType.Ok)
{
directoryTextBox.Text = fd.Filename;
@@ -303,17 +291,17 @@
if (SearchReplaceInFilesManager.SearchOptions.DocumentIteratorType == DocumentIteratorType.Directory) {
if (!fileUtilityService.IsValidFileName(directoryName)) {
- messageService.ShowErrorFormatted("${res:NewProject.SearchReplace.FindInFilesInvalidDirectoryMessage}", directoryName);
+ messageService.ShowErrorFormatted(GettextCatalog.GetString ("Invalid directory name: {0}"), directoryName);
return false;
}
if (!Directory.Exists(directoryName)) {
- messageService.ShowErrorFormatted("${res:NewProject.SearchReplace.FindInFilesDirectoryNotExistingMessage}", directoryName);
+ messageService.ShowErrorFormatted (GettextCatalog.GetString ("Invalid directory name: {0}"), directoryName);
return false;
}
if (!fileUtilityService.IsValidFileName(fileMask) || fileMask.IndexOf('\\') >= 0) {
- messageService.ShowErrorFormatted("${res:NewProject.SearchReplace.FindInFilesInvalidFilemaskMessage}", fileMask);
+ messageService.ShowErrorFormatted(GettextCatalog.GetString ("Invalid file mask: {0}"), fileMask);
return false;
}
}
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/BehaviorTextEditorPanel.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -69,34 +69,6 @@
{
// Set up Text
- //FIXME: i18n the following Labels
- noneIndentStyle.Label = "None";
- automaticIndentStyle.Label = "Automatic";
- // FIXME: renable this when smart indent is back
- //smartIndentStyle.Label = "Smart";
-
- tabsGroupBoxLabel.Markup = "<b>" + StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.TabsGroupBox}") + "</b>";
- tabSizeLabel.TextWithMnemonic = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.TabSizeLabel}");
- indentSizeLabel.TextWithMnemonic = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.IndentSizeLabel}");
- indentLabel.TextWithMnemonic = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.IndentLabel}");
-
- behaviourGroupBoxLabel.Markup = "<b>" + StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.BehaviourGroupBox}") + "</b>";
- autoinsertCurlyBraceCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.CurlyBracketCheckBox}");
- hideMouseCursorCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.HideMouseCheckBox}");
- caretBehindEOLCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.BehindEOLCheckBox}");
- autoInsertTemplatesCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.TemplateInsertCheckBox}");
- convertTabsToSpacesCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.ConvertTabsToSpacesCheckBox}");
-
// Set up Value
autoinsertCurlyBraceCheckBox.Active = ((IProperties)CustomizationObject).GetProperty(
"AutoInsertCurlyBracket", true);
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -15,6 +15,7 @@
using MonoDevelop.Core.AddIns.Codons;
using MonoDevelop.Core.Services;
+using MonoDevelop.Services;
using MonoDevelop.Gui.Dialogs;
using Gtk;
@@ -105,24 +106,15 @@
void SetLabels()
{
- extensionLabel.TextWithMnemonic = StringParserService.Parse("${res:Dialog.Options.CodeTemplate.ExtensionsLabel}");
- removeButton.Label = StringParserService.Parse("${res:Global.RemoveButtonText}");
- addButton.Label = StringParserService.Parse("${res:Global.AddButtonText}");
- editButton.Label = StringParserService.Parse("${res:Global.EditButtonText}");
- addGroupButton.Label = StringParserService.Parse("${res:Dialog.Options.CodeTemplate.AddGroupLabel}");
- // FIXME: make this use the resource file for the label
- editGroupButton.Label = "Ed_it Group";
- removeGroupButton.Label = StringParserService.Parse("${res:Dialog.Options.CodeTemplate.RemoveGroupLabel}");
-
CellRendererText textRenderer = new CellRendererText ();
// and listview columns
templateListView.AppendColumn (
- StringParserService.Parse("${res:Dialog.Options.CodeTemplate.Template}"),
+ GettextCatalog.GetString ("Template"),
textRenderer,
new TreeCellDataFunc(TemplateListViewCellDataFunc));
templateListView.AppendColumn (
- StringParserService.Parse("${res:Dialog.Options.CodeTemplate.Description}"),
+ GettextCatalog.GetString ("Description"),
textRenderer,
new TreeCellDataFunc(TemplateListViewCellDataFunc));
}
@@ -134,7 +126,7 @@
CodeTemplate codeTemplate = ((ListStore)model).GetValue(iter, 0) as CodeTemplate;
- if(column.Title == StringParserService.Parse("${res:Dialog.Options.CodeTemplate.Template}"))
+ if(column.Title == GettextCatalog.GetString ("Template"))
{
// first column
((CellRendererText)renderer).Text = codeTemplate.Shortcut;
@@ -166,7 +158,7 @@
{
foreach (Widget control in controls) {
if (control == null) {
- MessageService.ShowError("Control not found!");
+ MessageService.ShowError(GettextCatalog.GetString ("Control not found!"));
} else {
control.Sensitive = enabled;
}
@@ -186,7 +178,7 @@
void AddGroupEvent(object sender, EventArgs e)
{
CodeTemplateGroup templateGroup = new CodeTemplateGroup(".???");
- if(ShowEditTemplateGroupDialog(ref templateGroup, "New ")) {
+ if(ShowEditTemplateGroupDialog(ref templateGroup, GettextCatalog.GetString ("New "))) {
templateGroups.Add(templateGroup);
FillGroupOptionMenu();
groupOptionMenu.SetHistory((uint) templateGroups.Count - 1);
@@ -199,7 +191,7 @@
int index = groupOptionMenu.History;
CodeTemplateGroup templateGroup = (CodeTemplateGroup) templateGroups[index];
- if(ShowEditTemplateGroupDialog(ref templateGroup, "Edit ")) {
+ if(ShowEditTemplateGroupDialog(ref templateGroup, GettextCatalog.GetString ("Edit "))) {
templateGroups[index] = templateGroup;
FillGroupOptionMenu();
groupOptionMenu.SetHistory((uint)index);
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/GeneralTextEditorPanel.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -61,24 +61,11 @@
public GeneralTextEditorPanelWidget (IProperties CustomizationObject) : base ("EditorBindings.glade", "GeneralTextEditorPanel")
{
encodingBox.Destroy(); // this is a really dirty way of hiding encodingBox, but Hide() doesn't work
- genOptions.Markup = "<b> " + StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.General.GeneralOptionsGroupBox}" ) + "</b>";
- fontOptions.Markup = "<b> " + StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.General.FontGroupBox}" ) + "</b>";
-// encOptions.Markup = "<b> " + StringParserService.Parse(
-// "${res:Dialog.Options.IDEOptions.TextEditor.General.FontGroupBox.FileEncodingGroupBox}" ) + "</b>";
-
- enableCodeCompletionCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.General.CodeCompletionCheckBox}");
enableCodeCompletionCheckBox.Active = ((IProperties) CustomizationObject).GetProperty(
"EnableCodeCompletion", true);
- enableFoldingCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.General.FoldingCheckBox}");
enableFoldingCheckBox.Active = ((IProperties) CustomizationObject).GetProperty("EnableFolding", true);
- enableDoublebufferingCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.General.DoubleBufferCheckBox}");
enableDoublebufferingCheckBox.Active = ((IProperties) CustomizationObject).GetProperty(
"DoubleBuffer", true);
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -73,31 +73,7 @@
// Load Text
// FIXME i8n the following labels:
- markersLabel.Markup = "<b>Markers</b> ";
- rulersLabel.Markup = "<b>Rulers</b> ";
- characterMarkersLabel.TextWithMnemonic = "Character Markers";
- atColumnLabel.TextWithMnemonic = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.AtRowLabel}") + ", ";
- showLineNumberCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.LineNumberCheckBox}");
- showInvalidLinesCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.InvalidLinesCheckBox}");
- showBracketHighlighterCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.HiglightBracketCheckBox}");
- showErrorsCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.UnderLineErrorsCheckBox}");
- showHRulerCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.HorizontalRulerCheckBox}");
- showEOLMarkersCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.EOLMarkersCheckBox}");
- showVRulerCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.VerticalRulerCheckBox}");
- showTabCharsCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.TabsCheckBox}");
- showSpaceCharsCheckBox.Label = StringParserService.Parse(
- "${res:Dialog.Options.IDEOptions.TextEditor.Markers.SpacesCheckBox}");
-
// Load Values
showLineNumberCheckBox.Active = ((IProperties)CustomizationObject).GetProperty(
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Pads/CompilerMessageView.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -42,7 +42,7 @@
public string Title {
get {
- return resourceService.GetString("MainWindow.Windows.OutputWindow");
+ return GettextCatalog.GetString ("Output");
}
}
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -105,7 +105,7 @@
public override string TabPageLabel {
get {
- return "Source Editor";
+ return GettextCatalog.GetString ("Source Editor");
}
}
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -86,8 +86,8 @@
buf.ToggleBookmark (line.Line);
} else if (e.Event.Button == 3) {
Gtk.Menu popup = new Gtk.Menu ();
- Gtk.CheckMenuItem bookmarkItem = Gtk.CheckMenuItem.NewWithLabel ("Bookmark");
- Gtk.CheckMenuItem breakpointItem = Gtk.CheckMenuItem.NewWithLabel ("Breakpoint");
+ Gtk.CheckMenuItem bookmarkItem = Gtk.CheckMenuItem.NewWithLabel (GettextCatalog.GetString ("Bookmark"));
+ Gtk.CheckMenuItem breakpointItem = Gtk.CheckMenuItem.NewWithLabel (GettextCatalog.GetString ("Breakpoint"));
bookmarkItem.Active = buf.IsBookmarked (line.Line);
breakpointItem.Active = buf.IsBreakpoint (line.Line);
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceInFilesManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceInFilesManager.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceInFilesManager.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -114,7 +114,7 @@
// tell the user search is done.
MessageService MessageService = (MessageService)ServiceManager.Services.GetService (typeof (MessageService));
- MessageService.ShowMessage ("Search completed");
+ MessageService.ShowMessage (GettextCatalog.GetString ("Search completed"));
}
public static void ReplaceAll()
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs 2004-04-04 02:50:49 UTC (rev 1363)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Search/SearchReplaceManager.cs 2004-04-04 04:57:14 UTC (rev 1364)
@@ -102,7 +102,7 @@
if (result == null) {
//MessageBox.Show((Form)WorkbenchSingleton.Workbench, "Mark all done", "Finished");
- MessageService.ShowMessage ("Mark all completed");
+ MessageService.ShowMessage (GettextCatalog.GetString ("Mark all completed"));
find.Reset();
return;
} else {
@@ -135,7 +135,7 @@
if (result == null) {
//MessageBox.Show((Form)WorkbenchSingleton.Workbench, "Replace all done", "Finished");
- MessageService.ShowMessage ("Replace all finished");
+ MessageService.ShowMessage (GettextCatalog.GetString ("Replace all finished"));
find.Reset();
return;
} else {
@@ -170,7 +170,7 @@
"Not Found",
MessageBoxButtons.OK,
MessageBoxIcon.Information);*/
- MessageService.ShowMessage ("Not Found");
+ MessageService.ShowMessage (GettextCatalog.GetString ("Not Found"));
find.Reset();
} else {
SourceEditor textArea = OpenTextArea(result.FileName);
More information about the Monodevelop-patches-list
mailing list