Show an error message when switching to a language that isn't installed

Also, ensure that the language names are not translated in the menus
and messages, since they are already translated in the code.

Fixes https://gitlab.com/kicad/code/kicad/issues/5324
This commit is contained in:
Ian McInerney
2020-09-02 00:10:25 +01:00
parent 84fb024b9d
commit 8bdf25d3e2
6 changed files with 131 additions and 39 deletions
+1 -3
View File
@@ -36,9 +36,7 @@
#include <tool/action_menu.h>
#include <tool/conditional_menu.h>
#include <bitmaps.h>
// Contained inside pgm_base.cpp
extern LANGUAGE_DESCR LanguagesList[];
#include <pgm_base.h>
/**
* Function AddMenuLanguageList