Skip to content
Commits on Source (6)
Swell Foop 40.1
==================
* Updated translations
* Fixed application not starting from launcher #22 (Robert Roth)
Swell Foop 40.0
==================
......
......@@ -5,13 +5,13 @@
# Jonathan Ernst <jonathan@ernstfamily.ch>, 2007.
# Claude Paroz <claude@2xlibre.net>, 2007-2009.
# Bruno Brouard <annoa.b@gmail.com>, 2008,2010, 2012.
# Charles Monzat <charles.monzat@free.fr>, 2020.
# Charles Monzat <charles.monzat@free.fr>, 2020-2021.
#
msgid ""
msgstr ""
"Project-Id-Version: swell-foop documentation fr\n"
"POT-Creation-Date: 2020-09-14 02:44+0000\n"
"PO-Revision-Date: 2020-09-19 11:56+0200\n"
"POT-Creation-Date: 2020-11-08 09:08+0000\n"
"PO-Revision-Date: 2021-03-13 18:23+0100\n"
"Last-Translator: Charles Monzat <charles.monzat@free.fr>\n"
"Language-Team: GNOME French Team <gnomefr@traduc.org>\n"
"Language: fr\n"
......@@ -19,7 +19,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Gtranslator 3.36.0\n"
"X-Generator: Gtranslator 3.38.0\n"
#. (itstool) path: p/link
#: C/legal.xml:5
......@@ -40,7 +40,7 @@ msgstr ""
"Jonathan Ernst <jonathan@ernstfamily.ch>, 2007\n"
"Claude Paroz <claude@2xlibre.net>, 2007-2009\n"
"Bruno Brouard <annoa.b@gmail.com>, 2008,2010,2012\n"
"Charles Monzat <charles.monzat@free.fr>, 2020"
"Charles Monzat <charles.monzat@free.fr>, 2020-2021"
#. (itstool) path: credit/name
#: C/index.page:13 C/introduction.page:11 C/playing-game.page:11
......@@ -257,14 +257,18 @@ msgstr "Modification de la vitesse"
#. (itstool) path: section/p
#: C/preferences.page:58
#| msgid ""
#| "The default animation is designed to be fast. If it is too fast for you "
#| "and you would like playing slower then this may be too fast for you. In "
#| "this case you can slow down the game animation."
msgid ""
"The default animation is designed to be fast. If it is too fast for you and "
"you would like playing slower then this may be too fast for you. In this "
"case you can slow down the game animation."
"The default animation is designed to be fast. If it is too fast for you, "
"then you might like playing slower. In this case, you can slow down the game "
"animation."
msgstr ""
"L’animation par défaut est conçue pour être rapide. Si vous trouvez que la "
"vitesse est trop élevée et que vous souhaitez jouer plus lentement, vous "
"pouvez ralentir l’animation du jeu."
"vitesse est trop élevée, vous souhaiterez peut-être jouer plus lentement. "
"Dans ce cas, vous pouvez ralentir l’animation du jeu."
#. (itstool) path: item/p
#: C/preferences.page:64
......@@ -521,4 +525,3 @@ msgstr ""
"obtenir le même nombre de points avec un seul groupe, celui-ci devrait être "
"composé de 34 objets. Il est très peu probable que vous vous retrouviez dans "
"la situation de devoir sacrifier un tel groupe pour vider le tableau."
project('swell-foop', ['c','vala'],
version: '40.0',
version: '40.1',
meson_version: '>= 0.50',
license: 'GPLv2+',
)
......
......@@ -5,22 +5,22 @@
# Lucas Vieites <lucas@codexion.com>, 2007, 2008.
# Jorge González <jorgegonz@svn.gnome.org>, 2007, 2008, 2009, 2010, 2011.
# Chris Leonard <cjl@laptop.org>, 2012.
# Daniel Mustieles <daniel.mustieles@gmail.com>, 2008-2020.
# Daniel Mustieles <daniel.mustieles@gmail.com>, 2008-2021.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-games.master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/swell-foop/issues\n"
"POT-Creation-Date: 2020-07-14 11:46+0000\n"
"PO-Revision-Date: 2020-06-03 11:52+0200\n"
"POT-Creation-Date: 2021-04-08 07:02+0000\n"
"PO-Revision-Date: 2021-04-28 09:20+0200\n"
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
"Language-Team: es <gnome-es-list@gnome.org>\n"
"Language: es\n"
"Language-Team: Spanish - Spain <gnome-es-list@gnome.org>\n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 3.36.0\n"
"X-Generator: Gtranslator 40.0\n"
"X-Project-Style: gnome\n"
#. Translators: title of the window displayed by window managers; name of the application
......@@ -30,7 +30,7 @@ msgstr ""
#: data/org.gnome.SwellFoop.desktop.in:3 data/ui/swell-foop.ui:141
#: data/ui/swell-foop.ui:147 src/swell-foop.vala:16
msgid "Swell Foop"
msgstr "Swell Foopm"
msgstr "Swell Foop"
#: data/org.gnome.SwellFoop.appdata.xml.in:8
#: data/org.gnome.SwellFoop.desktop.in:4
......@@ -333,12 +333,12 @@ msgid "Redo"
msgstr "Rehacer"
#. Translators: text of a button that appears on the board at the end of a game
#: src/game-view.vala:415
#: src/game-view.vala:439
msgid "_Play Again"
msgstr "_Jugar otra vez"
#. Label showing the number of points at the end of the game
#: src/game-view.vala:607
#: src/game-view.vala:631
#, c-format
msgid "%u point"
msgid_plural "%u points"
......@@ -346,28 +346,28 @@ msgstr[0] "%u punto"
msgstr[1] "%u puntos"
#. Translators: text of a label that appears on the board at the end of a game
#: src/game-view.vala:610
#: src/game-view.vala:634
msgid "Game Over!"
msgstr "Juego terminado"
#. Translators: command-line option description, see 'swell-foop --help'
#: src/swell-foop.vala:26
#: src/swell-foop.vala:25
msgid "Print release version and exit"
msgstr "Mostrar información de la versión y salir"
#. Translators: About dialog text, name of an author
#. Translators: About dialog text, name of an artist
#: src/swell-foop.vala:96 src/swell-foop.vala:104
#: src/swell-foop.vala:106 src/swell-foop.vala:114
msgid "Tim Horton"
msgstr "Tim Horton"
#. Translators: About dialog text, name of an author
#: src/swell-foop.vala:100
#: src/swell-foop.vala:110
msgid "Sophia Yu"
msgstr "Sophia Yu"
#. Translators: About dialog text, small description of the application
#: src/swell-foop.vala:113
#: src/swell-foop.vala:123
msgid ""
"I want to play that game!\n"
"You know, they all light-up and you click on them and they vanish!"
......@@ -376,12 +376,12 @@ msgstr ""
"Ya sabe, todos se encienden, pulsa en ellos y desaparecen."
#. Translators: About dialog text, copyright line
#: src/swell-foop.vala:117
#: src/swell-foop.vala:127
msgid "Copyright © 2009 Tim Horton"
msgstr "Copyright © 2009 Tim Horton"
#. Translators: About dialog text, should be replaced with a credit for you and your team; do not translate literally!
#: src/swell-foop.vala:121
#: src/swell-foop.vala:131
msgid "translator-credits"
msgstr ""
"Daniel Mustieles <daniel.mustieles@gmail.com>, 2008-2020\n"
......
......@@ -19,11 +19,10 @@ public class SwellFoop : Gtk.Application
private SwellFoopWindow window;
/* Command-line options */
private static bool version = false;
private const OptionEntry [] option_entries =
{
/* Translators: command-line option description, see 'swell-foop --help' */
{ "version", 'v', OptionFlags.NONE, OptionArg.NONE, ref version, N_("Print release version and exit"), null },
{ "version", 'v', OptionFlags.NONE, OptionArg.NONE, null, N_("Print release version and exit"), null },
{}
};
......@@ -40,6 +39,8 @@ public class SwellFoop : Gtk.Application
public SwellFoop ()
{
Object (application_id: "org.gnome.SwellFoop", flags: ApplicationFlags.FLAGS_NONE);
add_option_group (Clutter.get_option_group_without_init ());
add_main_option_entries (option_entries);
}
protected override void startup ()
......@@ -58,7 +59,16 @@ public class SwellFoop : Gtk.Application
/* Create the main window */
window = new SwellFoopWindow (this);
add_window (window);
}
protected override int handle_local_options (GLib.VariantDict options)
{
if (options.contains ("version"))
{
stderr.printf ("%1$s %2$s\n", PROGRAM_NAME, Config.VERSION);
return Posix.EXIT_SUCCESS;
}
return -1;
}
protected override void shutdown ()
......@@ -136,31 +146,6 @@ public class SwellFoop : Gtk.Application
return Posix.EXIT_FAILURE;
}
var context = new OptionContext (null);
context.set_translation_domain (Config.GETTEXT_PACKAGE);
context.add_group (Gtk.get_option_group (true));
context.add_group (Clutter.get_option_group_without_init ());
context.add_main_entries (option_entries, Config.GETTEXT_PACKAGE);
try
{
context.parse (ref args);
}
catch (Error e)
{
stderr.printf ("%s\n", e.message);
return Posix.EXIT_FAILURE;
}
if (version)
{
/* NOTE: Is not translated so can be easily parsed */
stderr.printf ("%1$s %2$s\n", "swell-foop", Config.VERSION);
return Posix.EXIT_SUCCESS;
}
Environment.set_application_name (PROGRAM_NAME);
Gtk.Window.set_default_icon_name ("org.gnome.SwellFoop");
......