1 | // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team |
---|
2 | // |
---|
3 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this |
---|
4 | // software and associated documentation files (the "Software"), to deal in the Software |
---|
5 | // without restriction, including without limitation the rights to use, copy, modify, merge, |
---|
6 | // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons |
---|
7 | // to whom the Software is furnished to do so, subject to the following conditions: |
---|
8 | // |
---|
9 | // The above copyright notice and this permission notice shall be included in all copies or |
---|
10 | // substantial portions of the Software. |
---|
11 | // |
---|
12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, |
---|
13 | // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
---|
14 | // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE |
---|
15 | // FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
---|
16 | // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
17 | // DEALINGS IN THE SOFTWARE. |
---|
18 | |
---|
19 | using System; |
---|
20 | using System.ComponentModel; |
---|
21 | |
---|
22 | namespace ICSharpCode.AvalonEdit.Search |
---|
23 | { |
---|
24 | /// <summary> |
---|
25 | /// Holds default texts for buttons and labels in the SearchPanel. Override properties to add other languages. |
---|
26 | /// </summary> |
---|
27 | public class Localization |
---|
28 | { |
---|
29 | /// <summary> |
---|
30 | /// Default: 'Match case' |
---|
31 | /// </summary> |
---|
32 | public virtual string MatchCaseText { |
---|
33 | get { return "Match case"; } |
---|
34 | } |
---|
35 | |
---|
36 | /// <summary> |
---|
37 | /// Default: 'Match whole words' |
---|
38 | /// </summary> |
---|
39 | public virtual string MatchWholeWordsText { |
---|
40 | get { return "Match whole words"; } |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | /// <summary> |
---|
45 | /// Default: 'Use regular expressions' |
---|
46 | /// </summary> |
---|
47 | public virtual string UseRegexText { |
---|
48 | get { return "Use regular expressions"; } |
---|
49 | } |
---|
50 | |
---|
51 | /// <summary> |
---|
52 | /// Default: 'Find next (F3)' |
---|
53 | /// </summary> |
---|
54 | public virtual string FindNextText { |
---|
55 | get { return "Find next (F3)"; } |
---|
56 | } |
---|
57 | |
---|
58 | /// <summary> |
---|
59 | /// Default: 'Find previous (Shift+F3)' |
---|
60 | /// </summary> |
---|
61 | public virtual string FindPreviousText { |
---|
62 | get { return "Find previous (Shift+F3)"; } |
---|
63 | } |
---|
64 | |
---|
65 | /// <summary> |
---|
66 | /// Default: 'Error: ' |
---|
67 | /// </summary> |
---|
68 | public virtual string ErrorText { |
---|
69 | get { return "Error: "; } |
---|
70 | } |
---|
71 | |
---|
72 | /// <summary> |
---|
73 | /// Default: 'No matches found!' |
---|
74 | /// </summary> |
---|
75 | public virtual string NoMatchesFoundText { |
---|
76 | get { return "No matches found!"; } |
---|
77 | } |
---|
78 | } |
---|
79 | } |
---|