Skip to content

Commit

Permalink
add english translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszbanasiak committed Jun 12, 2013
1 parent 73cf643 commit 8e41de6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
12 changes: 6 additions & 6 deletions YAPA/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public MainWindow()
IsBreak = false;
IsBreakLong = false;
IsWork = true;
BreakLabel = "przerwa";
WorkLabel = "praca";
BreakLabel = "break";
WorkLabel = "work";

dispacherTime.Tick += new EventHandler(DoTick);
dispacherTime.Interval = new TimeSpan(0, 0, 0, 1);
Expand Down Expand Up @@ -118,7 +118,7 @@ private void CreateJumpList()
jumpList.JumpItems.Add(startTask);

JumpTask pauseTask = new JumpTask();
pauseTask.Title = "Pauza";
pauseTask.Title = "Pause";
pauseTask.Description = "Pause Pomodoro session";
pauseTask.ApplicationPath = Assembly.GetEntryAssembly().Location;
pauseTask.Arguments = "/pause";
Expand All @@ -134,23 +134,23 @@ private void CreateJumpList()
jumpList.JumpItems.Add(stopTask);

JumpTask resetTask = new JumpTask();
resetTask.Title = "Nowa sesja";
resetTask.Title = "Start from the beginning";
resetTask.Description = "Start new Pomodoro session";
resetTask.ApplicationPath = Assembly.GetEntryAssembly().Location;
resetTask.Arguments = "/reset";
resetTask.IconResourceIndex = 2;
jumpList.JumpItems.Add(resetTask);

JumpTask settingsTask = new JumpTask();
settingsTask.Title = "Konfiguracja";
settingsTask.Title = "Settings";
settingsTask.Description = "Show YAPA settings";
settingsTask.ApplicationPath = Assembly.GetEntryAssembly().Location;
settingsTask.Arguments = "/settings";
settingsTask.IconResourceIndex = 5;
jumpList.JumpItems.Add(settingsTask);

JumpTask homepageTask = new JumpTask();
homepageTask.Title = "Przejdź do strony domowej";
homepageTask.Title = "Visit home page";
homepageTask.Description = "Go to YAPA home page";
homepageTask.ApplicationPath = Assembly.GetEntryAssembly().Location;
homepageTask.Arguments = "/homepage";
Expand Down
30 changes: 16 additions & 14 deletions YAPA/Settings.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,29 @@
FontSize="18pt" Margin="10,0,10,245"
/>
<StackPanel Orientation="Vertical" Margin="42,60,42,43">
<Label Content="Czas trwania etapów"/>
<Label Content="Configure periods"/>
<StackPanel Orientation="Horizontal" Margin="5,0,0,15">
<Label Content="Praca"/>
<Label Content="Work"/>
<xctk:IntegerUpDown
Margin="0,0,0,0"
Margin="0,0,12,0"
ParsingNumberStyle="Number"
Value="{Binding WorkTime, Mode=TwoWay}"
Minimum="1" BorderThickness="0"/>
<Label Content="Krótka przerwa"/>
<xctk:IntegerUpDown
<Label Content="Short breaks"/>
<xctk:IntegerUpDown
Margin="0,0,12,0"
ParsingNumberStyle="Number"
Value="{Binding BreakTime, Mode=TwoWay}"
Minimum="1" BorderThickness="0"/>
<Label Content="Długa przerwa"/>
<xctk:IntegerUpDown
<Label Content="Long break"/>
<xctk:IntegerUpDown
Margin="0,0,0,0"
ParsingNumberStyle="Number"
Value="{Binding BreakLongTime, Mode=TwoWay}"
Minimum="1" BorderThickness="0"/>
</StackPanel>
<StackPanel Orientation="Vertical" Margin="0,0,0,15">
<Label Content="Poziom przezroczystości"/>
<Label Content="Opacity level"/>
<Slider TickPlacement="BottomRight"
Margin="5,0,5,0"
Minimum="0"
Expand All @@ -57,21 +59,21 @@
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="5,0,0,15">
<CheckBox VerticalAlignment="Center" IsChecked="{Binding SoundEfects, Mode=TwoWay}">
<Label Content="Powiadomienia dźwiękowe"/>
<Label Content="Sound notifications"/>
</CheckBox>
<CheckBox VerticalAlignment="Center"
IsChecked="{Binding UseWhiteText, Mode=TwoWay}"
Margin="70,0,0,0">
<Label Content="Jasny motyw"/>
Margin="100,0,0,0">
<Label Content="Light theme"/>
</CheckBox>
</StackPanel>
<TextBlock Margin="0,5,0,0" TextWrapping="Wrap" TextAlignment="Center"><Run Text="Yet Another Pomodoro Application znajdziesz na:"/><LineBreak /><Hyperlink Click="Hyperlink_Click" NavigateUri="http://bns-.github.io/YAPA/" TextDecorations=""><Run Text="http://bns-.github.io/YAPA/"/></Hyperlink></TextBlock>
<TextBlock Margin="0,5,0,0" TextWrapping="Wrap" TextAlignment="Center"><Run Text="Yet Another Pomodoro Application follow at:"/><LineBreak /><Hyperlink Click="Hyperlink_Click" NavigateUri="http://bns-.github.io/YAPA/" TextDecorations=""><Run Text="http://bns-.github.io/YAPA/"/></Hyperlink></TextBlock>
</StackPanel>
<Button x:Name="btnClose"
Command="{Binding SaveSettings}"
Content="Zapisz"
Content="Save"
Cursor="Hand"
ToolTip="Zapisz ustawienia"
ToolTip="Save settings"
Margin="351,271,10,10">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
Expand Down

0 comments on commit 8e41de6

Please sign in to comment.