Skip to content
Snippets Groups Projects
Verified Commit 5974ffb1 authored by Benny Baumann's avatar Benny Baumann
Browse files

chg: Put translation stuff into its own header

parent 468bb24f
No related branches found
No related tags found
No related merge requests found
#include <libintl.h>
#include <locale.h>
#include <iostream> #include <iostream>
#include "ui/view.hpp" #include "lib/gettext/translations.hpp"
#define _(str) gettext(str) #include "ui/view.hpp"
int main() { int main() {
using rmrf::ui::display; using rmrf::ui::display;
......
#pragma once
#include <libintl.h>
#include <locale.h>
#define _(str) gettext(str)
#define N_(str) gettext_nop(str)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment