GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/craft.cpp Lines: 11 11 100.0 %
Date: 2017-11-29 Branches: 34 68 50.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2011-2017  The ManaPlus Developers
4
 *
5
 *  This file is part of The ManaPlus Client.
6
 *
7
 *  This program is free software; you can redistribute it and/or modify
8
 *  it under the terms of the GNU General Public License as published by
9
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  any later version.
11
 *
12
 *  This program is distributed in the hope that it will be useful,
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 *  GNU General Public License for more details.
16
 *
17
 *  You should have received a copy of the GNU General Public License
18
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 */
20
21
#include "gui/setupactiondata.h"
22
23
#include "utils/gettext.h"
24
#include "utils/stringutils.h"
25
26
#include "debug.h"
27
28
4
SetupActionData setupActionDataCraft[] =
29
{
30
    {
31
        // TRANSLATORS: input action name
32
4
        strprintf(N_("Craft shortcut %d"), 1),
33
        InputAction::CRAFT_1,
34
        "",
35
    },
36
    {
37
        // TRANSLATORS: input action name
38
4
        strprintf(N_("Craft shortcut %d"), 2),
39
        InputAction::CRAFT_2,
40
        "",
41
    },
42
    {
43
        // TRANSLATORS: input action name
44
4
        strprintf(N_("Craft shortcut %d"), 3),
45
        InputAction::CRAFT_3,
46
        "",
47
    },
48
    {
49
        // TRANSLATORS: input action name
50
4
        strprintf(N_("Craft shortcut %d"), 4),
51
        InputAction::CRAFT_4,
52
        "",
53
    },
54
    {
55
        // TRANSLATORS: input action name
56
4
        strprintf(N_("Craft shortcut %d"), 5),
57
        InputAction::CRAFT_5,
58
        "",
59
    },
60
    {
61
        // TRANSLATORS: input action name
62
4
        strprintf(N_("Craft shortcut %d"), 6),
63
        InputAction::CRAFT_6,
64
        "",
65
    },
66
    {
67
        // TRANSLATORS: input action name
68
4
        strprintf(N_("Craft shortcut %d"), 7),
69
        InputAction::CRAFT_7,
70
        "",
71
    },
72
    {
73
        // TRANSLATORS: input action name
74
4
        strprintf(N_("Craft shortcut %d"), 8),
75
        InputAction::CRAFT_8,
76
        "",
77
    },
78
    {
79
        // TRANSLATORS: input action name
80
4
        strprintf(N_("Craft shortcut %d"), 9),
81
        InputAction::CRAFT_9,
82
        "",
83
    },
84
    {
85
        "",
86
        InputAction::NO_VALUE,
87
        ""
88
    },
89












92
};