[gnome-subtitles] From/To/During labels renamed to Start/End/Duration
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] From/To/During labels renamed to Start/End/Duration
- Date: Sun, 3 Jul 2011 19:03:58 +0000 (UTC)
commit a096b5a89c5da9dc20991f7965797beeb9e42a55
Author: Pedro Castro <pedro gnomesubtitles org>
Date: Sun Jul 3 20:02:39 2011 +0100
From/To/During labels renamed to Start/End/Duration
src/Glade/MainWindow.glade | 20 ++++++++++----------
.../Core/Command/ChangeTimingCommand.cs | 6 +++---
src/GnomeSubtitles/Ui/View/SubtitleView.cs | 6 +++---
3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/src/Glade/MainWindow.glade b/src/Glade/MainWindow.glade
index 877cdb3..4bfa482 100644
--- a/src/Glade/MainWindow.glade
+++ b/src/Glade/MainWindow.glade
@@ -247,8 +247,8 @@
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<signal name="activate" handler="OnEditRedo"/>
- <accelerator key="Z" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
<accelerator key="Y" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="Z" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</widget>
</child>
<child>
@@ -586,8 +586,8 @@
<property name="label" translatable="yes">Find Ne_xt</property>
<property name="use_underline">True</property>
<signal name="activate" handler="OnSearchFindNext"/>
- <accelerator key="g" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="F3" signal="activate"/>
+ <accelerator key="g" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</widget>
</child>
<child>
@@ -597,8 +597,8 @@
<property name="label" translatable="yes">Find Pre_vious</property>
<property name="use_underline">True</property>
<signal name="activate" handler="OnSearchFindPrevious"/>
- <accelerator key="g" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
<accelerator key="F3" signal="activate" modifiers="GDK_SHIFT_MASK"/>
+ <accelerator key="g" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</widget>
</child>
<child>
@@ -842,8 +842,8 @@
<property name="use_underline">True</property>
<property name="use_stock">False</property>
<signal name="activate" handler="OnVideoPlayPause"/>
- <accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="F5" signal="activate"/>
+ <accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<child internal-child="image">
<widget class="GtkImage" id="videoPlayPauseImage">
<property name="visible">True</property>
@@ -870,8 +870,8 @@
<property name="use_underline">True</property>
<property name="use_stock">False</property>
<signal name="activate" handler="OnVideoRewind"/>
- <accelerator key="k" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="F6" signal="activate"/>
+ <accelerator key="k" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<child internal-child="image">
<widget class="GtkImage" id="videoRewindImage">
<property name="visible">True</property>
@@ -889,8 +889,8 @@
<property name="use_underline">True</property>
<property name="use_stock">False</property>
<signal name="activate" handler="OnVideoForward"/>
- <accelerator key="l" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="F7" signal="activate"/>
+ <accelerator key="l" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<child internal-child="image">
<widget class="GtkImage" id="videoForwardImage">
<property name="visible">True</property>
@@ -930,8 +930,8 @@
<property name="label" translatable="yes">Seek _to Selection</property>
<property name="use_underline">True</property>
<signal name="activate" handler="OnVideoSeekToSelection"/>
- <accelerator key="r" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
<accelerator key="F4" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
+ <accelerator key="r" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
</widget>
</child>
<child>
@@ -941,8 +941,8 @@
<property name="label" translatable="yes">Select Nearest Subtitle</property>
<property name="use_underline">True</property>
<signal name="activate" handler="OnVideoSelectNearestSubtitle"/>
- <accelerator key="F4" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<accelerator key="r" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="F4" signal="activate" modifiers="GDK_CONTROL_MASK"/>
</widget>
</child>
<child>
@@ -1884,7 +1884,7 @@ Shift+Plus/Minus (on the numpad) shifts timings.</property>
<property name="tooltip" translatable="yes">Tip: use Ctrl+Plus/Minus and Alt+Plus/Minus (on the numpad) to adjust start and end timings.
Shift+Plus/Minus (on the numpad) shifts timings.</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes" comments="This is the end time/frame of a subtitle.">To:</property>
+ <property name="label" translatable="yes" comments="This is the end time/frame of a subtitle.">End:</property>
</widget>
<packing>
<property name="top_attach">1</property>
@@ -1899,7 +1899,7 @@ Shift+Plus/Minus (on the numpad) shifts timings.</property>
<property name="tooltip" translatable="yes">Tip: use Ctrl+Plus/Minus and Alt+Plus/Minus (on the numpad) to adjust start and end timings.
Shift+Plus/Minus (on the numpad) shifts timings.</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes" comments="This is the start time/frame of a subtitle.">From:</property>
+ <property name="label" translatable="yes" comments="This is the start time/frame of a subtitle.">Start:</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
diff --git a/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs b/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs
index c914d88..72413ac 100644
--- a/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs
+++ b/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs
@@ -71,7 +71,7 @@ public abstract class ChangeTimingCommand : FixedSingleSelectionCommand {
}
public class ChangeStartCommand : ChangeTimingCommand {
- private static string description = Catalog.GetString("Editing From");
+ private static string description = Catalog.GetString("Editing Start");
public ChangeStartCommand (int frames, bool seekAfterChange): base(frames, description, seekAfterChange) {
}
@@ -95,7 +95,7 @@ public class ChangeStartCommand : ChangeTimingCommand {
}
public class ChangeEndCommand : ChangeTimingCommand {
- private static string description = Catalog.GetString("Editing To");
+ private static string description = Catalog.GetString("Editing End");
public ChangeEndCommand (int frames, bool seekAfterChange): base(frames, description, seekAfterChange) {
}
@@ -117,7 +117,7 @@ public class ChangeEndCommand : ChangeTimingCommand {
}
public class ChangeDurationCommand : ChangeTimingCommand {
- private static string description = Catalog.GetString("Editing During");
+ private static string description = Catalog.GetString("Editing Duration");
public ChangeDurationCommand (int frames, bool seekAfterChange): base(frames, description, seekAfterChange) {
}
diff --git a/src/GnomeSubtitles/Ui/View/SubtitleView.cs b/src/GnomeSubtitles/Ui/View/SubtitleView.cs
index f1668f7..ed86331 100644
--- a/src/GnomeSubtitles/Ui/View/SubtitleView.cs
+++ b/src/GnomeSubtitles/Ui/View/SubtitleView.cs
@@ -255,9 +255,9 @@ public class SubtitleView {
/* Start, end and duration columns */
int timeWidth = Util.ColumnWidth(tree, "00:00:00.000");
- startCol = Util.CreateTreeViewColumn(Catalog.GetString("From"), timeWidth, new CellRendererText(), RenderStartCell);
- endCol = Util.CreateTreeViewColumn(Catalog.GetString("To"), timeWidth, new CellRendererText(), RenderEndCell);
- durationCol = Util.CreateTreeViewColumn(Catalog.GetString("During"), timeWidth, new CellRendererText(), RenderDurationCell);
+ startCol = Util.CreateTreeViewColumn(Catalog.GetString("Start"), timeWidth, new CellRendererText(), RenderStartCell);
+ endCol = Util.CreateTreeViewColumn(Catalog.GetString("End"), timeWidth, new CellRendererText(), RenderEndCell);
+ durationCol = Util.CreateTreeViewColumn(Catalog.GetString("Duration"), timeWidth, new CellRendererText(), RenderDurationCell);
/* Text column */
int textWidth = Util.ColumnWidth(tree, "0123456789012345678901234567890123456789");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]