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

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












46
};