Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit d68bd26

Browse files
committed
- translated comments to english
1 parent fc30f02 commit d68bd26

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

IPlugin/DialogQuestion.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ public DialogQuestion(string msg)
2121
Glade.XML gxml = new Glade.XML(Assembly.GetExecutingAssembly(), "DialogQuestion.glade", "DialogQuestionWindow", null);
2222
gxml.BindFields(this);
2323

24-
// FIXME użyc prawidłowych ikon
24+
// FIXME use correct icons
2525
DialogQuestionWindow.IconList = new Gdk.Pixbuf[2] {new Gdk.Pixbuf(Assembly.GetEntryAssembly(), "dialog-warning.png"), new Gdk.Pixbuf(Assembly.GetEntryAssembly(), "dialog-warning-16.png")};
2626
DialogQuestionWindow.Title = Catalog.GetString("Question");
2727

2828
DialogQuestionWindow.DeleteEvent += CloseWindow;
2929
NoButton.Clicked += CloseWindow;
3030
YesButton.Clicked += YesAction;
3131

32-
// FIXME użyc prawidłowych ikon
32+
// FIXME use correct icons
3333
DialogImage.FromPixbuf = new Gdk.Pixbuf(Assembly.GetEntryAssembly(), "dialog-warning.png");
3434

3535
Message.Text = msg;

IPlugin/IImage.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public void Invert()
7171
throw new Exception(Catalog.GetString("Image inversion not supported for floating point data"));
7272
}
7373

74-
// zwracamy object, bo nie wiadomo czy będzie bajt, czy int, czy float, ale wewnątrz wszystko
75-
// jest jako int traktowane
74+
// object is returned because it is not known whether it is byte, int or float
75+
// inside everything is treated as int
7676
public object this [int x, int y]
7777
{
7878
get { return GetPixel(x, y); }
@@ -161,7 +161,7 @@ public Pixbuf CreatePixbuf()
161161

162162
if(BPP == BPP.Grayscale)
163163
{
164-
// konwersja na RGB
164+
// conversion to RGB
165165
data = new byte[H * W * 3];
166166

167167
for(int y=0; y<H; y++)
@@ -200,7 +200,7 @@ public Pixbuf CreatePixbuf()
200200

201201
Pixbuf tmp = new Pixbuf(data, false, 8, W, H, W * 3, null);
202202

203-
// wyżej robiony jest wrapper na dane, dane po konwersji są tymczasowe, więc trzeba zrobić kopię
203+
// a wrapper is created for data, which are temporary, so a copy is needed
204204
if(BPP == BPP.Grayscale || BPP == BPP.Float)
205205
tmp = tmp.Copy();
206206

IPlugin/Utility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static unsafe int GetPixel(Pixbuf buf, int x, int y)
1515
return (r << 16) + (g << 8) + b;
1616
}
1717

18-
// strasznie durna metoda, ale pixbuf tylko rgb umie przechowywać
18+
// very dumb method, but pixbuf can only hold rgb data
1919
public static bool IsBW(Pixbuf buf)
2020
{
2121
for(int y=0; y<buf.Height; y++)

0 commit comments

Comments
 (0)