[ease] Mark some strings for translation, and add a french translation.
- From: Stéphane Maniaci <maniacis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Mark some strings for translation, and add a french translation.
- Date: Wed, 26 May 2010 17:20:14 +0000 (UTC)
commit 9e7196c50c10ea8ba8d337fa3b3e41a829589e44
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date: Wed May 26 19:18:25 2010 +0200
Mark some strings for translation, and add a french translation.
Just marked a few strings, just to make the translations system work.
po/LINGUAS | 1 +
po/ease.pot | 76 +++++++++++++++++++++++++++++++++++++++----
po/fr.po | 83 ++++++++++++++++++++++++++++++++++++++++++++++++
src/Transitions.vala | 11 +++---
src/WelcomeWindow.vala | 8 ++--
5 files changed, 163 insertions(+), 16 deletions(-)
---
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..527e861
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1 @@
+fr
diff --git a/po/ease.pot b/po/ease.pot
index 31cb4da..0723847 100644
--- a/po/ease.pot
+++ b/po/ease.pot
@@ -1,21 +1,83 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
+# Ease : presentation editor for the GNOME desktop
+# Copyright (C) 2010 Nate Stedman
+# This file is distributed under the same license as the EASE package.
# FIRST AUTHOR <EMAIL ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Ease 0.1\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=ease\n"
-"POT-Creation-Date: 2010-05-26 18:42+0200\n"
+"POT-Creation-Date: 2010-05-26 18:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL ADDRESS>\n"
"Language-Team: LANGUAGE <LL li org>\n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../src/WelcomeWindow.vala:76
+#: ../src/Transitions.vala:39
+msgid "Fade"
+msgstr ""
+
+#. FIXME : is there a way to put the redundants variants into the same string ?
+#: ../src/Transitions.vala:41
+msgid "Slide"
+msgstr ""
+
+#: ../src/Transitions.vala:41
+msgid "Up"
+msgstr ""
+
+#: ../src/Transitions.vala:41
+msgid "Down"
+msgstr ""
+
+#: ../src/Transitions.vala:41
+msgid "Left"
+msgstr ""
+
+#: ../src/Transitions.vala:41
+msgid "Right"
+msgstr ""
+
+#: ../src/Transitions.vala:42
+msgid "Drop"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Pivot"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Top Left"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Top Right"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Bottom Left"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Bottom Right"
+msgstr ""
+
+#: ../src/Transitions.vala:44
+msgid "Flip"
+msgstr ""
+
+#: ../src/WelcomeWindow.vala:76 ../src/WelcomeWindow.vala:109
msgid "New Presentation"
msgstr ""
+
+#: ../src/WelcomeWindow.vala:82
+msgid "Custom"
+msgstr ""
+
+#: ../src/WelcomeWindow.vala:85
+#, c-format
+msgid "%i by %i"
+msgstr ""
diff --git a/po/fr.po b/po/fr.po
new file mode 100644
index 0000000..6ba3688
--- /dev/null
+++ b/po/fr.po
@@ -0,0 +1,83 @@
+# Ease : presentation editor for the GNOME desktop
+# Copyright (C) 2010 Nate Stedman
+# This file is distributed under the same license as the EASE package.
+# Stéphane Maniaci <stephane maniaci gmail com>, 2010.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: Ease 0.1\n"
+"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=ease\n"
+"POT-Creation-Date: 2010-05-26 18:52+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Stéphane Maniaci <stephane maniaci gmail com>\n"
+"Language-Team: French <LL li org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../src/Transitions.vala:39
+msgid "Fade"
+msgstr "Fondu"
+
+#. FIXME : is there a way to put the redundants variants into the same string ?
+#: ../src/Transitions.vala:41
+msgid "Slide"
+msgstr "Glisse"
+
+#: ../src/Transitions.vala:41
+msgid "Up"
+msgstr "Haut"
+
+#: ../src/Transitions.vala:41
+msgid "Down"
+msgstr "Bas"
+
+#: ../src/Transitions.vala:41
+msgid "Left"
+msgstr "Gauche"
+
+#: ../src/Transitions.vala:41
+msgid "Right"
+msgstr "Droite"
+
+#: ../src/Transitions.vala:42
+msgid "Drop"
+msgstr "Chute"
+
+#: ../src/Transitions.vala:43
+msgid "Pivot"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Top Left"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Top Right"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Bottom Left"
+msgstr ""
+
+#: ../src/Transitions.vala:43
+msgid "Bottom Right"
+msgstr ""
+
+#: ../src/Transitions.vala:44
+msgid "Flip"
+msgstr ""
+
+#: ../src/WelcomeWindow.vala:76 ../src/WelcomeWindow.vala:109
+msgid "New Presentation"
+msgstr "Nouvelle présentation"
+
+#: ../src/WelcomeWindow.vala:82
+msgid "Custom"
+msgstr "Personnalisé"
+
+#: ../src/WelcomeWindow.vala:85
+#, c-format
+msgid "%i by %i"
+msgstr "%i par %i"
diff --git a/src/Transitions.vala b/src/Transitions.vala
index a310291..1ee8b66 100644
--- a/src/Transitions.vala
+++ b/src/Transitions.vala
@@ -36,11 +36,12 @@ public static class Ease.Transitions : GLib.Object
{
Transitions = new Gee.ArrayList<Transition>();
add_transition("None", {}, 0);
- add_transition("Fade", {}, 0);
- add_transition("Slide", { "Up", "Down", "Left", "Right" }, 4);
- add_transition("Drop", {}, 0);
- add_transition("Pivot", { "Top Left", "Top Right", "Bottom Left", "Bottom Right" }, 4);
- add_transition("Flip", { "Top to Bottom", "Bottom to Top", "Left to Right", "Right to Left" }, 4);
+ add_transition(_("Fade"), {}, 0);
+ /* FIXME : is there a way to put the redundants variants into the same string ? */
+ add_transition(_("Slide"), { _("Up"), _("Down"), _("Left"), _("Right") }, 4);
+ add_transition(_("Drop"), {}, 0);
+ add_transition(_("Pivot"), { _("Top Left"), _("Top Right"), _("Bottom Left"), _("Bottom Right") }, 4);
+ add_transition(_("Flip"), { "Top to Bottom", "Bottom to Top", "Left to Right", "Right to Left" }, 4);
add_transition("Revolving Door", { "Top", "Bottom", "Left", "Right" }, 4);
add_transition("Reveal", { "Top", "Bottom", "Left", "Right" }, 4);
add_transition("Fall", {}, 0);
diff --git a/src/WelcomeWindow.vala b/src/WelcomeWindow.vala
index e528372..bed54a8 100644
--- a/src/WelcomeWindow.vala
+++ b/src/WelcomeWindow.vala
@@ -73,16 +73,16 @@ public class Ease.WelcomeWindow : Gtk.Window
public WelcomeWindow()
{
- title = "New Presentation";
+ title = _("New Presentation");
set_default_size(640, 480);
// build the bottom UI
var hbox = new Gtk.HBox(false, 5);
resolution = new Gtk.ComboBox.text();
- resolution.append_text("Custom");
+ resolution.append_text(_("Custom"));
for (var i = 0; i < RESOLUTION_COUNT; i++)
{
- resolution.append_text("%i by %i".printf(RESOLUTIONS_X[i], RESOLUTIONS_Y[i]));
+ resolution.append_text(_("%i by %i").printf(RESOLUTIONS_X[i], RESOLUTIONS_Y[i]));
}
resolution.set_active(2);
@@ -106,7 +106,7 @@ public class Ease.WelcomeWindow : Gtk.Window
align.add(y_res);
hbox.pack_start(align, false, false, 0);
- new_button = new Gtk.Button.with_label("New Presentation");
+ new_button = new Gtk.Button.with_label(_("New Presentation"));
new_button.sensitive = false;
new_button.image = new Gtk.Image.from_stock("gtk-new", Gtk.IconSize.BUTTON);
align = new Gtk.Alignment(0, 0.5f, 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]