[mistelix] Makes all the transitions translatable. Fixes issue #583915
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Subject: [mistelix] Makes all the transitions translatable. Fixes issue #583915
- Date: Tue, 26 May 2009 15:11:20 -0400 (EDT)
commit 1d838a009202ed9edf8790aabea6891220530699
Author: Jordi Mas <jmas softcatala org>
Date: Tue May 26 21:11:03 2009 +0200
Makes all the transitions translatable. Fixes issue #583915
---
extensions/SlideTransitions/BarWipe/BarWipeLeft.cs | 3 ++-
extensions/SlideTransitions/BarWipe/BarWipeTop.cs | 3 ++-
extensions/SlideTransitions/BarWipe/Makefile.am | 2 +-
po/POTFILES.in | 2 ++
src/core/Preferences.cs | 2 +-
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/extensions/SlideTransitions/BarWipe/BarWipeLeft.cs b/extensions/SlideTransitions/BarWipe/BarWipeLeft.cs
index 8f8865a..ec0454d 100644
--- a/extensions/SlideTransitions/BarWipe/BarWipeLeft.cs
+++ b/extensions/SlideTransitions/BarWipe/BarWipeLeft.cs
@@ -23,6 +23,7 @@
using System;
using Mistelix.DataModel;
+using Mono.Unix;
namespace Mistelix.Transitions
{
@@ -32,7 +33,7 @@ namespace Mistelix.Transitions
public class BarWipeLeft: Transition
{
public override string DisplayName {
- get { return ("Bar Wipe (left to right)"); }
+ get { return Catalog.GetString ("Bar Wipe (left to right)"); }
}
public override string Name {
diff --git a/extensions/SlideTransitions/BarWipe/BarWipeTop.cs b/extensions/SlideTransitions/BarWipe/BarWipeTop.cs
index 88357ea..6b8e891 100644
--- a/extensions/SlideTransitions/BarWipe/BarWipeTop.cs
+++ b/extensions/SlideTransitions/BarWipe/BarWipeTop.cs
@@ -23,6 +23,7 @@
using System;
using Mistelix.DataModel;
+using Mono.Unix;
namespace Mistelix.Transitions
{
@@ -32,7 +33,7 @@ namespace Mistelix.Transitions
public class BarWipeTop: Transition
{
public override string DisplayName {
- get { return ("Bar Wipe (top to bottom)"); }
+ get { return Catalog.GetString ("Bar Wipe (top to bottom)"); }
}
public override string Name {
diff --git a/extensions/SlideTransitions/BarWipe/Makefile.am b/extensions/SlideTransitions/BarWipe/Makefile.am
index b6b25a6..7e39810 100644
--- a/extensions/SlideTransitions/BarWipe/Makefile.am
+++ b/extensions/SlideTransitions/BarWipe/Makefile.am
@@ -23,7 +23,7 @@ mpack: $(PLUGIN_ASSEMBLY)
mautil p $(PLUGIN_ASSEMBLY)
$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC) -target:library -out:$@ $(CSC_DEFINES) $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
+ $(CSC) -target:library -out:$@ $(CSC_DEFINES) $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES) -r:Mono.Posix
plugindir = $(pkglibdir)/extensions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 55f9948..f1d5b0d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,8 @@ extensions/Effects/SepiaTone/SepiaTone.cs
extensions/SlideTransitions/Fade/Fade.cs
extensions/SlideTransitions/BarnDoorWipe/BarnDoorWipeHorizontal.cs
extensions/SlideTransitions/BarnDoorWipe/BarnDoorWipeVertical.cs
+extensions/SlideTransitions/BarWipe/BarWipeLeft.cs
+extensions/SlideTransitions/BarWipe/BarWipeTop.cs
mistelix.desktop.in
src/core/Dependencies.cs
src/core/DvdProjectBuilder.cs
diff --git a/src/core/Preferences.cs b/src/core/Preferences.cs
index 9e51319..6c41f9e 100644
--- a/src/core/Preferences.cs
+++ b/src/core/Preferences.cs
@@ -197,7 +197,7 @@ namespace Mistelix.Core
Environment.GetFolderPath (Environment.SpecialFolder.MyMusic));
properties.Add (DefaultTextPositionKey, ((int)TextPosition.Bottom).ToString ());
- properties.Add (DefaultTransitionKey, TransitionManager.None.Name);
+ properties.Add (DefaultTransitionKey, "none");
properties.Add (ThumbnailSizeKey, "1" /* Medium */);
properties.Add (DefaultDurationKey, "3");
properties.Add (SafeAreaKey, false.ToString ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]