diff options
author | David Robillard <d@drobilla.net> | 2022-08-23 00:52:14 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-23 01:20:56 -0400 |
commit | 496f3eb577739bf667665efc490e583baa45eb2e (patch) | |
tree | f4a2f77c684215c1639525014a264f9bf11e0d4f /src/Legend.cpp | |
parent | d39dbde2d05ae1c3483b311f0890fb97b35b5716 (diff) | |
download | patchage-496f3eb577739bf667665efc490e583baa45eb2e.tar.gz patchage-496f3eb577739bf667665efc490e583baa45eb2e.tar.bz2 patchage-496f3eb577739bf667665efc490e583baa45eb2e.zip |
Add i18n support
Diffstat (limited to 'src/Legend.cpp')
-rw-r--r-- | src/Legend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Legend.cpp b/src/Legend.cpp index bdf51bc..a4e8705 100644 --- a/src/Legend.cpp +++ b/src/Legend.cpp @@ -5,6 +5,7 @@ #include "Configuration.hpp" #include "PortType.hpp" +#include "i18n.hpp" #include "patchage_config.h" #include <gdkmm/color.h> @@ -23,7 +24,7 @@ namespace patchage { Legend::Legend(const Configuration& configuration) { add_button(PortType::jack_audio, - "Audio", + _("Audio"), configuration.get_port_color(PortType::jack_audio)); #if USE_JACK_METADATA |