summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2001-09-25 08:14:16 +0000
committerDaouda Lo <daouda@mandriva.com>2001-09-25 08:14:16 +0000
commitaf674d4061445914b30d7d698fdc231d2ecf8f13 (patch)
tree2b08f44c11532d067f4e8dc81e732ce55a3a0940
parent83abc816ff333707e590ae4dc4d945d21c156365 (diff)
downloadmgaonline-af674d4061445914b30d7d698fdc231d2ecf8f13.tar
mgaonline-af674d4061445914b30d7d698fdc231d2ecf8f13.tar.gz
mgaonline-af674d4061445914b30d7d698fdc231d2ecf8f13.tar.bz2
mgaonline-af674d4061445914b30d7d698fdc231d2ecf8f13.tar.xz
mgaonline-af674d4061445914b30d7d698fdc231d2ecf8f13.zip
fix
-rw-r--r--Makefile2
-rwxr-xr-xmdkonline10
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7830fbb8..d6219e7a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ install: all
# install -s -m755 $(SCRIPTS) $(RPM_BUILD_ROOT)/usr/bin/
#install -m644 icons/*.png $(RPM_BUILD_ROOT)/usr/share/icons/
install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/mdkonline/pixmaps
- install -m644 privacy.txt $(RPM_BUILD_ROOT)/usr/share/mdkonline/
+ install -m644 *.txt $(RPM_BUILD_ROOT)/usr/share/mdkonline/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
dis: clean
diff --git a/mdkonline b/mdkonline
index 1be375e3..e126e404 100755
--- a/mdkonline
+++ b/mdkonline
@@ -506,7 +506,15 @@ sub get_on_privacy {
my $vscrollbar = new Gtk::VScrollbar( $text->vadj );
$table->attach( $vscrollbar, 1, 2, 0, 1, 'fill',
[ 'expand', 'shrink', 'fill' ], 0, 0 );
- load_text($text,"/usr/share/mdkonline/privacy.txt");
+ if ($ENV{LANG} eq "fr") {
+ load_text($text,"$sharepath/privacy-fr.txt");
+ }elsif ($ENV{LANG} eq "de") {
+ load_text($text,"$sharepath/privacy-de.txt");
+ }elsif ($ENV{LANG} eq "es") {
+ load_text($text,"$sharepath/privacy-es.txt");
+ }else {
+ load_text($text,"$sharepath/privacy.txt");
+ }
$vbox->pack_start( $table, $true, $true, 0 );
}