1 --- tinyca2.orig 2010-05-04 17:03:50.572478056 +0300
2 +++ tinyca2 2010-05-04 17:35:14.065631756 +0300
4 # along with this program; if not, write to the Free Software
5 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
7 -BEGIN { unshift(@INC, './lib'); # put here the location of the modules
8 +BEGIN { unshift(@INC, '/usr/lib/tinyca2'); # put here the location of the modules
15 setlocale(LC_MESSAGES, "");
16 -bindtextdomain("tinyca2", "./locale/");
17 +bindtextdomain("tinyca2", "/usr/share/locale/");
18 textdomain("tinyca2");
20 # https://bugs.gentoo.org/show_bug.cgi?id=78576
24 # directory with the templates
25 -$init->{'templatedir'} = "./templates";
26 +$init->{'templatedir'} = "/usr/share/tinyca2/templates";
28 if(not -d $init->{'templatedir'}) {
29 print gettext("Can't find templatedir.\n");