Skip to content

Commit

Permalink
Forgot to add gettext macro
Browse files Browse the repository at this point in the history
  • Loading branch information
shamazmazum committed Nov 4, 2019
1 parent 4d04579 commit d92ac12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/windows/RestartWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

#include "AlertWindow.h"

#define _(STRING) gettext(STRING)

namespace violet {
class RestartWindow : public AlertWindow {
private:
void onOKClick();
public:
RestartWindow(Configuration const* config, TextManager const* text) :
AlertWindow(config, text, "Restart the game to apply changes") {/* Do nothing */}
AlertWindow(config, text, _("Restart the game to apply changes")) {/* Do nothing */}
~RestartWindow() {/* Do noting */}
};
}
Expand Down

0 comments on commit d92ac12

Please sign in to comment.