Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
f19793f7
Commit
f19793f7
authored
Dec 29, 2019
by
Vivien Kraus
Browse files
Change the front page
parent
d161b134
Changes
4
Hide whitespace changes
Inline
Side-by-side
po/fr.po
View file @
f19793f7
...
...
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tarot 0.4.2.83-ebdc-dirty\n"
"Report-Msgid-Bugs-To: vivien@planete-kraus.eu\n"
"POT-Creation-Date: 2019-12-29 1
8:51
+0100\n"
"POT-Creation-Date: 2019-12-29 1
9:00
+0100\n"
"PO-Revision-Date: 2019-12-15 16:50+0100\n"
"Last-Translator: Vivien Kraus <vivien@planete-kraus.eu>\n"
"Language-Team: French\n"
...
...
@@ -541,7 +541,7 @@ msgstr ""
"Erreur : l'en-tête ARFF installé (%s/features-header.txt) n'est pas "
"compatible avec cette version (%s).\n"
#: src/tarot-app/gui/window.vala:19
3
#: src/tarot-app/gui/window.vala:19
0
msgid ""
"If you find that the AI is too weak, send me your game files at "
"vivien@planete-kraus.eu :)"
...
...
@@ -549,16 +549,16 @@ msgstr ""
"Si vous trouvez que l'IA est trop faible, envoyez-moi vos fichiers de partie "
"à vivien@planete-kraus.eu :)"
#: src/tarot-app/gui/window.vala:19
4
#: src/tarot-app/gui/window.vala:19
1
msgid "Copyright © 2019 Vivien Kraus"
msgstr "Copyright © 2019 Vivien Kraus"
#: src/tarot-app/gui/window.vala:28
5
#: src/tarot-app/gui/window.vala:28
2
#, c-format
msgid "Error: could not log the game: %s\n"
msgstr "Erreur : impossible d'enregistrer la partie : %s\n"
#: src/tarot-app/gui/window.vala:3
91
#: src/tarot-app/gui/window.vala:3
88
#, c-format
msgid "Error: could not run explorer.exe: %s\n"
msgstr "Erreur : impossible d'exécuter explorer.exe : %s\n"
...
...
@@ -1494,7 +1494,7 @@ msgstr "Tarot"
msgid "page0"
msgstr "page0"
#: src/tarot-app/gui/window.ui:
102
#: src/tarot-app/gui/window.ui:
93
msgid "3 players"
msgstr "3 joueurs"
...
...
@@ -1502,19 +1502,11 @@ msgstr "3 joueurs"
msgid "4 players"
msgstr "4 joueurs"
#: src/tarot-app/gui/window.ui:13
6
#: src/tarot-app/gui/window.ui:13
9
msgid "5 players"
msgstr "5 joueurs"
#: src/tarot-app/gui/window.ui:157
msgid "Call:"
msgstr "Appel :"
#: src/tarot-app/gui/window.ui:220
msgid "page1"
msgstr "page1"
#: src/tarot-app/gui/window.ui:254
#: src/tarot-app/gui/window.ui:192
msgid "Game files"
msgstr "Fichiers de parties"
...
...
@@ -1656,6 +1648,12 @@ msgstr ""
#~ msgid "Vivien Kraus"
#~ msgstr "Vivien Kraus"
#~ msgid "Call:"
#~ msgstr "Appel :"
#~ msgid "page1"
#~ msgstr "page1"
#~ msgid "Error: the MCTS parameter should be a number, not '%s'.\n"
#~ msgstr "Erreur : le paramètre MCTS doit être un nombre, et pas « %s ».\n"
...
...
src/tarot-app/gui/style.css
View file @
f19793f7
...
...
@@ -14,11 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
.label_call
{
padding-left
:
1em
;
padding-right
:
1em
;
}
.variant_call_switch
{
margin-right
:
1em
;
.best_variant
{
font-weight
:
bold
;
}
src/tarot-app/gui/window.ui
View file @
f19793f7
...
...
@@ -76,154 +76,92 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"page_select_players"
>
<object
class=
"Gtk
List
Box"
id=
"page_select_players"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"selection_mode"
>
none
</property>
<child>
<object
class=
"GtkSeparator"
>
<object
class=
"GtkListBoxRow"
>
<property
name=
"width_request"
>
100
</property>
<property
name=
"height_request"
>
80
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"homogeneous"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"selectable"
>
False
</property>
<child>
<object
class=
"GtkButton"
id=
"variant_3p"
>
<object
class=
"GtkButton"
>
<property
name=
"label"
translatable=
"yes"
>
3 players
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"relief"
>
none
</property>
<signal
name=
"clicked"
handler=
"new_game_3p"
swapped=
"no"
/>
<style>
<class
name=
"button_variant"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
</object>
</child>
<child>
<object
class=
"GtkListBoxRow"
>
<property
name=
"width_request"
>
100
</property>
<property
name=
"height_request"
>
80
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"selectable"
>
False
</property>
<signal
name=
"activate"
handler=
"new_game_4p"
swapped=
"no"
/>
<child>
<object
class=
"GtkButton"
id=
"variant_4p"
>
<object
class=
"GtkButton"
>
<property
name=
"label"
translatable=
"yes"
>
4 players
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"relief"
>
none
</property>
<signal
name=
"clicked"
handler=
"new_game_4p"
swapped=
"no"
/>
<style>
<class
name=
"button_variant"
/>
<class
name=
"best_variant"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkButton"
id=
"variant_5p"
>
<property
name=
"label"
translatable=
"yes"
>
5 players
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<signal
name=
"clicked"
handler=
"new_game_5p"
swapped=
"no"
/>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"valign"
>
center
</property>
<child>
<object
class=
"GtkLabel"
id=
"label_call"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Call:
</property>
<style>
<class
name=
"label_call"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkSwitch"
id=
"variant_call"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"active"
>
True
</property>
<style>
<class
name=
"variant_call_switch"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkSeparator"
>
<object
class=
"GtkListBoxRow"
>
<property
name=
"width_request"
>
100
</property>
<property
name=
"height_request"
>
80
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"selectable"
>
False
</property>
<child>
<object
class=
"GtkButton"
>
<property
name=
"label"
translatable=
"yes"
>
5 players
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"relief"
>
none
</property>
<signal
name=
"clicked"
handler=
"new_game_5p"
swapped=
"no"
/>
<style>
<class
name=
"button_variant"
/>
</style>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"name"
>
page1
</property>
<property
name=
"title"
translatable=
"yes"
>
page1
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
</template>
<object
class=
"GtkImage"
id=
"image2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"stock"
>
gtk-open
</property>
</object>
<object
class=
"GtkPopoverMenu"
id=
"menu_popover"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"relative_to"
>
menu_button
</property>
...
...
@@ -272,9 +210,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</packing>
</child>
</object>
<object
class=
"GtkImage"
id=
"image2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"stock"
>
gtk-open
</property>
</object>
</interface>
src/tarot-app/gui/window.vala
View file @
f19793f7
...
...
@@ -121,10 +121,7 @@ namespace Tarot {
private
Tarot
.
Widget
tarot_widget
;
[
GtkChild
]
private
Gtk
.
Box
page_select_players
;
[
GtkChild
]
private
Gtk
.
Switch
variant_call
;
private
Gtk
.
ListBox
page_select_players
;
[
GtkChild
]
private
Gtk
.
Button
button_new_game
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment