]> git.pld-linux.org Git - packages/wesnoth.git/blob - wesnoth-locale_dir.patch
- resurected and updated for 1.8
[packages/wesnoth.git] / wesnoth-locale_dir.patch
1 --- wesnoth-1.8/src/filesystem.cpp~     2010-01-30 16:43:33.000000000 +0000
2 +++ wesnoth-1.8/src/filesystem.cpp      2010-03-27 14:29:10.983114991 +0000
3 @@ -288,22 +288,7 @@
4  
5  std::string get_intl_dir()
6  {
7 -#ifdef _WIN32
8 -       return get_cwd() + "/translations";
9 -#else
10 -
11 -#ifdef USE_INTERNAL_DATA
12 -       return get_cwd() + "/" LOCALEDIR;
13 -#endif
14 -
15 -#if HAS_RELATIVE_LOCALEDIR
16 -       std::string res = game_config::path + "/" LOCALEDIR;
17 -#else
18 -       std::string res = LOCALEDIR;
19 -#endif
20 -
21 -       return res;
22 -#endif
23 +       return "/usr/share/locale";
24  }
25  
26  std::string get_screenshot_dir()
This page took 0.028311 seconds and 3 git commands to generate.