Fix --no-nls, i18n include order in UI -- #8361

This commit is contained in:
Robin Gareus 2020-08-19 17:40:02 +02:00
parent fcd347fe0c
commit a7a20e03ff
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
7 changed files with 14 additions and 9 deletions

View File

@ -36,12 +36,13 @@
#include "gtk2ardour-version.h"
#endif
#include "pbd/i18n.h"
#include "pbd/openuri.h"
#include "ardour_message.h"
#include "ardour_ui.h"
#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;

View File

@ -33,7 +33,6 @@
#include <cstdio>
#include "pbd/error.h"
#include "pbd/i18n.h"
#include "ardour/session.h"
#include "ardour/lv2_plugin.h"
@ -62,6 +61,8 @@
#include <gdk/gdkx.h>
#endif
#include "pbd/i18n.h"
using namespace Gtk;
using namespace PBD;

View File

@ -22,7 +22,6 @@
#include <iostream>
#include "pbd/gstdio_compat.h"
#include "pbd/i18n.h"
#include "pbd/file_utils.h"
#include "ptformat/ptformat.h"
@ -33,6 +32,8 @@
#include "pt_import_selector.h"
#include "pbd/i18n.h"
using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;

View File

@ -26,7 +26,6 @@
#include "pbd/basename.h"
#include "pbd/file_archive.h"
#include "pbd/file_utils.h"
#include "pbd/i18n.h"
#include "ardour/audioengine.h"
#include "ardour/filename_extensions.h"
@ -58,6 +57,8 @@
#include "gtk2ardour-version.h"
#endif
#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace Gtk;
using namespace Gtkmm2ext;

View File

@ -40,7 +40,6 @@
#include "pbd/error.h"
#include "pbd/file_archive.h"
#include "pbd/file_utils.h"
#include "pbd/i18n.h"
#include "pbd/xml++.h"
#include "gtkmm2ext/gui_thread.h"
@ -52,9 +51,10 @@
#include "ardour/template_utils.h"
#include "progress_reporter.h"
#include "template_dialog.h"
#include "pbd/i18n.h"
using namespace std;
using namespace Gtk;
using namespace PBD;

View File

@ -16,8 +16,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "pbd/i18n.h"
#include "ardour/location.h"
#include "ardour/session.h"
@ -25,6 +23,8 @@
#include "ardour_ui.h"
#include "transport_control.h"
#include "pbd/i18n.h"
using namespace Gtk;
TransportControlProvider::TransportControlProvider ()

View File

@ -25,7 +25,6 @@
#include <glibmm.h>
#include "pbd/file_utils.h"
#include "pbd/i18n.h"
#include "pbd/stateful.h"
#include "ardour/region_factory.h"
@ -44,6 +43,8 @@
#include "common.h"
#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
using namespace SessionUtils;