summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/main.cpp b/main.cpp
index c7d916c9c..0d53a5acf 100644
--- a/main.cpp
+++ b/main.cpp
@@ -13,22 +13,13 @@
#include <QStringList>
+QTranslator *qtTranslator, *ssrfTranslator;
+
int main(int argc, char **argv)
{
int i;
bool no_filenames = true;
-#if 0
- const char *path;
- /* set up l18n - the search directory needs to change
- * so that it uses the correct system directory when
- * subsurface isn't run from the local directory */
- path = subsurface_gettext_domainpath(argv[0]);
- setlocale(LC_ALL, "");
- bindtextdomain("subsurface", path);
- bind_textdomain_codeset("subsurface", "utf-8");
- textdomain("subsurface");
-#endif
setup_system_prefs();
prefs = default_prefs;